Hi!  I just got my multimedia keys up and running on my inspiron 2200
keyboard by following this guide and using xbindkeys.
http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys

I'm using a dell inspiron 2200 and I got my volume up and down keys
recognized using the ff xbindkeys rules.  Pretty cool, actually.
"amixer sset Master 1+"
   XF86AudioRaiseVolume
"amixer sset Master 1-"
   XF86AudioLowerVolume
"amixer sset Master toggle"
   XF86AudioMute

my keyboard looks like this
http://www.laptopreparatie.nl/webshop/catalog/images/i1200_keyboard.jpg
http://stephan-i.com/osc/images/D8883KB.jpg

I'm basically not having any trouble with the volume keys.  However, there
are also keys for
fn+eject
fn+crt/lcd
fn+wireless
fn+hibernate
fn+standy

that don't seem to work
firstly, I turn on my xev and press them.  I get no response.  watching my
kernel messages, I get to see their keycodes in a message like this:

Mar  7 04:00:31 titusx [11428.510000] atkbd.c: Unknown key pressed
(translated s
et 2, code 0x85 on isa0060/serio0).
Mar  7 04:00:31 titusx [11428.510000] atkbd.c: Use 'setkeycodes e005
<keycode>'
to make it known.

I tracked down all the keycodes and was able to make a script of keycodes in
my /etc/conf.d/local.start

setkeycodes e005 133
setkeycodes e006 134
setkeycodes e007 135
setkeycodes e008 136
setkeycodes e009 137
setkeycodes e00a 138
setkeycodes e00b 139

(except for fn+standby, which neither gives a keycode in xev nor is detected
by the kernel in its logs)

I test these out in xev. But I get funky behavior.
1) the keycode that appears does not match the keycode I gave
the fn+eject key, for example, I think is e00b.  So it should be giving me
keycode 139.  However, xev detects keycode 188.

2) xev reports the key repeatedly being pressed and released endlessly even
after I press it only once.

KeyPress event, serial 29, synthetic NO, window 0x3200001,
   root 0x5d, subw 0x0, time 2603599, (589,435), root:(599,532),
   state 0x0, keycode 192 (keysym 0x0, NoSymbol), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x3200001,
   root 0x5d, subw 0x0, time 2603634, (589,435), root:(599,532),
   state 0x0, keycode 192 (keysym 0x0, NoSymbol), same_screen YES,
   XLookupString gives 0 bytes:
   XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x3200001,
   root 0x5d, subw 0x0, time 2603634, (589,435), root:(599,532),
   state 0x0, keycode 192 (keysym 0x0, NoSymbol), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

on and on and on forever, until I click on another window to make it lose
focus or I press another key.

Assigning an action to the key confirms my suspicion.  I try setting
"eject"
XF86Eject

and no disc I put in stays in. XD

Any ideas?
--
thing.

Reply via email to