HI RT gang!

I have been attempting to debug an error that I think is occurring in an rt task
and figured that I would just use another FIFO to pass back error messages.
The problem is that it looks like when I opened that device on the Linux side

 debug_hp_fifo = open("/dev/rtf0",O_RDWR);

it appears that the default read is a blocking read.... which is inconvenient for
my debugging, so I naively changed it to non-blocking :

debug_hp_fifo = open("/dev/rtf0",O_RDWR | O_NONBLOCK);

Although it did no longer appear to be a blocking read.... I could no longer
receive characters through the fifo!

In desperation, I started exploring "printk" which I later found out ONLY works
in the init modules.... although mine didn't work even there!

Help?

Dan Samber
Mount Sinai School of Medicine

--- [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