[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange problem with special keys on iBook 2



Hi all,

I just noticed a peculiar behavior has developed with the keyboard on my
iBook 2 G3.  From left to right, the function keys F3 - F6 are labeled (in
addition to F3 - F6) with icons representing

	mute,    quieter, louder,   num lock.

However, their actual behavior (while running pbbuttonsd) is:

	quieter, louder,  num lock, (un)mute.

Running showkeys shows that their respective key codes emitted (converted
from hex to decimal) are:

	114,     115,    [nothing], 113

(The expected result, from checking /usr/include/linux/input.h, is
	113,     114,     115,      [nothing].)

When the Fn key is held down, the keycodes output are 61, 62, 63, 64, which
matches up with F3-F6 in the correct order, so only the special keycodes
are messed up.

In addition, the "eject" feature of the F12 key no longer works with
ikeysd, pmud, or pbbuttonsd.  Using "showkey" shows that the key currently
outputs the same keycode whether or not the Fn key is held down while
pressing it, code 88.  I would expect it to output 161 when Fn is not
pressed at the same time, where 161 is the KEY_EJECTCD defined in
/usr/include/linux/input.h.

Does anyone know how my keyboard behavior may have gotten messed up in such
a way?  It seems like it may have something to do with the console keymap
but a look into /usr/share/keymaps left me still puzzled.

I'm using unstable (very current) with Debian kernel 2.6.6-powerpc.  Have
checked that this weird behavior also occurs with an older self-compiled
2.6.4 kernel.  Unfortunately I don't know how long ago this started
happening, but I am fairly sure that it did work correctly with 2.6 kernels
at some point.

Thanks for any answers,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544



Reply to: