On Thu, 27 May 1999 [EMAIL PROTECTED] wrote:

>       Again, the problem is when I tell the RT to set a bit pattern,
> it sets the first bit pattern, and then hangs the machine so  I
> have to reboot.

I guess the problem is you are calling  rtl_wait() in the FIFO handler. FIFO
handler is not run in a periodic task context.


 case BIT_PATTERN :
                                fun(msg.bits);
                                rtl_schedule();

Also  rtl_schedule() seems not to be documented. 

As I understand you want to generate pulses of a given length. It would be
better to use single-shot mode. Now the "fun" function is called many times
periodically without any change of the byte written to the paralel port.

I think I will be working on a similar problem soon.

Regards,
--
Tomek

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