Thomas Eschenbacher writes:

 > is there any simple way to access an RT device driver from user
 > space?

Sure. Add a wrapper to communicate through FIFOs to user space and the
rt_com API in kernel space :-)

 > My problem is that we have a C library that has to access a serial ports
 > /dev/ttyS0 through the "rt_com" driver.
 > 
 > I use rtlinux-2.2, kernel-2.2.14/i386 and the rt_com-0.4. The kernel,
 > modules and examples work fine, even the examples in rt_com do work
 > (open the port, send bytes etc.). The device driver uses char-major-60
 > and the serial driver of the linux kernel is removed. 
 > I did "rm /dev/ttyS0" and "mknod /dev/ttyS0 c 60 0".

Do you have rt_fifos.o loaded ?
Do you have a handler to do the communication ?

Jochen
-- 
Heinrich-Heine-Universität
Institut für Physikalische Chemie I
Jochen Küpper
Universitätsstr. 1, Geb. 26.43 Raum 02.29
40225 Düsseldorf, Germany
phone ++49-211-8113681, fax ++49-211-8115195
http://www.Jochen-Kuepper.de
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to