From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?q?Roh=C3=A1r?= Date: Mon, 14 Apr 2014 14:51:07 +0000 Subject: Fn keys on Dell Latitude E6440 Message-Id: <201404141651.08779@pali> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart9023630.7gCTl22U0a" List-Id: To: linux-hotplug@vger.kernel.org --nextPart9023630.7gCTl22U0a Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, on my notebook dell-wmi kernel driver generates some scan codes=20 when I press some of Fn key combinations. Now all these scan=20 codes are mapped to key "prog3". I would like to add some actions=20 for these Fn key combinations, so what do you think? Which key=20 codes should be assigned for these scan codes? Note that these=20 combinations are not special (and labeled) as other (like Fn+F11=20 =3D play/pause) and seems like windows does not recognize them. Matthew, you are author of dell-wmi driver, do you know if there=20 are some other secrets key combinations? And why first 10 Fn key=20 combinations generate scan codes?=20 Output of commands: $ lsinput /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 $ /lib/udev/keymap -i /dev/input/event7 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 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 $ cat /sys/class/dmi/id/sys_vendor Dell Inc. $ cat /sys/class/dmi/id/product_name Latitude E6440 =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart9023630.7gCTl22U0a 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) iEYEABECAAYFAlNL9dwACgkQi/DJPQPkQ1L86QCeJts44zxoiWkLMAX8DqVREYnt TFsAoMd+372R0BrPwAgqHpSRzkX/hIUb =um13 -----END PGP SIGNATURE----- --nextPart9023630.7gCTl22U0a--