All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Virtual CAN driver and RT Socket CAN
@ 2006-11-06  8:05 Frits de Klark
  2006-11-06  8:20 ` Wolfgang Grandegger
  0 siblings, 1 reply; 4+ messages in thread
From: Frits de Klark @ 2006-11-06  8:05 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

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?

Thanks very much in advance!

Best regards,

Frits

[1] https://mail.gna.org/public/xenomai-core/2006-08/msg00237.html

[-- Attachment #2: Type: text/html, Size: 512 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Virtual CAN driver and RT Socket CAN
  2006-11-06  8:05 [Xenomai-help] Virtual CAN driver and RT Socket CAN Frits de Klark
@ 2006-11-06  8:20 ` Wolfgang Grandegger
  2006-11-06 10:08   ` Frits de Klark
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Grandegger @ 2006-11-06  8:20 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Virtual CAN driver and RT Socket CAN
  2006-11-06  8:20 ` Wolfgang Grandegger
@ 2006-11-06 10:08   ` Frits de Klark
  2006-11-06 10:45     ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Frits de Klark @ 2006-11-06 10:08 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

On 11/6/06, Wolfgang Grandegger <wg@domain.hid> 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?

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?

Thank you very much again.

Frits

[-- Attachment #2: Type: text/html, Size: 1249 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Virtual CAN driver and RT Socket CAN
  2006-11-06 10:08   ` Frits de Klark
@ 2006-11-06 10:45     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2006-11-06 10:45 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

Frits de Klark wrote:
> On 11/6/06, Wolfgang Grandegger <wg@domain.hid> 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-06 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06  8:05 [Xenomai-help] Virtual CAN driver and RT Socket CAN Frits de Klark
2006-11-06  8:20 ` Wolfgang Grandegger
2006-11-06 10:08   ` Frits de Klark
2006-11-06 10:45     ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.