summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-10-26 15:41:00 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-26 15:41:00 -0700
commit4cb9ebfaee7554dbd7df1b0f263a1c775cbf70ba (patch)
tree19f829e66aef310c1c204eb3a843f57e98729788
parentb9afb44c2961fb6d722b9d45dee2140ce7b93b20 (diff)
parent82d9ceebdba1661a7f60275c4bc1b17e1c69e1ae (diff)
downloaddevice_samsung_crespo-4cb9ebfaee7554dbd7df1b0f263a1c775cbf70ba.zip
device_samsung_crespo-4cb9ebfaee7554dbd7df1b0f263a1c775cbf70ba.tar.gz
device_samsung_crespo-4cb9ebfaee7554dbd7df1b0f263a1c775cbf70ba.tar.bz2
Merge "remove hardcoded input rules" into gingerbread
-rwxr-xr-xinit.herring.rc45
1 files changed, 0 insertions, 45 deletions
diff --git a/init.herring.rc b/init.herring.rc
index 944151e..61c7ce5 100755
--- a/init.herring.rc
+++ b/init.herring.rc
@@ -29,51 +29,6 @@ on boot
chown gps root /sys/class/sec/gps/GPS_PWR_EN/value
chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value
-# sensors sysfs attributes. input devices are created dynamically
-# so we can't be sure which is which. this is a bit of a hack until
-# (and if) init is modified to handle uevents (or ueventd is modified
-# to support sysfs).
- chown input input /sys/class/input/event0/device/enable
- chown input input /sys/class/input/event1/device/enable
- chown input input /sys/class/input/event2/device/enable
- chown input input /sys/class/input/event3/device/enable
- chown input input /sys/class/input/event4/device/enable
- chown input input /sys/class/input/event5/device/enable
- chown input input /sys/class/input/event6/device/enable
- chown input input /sys/class/input/event7/device/enable
- chown input input /sys/class/input/event8/device/enable
- chown input input /sys/class/input/event9/device/enable
- chmod 660 /sys/class/input/event0/device/enable
- chmod 660 /sys/class/input/event1/device/enable
- chmod 660 /sys/class/input/event2/device/enable
- chmod 660 /sys/class/input/event3/device/enable
- chmod 660 /sys/class/input/event4/device/enable
- chmod 660 /sys/class/input/event5/device/enable
- chmod 660 /sys/class/input/event6/device/enable
- chmod 660 /sys/class/input/event7/device/enable
- chmod 660 /sys/class/input/event8/device/enable
- chmod 660 /sys/class/input/event9/device/enable
- chown input input /sys/class/input/event0/device/poll_delay
- chown input input /sys/class/input/event1/device/poll_delay
- chown input input /sys/class/input/event2/device/poll_delay
- chown input input /sys/class/input/event3/device/poll_delay
- chown input input /sys/class/input/event4/device/poll_delay
- chown input input /sys/class/input/event5/device/poll_delay
- chown input input /sys/class/input/event6/device/poll_delay
- chown input input /sys/class/input/event7/device/poll_delay
- chown input input /sys/class/input/event9/device/poll_delay
- chown input input /sys/class/input/event9/device/poll_delay
- chmod 660 /sys/class/input/event0/device/poll_delay
- chmod 660 /sys/class/input/event1/device/poll_delay
- chmod 660 /sys/class/input/event2/device/poll_delay
- chmod 660 /sys/class/input/event3/device/poll_delay
- chmod 660 /sys/class/input/event4/device/poll_delay
- chmod 660 /sys/class/input/event5/device/poll_delay
- chmod 660 /sys/class/input/event6/device/poll_delay
- chmod 660 /sys/class/input/event7/device/poll_delay
- chmod 660 /sys/class/input/event9/device/poll_delay
- chmod 660 /sys/class/input/event9/device/poll_delay
-
on fs
mkdir /efs 0775 radio radio
mount yaffs2 mtd@efs /efs nosuid nodev