evdev ignores axis swap and inversion for Cando touch screen

Bug #749493 reported by Avery Ceo
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-evdev

Bug found in Natty-beta1. This feature is reported to work in Lucid and Maverick.
Package version xserver-xorg-input-evdev-2.6.0-1ubuntu1

The Cando touchscreen on Lenovo S10-3T tablet netbooks is not registering evdev orientation changes. Evdev properties update, but the properties are not affecting the actual input. The result is that when the display is rotated, the touch input cannot be made to match. After rotating the display 90 degrees counter-clockwise, the following two commands:

$ xinput set-prop "11" "Evdev Axes Swap" 1
$ xinput set-prop "11" "Evdev Axis Inversion" 1 0

should cause the mouse to move to the part of the screen that is touched. Instead, touching the right hand side of the screen moves the mouse to the top, touching the top moves it to the left side, etc. - just as if no evdev commands had been run. These commands are reported to have worked in Maverick - see for example http://ubuntuforums.org/showthread.php?p=10555921&highlight=script#post10555921

Command output below shows that evdev is updating properties:

$ xinput list-props 11
Device 'Cando Corporation Cando 10.1 Multi Touch Panel with Controller':
 Device Enabled (135): 1
 Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 Device Accel Profile (258): 0
 Device Accel Constant Deceleration (259): 1.000000
 Device Accel Adaptive Deceleration (260): 1.000000
 Device Accel Velocity Scaling (261): 10.000000
 Evdev Axis Inversion (262): 0, 0
 Evdev Axis Calibration (263): 0, 4020, 0, 4020
 Evdev Axes Swap (264): 0
 Axis Labels (265): "Abs X" (253), "Abs Y" (254), "Abs Misc" (255)
 Button Labels (266): "Button Unknown" (252), "Button Unknown" (252), "Button Unknown" (252), "Button Wheel Up" (141), "Button Wheel Down" (142)
 Evdev Middle Button Emulation (267): 0
 Evdev Middle Button Timeout (268): 50
 Evdev Wheel Emulation (269): 0
 Evdev Wheel Emulation Axes (270): 0, 0, 4, 5
 Evdev Wheel Emulation Inertia (271): 10
 Evdev Wheel Emulation Timeout (272): 200
 Evdev Wheel Emulation Button (273): 4
 Evdev Drag Lock Buttons (274): 0

$ xinput set-prop "11" "Evdev Axes Swap" 1

$ xinput set-prop "11" "Evdev Axis Inversion" 1 1

$ xinput list-props 11
Device 'Cando Corporation Cando 10.1 Multi Touch Panel with Controller':
    Device Enabled (135): 1
    Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (258): 0
    Device Accel Constant Deceleration (259): 1.000000
    Device Accel Adaptive Deceleration (260): 1.000000
    Device Accel Velocity Scaling (261): 10.000000
    Evdev Axis Inversion (262): 1, 1
    Evdev Axis Calibration (263): 0, 4020, 0, 4020
    Evdev Axes Swap (264): 1
    Axis Labels (265): "Abs X" (253), "Abs Y" (254), "Abs Misc" (255)
    Button Labels (266): "Button Unknown" (252), "Button Unknown" (252), "Button Unknown" (252), "Button Wheel Up" (141), "Button Wheel Down" (142)
    Evdev Middle Button Emulation (267): 0
    Evdev Middle Button Timeout (268): 50
    Evdev Wheel Emulation (269): 0
    Evdev Wheel Emulation Axes (270): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (271): 10
    Evdev Wheel Emulation Timeout (272): 200
    Evdev Wheel Emulation Button (273): 4
    Evdev Drag Lock Buttons (274): 0

$lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

Revision history for this message
David K Levine (david-dklevine) wrote :

I can verify:
this worked fine with Ubuntu 10.10
it is broken exactly as described above in Ubuntu 11.04 release version

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.