Re: SYSRQ...(part2)

From: almesber@lrc.di.epfl.ch
Date: Mon Jan 24 2000 - 14:52:19 EST


Mike A. Harris wrote:
> Correct. I like this approach too. I'm going to try and
> implement it today. If I do, I'll send my submission to Martin
> Mares, et al for inclusion in the kernel.

BTW, this is quite similar to something I had to do for the Psion S5:
there is no SysRq key, so I used Ctrl-Alt-Help instead. Also, I
wanted SysRq to be sticky. I implemented a general approach that adds
architecture-specific keys (e.g. on an PDA you have keys for backlight,
contract, etc.), exported the SysRq interface from keyboard.c, and
defined SysRq as an architecture-specific key.

If you make such a SysRq extension, it would be nice if you could
consider implementing the more general concept I'm proposing. This way,
it'll be easier to add architecture-specific hooks for PDAs and such.
(If anybody from LinuxCE is reading this, maybe they could comment too.)

I've attached a pseudo-patch (with large sections containing material
specific to the Psion or linux-7k in general removed) vs. 2.2.1. The
full linux-7k patch is on
ftp://icaftp.epfl.ch/pub/people/almesber/psion/crash+burn-26.patch.gz

> We could claim that the linux kernel also contains
> "accessibility" features for Linux kernel hackers that are
> disabled.

Or using small mobile devices.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:13 EST