Extend Keyboard keys: (sound up/down, the "Dell" button, "Play"....)

Extend Keyboard keys: (sound up/down, the "Dell" button, "Play"....)

Post by Lowell Allema » Sat, 10 Mar 2001 12:19:55



I have a Dell Insperon 8000 laptop.  I'd like to use some of the special
keys to do something useful under linux....   Example:  I'd like to make
the Volume-Up and Volume-Down actually control the sound level....

I'm almost positive these are all just keys, and not hard-wired to control
the sound level, because they don't work under linux!?  Is this a valid
assumption?

I did a `showkey -s`   and found this:

Key Name                Down Event      Up Event
----------      ------------    ----------
Play/Pause      0E  01          0E  81
Stop            0E  02          0E  82
Rewind          0E  03          0E  83
Fast Forward    0E  04          0E  84

*note:  The Play/Pause button doubles as the "Dell `E`" Button, and the
Stop button is the "i" or "info" (I'm assuming the implyed "info")

But the Volume-UP/Down keys do not seem to generate scan codes,  Is there
some other way to use them?  (If so, then how do they work under windows?)

Now that i found these scan codes, what do i do with them?

thanks,

Lowell C. Alleman

 
 
 

Extend Keyboard keys: (sound up/down, the "Dell" button, "Play"....)

Post by Lowell Allema » Sat, 10 Mar 2001 12:24:16


I have a Dell Insperon 8000 laptop.  I'd like to use some of the special
keys to do something useful under linux....   Example:  I'd like to make
the Volume-Up and Volume-Down actually control the sound level....

I'm almost positive these are all just keys, and not hard-wired to control
the sound level, because they don't work under linux!?  Is this a valid
assumption?

I did a `showkey -s`   and found this:

Key Name                Down Event      Up Event
----------      ------------    ----------
Play/Pause               0E  01           0E  81
Stop                        0E  02           0E  82
Rewind                    0E  03           0E  83
Fast Forward           0E  04           0E  84

*note:  The Play/Pause button doubles as the "Dell `E`" Button, and the
Stop button is the "i" or "info" (I'm assuming the implyed "info")

But the Volume-UP/Down keys do not seem to generate scan codes,  Is there
some other way to use them?  (If not, then how does it work under windows?)

Now that i found these scan codes, what do i do with them?

thanks,

Lowell C. Alleman


 
 
 

Extend Keyboard keys: (sound up/down, the "Dell" button, "Play"....)

Post by mike polnia » Mon, 12 Mar 2001 01:54:25



Quote:> I have a Dell Insperon 8000 laptop.  I'd like to use some of the special
> keys to do something useful under linux....   Example:  I'd like to make
> the Volume-Up and Volume-Down actually control the sound level....
> But the Volume-UP/Down keys do not seem to generate scan codes,  Is there
> some other way to use them?  (If not, then how does it work under windows?)

        Use > xev  to get key scancodes. Go to  linux.com and read
HOWTO article on Mapping Extra Function Keys.
--
LINUX~~nobody owns it~~everybody can use it~~anybody can improve it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~