« Return to Thread: 0.8.1-1 on HP tx2500z

Re: 0.8.1-1 on HP tx2500z

by Michael Grunde :: Rate this Message:

Reply to Author | View in Thread



On Wed, Jul 30, 2008 at 6:05 AM, Andrew Zappacky <zappacky@...> wrote:
On Wed, Jul 30, 2008 at 4:19 AM, Michael Grunde <m.grunde@...> wrote:
> Here are my results using linuxwacom-0.8.1-1 on my new HP tx2500z running
> Ubuntu 8.04 x86_64
>

Ooh. I've never tested this on 64 bit before. I'll investigate after
work today to see if that's an issue.

> mike@mike-tablet:~/Desktop/linuxwacom-0.8.1-1$ lsusb
> Bus 005 Device 003: ID 056a:0093 Wacom Co., Ltd
>

Alrighty, that's the device I've got.

> I ran ./configure with --enable-wacom --enable-hid --enable-usbmouse
> --enable-input.  Here are the results:
>
>   BUILD ENVIRONMENT:
>        architecture - x86_64-linux-gnu
>        linux kernel - yes 2.6.24
>   module versioning - no
>       kernel source - yes /lib/modules/2.6.24-20-generic/build
>      XFree86 source - no
>            Xorg SDK - no
>           XSERVER64 - yes
>            dlloader - yes
>                XLib - yes /usr/lib
>                 TCL - no
>                  TK - no
>             ncurses - no

You need TCL (and TK) to build wacomcpl. You need ncurses for wacdump.
IIRC, sudo apt-get install tcl8.4 tk8.4 libncurses5-dev will do the
job.

Okay, I installed those and recompiled the driver with only --enable-wacom (should I use more?), and wacdump was listed as yes.  Should I have the XFree86 source and the Xorg SDK?
 

>
>   BUILD OPTIONS:
>             wacom.o - yes
>             wacdump - no
>              xidump - yes (no ncurses)
>         libwacomcfg - yes
>          libwacomxi - no
>           xsetwacom - yes
>               hid.o - no
>          usbmouse.o - no
>             evdev.o - no
>          mousedev.o - no
>             input.o - no
>        wacom_drv.so - no /usr/lib/xorg/modules/input
>         wacom_drv.o - no
>   wacom*_drv quirks -
>
>
> I don't understand why wacdump isn't included here.

See above.

>
> I then made and installed the driver, and immediately after running
> "modprobe wacom" I had touchscreen and active digitizer support (without
> editing xorg.conf).  However, the calibration is way off and wacomcpl
> doesn't seem to be installed.

Calibration doesn't exist unless you edit xorg.conf. It pretends it's
a regular (i.e. relative) mouse device, and being a touchscreen device
this only leads to badness. Once you edit xorg.conf, it will be nice
and linear.

Here's my config segments:

Section "InputDevice"
   Identifier     "TabletPCStylus"
   Driver         "wacom"
   Option         "ForceDevice" "ISDV4"
   Option         "Type" "stylus"
   Option         "SendCoreEvents" "true"
   Option         "Device"
"/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-wacom"
   Option         "TopX" "225"
   Option         "TopY" "122"
   Option         "BottomX" "26365"
   Option         "BottomY" "16488"
EndSection

Section "InputDevice"
   Identifier     "TabletPCStylus2"
   Driver         "wacom"
   Option         "ForceDevice" "ISDV4"
   Option         "Type" "stylus"
   Option         "SendCoreEvents" "true"
   Option         "Device"
"/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.1-wacom"
EndSection

Section "InputDevice"
   Identifier     "TabletPCStylus3"
   Driver         "wacom"
   Option         "ForceDevice" "ISDV4"
   Option         "Type" "eraser"
   Option         "SendCoreEvents" "true"
   Option         "Device"
"/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-wacom"
EndSection

Note: Do NOT change any of the identifiers. Changing them to anything
else unless you know EXACTLY why they're the way they are will break
wacomcpl (i.e. don't change them). The "Device" sections are based on
my tx2000z, so they may have changed for the tx2500 (look in the
/dev/input/by-path folder). 1.0-wacom is the pen/eraser, 1.1-wacom is
the touch (No, the "Type" "Stylus" is not a typo. Just trust me.)

Okay, here's why I'm a bit confused:

mike@mike-tablet:/dev/input/by-path$ ls
pci-0000:00:13.0-usb-0:1:1.0-event-mouse  pci-0000:00:14.5-usb-0:2:1.1-event-
pci-0000:00:13.0-usb-0:1:1.0-mouse        platform-i8042-serio-0-event-kbd
pci-0000:00:13.0-usb-0:1:1.1-event-       platform-i8042-serio-1-event-mouse
pci-0000:00:14.5-usb-0:2:1.0-event-mouse  platform-i8042-serio-1-mouse
pci-0000:00:14.5-usb-0:2:1.0-mouse        platform-pcspkr-event-spkr
pci-0000:00:14.5-usb-0:2:1.1-

I used 2:1.1- for the stylus/eraser and 2:1.1-event for the touchscreen, and the stylus is working like it was before (poorly calibrated), and the touchscreen does not work.  I used those because cat /proc/bus/input/devices returned:

I: Bus=0003 Vendor=056a Product=0093 Version=0373
N: Name="Wacom ISDv4 93"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:14.5/usb5/5-2/5-2:1.0/input/input14
U: Uniq=
H: Handlers=mouse3 event12
B: EV=b
B: KEY=1c03 0 0 0 0 0
B: ABS=1000100001b

I: Bus=0003 Vendor=056a Product=0093 Version=0373
N: Name="Wacom ISDv4 93"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:14.5/usb5/5-2/5-2:1.1/input/input15
U: Uniq=
H: Handlers=mouse4 event13
B: EV=b
B: KEY=1c03 0 0 0 0 0
B: ABS=1000100001b




 


>
> Even though wacdump was listed as no earlier, it is installed, and it seems
> to be working (class usb device /dev/input/event12).  What I noticed is that
> as I push harder on the screen, the pressure increases to ~250, then
> decreases to 128, so once I hit ~250 the registered pressure actually
> decreases as I press harder on the screen with my stylus.
>

This might have something to do with being on 64 bit. (The number is
255 by the way) After work today I'll investigate (as mentioned
above).

> I'm not sure what else to report.  This is my first tablet PC, so I'm not
> sure what else I can do.  If you need any more information, don't hesitate
> to ask :)

I'll send you a debug patch after work today, and then you can send me
your dmesg and I can go from there.

Thanks for the report

-Andrew

Thanks for all of your help.  If you need any more information, just let me know.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

 « Return to Thread: 0.8.1-1 on HP tx2500z

LightInTheBox - Buy quality products at wholesale price!