Re: sysrq on serial console

H. Peter Anvin (hpa@zytor.com)
27 Sep 2002 17:29:42 -0700


Followup to: <3D94ED88.5040407@us.ibm.com>
By author: Dave Hansen <haveblue@us.ibm.com>
In newsgroup: linux.dev.kernel
>
> Since the serial cleanups happened in 2.5, Magic Sysrq doesn't work
> for me on the serial console.
>

It's been broken for me in several 2.4 versions as well. This is
highly troublesome.

> It looks like the UART_LSR_BI bit needs to be set in the status
> variable for the break character to be interpreted as a break in the
> driver.
>
> I doubt that it is actually broken, but it isn't immediately obvious
> how that bit gets set. Is there something that I should have set when
> the device was initialized to make sure that UART_LSR_BI is asserted
> in "status" when the interrupt occurs?

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/