From: David-John Willis Date: Tue, 16 Mar 2010 11:44:01 +0000 (+0000) Subject: udev 151: Update omap3-pandora local.rules. X-Git-Tag: Release-2010-05/1~41 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openembedded.git;a=commitdiff_plain;h=b56a854e1fd4b84d5cc2b68cc0a89a8554eb4509 udev 151: Update omap3-pandora local.rules. --- diff --git a/recipes/udev/udev-151/omap3-pandora/local.rules b/recipes/udev/udev-151/omap3-pandora/local.rules index e433cf9593..74610afd93 100644 --- a/recipes/udev/udev-151/omap3-pandora/local.rules +++ b/recipes/udev/udev-151/omap3-pandora/local.rules @@ -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"