summaryrefslogtreecommitdiffstats
path: root/init.tuna.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.tuna.rc')
-rw-r--r--init.tuna.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index c5168de..c6ab6be 100644
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -51,6 +51,12 @@ on fs
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
+# for GPS
+ chown root system /sys/class/sec/gps/GPS_PWR_EN/value
+ chmod 0660 /sys/class/sec/gps/GPS_PWR_EN/value
+ chown root system /sys/class/sec/gps/GPS_nRST/value
+ chmod 0660 /sys/class/sec/gps/GPS_nRST/value
+
service hciattach /system/bin/brcm_patchram_plus --enable_hci --no2bytes \
--tosleep 50000 --baudrate 3000000 --use_baudrate_for_download \
--patchram /vendor/firmware/bcm4330.hcd /dev/ttyO1