linux driver
Posted: Thu 23. Feb 2017, 03:15
Hi,
Can you please clarify the following:
1) I can't wrap my head around ndev vs chardev. What is the difference? If I want to write an application, then I need to use ndev?
2) The driver seems to be not working in my case. I use Ubuntu 14.04
>> sudo modprobe pcan
modprobe: FATAL: Module pcan not found.
also:
>> cat /proc/pcan
cat: /proc/pcan: No such file or directory
but the following shows the unit was detected:
cat /var/log/dmesg | grep -e can
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.561444] Scanning for low memory corruption every 60 seconds
[ 0.608984] rtc_cmos 00:02: RTC can wake from S4
[ 2.324526] peak_usb 1-1:1.0 can0: attached to PCAN-USB Pro FD channel 0 (device 4294967295)
[ 2.325153] peak_usb 1-1:1.0 can1: attached to PCAN-USB Pro FD channel 1 (device 4294967295)
Cheers
Can you please clarify the following:
1) I can't wrap my head around ndev vs chardev. What is the difference? If I want to write an application, then I need to use ndev?
2) The driver seems to be not working in my case. I use Ubuntu 14.04
>> sudo modprobe pcan
modprobe: FATAL: Module pcan not found.
also:
>> cat /proc/pcan
cat: /proc/pcan: No such file or directory
but the following shows the unit was detected:
cat /var/log/dmesg | grep -e can
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.561444] Scanning for low memory corruption every 60 seconds
[ 0.608984] rtc_cmos 00:02: RTC can wake from S4
[ 2.324526] peak_usb 1-1:1.0 can0: attached to PCAN-USB Pro FD channel 0 (device 4294967295)
[ 2.325153] peak_usb 1-1:1.0 can1: attached to PCAN-USB Pro FD channel 1 (device 4294967295)
Cheers