From patchwork Thu Sep 9 17:51:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lech Perczak X-Patchwork-Id: 164951 X-Patchwork-Delegate: jikos@jikos.cz Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o89IAqlZ001991 for ; Thu, 9 Sep 2010 18:10:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752368Ab0IISKa (ORCPT ); Thu, 9 Sep 2010 14:10:30 -0400 Received: from mail.cybernet.com.pl ([195.117.60.252]:58222 "EHLO mail.cybernet.com.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751586Ab0IISKa (ORCPT ); Thu, 9 Sep 2010 14:10:30 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 09 Sep 2010 18:10:52 +0000 (UTC) X-Greylist: delayed 1134 seconds by postgrey-1.27 at vger.kernel.org; Thu, 09 Sep 2010 14:10:30 EDT Received: from [192.168.142.132] (77-253-245-114.adsl.inetia.pl [77.253.245.114]) by mail.cybernet.com.pl (Postfix) with ESMTP id 89A6B3DE155; Thu, 9 Sep 2010 19:51:34 +0200 (CEST) Message-ID: <4C891E9F.3040006@multivision.pl> Date: Thu, 09 Sep 2010 19:51:27 +0200 From: Lech Perczak User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: Jiri Kosina Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [Patch 1/1] hid: Fix for A4Tech RP-649 horizontal scrollwheel Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff -up hid/hid-a4tech.c.orig hid/hid-a4tech.c --- hid/hid-a4tech.c.orig 2010-08-02 00:11:14.000000000 +0200 +++ hid/hid-a4tech.c 2010-09-09 17:51:23.000000000 +0200 @@ -133,6 +133,8 @@ .driver_data = A4_2WHEEL_MOUSE_HACK_7 }, { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D), .driver_data = A4_2WHEEL_MOUSE_HACK_B8 }, + { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_RP_649), + .driver_data = A4_2WHEEL_MOUSE_HACK_B8 }, { } }; MODULE_DEVICE_TABLE(hid, a4_devices); diff -up hid/hid-ids.h.orig hid/hid-ids.h --- hid/hid-ids.h.orig 2010-09-09 17:48:28.000000000 +0200 +++ hid/hid-ids.h 2010-09-09 17:41:09.000000000 +0200 @@ -25,6 +25,7 @@ #define USB_VENDOR_ID_A4TECH 0x09da #define USB_DEVICE_ID_A4TECH_WCP32PU 0x0006 #define USB_DEVICE_ID_A4TECH_X5_005D 0x000a +#define USB_DEVICE_ID_A4TECH_RP_649 0x001a #define USB_VENDOR_ID_AASHIMA 0x06d6 #define USB_DEVICE_ID_AASHIMA_GAMEPAD 0x0025