From: Jan Kiszka <kiszka@domain.hid>
To: Hannes Mayer <h.mayer@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RTDM & serial port
Date: Wed, 26 Oct 2005 09:18:50 +0200 [thread overview]
Message-ID: <435F2DDA.1030702@domain.hid> (raw)
In-Reply-To: <435EFAB8.2050501@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]
Hannes Mayer wrote:
> Hi Jan et al.!
>
> I've noticed your thread on the RTAI list "Driver Model for RTAI" in June.
> Now as I try to port some RTAI serial port stuff to Xenomai in order to
> put up some howto page on my website, I'm clueless.
Actually, there is already some howto, but I guess also enough room for
improvements: http://www.rts.uni-hannover.de/mitarbeiter/kiszka/rtaddon/
>
> None of the RTAI functions rt_spopen, rt_spread_timed, rt_spwrite are
> available - I see that there is some rt_dev_open, rt_dev_write available,
> but only rt_dev_read - what about some timed-read ?
Yep, that's correct, it's yet another new API. Anyway, if you feel the
need for a legacy wrapper, you are welcome to add some library on top of
the RTDM profile.
BTW, timed read can be realised by setting a reception timeout for the
opened device instance, see example or profile documentation.
>
> I see that rt_spopen opens /dev/rtser[X] but /dev/rtser[X] is not on my
> system, nor can I find any creation-script in the xenomai source.
Nope, RTDM devices are not being mapped into the Linux file system. They
use a separate namespace where you can find serial devices as plain
"rtser[X]".
>
> Sorry if I'm overlooking some stuff... 5:40am here.
>
Any frequent problems falling asleep? ;)
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2005-10-26 7:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-26 3:40 [Xenomai-help] RTDM & serial port Hannes Mayer
2005-10-26 7:18 ` Jan Kiszka [this message]
2005-10-26 17:03 ` Hannes Mayer
2005-10-26 17:32 ` Jan Kiszka
2005-10-26 18:22 ` Hannes Mayer
2005-10-26 18:27 ` Jan Kiszka
2005-10-26 20:05 ` Hannes Mayer
2005-10-26 20:17 ` Hannes Mayer
2005-10-26 20:53 ` Jan Kiszka
2005-10-26 21:40 ` Hannes Mayer
2005-10-27 2:34 ` Romain Lenglet
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=435F2DDA.1030702@domain.hid \
--to=kiszka@domain.hid \
--cc=h.mayer@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.