diff options
author | Koen Kooi <koen@openembedded.org> | 2010-04-09 14:01:55 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-09 14:01:55 +0200 |
commit | a6ddc158d90b97cce559ff9539e5e1e7e0814b2d (patch) | |
tree | 51a671af877721414c906e75945cb8205af117e6 /recipes/xorg-driver | |
parent | 7ce40cb891421bec1614854d8a30183bd9211f93 (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')
-rw-r--r-- | recipes/xorg-driver/xf86-input-tslib/99-xf86-input-tslib.rules | 5 | ||||
-rw-r--r-- | recipes/xorg-driver/xf86-input-tslib_0.0.6.bb | 8 |
2 files changed, 11 insertions, 2 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" + + diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb index 020502cd6d..9ede07df20 100644 --- a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb +++ b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb @@ -4,12 +4,13 @@ DESCRIPTION = "X.Org X server -- tslib input driver" RRECOMMENDS += "hal tslib-calibrate" DEPENDS += "tslib" -PR = "r11" +PR = "r12" SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2;name=archive \ file://double-free-crash.patch;patch=1 \ file://10-x11-input-tslib.fdi \ file://xserver-174-XGetPointerControl.patch;patch=1 \ + file://99-xf86-input-tslib.rules \ " do_configure_prepend() { @@ -19,8 +20,11 @@ do_configure_prepend() { do_install_append() { install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty + + install -d ${D}/lib/udev/rules.d + install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/lib/udev/rules.d/ } -FILES_${PN} += "${datadir}/hal" +FILES_${PN} += "${datadir}/hal /lib/udev" SRC_URI[archive.md5sum] = "b7a4d2f11637ee3fcf432e044b1d017f" SRC_URI[archive.sha256sum] = "5f46fdef095a6e44a69e0f0b57c7d665224b26d990d006611236d8332e85b105" |