summaryrefslogtreecommitdiffstats
path: root/init.gta04.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.gta04.rc')
-rw-r--r--init.gta04.rc14
1 files changed, 14 insertions, 0 deletions
diff --git a/init.gta04.rc b/init.gta04.rc
index 8f55798..e6ff9a7 100644
--- a/init.gta04.rc
+++ b/init.gta04.rc
@@ -1,4 +1,18 @@
on boot
write /sys/class/usb_composite/usb_mass_storage/enable 1
+
+ # Modem GPIO
chown radio radio /sys/class/gpio/gpio186/value
chmod 660 /sys/class/gpio/gpio186/value
+
+ # Lights
+ chown system system /sys/class/backlight/pwm-backlight/brightness
+ chown system system /sys/class/backlight/pwm-backlight/max_brightness
+ chown system system /sys/class/leds/gta04:red:power/brightness
+ chown system system /sys/class/leds/gta04:red:power/max_brightness
+ chown system system /sys/class/leds/gta04:green:power/brightness
+ chown system system /sys/class/leds/gta04:green:power/max_brightness
+ chown system system /sys/class/leds/gta04:red:aux/brightness
+ chown system system /sys/class/leds/gta04:red:aux/max_brightness
+ chown system system /sys/class/leds/gta04:green:aux/brightness
+ chown system system /sys/class/leds/gta04:green:aux/max_brightness