Hi all. My new tablet (observed working under Windows 7) is recognised and loads evdev. Pen buttons and tapping work (correspond to mouse-clicks). However, moving the pen doesn't cause the cursor to move.
Running some of the diagnostics (below) suggests that Linux is hearing the cursor movements. `xinput --test` gives correct-looking coords and pressure values. I must be [i]one[/i] step away from getting it working, so am hesitant to try anything heavy-duty like kernel patching (shouldn't be necessary) or custom .conf files (what options could I be missing?).
I'm no Linux expert so please feel free to ask simple questions. Also new to mailing lists: hopefully this works and is in the correct format.
Grateful for any guidance!
Cheers,
Andrew
Following are snippets of diagnostics:
===================================================================
uname -a: Linux gemini 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Mint 15 Olivia, using Mate.
Installed evdev driver: 2.7.3-0ubuntu2b2.
===================================================================
lsusb: Bus 003 Device 005: ID 5543:0781 UC-Logic Technology Corp.
===================================================================
usbhid-dump -me -s 5543:0781 gets me
003:005:000:STREAM 1390650646.343991
09 00 83 03 AB 04 00 00
003:005:000:STREAM 1390650646.347991
09 00 82 03 B8 04 00 00
003:005:000:STREAM 1390650646.351990
09 00 81 03 C5 04 00 00
003:005:000:STREAM 1390650646.355989
09 00 7F 03 D2 04 00 00
003:005:000:STREAM 1390650646.359990
09 00 7E 03 DF 04 00 00
003:005:000:STREAM 1390650646.363995
09 00 7D 03 EC 04 00 00
etc., where the second byte corresponds to buttons, and I can convince myself
that the 3rd to 6th bytes are positional.
===================================================================
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PIXART USB OPTICAL MOUSE id=9 [slave pointer (2)]
⎜ ↳ UC-LOGIC TWHA60 id=11 [slave pointer (2)]
⎜ ↳ UC-LOGIC TWHA60 id=12 [slave pointer (2)]
⎜ ↳ UC-LOGIC TWHA60 id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
===================================================================
xinput --test $DEV_NUMBER gives
motion a[2]=1249 a[3]=1130
motion a[2]=1246 a[3]=1129
motion a[2]=1243 a[3]=1127
motion a[2]=1240 a[3]=1125
motion a[2]=1237 a[3]=1123
motion a[2]=1234 a[3]=1121
motion a[2]=1231 a[3]=1119
motion a[2]=1228 a[3]=1116
where the coords look correct: origin in top left; max is (2047,2047).
Pressure sensitivity seems to be a[4].
Idea: Python script to parse this and manually move the cursor :)
===================================================================
Descriptors are
Bus 003 Device 005: ID 5543:0781 UC-Logic Technology Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x5543 UC-Logic Technology Corp.
idProduct 0x0781
bcdDevice 0.00
iManufacturer 5 UC-LOGIC
iProduct 6 TWHA60
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 84
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 179
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 181
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 92
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 8
Device Status: 0x0000
(Bus Powered)