Re: Emergency keyboard combinations - patch

Peter T. Breuer (
Sat, 5 Apr 1997 12:14:07 +0200 (MET DST)

"A month of sundays ago Pavel Machek wrote:"
> This patch allows you to recover system from very strange situations
> (crashed X, keyboard in raw mode, crashed kernel etc.) with hard-coded

And which kernel is this patch against? It is not evident from the

> diff -ur linux.backup/drivers/char/Makefile linux/drivers/char/Makefile
> --- linux.backup/drivers/char/Makefile Fri Jan 3 19:04:02 1997
> +++ linux/drivers/char/Makefile Mon Mar 31 20:32:54 1997
> @@ -22,7 +22,7 @@
> M_OBJS :=

It failed miserably when I applied it against 2.0.25. (5 out of 7
hunks failed or something like that). But I was able to patch it by
hand easily enough. It looks like your patch first takes OUT some
changes for raw keyboard entry that have been added since 2.0.25
and then adds IN your own changes.

All I had to do was edit the -'s out of your patch. I didn't have the
lines to - out. I guess that your patch was against a 2.1.* kernel
since I can't imagine raw keyboard entry being mucked about with
between 2.0.25 and 2.0.29, which is the other possibility.

Peter T. Breuer Phd. Ing.,
Area de Ingenieria Telematica E-mail:
Dpto. Ingenieria Tel: +34 1 624 99 59
Universidad Carlos III de Madrid Fax: +34 1 624 94 30/65
Butarque 15, E-28911 Leganes URL: