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

Daniel Stone daniel.stone at nokia.com
Mon Jun 4 03:11:49 PDT 2007


On Mon, Jun 04, 2007 at 11:08:08AM +0100, ext Richard Hughes wrote:
> +	fd = open_a_console("/dev/tty");
> +	if (fd >= 0)
> +		return fd;

This fails for multiple keyboards: you need to use the evdev interface.

> +        <append key="keymap.linux.data" type="strlist">e016:238</append>	<!-- Fn+F5	Wireless -->
> +        <append key="keymap.linux.data" type="strlist">e017:142</append>	<!-- Fn+F4	Suspend -->
> +        <append key="keymap.linux.data" type="strlist">e018:205</append>	<!-- Fn+F12	Hibernate -->
> +        <append key="info.capabilities" type="strlist">keymap</append>

Should these not be under input?

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20070604/41bea716/attachment.pgp 


More information about the hal mailing list