pcanview cannot find device though both dmest and lsmod say drivers are there
Posted: Fri 22. Dec 2023, 20:46
Hi -
I have been using a PEAK-USB interface on Windows. It works fine. I want to use it from a linux machine but am having a few problems.
I am on Ubuntu 22.04.3 LTS. The interface is plugged in and shows a solid red led.
lsmod | grep peak outputs:
peak_usb 61440 0
can_dev 49152 1 peak_usb
dmesg | shows no problems:
[ 10.233101] peak_usb 3-2:1.0: PEAK-System PCAN-USB adapter hwrev 86 serial FFFFFFFF (1 channel)
[ 10.233289] peak_usb 3-2:1.0 can0: attached to PCAN-USB channel 0 (device 255)
[ 10.233343] usbcore: registered new interface driver peak_usb
However when I run pcanview, the interface comes up and displays the following error:
No PCAN device found.
Is the pcan driver loaded ? (No such file or directory)
I do not see any can device in /dev.
My reading of the documentation seems to suggest this should work. Or am I wrong, and I need to build and install the chardev driver? I don't wanna break a driver if it really is already installed.
thanks for any help on this -
I have been using a PEAK-USB interface on Windows. It works fine. I want to use it from a linux machine but am having a few problems.
I am on Ubuntu 22.04.3 LTS. The interface is plugged in and shows a solid red led.
lsmod | grep peak outputs:
peak_usb 61440 0
can_dev 49152 1 peak_usb
dmesg | shows no problems:
[ 10.233101] peak_usb 3-2:1.0: PEAK-System PCAN-USB adapter hwrev 86 serial FFFFFFFF (1 channel)
[ 10.233289] peak_usb 3-2:1.0 can0: attached to PCAN-USB channel 0 (device 255)
[ 10.233343] usbcore: registered new interface driver peak_usb
However when I run pcanview, the interface comes up and displays the following error:
No PCAN device found.
Is the pcan driver loaded ? (No such file or directory)
I do not see any can device in /dev.
My reading of the documentation seems to suggest this should work. Or am I wrong, and I need to build and install the chardev driver? I don't wanna break a driver if it really is already installed.
thanks for any help on this -