Frits de Klark wrote: > On 11/6/06, Wolfgang Grandegger <[EMAIL PROTECTED]> wrote: >> >> Frits de Klark wrote: >> > Hello everyone, >> > >> > I'm not sure this is the right place to ask about it, but is the >> virtual >> > CAN driver mentioned in [1] of any use if I want to develop an >> > application using RT Socket CAN? If so, how do I set it up (just patch >> > the xenomai-root I guess) and how do I use it? >> >> The virtual CAN driver is already integrated in recent versions of >> Xenomai 2.3-devel, e.g. 2.3-rc1. Just install Xenomai as usual and >> enable RT-Socket-CAN and the driver virtual CAN driver in the kernel >> configuration. >> >> Wolfgang. >> > > Ah, thanks. It's called the 'virtual tunneling driver' in the kernel > config, > right?
Yeah, it is. Probably "tunneling" is not the best term here, "Virtual CAN bus driver" should be better - will fix. > > But now for my second question: How do I set it up? Is it possible to use > the virtual driver to run the rtcansend/recv programs? If so, what actions > should I take to make this possible? Load the driver and it will provide you two CAN ports that are virtually interconnected (play with "devices" module param to gain more ports on the bus). You will have to configure both ports with rtcanconfig, and then tools like rtcansend/recv our your own applications can communicate over that bus. Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
