# GPS | |
mkdir /data/vendor/gps_mnl 0771 gps system | |
mkdir /data/vendor/misc/gps 0770 gps system | |
chown gps system /data/vendor/mpe_mnl | |
chown gps gps /sys/class/gpsdrv/gps/pwrctl | |
chown gps gps /sys/class/gpsdrv/gps/suspend | |
chown gps gps /sys/class/gpsdrv/gps/state | |
chown gps gps /sys/class/gpsdrv/gps/pwrsave | |
chown gps gps /sys/class/gpsdrv/gps/status | |
#/dev/ttyS1 for GPS 3337 usage | |
chmod 0660 /dev/ttyS1 | |
chown system system /dev/ttyS1 | |
# GPS EMI | |
chmod 666 /dev/gps_emi | |
# GPS | |
service mnld /vendor/bin/mnld | |
class main | |
user gps | |
group gps inet misc sdcard_rw sdcard_r media_rw system radio | |
socket mnld stream 660 gps system | |