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 -
pcanview cannot find device though both dmest and lsmod say drivers are there
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: pcanview cannot find device though both dmest and lsmod say drivers are there
PCAN-View for Linux needs a CharDev driver.
Please see Linux Driver Documentation.
Please see Linux Driver Documentation.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: pcanview cannot find device though both dmest and lsmod say drivers are there
Thanks for fast response. All installed now.
FWIW - I am a long time ubuntu user, and the documentation led me to believe that unless I had a proprietary setup or an old kernel I would not need to install chardev driver. Perhaps next documentation update this could clarified.
thanks
FWIW - I am a long time ubuntu user, and the documentation led me to believe that unless I had a proprietary setup or an old kernel I would not need to install chardev driver. Perhaps next documentation update this could clarified.
thanks
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: pcanview cannot find device though both dmest and lsmod say drivers are there
But it is well documented? Maybe you read the wrong document…
- Attachments
-
- IMG_3470.jpeg (512.93 KiB) Viewed 3160 times
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------