diff options
author | mcgi5sr2 <mcgi5sr2@gmail.com> | 2015-09-08 13:54:27 +0100 |
---|---|---|
committer | forkbomb <keepcalm444@gmail.com> | 2015-11-25 08:58:48 +1100 |
commit | ddce304caa0d9e7b7d2858f409fc99252737c3e1 (patch) | |
tree | 21466005987f972fd10659d6f009ae8b40e13978 | |
parent | 68ff6eba8345e3ac7c6d007fc5db720e664a5bee (diff) | |
download | device_samsung_i9300-ddce304caa0d9e7b7d2858f409fc99252737c3e1.zip device_samsung_i9300-ddce304caa0d9e7b7d2858f409fc99252737c3e1.tar.gz device_samsung_i9300-ddce304caa0d9e7b7d2858f409fc99252737c3e1.tar.bz2 |
i9300: Grouper blobs update for init
Conflicts:
rootdir/init.target.rc
Change-Id: I97dd09c7ebbfda242d8e8b3e140a2597c14c36f9
-rw-r--r-- | rootdir/init.target.rc | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index a5b5b19..f75fdb6 100644 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -13,6 +13,10 @@ on post-fs-data chmod 0644 /dev/icdr chown system system /dev/tzic +# GPS + mkdir /data/gps + chown gps system /data/gps + chmod 770 /data/gps # make param block device link for SysScope symlink /dev/block/mmcblk0p4 /dev/block/param @@ -25,15 +29,23 @@ on fs swapon_all /fstab.smdk4x12 on boot - # cbd service cpboot-daemon /sbin/cbd -d class main user root group radio cache inet misc audio sdcard_rw log -# GPS -service gpsd /system/bin/gpsd -c /system/etc/gps.xml +# GPS init + write /sys/class/sec/gps/GPS_PWR_EN/export 162 + write /sys/class/sec/gps/GPS_PWR_EN/value 0 + write /sys/class/sec/gps/GPS_PWR_EN/direction out + chown gps system /sys/class/sec/gps/GPS_PWR_EN/value + chmod 0664 /sys/class/sec/gps/GPS_PWR_EN/value + chown gps system /dev/ttySAC1 + chmod 0660 /dev/ttySAC1 + +# Start GPS daemon +service gps-daemon /system/bin/glgps -c /system/etc/gps.xml class main socket gps seqpacket 0660 gps system user gps |