Closed Nexolight closed 7 years ago
This will be updated when I investigate more.
Current error message at boot:
[gpsdaemon_bool checkSystemCmd(pid_t)]run shell script fail, script exit code: 1
Some documentation
This is what the gpsdaemon service does:
: [gpsdaemon]Open /proc/device-tree/gps_power/broadcom_config,ic_type success!
02-06 21:32:45.895 6053 6053 D : To get Gps IC type 47531
02-06 21:32:45.895 6053 6053 D : [gpsdaemon]the gps_ic_type is 47531
02-06 21:32:45.895 6053 6053 D : [gpsdaemon]system do ToAdjustGpsMiddleware done!
02-06 21:32:45.895 6053 6053 D : [gpsdaemon]the ic property is 47531
02-06 21:32:45.895 6053 6053 D : To get Gps IC type 47531
02-06 21:32:45.895 6053 6053 D : [gpsdaemon]cp cmd = cp /system/etc/gps47531config.xml /data/gps/gpsconfig.xml
02-06 21:32:45.895 6053 6053 D : [gpsdaemon]system do cp gpsconfig work
02-06 21:32:46.011 6053 6053 D : [gpsdaemon_bool checkSystemCmd(pid_t)]exit status value = [0x0]
02-06 21:32:46.011 6053 6053 D : [gpsdaemon_bool checkSystemCmd(pid_t)]run shell script successfully.
02-06 21:32:46.038 6053 6053 D : [gpsdaemon]system do cp gpsconfig work done!
And afterwards it seems that only one out of 3 different services available in the roms start up. The other ones fail eighter because of a SEGV (invalid config) or because one is already running. The one running is the one named after the config. I guess that's intentional.
At the moment it looks like all the services do work fine but I don't get any gpsfix or any obvious error message
Just tons of these:
02-06 21:35:58.955 3004 3004 D gpsd : WakeLock(Acquire,GPSD)
02-06 21:35:58.956 3004 3004 D gpsd : WakeLock(Release,GPSD)
02-06 21:35:59.671 3004 3004 D gpsd : WakeLock(Acquire,GPSD)
02-06 21:35:59.671 3004 3004 D gpsd : WakeLock(Release,GPSD)
Also this sometimes appears in the log:
02-06 21:39:34.894 6142 6142 E gpsd : Cannot rename file [] suffix to [.a.txt]
02-06 21:39:34.894 6142 6142 E gpsd : Cannot rename file [] to [], errno=2
My bad I got a tipp from an XDA member (surdu_petru) to rename the file system/lib64/hw/gps<gpsdameon>_default.so
to system/lib64/hw/gps.hi3635.so
I put it in the wrong folder before. With that one and some other files GPS does work now (6bb1533c32a4b9bd2c9f7e3be52519fe6c1de55e)
GPS doesn't work yet - no Investigations from my side so far.