am1209 patch applied, readme

This commit is contained in:
ond 2011-09-22 09:42:58 +02:00
parent 11ea703922
commit 59b7816519
2 changed files with 34 additions and 3 deletions

30
README Normal file
View File

@ -0,0 +1,30 @@
Hanvon Artmaster 0806,1209 Tablet Driver
Revision history
================
0.0.1 - initial release
0.2 - corrected pressure detection, working slider button
0.3 - remaining buttons also working, added x and y tilting
0.3b patch for AM1209 support from Markus Zucker applied
Installation
============
Type 'make' to compile the module. New file hanvon.ko will be produced in
current directory. Load the module with root permissions
insmod ./hanvon.ko
If everything goes right the tablet should start working immediately.
Diagnostics
===========
After insmod, check with dmesg, if the module was loaded properly.
"v0.3b:USB Hanvon AM0806,AM1209 tablet driver" should appear in the listing.
lsmod should also contain hanvon in its listing: lsmod | grep hanvon

View File

@ -5,9 +5,9 @@
#include <linux/usb/input.h>
#include <asm/unaligned.h>
#define DRIVER_VERSION "v0.3"
#define DRIVER_VERSION "v0.3b"
#define DRIVER_AUTHOR "Ondra Havel <ondra.havel@gmail.com>"
#define DRIVER_DESC "USB Hanvon AM0806 tablet driver"
#define DRIVER_DESC "USB Hanvon AM0806,AM1209 tablet driver"
#define DRIVER_LICENSE "GPL"
MODULE_AUTHOR(DRIVER_AUTHOR);
@ -97,7 +97,8 @@ exit:
}
static struct usb_device_id hanvon_ids[] = {
{ USB_DEVICE(USB_VENDOR_ID_HANVON, 0x8502), .driver_info = 0 },
{ USB_DEVICE(USB_VENDOR_ID_HANVON, 0x8501), .driver_info = 0 }, // ArtMaster 1209
{ USB_DEVICE(USB_VENDOR_ID_HANVON, 0x8502), .driver_info = 0 }, // ArtMaster 0806
{ }
};