montolio wrote:
> Hi,
> I have an HP TC4200 TabletPC which has three soft buttons beneath the 
> screen (for rotating the screen and other stuff). When i run wacdump or 
> hexdump /dev/ttyS0 I can see that touching these buttons is registered. 
> But under X, neither xidump nor xev notice any event. Everything else 
> works fine.
>   
Maybe I should a little more extensive information:
The relevant lines in my xorg.conf are:

###################START xorg.conf#########
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button2" "3"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button1" "2"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "pad"
# Option "Device" "/dev/wacom"
# Option "Type" "pad"
# Option "ForceDevice" "ISDV4"
#EndSection



Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
# InputDevice "pad" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
###################END xorg.conf#########


I tried out activating a pad device, but it didn't bring any 
improvement. And I didn't need it before, when it was still working, so 
I commented it out again.


Next I better describe my output in wacdump:

Using: wacdump -f tpc /dev/wacom

The first relevant lines in wacdump are e.g.

MODEL=Tablet PC Screen ROM=0.0-0
CLS=Serial VNDR=Wacom DEV=TabletPC Sub=tpc
#Then there is shown a set of 9 bytes(in hexadecimal format) on the top, 
like:
80 0C 6E 10 6B 00 68 00 00

of which the first 7 change when there is some action with the pen (i 
think this is the same if I hexdump /dev/wacom).

If the pen is out of Range, the first Byte is: 80
If the pen is in Range, the first Byte is: A0
If I touch the screen with the tip it is: A1
If I press the second button of the pen it is: A2
If I press the second button of the pen and touch the screen with the 
tip it is: A3
If the eraser is in range it is: A4
If I touch the screen with the eraser tip it is: A5

Now if I touch my three soft buttons:
Button 1 - The first two bytes are: C1 01 (all other 00)
Button 2 - The first two bytes are: C1 02 (all other 00)
Button 3 - The first two bytes are: C1 04 (all other 00)


This buttons defintively worked under Kubuntu Edgy (I think it used 
wacom-tools-0.7.2, generating X events as button 9, 10, 12 -- tried this 
now out too, but no improvement ) and maybe even in Dapper; in older 
versions of Kubuntu it didn't and I didn't bother. But now, since I've 
become used to these buttons, I really miss them. Hope this information 
is sufficient.

Thanks,
Fritz


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Reply via email to