All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Serial Port Driver (rtser): No RTSER_RTIOC_WAIT_EVENT
@ 2007-05-10 12:53 Jonas Witt
  2007-05-10 16:11 ` Jan Kiszka
  0 siblings, 1 reply; 12+ messages in thread
From: Jonas Witt @ 2007-05-10 12:53 UTC (permalink / raw)
  To: xenomai

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

Hi everybody,

 

i am having a problem with the serial port driver in xenomai for a while
now..

 

I have tried different programs like
http://www.captain.at/xenomai-serial-port-example.php

 

I have also changed the code of cross-link.c to use the same port for
writing and reading (as i only have one serial port in my computer). Opening
a port and writing the configuration seems to work form e.. also writing.
The Problem stems from the call to:

 

rt_dev_ioctl(read_fd, RTSER_RTIOC_WAIT_EVENT, &rx_event);

 

which keeps waiting forever and never receives an interrupt. I tried a
self-made loopback-adapter and a sensor with a serial interface (so at least
_something_ should come back). Nothing worked. The serial port is working
fine with the linux-driver, though. I already figured that the calls to
rt_dev_write do not work from non-xenomai-tasks (which should really be
emphasized in the documentation..)

 

I am already pretty much behind my schedule with the project that i am
undertaking.. any (preferably fast ;) ) input is very much appreciated. I
think i will update the serial driver documentation when i am through with
my initial problems. I think that is desperately needed for other people
that are new to xenomai.

 

Thanks in advance!

Cheers, Jonas


[-- Attachment #2: Type: text/html, Size: 4479 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [Xenomai-help] Serial Port Driver (rtser): No RTSER_RTIOC_WAIT_EVENT
@ 2007-05-13 16:57 Jonas
  2007-05-13 17:06 ` Jan Kiszka
  0 siblings, 1 reply; 12+ messages in thread
From: Jonas @ 2007-05-13 16:57 UTC (permalink / raw)
  To: xenomai

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

No other ideas for me to try out? So the driver seems to get interrupts..
where could it possibly fail?

 

Another question concerning xenomai's booting process.. are any files other
than from the /boot, /lib/modules and /usr/xenomai needed for the boot
process (because on another platform I am having some issues with booting
when the files from the build-folder are not available while booting).

 

Best regards,

Jonas


[-- Attachment #2: Type: text/html, Size: 2237 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-05-13 17:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 12:53 [Xenomai-help] Serial Port Driver (rtser): No RTSER_RTIOC_WAIT_EVENT Jonas Witt
2007-05-10 16:11 ` Jan Kiszka
2007-05-10 14:56   ` [Xenomai-help] Serial Port Driver (rtser): NoRTSER_RTIOC_WAIT_EVENT Jonas Witt
2007-05-10 17:09     ` Jan Kiszka
2007-05-10 15:32       ` Jonas Witt
2007-05-10 17:35         ` Jan Kiszka
2007-05-11 17:05           ` [Xenomai-help] Serial Port Driver(rtser): No RTSER_RTIOC_WAIT_EVENT Jonas Witt
2007-05-11 19:17             ` Jan Kiszka
2007-05-11 17:57               ` [Xenomai-help] Serial Port Driver(rtser): NoRTSER_RTIOC_WAIT_EVENT Jonas Witt
2007-05-11 18:16                 ` [Xenomai-help] Serial Port Driver(rtser):NoRTSER_RTIOC_WAIT_EVENT Jonas Witt
  -- strict thread matches above, loose matches on Subject: below --
2007-05-13 16:57 [Xenomai-help] Serial Port Driver (rtser): No RTSER_RTIOC_WAIT_EVENT Jonas
2007-05-13 17:06 ` Jan Kiszka

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.