udev 151: Update omap3-pandora local.rules.
[openembedded.git] / recipes / udev / udev-151 / omap3-pandora / local.rules
index e433cf9..74610af 100644 (file)
@@ -31,10 +31,16 @@ KERNEL=="fb0",  SYMLINK+="fb"
 ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
 
 # Create a symlink to any touchscreen input device
-SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
-SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="ads7846", SYMLINK+="input/touchscreen0"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="ads7846", SYMLINK+="input/touchscreen0"
 
 # Local UDEV rule changes for the Pandora system.
 
 # Let all users access the event devices using EVDEV (the OpenPandora is not multiuser after all).
-KERNEL=="event[0-9]",MODE="0666"
\ No newline at end of file
+KERNEL=="event[0-9]", MODE="0666"
+KERNEL=="mice",                        NAME="input/%k", MODE="0666"
+KERNEL=="mouse[0-9]*",         NAME="input/%k", MODE="0666"
+KERNEL=="event[0-9]*",         NAME="input/%k", MODE="0666"
+KERNEL=="js[0-9]*",            NAME="input/%k", MODE="0666"
+KERNEL=="ts[0-9]*",            NAME="input/%k", MODE="0666"
+KERNEL=="uinput",              NAME="input/%k", MODE="0666"