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