I hope this helps. Most Linux distributions will include a linux-headers package which includes the headers used to compile the kernel. I transferred the linux driver tar. Building a kernel isn’t trivial, but hopefully my steps will help fill in some of the gaps. Post as a guest Name. Due to the netdevice driver model the CAN interface is always similar to the application, which allows to run the same application on different CAN hardware. Of course you also won’t be happy to reprogramm your web-browser when you change your Ethernet card in your system ;- Programming a netdevice driver is in most cases easier than handling all the FIFO stuff and different APIs yourself when programming a character device.
|Date Added:||2 October 2007|
|File Size:||46.48 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Ok, you confirmed my ideas, there is a lot of work to do.
Message 2 of 9. You can get a link for yours from http: Check which driver is loaded by Core with the provided tool. I have verified control of the Kvaser from my PC. Eventually the Linux system will detect the USB device and load the driver.
NI Linux Real-Time Discussions
Email Required, but never shown. Since I only needed the headers, I chose not install the newly built kernel at the end of the process, but I would have done so if needed. There’re lots of things that could go wrong.
I’ve downloaded the linux driver mvaser. Message 5 of 9. Check the kernel docs. Hypomania 1 Otherwise you could hire a kernel hacker to implement a driver fortunately, we’ve got their source code, so it shouldn’t be a big deal to find out how the device works and bring it to mainline.
At least one difference was my version of GCC. Peter Mortensen 1, 3 14 Most Linux distributions will include a linux-headers package which includes the headers used to compile the kernel.
Search everywhere only in this topic.
Socket-CAN Users – Usage of Kvaser Leaf Light HS USB
But notice, that the drivers in the branch are still under development and the drivers in the trunk except the vcan driver do not have any common configuration interface Free forum by Nabble.
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. If I want to modify the kvxser driver, which files into the socketcan project can I take as reference? On Kvaser’s website they have their own drivers available which are based on socketCAN, but are distinctively different.
To auto-restart the interface with a predefined interval use the -R flag and specify the interval in milliseconds.
kvased All of my comments are in regards to my specific hardware and software configuration. Thanks for the help Paolo On Wed, Apr 2, at 5: Message 4 of 9. Post from BradM about building: Nearly all automotive based sensors publish data to the CAN bus at K baud.
Message 8 of 9. Secure boot is configured through the machines BIOS. Granted though, once one is hacked it is kvvaser enough to repeat. While trying to validate the data coming in over CAN, error frames are read using the Kvaser linuxcan canmonitor example.