From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936086AbXGZXKR (ORCPT ); Thu, 26 Jul 2007 19:10:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758127AbXGZXKF (ORCPT ); Thu, 26 Jul 2007 19:10:05 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:40849 "EHLO fmmailgate03.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675AbXGZXKD (ORCPT ); Thu, 26 Jul 2007 19:10:03 -0400 From: Christian Lamparter To: Andrew Morton Subject: Re: [PATCH] usbhid: add ASUS LCM to the blacklist Date: Fri, 27 Jul 2007 01:10:00 +0200 User-Agent: KMail/1.9.7 Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net, linux-input@atrey.karlin.mff.cuni.cz References: <200707240228.39421.chunkeey@web.de> <20070726152709.6daa1c96.akpm@linux-foundation.org> In-Reply-To: <20070726152709.6daa1c96.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_JnSqGVka9ftijN4" Message-Id: <200707270110.01135.chunkeey@web.de> X-Provags-ID: V01U2FsdGVkX1+yZNAhESbrhlUAbMXQhTI+GVvzs87PrWe8Cir6 /7Fmt2rccflDJ3NTxS1/t+U+gUFzU3ccPFJZnwyAU+pRjrKTkg Ib3gWWVuw= Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --Boundary-00=_JnSqGVka9ftijN4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Some of ASUS' notebooks (e.g G Series) include a tiny oled display, which is attached to an internal USB bus. Unfortunatly the device reports a wrong DeviceDescriptor and is therefore identified as a HID device... Signed-off-by: Christian Lamparter CC: linux-input@atrey.karlin.mff.cuni.cz CC: linux-usb-devel@lists.sourceforge.net --- Right! the last _two_ patches/resends were made from 2.6.22-*, this time however, it's diffed from 2.6.23-rc1-git3... (I hope it get's merged before someone else has already changed the line numbers again. ;) ) --Boundary-00=_JnSqGVka9ftijN4 Content-Type: text/x-diff; charset="iso-8859-1"; name="asus-lcm-hid-quirk.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="asus-lcm-hid-quirk.diff" diff -up drivers/hid/usbhid/hid-quirks.c.orig drivers/hid/usbhid/hid-quirks.c --- a/drivers/hid/usbhid/hid-quirks.c.orig 2007-07-27 00:23:36.000000000 +0200 +++ b/drivers/hid/usbhid/hid-quirks.c 2007-07-27 00:25:26.000000000 +0200 @@ -63,6 +63,9 @@ #define USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY 0x030b #define USB_DEVICE_ID_APPLE_IR 0x8240 +#define USB_VENDOR_ID_ASUS 0x0b05 +#define USB_DEVICE_ID_ASUS_LCM 0x1726 + #define USB_VENDOR_ID_ATEN 0x0557 #define USB_DEVICE_ID_ATEN_UC100KM 0x2004 #define USB_DEVICE_ID_ATEN_CS124U 0x2202 @@ -464,6 +467,8 @@ static const struct hid_blacklist { { USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_W7658, HID_QUIRK_RESET_LEDS }, { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_KBD, HID_QUIRK_RESET_LEDS }, + { USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_LCM, HID_QUIRK_IGNORE}, + { 0, 0 } }; --Boundary-00=_JnSqGVka9ftijN4--