Re: [DIGImend-devel] UC-Logic Tablet TWHA60 draft driver
Brought to you by:
spb_nick
|
From: Patricia S. <pat...@gm...> - 2012-08-14 20:24:09
|
Hello Nikolai,
oh oh ... no function...
i installed the three .deb but i don't know how install the .patch
Patry
This pc have 2 /sys/kernel/debug/hid/0003:**5543:0781*/rdesc files
/sys/kernel/debug/hid/0003:**5543:0781.0002/rdesc files
/sys/kernel/debug/hid/0003:**5543:0781.0003/rdesc files
with: sudo su
cd /sys/kernel/debug/hid/0003:**5543:0781.0002/rdesc
dir
gedit rdesc
05 0d 09 02 a1 01 85 07 09 20 a1 00 09 42 09 44 09 45 15 00 25 01 75 01 95
03 81 02 95 03 81 03 09 32 95 01 81 02 95 01 81 03 05 01 09 30 75 10 95 01
a4 55 0d 65 13 35 00 46 10 27 26 40 9c 81 02 09 31 46 6a 18 26 a8 61 81 02
b4 05 0d 09 30 26 ff 03 81 02 75 10 c0 c0 05 01 09 02 a1 01 85 08 09 01 a1
00 05 09 19 01 29 03 15 00 25 01 95 03 75 01 81 02 95 05 81 01 05 01 09 30
09 31 09 38 09 00 15 81 25 7f 75 08 95 04 81 06 c0 c0 05 01 09 02 a1 01 85
09 09 01 a1 00 05 09 19 01 29 03 15 00 25 01 95 03 75 01 81 02 95 04 81 01
05 0d 09 32 95 01 81 02 05 01 09 30 75 10 95 01 a4 55 0d 65 13 35 00 46 10
27 26 40 9c 81 02 09 31 46 6a 18 26 a8 61 81 02 b4 05 0d 09 30 26 ff 03 95
01 75 10 81 02 c0 c0 05 01 09 00 a1 01 85 04 15 00 26 ff 00 09 00 75 08 95
03 b1 02 c0
INPUT(7)[INPUT]
Field(0)
Physical(Digitizers.Stylus)
Application(Digitizers.Pen)
Usage(3)
Digitizers.TipSwitch
Digitizers.BarrelSwitch
Digitizers.Eraser
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Physical(Digitizers.Stylus)
Application(Digitizers.Pen)
Usage(1)
Digitizers.InRange
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(1)
Report Offset(6)
Flags( Variable Absolute )
Field(2)
Physical(Digitizers.Stylus)
Application(Digitizers.Pen)
Usage(1)
GenericDesktop.X
Logical Minimum(0)
Logical Maximum(40000)
Physical Minimum(0)
Physical Maximum(10000)
Unit Exponent(13)
Unit(English Linear : Inch)
Report Size(16)
Report Count(1)
Report Offset(8)
Flags( Variable Absolute )
Field(3)
Physical(Digitizers.Stylus)
Application(Digitizers.Pen)
Usage(1)
GenericDesktop.Y
Logical Minimum(0)
Logical Maximum(25000)
Physical Minimum(0)
Physical Maximum(6250)
Unit Exponent(13)
Unit(English Linear : Inch)
Report Size(16)
Report Count(1)
Report Offset(24)
Flags( Variable Absolute )
Field(4)
Physical(Digitizers.Stylus)
Application(Digitizers.Pen)
Usage(1)
Digitizers.TipPressure
Logical Minimum(0)
Logical Maximum(1023)
Report Size(16)
Report Count(1)
Report Offset(40)
Flags( Variable Absolute )
INPUT(8)[INPUT]
Field(0)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(3)
Button.0001
Button.0002
Button.0003
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(4)
GenericDesktop.X
GenericDesktop.Y
GenericDesktop.Wheel
GenericDesktop.0000
Logical Minimum(-127)
Logical Maximum(127)
Report Size(8)
Report Count(4)
Report Offset(8)
Flags( Variable Relative )
INPUT(9)[INPUT]
Field(0)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(3)
Button.0001
Button.0002
Button.0003
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(1)
Digitizers.InRange
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(1)
Report Offset(7)
Flags( Variable Absolute )
Field(2)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(1)
GenericDesktop.X
Logical Minimum(0)
Logical Maximum(40000)
Physical Minimum(0)
Physical Maximum(10000)
Unit Exponent(13)
Unit(English Linear : Inch)
Report Size(16)
Report Count(1)
Report Offset(8)
Flags( Variable Absolute )
Field(3)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(1)
GenericDesktop.Y
Logical Minimum(0)
Logical Maximum(25000)
Physical Minimum(0)
Physical Maximum(6250)
Unit Exponent(13)
Unit(English Linear : Inch)
Report Size(16)
Report Count(1)
Report Offset(24)
Flags( Variable Absolute )
Field(4)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(1)
Digitizers.TipPressure
Logical Minimum(0)
Logical Maximum(1023)
Report Size(16)
Report Count(1)
Report Offset(40)
Flags( Variable Absolute )
FEATURE(4)[FEATURE]
Field(0)
Application(GenericDesktop.0000)
Usage(3)
GenericDesktop.0000
GenericDesktop.0000
GenericDesktop.0000
Logical Minimum(0)
Logical Maximum(255)
Report Size(8)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )
Digitizers.TipSwitch ---> Key.Touch
Digitizers.BarrelSwitch ---> Key.Stylus
Digitizers.Eraser ---> Key.Btn0
Digitizers.InRange ---> Key.ToolPen
GenericDesktop.X ---> Absolute.X
GenericDesktop.Y ---> Absolute.Y
Digitizers.TipPressure ---> Absolute.Pressure
Button.0001 ---> Key.LeftBtn
Button.0002 ---> Key.RightBtn
Button.0003 ---> Key.MiddleBtn
GenericDesktop.X ---> Relative.X
GenericDesktop.Y ---> Relative.Y
GenericDesktop.Wheel ---> Relative.Wheel
GenericDesktop.0000 ---> Relative.Misc
Button.0001 ---> Key.SideBtn
Button.0002 ---> Key.ExtraBtn
Button.0003 ---> Key.ForwardBtn
Digitizers.InRange ---> Key.ToolRubber
GenericDesktop.X ---> Absolute.Z
GenericDesktop.Y ---> Absolute.Rx
Digitizers.TipPressure ---> Absolute.Pressure
-----------------------------------------
cd /sys/kernel/debug/hid/0003:**5543:0781.0003rdesc
dir
gedit rdesc
05 0c 09 01 a1 01 85 05 95 01 75 08 81 01 15 00 25 01 75 01 95 12 0a ff ff
0a 00 00 0a ff ff 0a ff ff 0a ff ff 0a 00 00 0a ff ff 0a ff ff 0a ff ff 0a
ff ff 0a 2a 02 0a 00 00 0a 00 00 0a 00 00 0a 00 00 0a e2 00 0a 00 00 0a 00
00 81 62 95 06 75 01 81 03 c0 05 01 09 02 a1 01 85 06 09 01 a1 00 05 09 19
01 29 03 15 00 25 01 95 03 75 01 81 02 95 05 81 01 05 01 09 30 09 31 09 38
09 00 15 81 25 7f 75 08 95 04 81 06 c0 c0
INPUT(5)[INPUT]
Field(0)
Application(Consumer.0001)
Usage(18)
Consumer.ffff
Consumer.0000
Consumer.ffff
Consumer.ffff
Consumer.ffff
Consumer.0000
Consumer.ffff
Consumer.ffff
Consumer.ffff
Consumer.ffff
Consumer.022a
Consumer.0000
Consumer.0000
Consumer.0000
Consumer.0000
Consumer.00e2
Consumer.0000
Consumer.0000
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(18)
Report Offset(8)
Flags( Variable Absolute NoPreferredState NullState )
INPUT(6)[INPUT]
Field(0)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(3)
Button.0001
Button.0002
Button.0003
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Physical(GenericDesktop.Pointer)
Application(GenericDesktop.Mouse)
Usage(4)
GenericDesktop.X
GenericDesktop.Y
GenericDesktop.Wheel
GenericDesktop.0000
Logical Minimum(-127)
Logical Maximum(127)
Report Size(8)
Report Count(4)
Report Offset(8)
Flags( Variable Relative )
Consumer.ffff ---> Sync.Report
Consumer.0000 ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.0000 ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.ffff ---> Sync.Report
Consumer.022a ---> Key.Bookmarks
Consumer.0000 ---> Sync.Report
Consumer.0000 ---> Sync.Report
Consumer.0000 ---> Sync.Report
Consumer.0000 ---> Sync.Report
Consumer.00e2 ---> Key.Mute
Consumer.0000 ---> Sync.Report
Consumer.0000 ---> Sync.Report
Button.0001 ---> Key.LeftBtn
Button.0002 ---> Key.RightBtn
Button.0003 ---> Key.MiddleBtn
GenericDesktop.X ---> Relative.X
GenericDesktop.Y ---> Relative.Y
GenericDesktop.Wheel ---> Relative.Wheel
GenericDesktop.0000 ---> Relative.Misc
patryhec@patryhec-TWH:~$ sudo evtest
[sudo] password for patryhec:
sudo: evtest: orden no encontrada
patryhec@patryhec-TWH:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ USB Optical Mouse id=11 [slave pointer (2)]
⎜ ↳ 6x10 Tablet id=12 [slave pointer (2)]
⎜ ↳ 6x10 Tablet id=13 [slave pointer (2)]
⎜ ↳ FSPPS/2 Sentelic FingerSensingPad id=15 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB Webcam id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
patryhec@patryhec-TWH:~$
2012/8/13 Nikolai Kondrashov <sp...@gm...>
> Hi Patricia, Jerry, Marc, Kevan,
>
> Please find attached draft 3.2 and 3.6 kernel patches adding support for
> UC-Logic Tablet TWHA60, aka Genius EasyPen M610, aka Monoprice MP1060-HA60.
>
> I've also built a set of kernel packages for Ubuntu 12.04 64bit with the
> patch applied, so it's easier to test for those of you who use this
> distribution release. I've had to use a free file hosting service, because
> I
> have a problem getting external IP for my home server at the moment.
> Here are the links for them, along with md5 checksums and file names:
>
> http://rghost.net/39767329 0e5abe4602941a2228a860454c2477**85
> linux-image-3.2.0-29.46+**uclogic-twha60-generic-**
> uclogic-twha60_3.2.0-29.46+**uclogic-twha60.1_amd64.deb
> http://rghost.net/39767356 d88fe098fa81be4e03e464dd623998**2b
> linux-headers-3.2.0-29.46+**uclogic-twha60_3.2.0-29.46+**
> uclogic-twha60.1_all.deb
> http://rghost.net/39767358 95c31fa9b7309b8ee21e740a43d64f**b3
> linux-headers-3.2.0-29.46+**uclogic-twha60-generic-**
> uclogic-twha60_3.2.0-29.46+**uclogic-twha60.1_amd64.deb
>
> Please install these packages, reboot into the new kernel and try your
> tablet.
> Please make sure you've removed any configuration left from your previous
> attempts to make the tablet work. If the driver is correct, the tablet
> should
> work with the default configuration and xf86-input-evdev driver installed
> by
> default.
>
> The frame buttons should get assigned keycodes from F1-F24 key range. I've
> decided to do that instead of my usual attempt to map them correctly in the
> kernel, because these tablets have varying number of buttons and report
> mappings, the meaning of some of the buttons is not clear and is not easily
> transferrable to Linux realities, and most users prefer their own mappings
> anyway. I'll try to come up with a generic way to map these buttons from
> userspace, which would also be useful for other tablets. The instructions
> are
> to follow later.
>
> If the tablet doesn't work, please send the contents of
> /sys/kernel/debug/hid/0003:**5543:0781*/rdesc files, "sudo evtest" output
> for
> both corresponding event devices (without actual event dumping, just the
> header), and the output of "xinput list". Please tell me, if you have
> trouble
> retrieving these.
>
> Thank you for testing.
>
> Sincerely,
> Nick
>
|