summaryrefslogtreecommitdiff
path: root/recipes/xorg-driver/xf86-input-tslib
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-09 14:01:55 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-09 14:01:55 +0200
commita6ddc158d90b97cce559ff9539e5e1e7e0814b2d (patch)
tree51a671af877721414c906e75945cb8205af117e6 /recipes/xorg-driver/xf86-input-tslib
parent7ce40cb891421bec1614854d8a30183bd9211f93 (diff)
xf86-input-tslib: install udev rule to create multiple /dev/input/touchscreenX devices if needed and set ENV{x11_driver} to 'tslib'
Diffstat (limited to 'recipes/xorg-driver/xf86-input-tslib')
-rw-r--r--recipes/xorg-driver/xf86-input-tslib/99-xf86-input-tslib.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xf86-input-tslib/99-xf86-input-tslib.rules b/recipes/xorg-driver/xf86-input-tslib/99-xf86-input-tslib.rules
new file mode 100644
index 0000000000..ec130c257d
--- /dev/null
+++ b/recipes/xorg-driver/xf86-input-tslib/99-xf86-input-tslib.rules
@@ -0,0 +1,5 @@
+# create /dev/input/touchscreenX symlink, tag xf86-input-tslib as driver
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen%n", ENV{x11_driver}="tslib"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="ads7846", SYMLINK+="input/touchscreen%n", ENV{x11_driver}="tslib"
+
+