[patch] add keymap data to make random laptop vendor keys work

Richard Hughes hughsient at gmail.com
Mon Jun 4 06:24:41 PDT 2007


On Mon, 2007-06-04 at 15:53 +0300, Daniel Stone wrote:
> 
> Right, hence why it needs to be per-device.
> 
> > Maybe we should just match the hald-setup-keymap against "AT
> Translated
> > Set 2 keyboard" and "ThinkPad Extra Buttons".
> 
> Just against ThinkPad Extra Buttons, no?  If you remap to something
> sensible, then you can have a generic remapping for atkbd, and
> everything using evdev just works anyway.
> 
> > I think this is the best way, and we can avoid poking around in
> sysfs
> > completely.
> 
> Indeed. 

What about the attached? (untested)

Richard.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-keymap.patch
Type: text/x-patch
Size: 11311 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070604/38d4f205/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-info-keymap.patch
Type: text/x-patch
Size: 6656 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070604/38d4f205/attachment-0003.bin 


More information about the hal mailing list