From d85b427453c59c24a92d097d9c88f8628ba5d6c2 Mon Sep 17 00:00:00 2001 From: Ondra Havel Date: Fri, 4 Jan 2013 01:00:22 +0100 Subject: [PATCH] adding support for gp0806 --- hanvon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hanvon.c b/hanvon.c index 8dc25b7..f48241b 100644 --- a/hanvon.c +++ b/hanvon.c @@ -21,7 +21,9 @@ MODULE_LICENSE(DRIVER_LICENSE); #define USB_PRODUCT_ID_AM1107 0x8505 #define USB_PRODUCT_ID_AM1209 0x8501 #define USB_PRODUCT_ID_RL0604 0x851f -#define USB_PRODUCT_ID_RL0504 0x851d +#define USB_PRODUCT_ID_RL0504 0x851d +#define USB_PRODUCT_ID_GP0806 0x8039 + #define USB_AM_PACKET_LEN 10 static int lbuttons[]={BTN_0,BTN_1,BTN_2,BTN_3}; /* reported on all AMs */ @@ -126,6 +128,7 @@ static struct usb_device_id hanvon_ids[] = { { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_AM0605) }, { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_RL0604) }, { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_RL0504) }, + { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_GP0806) }, { } };