diff --git a/README b/README index 87839ca..b48f091 100644 --- a/README +++ b/README @@ -1,10 +1,17 @@ -Hanvon Artmaster I Tablet Driver -================================ +Hanvon tablet driver +==================== Driver for Linux kernels which supports complete functionality of the tablet: -pen coordinates, touch/float/click detection, pressure, x and y tilt, pen button, -four simple tablet buttons (note that the first one works only together with pen -activity), and the slider button. +pen coordinates, touch/float/click detection, pressure, x and y tilt, pen +button. On Artmaster I four simple tablet buttons (note that the first +one works only together with pen activity), and the slider button. + + +Supported hardware +================== + +Artmaster I: AM0806, AM1107, AM1209 +Rollick: RL0604 Installation @@ -36,3 +43,4 @@ Revision history 0.3b - patch for AM1209 from Markus Zucker applied 0.3c - patch for AM1107 from Daniel Koch applied 0.3d - support for right side buttons of AM1107 and AM1209 + 0.4 - code cleanup, RL0604 patch from Daniel Clemmer diff --git a/hanvon.c b/hanvon.c index 9fcdf0f..c319a52 100644 --- a/hanvon.c +++ b/hanvon.c @@ -7,7 +7,7 @@ #define DRIVER_VERSION "0.4" #define DRIVER_AUTHOR "Ondra Havel " -#define DRIVER_DESC "USB Hanvon Artmaster I tablet driver" +#define DRIVER_DESC "USB Hanvon tablet driver" #define DRIVER_LICENSE "GPL" MODULE_AUTHOR(DRIVER_AUTHOR); @@ -18,10 +18,11 @@ MODULE_LICENSE(DRIVER_LICENSE); #define USB_PRODUCT_ID_AM0806 0x8502 #define USB_PRODUCT_ID_AM1107 0x8505 #define USB_PRODUCT_ID_AM1209 0x8501 +#define USB_PRODUCT_ID_RL0604 0x851f #define USB_AM_PACKET_LEN 10 -static int lbuttons[]={BTN_0,BTN_1,BTN_2,BTN_3}; -static int rbuttons[]={BTN_4,BTN_5,BTN_6,BTN_7}; +static int lbuttons[]={BTN_0,BTN_1,BTN_2,BTN_3}; /* reported on all AMs */ +static int rbuttons[]={BTN_4,BTN_5,BTN_6,BTN_7}; /* reported on AM1107+ */ #define AM_WHEEL_THRESHOLD 4 @@ -118,6 +119,7 @@ static struct usb_device_id hanvon_ids[] = { { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_AM1209) }, { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_AM1107) }, { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_AM0806) }, + { USB_DEVICE(USB_VENDOR_ID_HANVON, USB_PRODUCT_ID_RL0604) }, { } };