Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   SRU LP140608 Add HID quirk for dual USB gamepad (http://www.linux-archive.org/ubuntu-kernel-team/195926-sru-lp140608-add-hid-quirk-dual-usb-gamepad.html)

Tim Gardner 11-19-2008 02:35 AM

SRU LP140608 Add HID quirk for dual USB gamepad
 
Steve Conklin wrote:
> From d2ad788841bfacc336d5c157c2ae33cf3edf22da Mon Sep 17 00:00:00 2001
> From: Steve Conklin <sconklin@canonical.com>
> Date: Tue, 18 Nov 2008 18:42:33 -0600
> Subject: [PATCH] UBUNTU: Add HID quirk for dual USB gamepad
> Bug: #140608
>
> Signed-off-by: Steve Conklin <sconklin@canonical.com>
> ---
> drivers/hid/usbhid/hid-quirks.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
> index 49144cb..23dba2f 100644
> --- a/drivers/hid/usbhid/hid-quirks.c
> +++ b/drivers/hid/usbhid/hid-quirks.c
> @@ -147,6 +147,7 @@
>
> #define USB_VENDOR_ID_GAMERON 0x0810
> #define USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR 0x0001
> +#define USB_DEVICE_ID_GAMERON_DUAL_PCS_ADAPTOR 0x0002
>
> #define USB_VENDOR_ID_GENERAL_TOUCH 0x0dfc
>
> @@ -443,6 +444,7 @@ static const struct hid_blacklist {
> { USB_VENDOR_ID_ALPS, USB_DEVICE_ID_IBM_GAMEPAD, HID_QUIRK_BADPAD },
> { USB_VENDOR_ID_CHIC, USB_DEVICE_ID_CHIC_GAMEPAD, HID_QUIRK_BADPAD },
> { USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR, HID_QUIRK_MULTI_INPUT },
> + { USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PCS_ADAPTOR, HID_QUIRK_MULTI_INPUT },
> { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_DRIVING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },
> { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FLYING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },
> { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FIGHTING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },

ACK - looks like this could also go upstream in drivers/hid/hid-core.c
in the hid_ignore_list.

rtg
--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team


All times are GMT. The time now is 02:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.