Hi,

> Last week I got a similiar behavior using a barcodescanner on my serial port
> in conjunction with rt_com. I Inserted another printk to get a clue what was
> happening (see code below). It turned out that sta was always something like
> 0x80 (which is defined as BUFFER_FULL in rt_comP.h). So I changed the
> if-Statement to allow also 0x80 for this serial line. Kind of hacking, but
> it works fine for those barcodescanners.

The MSR byte is only used, if you want hardware flow control, otherwise
you only use the LSR byte, check drivers/char/serial.c, how it's
done there. This looks like a bug in the rt_com module.

bye, Roman
--- [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