Page 1 of 1

Unable to run $sudo modprobe pcan

Posted: Wed 23. Jan 2019, 18:59
by chotu534
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.

Re: Unable to run $sudo modprobe pcan

Posted: Thu 24. Jan 2019, 16:41
by M.Maidhof
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

Re: Unable to run $sudo modprobe pcan

Posted: Tue 28. Jan 2020, 16:24
by jchah090
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.

Re: Unable to run $sudo modprobe pcan

Posted: Tue 28. Jan 2020, 17:21
by M.Maidhof
Hi,

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

regards

Michael