Re: [DIGImend-devel] UC-Logic Tablet TWHA60 draft driver
Brought to you by:
spb_nick
|
From: Patricia S. <pat...@gm...> - 2012-08-18 14:47:35
|
Hi Nick,
kernel:
patryhec@patryhec-TWH:~$ uname -r
3.2.0-29.46+uclogic-twha60-generic-uclogic-twha60
patryhec@patryhec-TWH:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 5986:0182 Acer, Inc
Bus 002 Device 003: ID 15ca:00c3 Textech International Ltd. Mini Optical
Mouse
Bus 002 Device 004: ID 5543:0781 UC-Logic Technology Corp.
The cursor react to pen movements but only covers right side of the screen
and in mirror.
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)]
⎜ ↳ FSPPS/2 Sentelic FingerSensingPad id=13 [slave pointer (2)]
⎜ ↳ 6x10 Tablet id=14 [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=12 [slave keyboard (3)]
↳ 6x10 Tablet id=15 [slave keyboard (3)]
patryhec@patryhec-TWH:~$
oh!!! bravo!!! 6x10 Tablet is here!!!!!
patryhec@patryhec-TWH:~$ xinput list-props 2 4 11 13 3 5 6 7 8 9 10 12
Device 'Virtual core pointer':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device 'Virtual core XTEST pointer':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
XTEST Device (248): 1
Device 'USB Optical Mouse':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (256): 0
Device Accel Constant Deceleration (257): 1.000000
Device Accel Adaptive Deceleration (258): 1.000000
Device Accel Velocity Scaling (259): 10.000000
Device Product ID (251): 5578, 195
Device Node (252): "/dev/input/event5"
Evdev Axis Inversion (260): 0, 0
Evdev Axes Swap (262): 0
Axis Labels (263): "Rel X" (142), "Rel Y" (143), "Rel Vert Wheel" (255)
Button Labels (264): "Button Left" (135), "Button Middle" (136), "Button
Right" (137), "Button Wheel Up" (138), "Button Wheel Down" (139), "Button
Horiz Wheel Left" (140), "Button Horiz Wheel Right" (141)
Evdev Middle Button Emulation (265): 0
Evdev Middle Button Timeout (266): 50
Evdev Third Button Emulation (267): 0
Evdev Third Button Emulation Timeout (268): 1000
Evdev Third Button Emulation Button (269): 3
Evdev Third Button Emulation Threshold (270): 20
Evdev Wheel Emulation (271): 0
Evdev Wheel Emulation Axes (272): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (273): 10
Evdev Wheel Emulation Timeout (274): 200
Evdev Wheel Emulation Button (275): 4
Evdev Drag Lock Buttons (276): 0
Device 'FSPPS/2 Sentelic FingerSensingPad':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (256): 0
Device Accel Constant Deceleration (257): 1.000000
Device Accel Adaptive Deceleration (258): 1.000000
Device Accel Velocity Scaling (259): 10.000000
Device Product ID (251): 2, 15
Device Node (252): "/dev/input/event7"
Evdev Axis Inversion (260): 0, 0
Evdev Axes Swap (262): 0
Axis Labels (263): "Rel X" (142), "Rel Y" (143), "Rel Horiz Wheel" (279),
"Rel Vert Wheel" (255)
Button Labels (264): "Button Left" (135), "Button Middle" (136), "Button
Right" (137), "Button Wheel Up" (138), "Button Wheel Down" (139), "Button
Horiz Wheel Left" (140), "Button Horiz Wheel Right" (141), "Button Unknown"
(254), "Button Unknown" (254), "Button Forward" (277), "Button Back" (278),
"Button Unknown" (254), "Button Unknown" (254), "Button Unknown" (254),
"Button Unknown" (254)
Evdev Middle Button Emulation (265): 0
Evdev Middle Button Timeout (266): 50
Evdev Third Button Emulation (267): 0
Evdev Third Button Emulation Timeout (268): 1000
Evdev Third Button Emulation Button (269): 3
Evdev Third Button Emulation Threshold (270): 20
Evdev Wheel Emulation (271): 0
Evdev Wheel Emulation Axes (272): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (273): 10
Evdev Wheel Emulation Timeout (274): 200
Evdev Wheel Emulation Button (275): 4
Evdev Drag Lock Buttons (276): 0
Device 'Virtual core keyboard':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device 'Virtual core XTEST keyboard':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
XTEST Device (248): 1
Device 'Power Button':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Product ID (251): 0, 1
Device Node (252): "/dev/input/event3"
Virtual Device (253): 1
Device 'Video Bus':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Product ID (251): 0, 6
Device Node (252): "/dev/input/event11"
Virtual Device (253): 1
Device 'Power Button':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Product ID (251): 0, 1
Device Node (252): "/dev/input/event0"
Virtual Device (253): 1
Device 'Sleep Button':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Product ID (251): 0, 3
Device Node (252): "/dev/input/event1"
Virtual Device (253): 1
Device 'USB Webcam':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Product ID (251): 22918, 386
Device Node (252): "/dev/input/event6"
Device 'AT Translated Set 2 keyboard':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Product ID (251): 1, 1
Device Node (252): "/dev/input/event4"
patryhec@patryhec-TWH:~$
patryhec@patryhec-TWH:~$ stdbuf -oL xinput test 2 | tee xinput_coords.txt
unable to find device 2
patryhec@patryhec-TWH:~$ stdbuf -oL xinput test 4 | tee xinput_coords.txt
xinput_coords.txt is 0 byte
X.org
where are X.org?
i can't find it.
Patry
2012/8/18 Nikolai Kondrashov <sp...@gm...>
> Hi Patricia,
>
>
> On 08/17/2012 11:06 PM, Patricia Sartor wrote:
>
>> Here the test's results:
>>
>
> Thank you. The device reports pen coordinates in correct orientation.
> So, my guess is that your X.org is set up incorrectly.
>
>
> 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)]
>> ⎜ ↳ FSPPS/2 Sentelic FingerSensingPad 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)]
>> ↳ Sleep Button id=9[slave keyboard (3)]
>> ↳ USB Webcam id=10[slave keyboard (3)]
>> ↳ AT Translated Set 2 keyboard id=12[slave keyboard (3)]
>>
>
> This output doesn't contain your tablet. Did you boot the correct kernel?
> Was the tablet plugged in? Did cursor react to pen movements?
>
> Also, please note, that while usbhid-dump runs, it detaches the tablet from
> the kernel input stack and it won't be seen as an input device, so please
> ensure it isn't running at the same time you're trying to retrieve any
> information about it with "xinput".
>
> Please retry "xinput list" after you've checked these and when you make the
> tablet appear in this list, proceed to further steps.
>
> In addition to capturing the reported coordinates as described before,
> could
> you please provide the output of "xinput list-props ID", where "ID" is
> also replaced with your tablet pen device ID?
>
>
> stdbuf -oL xinput test 4 | tee xinput_coords.txt
>>
>
> This command is correct, but the used ID is wrong.
>
>
> stdbuf -oL xinput test ID=4 | tee xinput_coords.txt
>>
>
> The device specification syntax is incorrect in this command. It should
> either be a device ID or name. I.e. "ID=" shouldn't be present here.
>
> Sincerely,
> Nick
>
|