Skip to content

Commit

Permalink
honami: fix torch device interfaces permissions on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
Androguide committed Feb 9, 2014
1 parent fb45129 commit 1bde6b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rootdir/init.device.rc
Expand Up @@ -4,6 +4,10 @@ on boot
chmod 660 /sys/class/leds/wled:backlight/brightness

# PM8941 flash
chmod 0666 /sys/class/misc/pm8941-flash/device/current1
chmod 0666 /sys/class/misc/pm8941-flash/device/current2
chmod 0666 /sys/class/misc/pm8941-flash/device/mode

chown system camera /sys/class/misc/pm8941-flash/device/current1
chown system camera /sys/class/misc/pm8941-flash/device/current2
chown system camera /sys/class/misc/pm8941-flash/device/fault_status
Expand Down

0 comments on commit 1bde6b3

Please sign in to comment.