make evtouch devices work with hal-input in intrepid
Bug #261873 reported by
Oliver Grawert
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-input-evtouch (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
the currently used hal-input in intrepid doesnt recognize evtouch devices at all, this is a regression over hardy where at least teh xorg.conf device entries used to work, scope of this bug is to properly integrate evtouch support wit hal-input to
a) make xorg/hal detect the device as needing evtouch through an .fdi file
b) apply calibration data similar to what hal does for xkb devices at the moment
Related branches
Changed in xf86-input-evtouch: | |
importance: | Undecided → High |
milestone: | none → intrepid-alpha-6 |
status: | New → Triaged |
To post a comment you must log in.
a script to apply calibration data based on teh xkb one we use: setup-touchscre en
cat ../hal-
#!/bin/sh
#
# borrowed from Fedora and modified to apply touchscreen calibration data
#
[ -x /usr/bin/ hal-set- property ] || exit 0
. /etc/default/ evtouch > /dev/null 2>&1 || exit 0
hal_set () { hal-set- property --direct --udi "$UDI" --key input.x11_ options. $1 --string "$2" hal-set- property --direct --udi "$UDI" --key input.x11_ options. $1 --remove
if [ -n "$2" ]; then
/usr/bin/
else
/usr/bin/
fi
}
hal_set minx $MINX
hal_set miny $MINY
hal_set maxx $MAXX
hal_set maxy $MAXY
hal_set movelimit $MOVELIMIT