blob: 500ed88f13b2c2c987a70902bd48b772eed62358 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# GPS
2 mkdir /data/vendor/gps_mnl 0771 gps system
3 mkdir /data/vendor/misc/gps 0770 gps system
4 chown gps system /data/vendor/mpe_mnl
5 chown gps gps /sys/class/gpsdrv/gps/pwrctl
6 chown gps gps /sys/class/gpsdrv/gps/suspend
7 chown gps gps /sys/class/gpsdrv/gps/state
8 chown gps gps /sys/class/gpsdrv/gps/pwrsave
9 chown gps gps /sys/class/gpsdrv/gps/status
10
11#/dev/ttyS1 for GPS 3337 usage
12 chmod 0660 /dev/ttyS1
13 chown system system /dev/ttyS1
14
15# GPS EMI
16 chmod 666 /dev/gps_emi
17
18# GPS
19service mnld /vendor/bin/mnld
20 class main
21 user gps
22 group gps inet misc sdcard_rw sdcard_r media_rw system radio
23 socket mnld stream 660 gps system
24