evdev, hal, and calibrating my touchscreen
Clarke Wixon
cwixon at usa.net
Wed Nov 19 11:47:50 PST 2008
Peter Hutterer <peter.hutterer <at> who-t.net> writes:
>
> On Thu, Nov 13, 2008 at 11:56:09PM +0000, Clarke Wixon wrote:
> > Device 'Touchkit HID-USB Touchscreen':
> > Device Enabled: 1
> > Middle Button Emulation: 2
> > Middle Button Timeout: 50
> > Wheel Emulation Inertia: 10
> > Wheel Emulation: 0
> > Wheel Emulation X Axis: 0, 0
> > Wheel Emulation Y Axis: 4, 5
> > Wheel Emulation Timeout: 200
> > Wheel Emulation Button: 4
> > Drag Lock Buttons: 0
>
> "Evdev Axis Calibration" should be the property, at least if you're running
> 2.0.99.3.
Thank you Peter.
I built and installed evdev from git yesterday -- so it should be entirely
up to date -- but I don't get that property. In fact, all I get is this:
$ xinput list-props "Touchkit HID-USB Touchscreen"
Device 'Touchkit HID-USB Touchscreen':
Device Enabled: 1
Only "Device Enabled." Even though the calibration property doesn't exist,
I can SET it thusly:
$ xinput set-int-prop "Touchkit HID-USB Touchscreen" \
> "Evdev Axis Calibration" 32 80 3975 135 3935
And then I get:
$ xinput list-props "Touchkit HID-USB Touchscreen"
Device 'Touchkit HID-USB Touchscreen':
Device Enabled: 1
Evdev Axis Calibration: 80, 3975, 135, 3935
That looks right. BUT there's no change in calibration, and "xinput list"
still shows 42..4029 for both axes.
Looking at Xorg.0.log shows that I definitely have evdev working here, and I
replaced my old module with the new one, so I don't think there's any chance I
have version issues. (Heck, I read through the source before building to make
sure I had the runtime calibration patch, and it was there.)
Do I need to build and install some other updated X subsystem to get this to
work? I only built evdev, and my distro default xserver-xorg-core package is at
version 1.5.2 (specifically, 2:1.5.2-2ubuntu3).
More information about the xorg
mailing list