All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Frits de Klark <mailing.xenomai@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Virtual CAN driver and RT Socket CAN
Date: Mon, 06 Nov 2006 11:45:51 +0100	[thread overview]
Message-ID: <454F125F.6040507@domain.hid> (raw)
In-Reply-To: <54b161f50611060208m44287fb6o5ac0f305e21d08d7@domain.hid>

[-- 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 --]

      reply	other threads:[~2006-11-06 10:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=454F125F.6040507@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=mailing.xenomai@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.