rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # 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
|
| 19 | service 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 |
|