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 16:22:42 +0100	[thread overview]
Message-ID: <45DDB542.2050601@domain.hid> (raw)
In-Reply-To: <bc4264770702220652m138956ceh32713b862ee1080a@domain.hid>

roland Tollenaar wrote:
> Hi Wolfgang,
> 
>> And /proc/rtcan/devices is also useful.
> 
> Device rtcan0 Baudrate undefined State active TXCounter 7 RXCounter 5 
> Errors 0
> Device rtcan1 Baudrate undefined State stopped TXCounter 0 RXCounter 0 
> Errors 0
> 
>> > virtual can with? I presume i can send it messages with rtcansend and
>> > read the messages with rtcanrecieve?
>> src/utils/can/README?
> Works. Can send and recieve messages on it. Interesting may be this:
> If i send with rtcansend then in another console recieve the messages
> will not display. I would have expected the messages to be in the
> stack and display (depending how many messages the stack can hold).
> Why is that expectation incorrect?

There is no per device stack. The messages will be delivered directly to 
  the sockets receive buffer if it is listening and the filter does match.

> 
>> > I still have the outstanding question of what the module will be
>> > called for the PEAK CAN dongle. I have to find it after make modules
>> > to squirrle it away so i can load it after booting due to the
>> > complications with my live distribution.  You said that I cannot build
>> > that into the kernel statically correct? Can it be loaded without the
>> > actual device being connected?
>>
>> I said, it can be statically linked into the kernel but it will not work
>> (without modification, we can discuss this issue when you have a PCAN
>> dongle). What should a driver without hardware be good for?
> Good question. On the other hand it would be useful to know which
> module I have to
> pick out and load. Then I can compile the kernel for that so long and
> make a structure that loads it after booting. But that can be done
> later too.

You can do it now, just try and then ask questions.

> 
>> > Maybe a small suggestion. Would it not be better to have the virtual
>> > can driver built into the kernel by default. As a new user I did not
>> > select it, saw no reason to.
>>
>> Might be useful, indeed. BTW: there is a help available for each
>> configuration option?
> There should be. I think I used the help. Will check again for you
> when I change the configuration to load the PEAK driver as a module.
> 
> Roland.


  reply	other threads:[~2007-02-22 15:22 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 [this message]
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=45DDB542.2050601@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.