From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?q?Roh=C3=A1r?= Date: Sat, 17 May 2014 14:39:45 +0000 Subject: Re: Fn keys on Dell Latitude E6440 Message-Id: <201405171639.45722@pali> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart1926507.xgtVjR3oNh" List-Id: References: <201404141651.08779@pali> In-Reply-To: <201404141651.08779@pali> To: linux-hotplug@vger.kernel.org --nextPart1926507.xgtVjR3oNh Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday 14 April 2014 16:51:07 Pali Roh=C3=A1r wrote: > Hello, >=20 > on my notebook dell-wmi kernel driver generates some scan > codes when I press some of Fn key combinations. Now all these > scan codes are mapped to key "prog3". I would like to add > some actions for these Fn key combinations, so what do you > think? Which key codes should be assigned for these scan > codes? Note that these combinations are not special (and > labeled) as other (like Fn+F11 =3D play/pause) and seems like > windows does not recognize them. >=20 > Matthew, you are author of dell-wmi driver, do you know if > there are some other secrets key combinations? And why first > 10 Fn key combinations generate scan codes? >=20 > Output of commands: >=20 > $ lsinput >=20 > /dev/input/event7 > bustype : BUS_HOST > vendor : 0x0 > product : 0x0 > version : 0 > name : "Dell WMI hotkeys" > phys : "wmi/input0" > bits ev : EV_SYN EV_KEY EV_MSC >=20 > $ /lib/udev/keymap -i /dev/input/event7 >=20 > scan code: 0x10 key code: prog3 --> Fn+Q > scan code: 0x11 key code: prog3 --> Fn+W > scan code: 0x12 key code: prog3 --> Fn+E > scan code: 0x13 key code: prog3 --> Fn+R > scan code: 0x14 key code: prog3 --> Fn+T >=20 > scan code: 0x1E key code: prog3 --> Fn+A > scan code: 0x1F key code: prog3 --> Fn+S > scan code: 0x20 key code: prog3 --> Fn+D > scan code: 0x21 key code: prog3 --> Fn+F > scan code: 0x22 key code: prog3 --> Fn+G >=20 > $ cat /sys/class/dmi/id/sys_vendor > Dell Inc. >=20 > $ cat /sys/class/dmi/id/product_name > Latitude E6440 I looked deeper into dell-wmi driver and bios DMI keycode table.=20 I will send patch for dell-wmi driver which adding support for Fn=20 key combinations. =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart1926507.xgtVjR3oNh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlN3dLEACgkQi/DJPQPkQ1J1FQCcCjvb3iteGMBHleSYbexP67yx 0QEAmQGDT95YbaPd1LfcDGuLHPnQK52P =4fjn -----END PGP SIGNATURE----- --nextPart1926507.xgtVjR3oNh--