Search found 12 matches

by vijayendranss
Fri 11. Sep 2020, 15:22
Forum: Linux
Topic: pcan_usb_plugin() function is not getting called !!
Replies: 3
Views: 4451

Re: pcan_usb_plugin() function is not getting called !!

Understood. Sorry to trouble you. Regret and apologizes.
by vijayendranss
Fri 11. Sep 2020, 12:07
Forum: Linux
Topic: pcan_usb_plugin() function is not getting called !!
Replies: 3
Views: 4451

pcan_usb_plugin() function is not getting called !!

I use peak-linux-driver-8.10.2.
I came across function
pcan_usb_plugin()

I wonder from where this function is getting called.
I inserted some printk statements in this functions.
But the function start itself not getting called.

I thought below will be the function flow when insmod command ...
by vijayendranss
Fri 11. Sep 2020, 11:40
Forum: Linux
Topic: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe
Replies: 6
Views: 8941

Re: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe

@ S.Grosjean

Thanks...
Can you suggest me solution if possible..

I followed as per the manual PEAK has provided.
by vijayendranss
Fri 11. Sep 2020, 11:15
Forum: Linux
Topic: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe
Replies: 6
Views: 8941

Re: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe

@S.Grosjean
This is the output of dmesg..

[15454.116955] pcan: Unknown symbol pcmcia_disable_device (err -2)
[15454.116972] pcan: Unknown symbol i2c_bit_add_bus (err -2)
[15454.116987] pcan: Unknown symbol pcmcia_unregister_driver (err -2)
[15454.117031] pcan: Unknown symbol pcmcia_loop_config ...
by vijayendranss
Fri 11. Sep 2020, 09:07
Forum: Linux
Topic: How to Enable debugging
Replies: 1
Views: 2681

How to Enable debugging

I use peak-linux-driver-8.10.2.
How to enable debugging in the makefile that came along ?
by vijayendranss
Fri 11. Sep 2020, 08:24
Forum: Linux
Topic: Devices not getting displayed under /dev
Replies: 3
Views: 4399

Re: Devices not getting displayed under /dev

Hi Marvin,
Thanks for the reply.. But one query.
I used some other LKM. This will create virtual devices under /dev.
I used insmod for this and i can see al lthe devices under /dev.

Infact, modprobe also in turn uses insmod. Why there is different behavior ?

I want somehow the devices to ...
by vijayendranss
Fri 11. Sep 2020, 08:01
Forum: Linux
Topic: Devices not getting displayed under /dev
Replies: 3
Views: 4399

Devices not getting displayed under /dev

I use PCAN Driver for Linux v8.
Few general queries :
After succesfull compilation when i do execute
sudo modprobe pcan
lspcan -T -t -a
Devices are not getting displayed under /dev
Note : I have not connected actual device or hardware in my PC.

Is it exepcted behavior ?
or
regardless of ...
by vijayendranss
Fri 11. Sep 2020, 06:46
Forum: Linux
Topic: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe
Replies: 6
Views: 8941

Re: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe

I tried as below given in the manual also.. But same error..

root@rosmastar:/home/ams_user/work/vijay/peak-linux-driver-8.10.2/driver# modinfo pcan.ko | grep -e "^depends:"
depends: pcmcia,parport,i2c-algo-bit
root@rosmastar:/home/ams_user/work/vijay/peak-linux-driver-8.10.2/driver# modprobe ...
by vijayendranss
Fri 11. Sep 2020, 05:12
Forum: Linux
Topic: Is there any API to check if the CAN Devies are connected or not ?
Replies: 4
Views: 4592

Re: Is there any API to check if the CAN Devies are connected or not ?

@Marvin
Thanks.. My ultimate purpose is mentioned in the below query.. Can you please have look and guide me.

viewtopic.php?f=119&t=6110

Thanks
by vijayendranss
Fri 11. Sep 2020, 05:09
Forum: Linux
Topic: [PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe
Replies: 6
Views: 8941

[PCAN Driver for Linux v8]"Unknown symbol in module" error when insmod is used instead of modprobe

I use PCAN Driver for Linux v8.

By seeing the manual, i completed till

sudo modprobe pcan

When no devices connected to my PC, i execute
lspcan -T -t -a
No devices are displayed.

In this stage, i dont want to use modprobe command.
Instead, i want to use insmod command.

Reason for this i am ...