Unable to run $sudo modprobe pcan

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
chotu534
Posts: 2
Joined: Wed 23. Jan 2019, 17:19

Unable to run $sudo modprobe pcan

Post by chotu534 » Wed 23. Jan 2019, 18:59

Hi, I'm new at using PCAN-USB.
I have an issue while loading pcan driver.
I've downloaded the Linux PCAN driver from https://www.peak-system.com/PCAN-USB.199.0.html
Did $make clean && make && make install with no issues.
Was able to see PCAN-View gui in linux when i ran $pcanview
Though VMware detects PCAN-USB, In the PCAN-View linux gui, I see a dialogue box which says:

System error
NO PCAN device found.
Is the PCAN driver loaded? (No such file or directory)

I see the light solid red on the device.
But, on a new terminal, when i run $sudo modprobe pcan
I get the following errors:

sai@ubuntu:~/Downloads$ sudo modprobe pcan
modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='pcan'
modprobe: ERROR: could not insert 'pcan': Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: ERROR: ../libkmod/libkmod-module.c:977 command_do() Error running install command for pcan
modprobe: ERROR: could not insert 'pcan': Operation not permitted
sai@ubuntu:~/Downloads$

BTW, I'm using Ubuntu 16.04.
This is my Kernel header version:
sai@ubuntu:~/Downloads$ uname -r
4.4.0-141-generic
sai@ubuntu:~/Downloads$

Nevertheless, Kernel is able to detect my PCAN-USB
sai@ubuntu:~/Downloads$ lsusb -d c72:
Bus 002 Device 005: ID 0c72:000c PEAK System PCAN-USB

Any help is much appreciated.

Thanks,
Sai.

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Unable to run $sudo modprobe pcan

Post by M.Maidhof » Thu 24. Jan 2019, 16:41

Hi,

please post output of your make process. Try to build the driver for USB only:

make PCC=NO PCI=NO DNG=NO ISA=NO PAR=NO

Please try to use a real Linux PC, we can´t support any VM related issues!

regards

Michael

jchah090
Posts: 4
Joined: Mon 27. Jan 2020, 22:43

Re: Unable to run $sudo modprobe pcan

Post by jchah090 » Tue 28. Jan 2020, 16:24

I am having the same issue:
Am able to run make clean and then make PCC=NO PCI=NO DNG=NO ISA=NO PAR=NO, after that sudo make install
But when i try to run the sudo modprobe pcan command its giving me the following output:
$ sudo modprobe pcan
modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='pcan'
modprobe: ERROR: could not insert 'pcan': Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: ERROR: ../libkmod/libkmod-module.c:979 command_do() Error running install command for pcan
modprobe: ERROR: could not insert 'pcan': Operation not permitted

Could anyone please look at this matter, thanks a lot for helping.

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Unable to run $sudo modprobe pcan

Post by M.Maidhof » Tue 28. Jan 2020, 17:21

Hi,

no double posts please! See answer in the RPI thread: viewtopic.php?f=59&t=283&start=150#p12906

regards

Michael

Post Reply