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 13:23:30 +0100	[thread overview]
Message-ID: <45DD8B42.1020709@domain.hid> (raw)
In-Reply-To: <bc4264770702220406i1c8608cy3f748416f589f5c6@domain.hid>

roland Tollenaar wrote:
> Hi Jan, Wolfgang,
> 
>> Your devices have not yet show up on your system. I guess there is no
>> entry in /proc/rtcan/devices. Check your boot log.
> 
> There are no entries in /prc/rtcan/deices.
> 
> dmesg | grep "rtcan" or
> dmesg | grep "rtcan*"
> 
> yields nothing.

Can you post the compete dmesg output?

> I have checked the .config for the kernel build and CAN is statically
> built into it.
> 
> I would prefer to statically build these things into the kernel due to
> unwieldiness of my ditribution. If this is not possible I will make
> modules. But is this the cause of problem I am having?

The driver for the dongle will not start properly when statically linked 
into the kernel. There should be a log message, though.

> I have no device hooked to my system (PEAK dongle on its way) and the
> virtual driver and TX loopback ability  has been excluded from the
> kernel build. Is this possibly why i have no devices listed in
> proc/rtcan/devices?

Without device it will not register anyhow and see above.

Wolfgang.

> On 2/22/07, Wolfgang Grandegger <wg@domain.hid> wrote:
>> roland Tollenaar wrote:
>> > Hi Jan,
>> >
>> >>
>> >> rtcanX are networking devices, but only visible in the context of
>> >> RTDM/AF_CAN.
>> > What is this?
>> >
>> > To enable them, use rtcanconfig as explained in the README.
>> > Which README are you referring to? The only one I know of that says
>> > something about rtcanconfig is in /src/utils/can and it does not
>> > explain how to use ctrlmode and bittime. There is an example in it
>> >
>> > rtcanconfig rtcan0 --baudrate=125000 start.
>> >
>> > If I try
>> >
>> > rtcanconfig rtcan0 --baudrate=125000 start
>> >
>> > I get:
>> >
>> > "Can't get interface index for rtcan0, code=-19"
>> >
>> > Any idea what is wrong?
>>
>> Your devices have not yet show up on your system. I guess there is no
>> entry in /proc/rtcan/devices. Check your boot log.
>>
>> Wolfgang.
>>
>>
> 
> 



  reply	other threads:[~2007-02-22 12:23 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 [this message]
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

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=45DD8B42.1020709@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.