aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/lpm.rc
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2013-10-14 08:44:26 -0400
committersbrissen <sbrissen@hotmail.com>2013-10-14 08:46:55 -0400
commit9b8accc6df8a8b036ad2924f1f59e9419b6c6883 (patch)
treec71f97f6f43fa6bd28e7d50c92da3da65c9f20ce /rootdir/lpm.rc
parente1d7786c00f4ef965fd0271d3ee3149c7e14bca9 (diff)
downloaddevice_samsung_n5110-9b8accc6df8a8b036ad2924f1f59e9419b6c6883.zip
device_samsung_n5110-9b8accc6df8a8b036ad2924f1f59e9419b6c6883.tar.gz
device_samsung_n5110-9b8accc6df8a8b036ad2924f1f59e9419b6c6883.tar.bz2
fix lpm mode, remove aosp charger and use the samsung one
This fixes the screen not turning off while charging when tablet is off
Diffstat (limited to 'rootdir/lpm.rc')
-rw-r--r--rootdir/lpm.rc14
1 files changed, 8 insertions, 6 deletions
diff --git a/rootdir/lpm.rc b/rootdir/lpm.rc
index 7e5d382..5f4bb14 100644
--- a/rootdir/lpm.rc
+++ b/rootdir/lpm.rc
@@ -23,7 +23,7 @@ on init
#mount /tmp /tmp tmpfs
on early-fs
- insmod /lib/modules/vibrator.ko
+# insmod /lib/modules/vibrator.ko
mount ext4 /dev/block/mmcblk0p9 /system ro wait noatime
@@ -50,19 +50,21 @@ on boot
service debuggerd /system/bin/debuggerd
- service ueventd /sbin/ueventd
+service ueventd /sbin/ueventd
critical
#service console /bin/sh
service console /system/bin/sh
console
+
+service playlpm /system/bin/playlpm
+ user root
service immvibed /system/bin/immvibed
oneshot
-
-service charger /charger
- class default
- user root
+
+service lpmkey /system/bin/lpmkey
+ user root
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd