All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: roland Tollenaar <rolandtollenaar@domain.hid>
Cc: Xenomai-help@domain.hid, Jan Kiszka <jan.kiszka@domain.hid>
Subject: Re: [Xenomai-help] CAN driver
Date: Thu, 22 Feb 2007 12:48:19 +0100	[thread overview]
Message-ID: <45DD8303.8060605@domain.hid> (raw)
In-Reply-To: <bc4264770702220214y697c57abv9d5170b64fad40eb@domain.hid>

roland Tollenaar wrote:
> Hi,
> 
> The first thing I notice is that I do not seem to find the devices
> rtcan0, rtcan1 etc.

The devices will be available when after the driver have properly 
loaded. You can find corresponding messages in the system log (type 
dmesg to list them. Here is the output from my Laptop:

RT-Socket-CAN 0.20.2 - (C) 2006 RT-Socket-CAN Development Team
rtcan: registered rtcan0
rtcan0: VIRT driver loaded
rtcan: registered rtcan1
rtcan1: VIRT driver loaded
RTCAN SJA1000 driver initialized
rtcan: registered rtcan2

> They are mentioned in the documentation and I presume they must be nodes in
> /dev or so. But I cannot find them. rt-can is statically built into my

No, see above.

> kernel so I don;t need to load any modules. I have selected the SJA
> chip and the PEAK CAN Dongle.

You must build the driver for the PEAK CAN Dongle as module and specify
the port type, I/O port and IRQ number when you load it. But as Jan 
already pointed out, you can use the virtual CAN driver for getting started.

> I am reading the README in /src/can and the one in ksrc/drivers/can.
> 
> /proc/rtcan is present but no devices rtcan0, rtcan1 etc under it.
> 
> What have I missed?

What have you selected? Check your boot log!

Wolfgang.


> On 2/22/07, Wolfgang Grandegger <wg@domain.hid> wrote:
>> Jan Kiszka wrote:
>> > Wolfgang Grandegger wrote:
>> [...]
>> >> I have attached a patch for a nice program to measure
>> >> the round trip time of CAN messages. It contrast to the other CAN
>> >> utility programs, it uses the POSIX-API and works as-is for Socket-CAN
>> >> as well. Jan, any objections to include it? If yes, I'm going to 
>> provide
>> >> a README.
>> >
>> > On first glance, nope, looks nice and clean.
>>
>> I have just commited the example program "rtcan_rtt" to the trunk.
>>
>> Wolfgang.
>>
> 
> 



      parent reply	other threads:[~2007-02-22 11:48 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 10:20 [Xenomai-help] CAN driver Roland Tollenaar
2007-02-21 10:52 ` Jan Kiszka
2007-02-21 12:23   ` Wolfgang Grandegger
2007-02-21 12:43     ` Jan Kiszka
2007-02-21 13:00       ` Wolfgang Grandegger
2007-02-21 13:11         ` Roland Tollenaar
2007-02-21 14:00           ` Jan Kiszka
2007-02-21 19:25         ` [Xenomai-core] (was: [Xenomai-help] CAN driver) Jan Kiszka
2007-02-21 21:02           ` [Xenomai-core] " Gilles Chanteperdrix
2007-02-22  0:06             ` Philippe Gerum
2007-02-22  8:30           ` Wolfgang Grandegger
2007-02-22  9:00             ` Gilles Chanteperdrix
2007-02-22 20:18             ` Gilles Chanteperdrix
2007-02-22  9:09       ` [Xenomai-help] CAN driver Wolfgang Grandegger
2007-02-22 10:14         ` roland Tollenaar
2007-02-22 10:40           ` roland Tollenaar
2007-02-22 11:22             ` Jan Kiszka
2007-02-22 11:19           ` Jan Kiszka
2007-02-22 11:39             ` roland Tollenaar
2007-02-22 11:53               ` Wolfgang Grandegger
2007-02-22 12:06                 ` roland Tollenaar
2007-02-22 12:23                   ` Wolfgang Grandegger
2007-02-22 12:34                     ` roland Tollenaar
2007-02-22 12:54                       ` Wolfgang Grandegger
2007-02-22 13:02                         ` roland Tollenaar
2007-02-22 13:18                           ` Wolfgang Grandegger
2007-02-22 13:36                             ` roland Tollenaar
2007-02-22 13:42                               ` Wolfgang Grandegger
2007-02-22 13:57                                 ` roland Tollenaar
2007-02-22 14:13                                   ` Wolfgang Grandegger
2007-02-22 14:52                                     ` roland Tollenaar
2007-02-22 15:22                                       ` Wolfgang Grandegger
2007-02-22 20:39                                         ` Roland Tollenaar
2007-02-22 21:25                                           ` Wolfgang Grandegger
2007-02-23 10:14                                             ` roland Tollenaar
2007-02-23 10:52                                               ` roland Tollenaar
2007-02-23 10:59                                                 ` Gilles Chanteperdrix
2007-02-23 12:04                                                   ` roland Tollenaar
2007-02-23 12:31                                                     ` Paul
2007-02-23 13:25                                                       ` roland Tollenaar
2007-02-23 13:43                                                         ` Jan Kiszka
2007-02-23 15:00                                                           ` roland Tollenaar
2007-02-23 15:29                                                             ` Jan Kiszka
2007-02-23 13:52                                                         ` Paul
     [not found]                                                           ` <45DF08B0.1020901@domain.hid>
     [not found]                                                             ` <200702231559.43782.paul_c@domain.hid>
2007-02-23 16:23                                                               ` Roland Tollenaar
2007-02-22 11:48           ` Wolfgang Grandegger [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=45DD8303.8060605@domain.hid \
    --to=wg@domain.hid \
    --cc=Xenomai-help@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=rolandtollenaar@domain.hid \
    /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.