Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754996AbbGEIxm (ORCPT ); Sun, 5 Jul 2015 04:53:42 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:32836 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756122AbbGEIxS (ORCPT ); Sun, 5 Jul 2015 04:53:18 -0400 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Mario Limonciello , Matthew Garrett , Andrew Morton , Len Brown , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: BUG? Duplicate key code 0xe045 in dell-wmi.c Date: Sat, 4 Jul 2015 18:34:03 +0200 User-Agent: KMail/1.13.7 (Linux/3.13.0-55-generic; KDE/4.14.2; x86_64; ; ) Cc: Gabriele Mazzotta , =?utf-8?q?Micha=C5=82_K=C4=99pie=C5=84?= MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1472484.o6VjLdEdCs"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201507041834.03944@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2299 Lines: 66 --nextPart1472484.o6VjLdEdCs Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I'm looking at dell-wmi.c driver and its history in git and I found=20 problem with handling WMI key code 0xe045. In current dell-wmi.c code is {KE_KEY, 0xe045, KEY_PROG1}, {KE_IGNORE, 0xe045, KEY_NUMLOCK}, I bet this is some copy-paste error as one code can be translated only=20 to one input key event. In git history I found that above change was added by commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id= =3D5cab0098171712a9fd51399b06181c8dfdebe9c9 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D commit 5cab0098171712a9fd51399b06181c8dfdebe9c9 Author: Mario Limonciello Date: Wed Jun 10 19:40:47 2009 +0000 dell-wmi: add additional keyboard events =20 Upcoming Dell hardware will send more keyboard events via WMI. Add support for them. =20 Signed-off-by: Mario Limonciello Signed-off-by: Matthew Garrett Signed-off-by: Andrew Morton Signed-off-by: Len Brown =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Sending email to all signers of this commit. Problematic code is still=20 in upstream kernel, so it needs to be fixed. Mario Limonciello: Do you know if code 0xe045 is some PROG1 or NUMLOCK? =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart1472484.o6VjLdEdCs 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) iEYEABECAAYFAlWYCvsACgkQi/DJPQPkQ1JQjACguDZpQsDkAvA3jJ7gINPg0BMZ /V4AoMLJkY0KWl3HaiMOT9csCkBIOjue =YEQ9 -----END PGP SIGNATURE----- --nextPart1472484.o6VjLdEdCs-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/