[ltp] Special Keys on R31?

Paul Timmins linux-thinkpad@www.bm-soft.com
18 Jul 2002 13:44:37 -0400


I recall an earlier posting that mentions that the keys, including the
thinklight, all reflect status in /dev/nvram.
Search the archives, I think you'll find what you need.
-Paul


On Wed, 2002-07-17 at 22:18, Norman Levin wrote:
> Boris Schroeder wrote:
> >> Hello list,
> >>
> >> is it possible to use the special keys on the thinkpad R31 (thinkpad
> >> button, volume up/down, mute) within linux?
> >>
> >> mute actually works out of the box, but I'd like to use the other
> >> keys as well.
> >>
> >> showkey -s and xev do not show anything when pressig/releasing those
> >> buttons. they don't seem to produce keycodes.
> >>
> >>
> >> thx in advance
> >>
> >> Boris
> 
> Following info from the IBM sponsered discussion groups showed how to do
> this in windows.  Have no idea if this is of any use, but:
> 
> Topic:  Redefine the ThinkPad button (1 of 1), Read 195 times
> Conf:  ThinkPad T20,T21,T22,T23
> From:  burke.ryder
> Date:  Saturday, January 12, 2002 07:36 PM
> 
> Yes, very frustrating to find that teaser but no instructions!
> 
> I searched the web, and found an obscure reference that led me in the right
> direction.
> Below are the steps that I found worked for me on my T22 w/ XP installed (note:
> you must
> mess with the registry in order to do this - proceed only if you are familiar
> with making registry changes):
> 
> 1) Open the Registry Editor (regedt32.exe)
> 
> 2) Find the key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001"
> The easiest way to do this is to search the registry for "8001".
> - Edit|Find...
> - Be sure to check "match whole string only"
> 
> 3)When you have found this registry key, modify the VALUE of the "File" attribute
> (Edit|Modify) to point to the program you would like to run instead of Access
> ThinkPad.
> As the previous poster on this thread indicated, it's pretty handy to use the
> thinkpad
> key to bring up the confirmation utility instead. Be sure to include the full
> path. For instance:
> 
> "C:\Program Files\THINKPAD\Utilities\tp98.exe"
> 
> 4) Click "OK", close the registry editor and reboot your machine. The setting did
> not take effect
> for me until I did the reboot.
> 
> 5) Although I do not believe it is necessary or makes a difference, you can also
> modify
> the "DispName" attribute so that it represents the new program you've just
> programmed.
> I have no idea how/if it is used, though.
> 
> Final Note: You can use this technique to launch any program, so have fun!
> 
> Regards,
> 
> Burke
> 
> 
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
> 
-- 
Paul Timmins
paul@timmins.net / http://www.timmins.net/
H: 248-858-7526 / C: 248-761-0467 / DC: 130*116*24495
A: noweb4u


----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html