All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <kiszka@domain.hid>
To: Martin Chaplet <technique@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xenomai beginner problem
Date: Tue, 11 Jul 2006 17:07:07 +0200	[thread overview]
Message-ID: <44B3BE9B.5040203@domain.hid> (raw)
In-Reply-To: <200607111633.09508.technique@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

Martin Chaplet wrote:
> On 7/11, Jan Kiszka wrote:
> 
> 	Kim Chuan Lim wrote:
> 		I am interested with the hard real time serial port example from..
> 		http://www.captain.at/xenomai-serial-port-example.php
> 
> 		The following is the error message i received when i try to run the
> 		program..
> 		./rt_serial_uprog
> 		rt_serial_uprog: PRESS CTRL-C to EXIT
> 		rt_serial_uprog: timer started
> 		rt_serial_uprog: can't open rtser0
> 		rt_serial_uprog: stop timer
> 
> 		May i know which device is "rtser0"?
> 		shall i just change it to /dev/ttyS0?
> 
> 	Check Hannes' doku: you have to load the xeno_16550A driver.
> 
> 
> I'm also a beginner on Xenomai and I have the same problem as Kim Chuan Lim.
>  I verified my configuration : RTDM skin and 16550A driver are both integrated 
> in my 2.6.16 kernel, so these modules don't exist.
> Shall I create rtser0 node ?

Nope, there is no such thing as device nodes under Xenomai's RTDM skin.
But when your 16550A driver is compiled into the kernel, you have to
provide some hardware parameters via the boot command line to configure
at least one port:

8250.nr_uarts=0		(to keep Linux away from using the UARTs)
xeno_16550A.ioaddr=0x3f8 (first UART)
xeno_16550A.irq=4	(first UART)

Of course, you can also increase 8250.nr_uarts and move the 16550A
driver to some other port etc. I guess this should make it into
doc/txt/16550A-driver.txt as well...

Alternatively, turning xeno_16550A into a module again allows you to
reconfigure your hardware on a running system. Then that mentioned doc
file fully applies again.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-07-11 15:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-11 14:33 [Xenomai-help] xenomai beginner problem Martin Chaplet
2006-07-11 15:07 ` Jan Kiszka [this message]
2006-07-11 15:09 ` Hannes Mayer
  -- strict thread matches above, loose matches on Subject: below --
2006-07-07 19:59 Kim Chuan Lim
2006-07-07 20:15 ` Gilles Chanteperdrix
2006-07-07 20:21 ` Jan Kiszka
2006-07-08 13:32   ` Kim Chuan Lim
2006-07-08 13:51     ` Gilles Chanteperdrix
2006-07-08 15:08       ` Kim Chuan Lim
2006-07-08 15:18         ` Philippe Gerum
2006-07-08 18:56           ` Kim Chuan Lim
2006-07-08 20:18             ` Gilles Chanteperdrix
2006-07-08 22:02               ` Jan Kiszka
2006-07-09 13:46                 ` Kim Chuan Lim
2006-07-09 17:05                   ` Jan Kiszka
2006-07-10 15:38                     ` Kim Chuan Lim
2006-07-10 16:34                       ` Jan Kiszka

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=44B3BE9B.5040203@domain.hid \
    --to=kiszka@domain.hid \
    --cc=technique@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.