Hello,
I have a general question about the linux pcan driver to get a better knowledgement about the handle.
After "make" and "make install" the pcan driver ist installed to the system. With the command "modprobe pcan" the driver will be load. Is this correct? The command "modprobe pcan" should be execute at every start of the system? Make it a difference if the USB-Dongle is connect or disconnect while the command "modprobe pcan" is call?
After "modprob pcan" executed successfully the command "ifconfig can0 up" should be execute to enable to use the USB-Dongel via sockets. This is also done every time when the system start.
So I can put the two commands "modprobe pcan" and "ifconfig can0 up" in a startscript.
Best regards
Michael
General question about pcan driver
Re: General question about pcan driver
Hello,
when you have called make install, there is no need to call modprobe pcan after each start of your system. Only when the kernel has changed because of an update of your system, you have to rebuild and install the driver again. (modprobe pcan will only be necessary after the first installation, or when you rebuild the driver, after calling make install, the driver will be automatically loaded with each boot)
When you want to use the NetDev driver, it will be enough to put the ifconfig can0 up into your startscript.
best regards
Michael Maidhof
when you have called make install, there is no need to call modprobe pcan after each start of your system. Only when the kernel has changed because of an update of your system, you have to rebuild and install the driver again. (modprobe pcan will only be necessary after the first installation, or when you rebuild the driver, after calling make install, the driver will be automatically loaded with each boot)
When you want to use the NetDev driver, it will be enough to put the ifconfig can0 up into your startscript.
best regards
Michael Maidhof
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: General question about pcan driver
simply call
step by step info at:
Howto install the PEAK Linux driver on a fresh Ubuntu 11.10
Code: Select all
- Install libpopt-dev: sudo apt-get install libpopt-dev
Howto install the PEAK Linux driver on a fresh Ubuntu 11.10
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: General question about pcan driver
Hi,
did you call sudo make install before? Was the driver builded correctly? To help you with your problem, please provide the output of the make process.
regards
Michael
did you call sudo make install before? Was the driver builded correctly? To help you with your problem, please provide the output of the make process.
regards
Michael