public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] FN+keys on my dell inspiron 2200 keyboard
@ 2007-03-13  8:19 Mark David Dumlao
  2007-03-13 19:53 ` Willie Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Mark David Dumlao @ 2007-03-13  8:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2930 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 3774 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] FN+keys on my dell inspiron 2200 keyboard
  2007-03-13  8:19 [gentoo-user] FN+keys on my dell inspiron 2200 keyboard Mark David Dumlao
@ 2007-03-13 19:53 ` Willie Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Willie Wong @ 2007-03-13 19:53 UTC (permalink / raw
  To: gentoo-user

On Tue, Mar 13, 2007 at 04:19:07PM +0800, Penguin Lover Mark David Dumlao squawked:
> 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

I've ran into your problem before, and I've ventured down the same
path before, and when it didn't quite work, I noticed the following in 
'man setkeycodes'

BUGS
     The keycodes of X have nothing to do with those of Linux. Unusual
     keys can be made visible under Linux, but not under X.

and I gave up. 

If you find a solution, please let us know. :)

Best, 

W
-- 
The day your life sucks and you put a gun in your mouth, 2 minutes 
later they'll have your lotto numbers on the TV, some hot chick will 
call you and ask you out, your boss will call in with a promotion
and your parents will call and apologize for making childhood suck.
Sortir en Pantoufles: up 95 days, 18:09
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-13 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13  8:19 [gentoo-user] FN+keys on my dell inspiron 2200 keyboard Mark David Dumlao
2007-03-13 19:53 ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox