I want to use can interface with slcand, but I have a problem. To link can device(canable) with slcand, I make symbolic link with udev-rule SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, ATTR{product}==”canable gs_usb”, ATTR{serial}==”002900355934570820373433″, SYMLINK+=”cantest2″ It successfully made symbolic link “/dev/cantest2”. However, when I use command “sudo slcand -o -c -s8 -F /dev/cantest2 can8”, I got a error message enter image description here I
Tag: can-bus
How do I install a signal handler for a custom I/O signal?
I am trying to set up a signal and signal handler to rebuffer CAN frames as they arrive. Below is my code. I can send a frame from the computer running this code, but when I send a frame back the other way, nothing happens. I am holding the programme with scanf(). Can you see why this signal handler is
Can-Bus Communication – MSG-Structure (WinUser.h) Linux equivalent
Hello StackOverflow Community I’ve searched for quite a while now but I don’t find a solution for my problem. I’m working on a project right now, where I have to port a Windows tool on to a Linux operating system (Ubuntu 12.04LTS to be specific). The Windows-based tool is written in C++ and therefore I’m trying to rewrite the Tool
How to create virtual CAN port on linux? (C++)
I want to create program that would emulate CAN port for testing purposes for another big application. Program should send previously recorded data through this virtual CAN. Anyone has any experience with such thing? I’m thinking to establish virtual COM, and send through it data packed in CAN Frames. Could it work? And how could I establish virtual COM on