Laptop keymap... was: battery on notebook

Thomas Stivers stivers_t at tomass.dyndns.org
Wed Sep 29 17:02:28 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 29 2004 at 04:41:31PM -0400, Terry D. Cudney wrote:
> Hi all,
> 
> 	Yes, Janina, you are right here. It is part of the speakup patches applied when you select speakup in the configuration of your kernel. I designed the keymapping to emulate the numeric keypad layout for the most part. David Borowski integrated it into the speakup patches and Kirk included it with them in CVS speakup.
> 
> 	This was done over a year ago, and David  said that he was thinking of making user-definable keymappings easy at that time, I haven't heard from him in a long time. So I don't know if this is still in his 'to-do' list or not.

When you compile a kernel with speakup there should be an executable
called genmap created in /usr/src/linux/drivers/char/speakup. Use this
program as follows after you make the changes you want to
speakupmap.map.

./genkey speakupmap.map >/proc/speakup/keymap

This should update the keymap in the currently running speakup. What I
have done is to write a keymap to /etc/speakup/ and then used
speakupconf to load and save it. Since I haven't done this in a while
standard disclaimers apply, YMMV, Etc.

HTH

- -- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBWyLk5JK61UXLur0RArUwAJ49aSr4AoUafAhmH4/ZDbtVo/aWRACfaD5v
pzr1I7UreXf0YwsKpo5UtrE=
=xM1h
-----END PGP SIGNATURE-----




More information about the Speakup mailing list