SP_q
July 28, 2021, 7:00pm
1
hello,
I am integrating the V2.2.2 driver “Quectel_Android_GPS_Driver_V2.2.2” on Android 10.
When i do " logcat -s gps_ql -v time" i see this error.
--------- beginning of system
07-28 14:32:04.689 D/gps_ql ( 3076): get android version:29
07-28 14:32:04.691 D/gps_ql ( 3076): ql_gps_get_extension(name=gps-xtra)
07-28 14:32:04.691 D/gps_ql ( 3076): ql_gps_get_extension(name=agps_ril)
07-28 14:32:04.692 D/gps_ql ( 3076): ql_gps_get_extension(name=agps)
07-28 14:32:04.692 D/gps_ql ( 3076): ql_gps_get_extension(name=gps_navigation_message)
07-28 14:32:04.696 D/gps_ql ( 3076): ql_gps_get_extension(name=gps_measurement)
07-28 14:32:04.696 D/gps_ql ( 3076): ql_gps_get_extension(name=gps-debug)
07-28 14:32:04.696 D/gps_ql ( 3076): ql_gps_get_extension(name=gps-ni)
07-28 14:32:04.697 D/gps_ql ( 3076): ql_gps_get_extension(name=gnss_configuration)
07-28 14:32:04.697 D/gps_ql ( 3076): ql_gps_get_extension(name=gps_geofencing)
07-28 14:32:04.698 D/gps_ql ( 3076): GPS DRIVER VERSION: Quectel_Android_GPS_Driver_V2.2.2
07-28 14:32:04.698 D/gps_ql ( 3076): fail to read /etc/gps_cfg.inf for errno: 2 (No such file or directory)
07-28 14:32:04.699 D/gps_ql ( 3076): [] [] [0]
07-28 14:32:04.699 D/gps_ql ( 3076): MODULE_TYPE:
07-28 14:32:04.699 D/gps_ql ( 3076): QL_GPS_CHANNEL:
07-28 14:32:04.699 D/gps_ql ( 3076): BAUD_RATE:0
07-28 14:32:04.700 D/gps_ql ( 3076): init_times = 0, s->init = 0
07-28 14:32:04.700 D/gps_ql ( 3076): init_times = 0
07-28 14:32:04.700 D/gps_ql ( 3076): ql_gps_state_init start
07-28 14:32:04.700 D/gps_ql ( 3076): Android gps will read from ‘’ channel
07-28 14:32:04.700 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.700 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.700 D/gps_ql ( 3076): gps state initialized
07-28 14:32:04.700 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.700 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): ql_gps_xtra_init(callbacks=0xfc5166ff9140)
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): ql_gps_Xtra_start: gpsXtraCallbacks=0xfc5166ff9140
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): ql_agps_init[42]–enter!
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): ql_agps_init[44]–leave!
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): ql_loc_ni_init[26]–enter!
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.701 D/gps_ql ( 3076): ql_loc_ni_init[27]–leave!
07-28 14:32:04.701 D/gps_ql ( 3076): Unknow and ERROR GPS channel <>
07-28 14:32:04.702 D/gps_ql ( 3076): ql_loc_agps_ril_init[37]–enter!
its looking for /etc/gps_cfg.inf? It is actually in /vendor/etc
If i copy the cfg file under /system/etc through device makefile, then i see this
logcat -s gps_ql -v time
--------- beginning of main
07-28 16:22:14.531 D/gps_ql ( 1887): get android version:29
07-28 16:22:14.534 D/gps_ql ( 1887): ql_gps_get_extension(name=gps-xtra)
07-28 16:22:14.535 D/gps_ql ( 1887): ql_gps_get_extension(name=agps_ril)
07-28 16:22:14.536 D/gps_ql ( 1887): ql_gps_get_extension(name=agps)
07-28 16:22:14.537 D/gps_ql ( 1887): ql_gps_get_extension(name=gps_navigation_message)
07-28 16:22:14.538 D/gps_ql ( 1887): ql_gps_get_extension(name=gps_measurement)
07-28 16:22:14.539 D/gps_ql ( 1887): ql_gps_get_extension(name=gps-debug)
07-28 16:22:14.539 D/gps_ql ( 1887): ql_gps_get_extension(name=gps-ni)
07-28 16:22:14.540 D/gps_ql ( 1887): ql_gps_get_extension(name=gnss_configuration)
07-28 16:22:14.540 D/gps_ql ( 1887): ql_gps_get_extension(name=gps_geofencing)
07-28 16:22:14.541 D/gps_ql ( 1887): GPS DRIVER VERSION: Quectel_Android_GPS_Driver_V2.2.2
07-28 16:22:14.543 D/gps_ql ( 1887): [] [] [0]
07-28 16:22:14.543 D/gps_ql ( 1887): MODULE_TYPE:
07-28 16:22:14.543 D/gps_ql ( 1887): QL_GPS_CHANNEL:
07-28 16:22:14.543 D/gps_ql ( 1887): BAUD_RATE:0
07-28 16:22:14.544 D/gps_ql ( 1887): init_times = 0, s->init = 0
07-28 16:22:14.544 D/gps_ql ( 1887): init_times = 0
07-28 16:22:14.544 D/gps_ql ( 1887): ql_gps_state_init start
07-28 16:22:14.545 D/gps_ql ( 1887): Android gps will read from ‘’ channel
07-28 16:22:14.545 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.545 D/gps_ql ( 1887): gps state initialized
07-28 16:22:14.545 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.545 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.545 D/gps_ql ( 1887): ql_gps_xtra_init(callbacks=0xfaa253ff1140)
07-28 16:22:14.545 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.545 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.545 D/gps_ql ( 1887): ql_gps_Xtra_start: gpsXtraCallbacks=0xfaa253ff1140
07-28 16:22:14.546 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.546 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.546 D/gps_ql ( 1887): ql_agps_init[42]–enter!
07-28 16:22:14.546 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.546 D/gps_ql ( 1887): ql_agps_init[44]–leave!
07-28 16:22:14.546 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
07-28 16:22:14.546 D/gps_ql ( 1887): Unknow and ERROR GPS channel <>
Could anyone help understand the issue here?
Dear Sir
What is your Android version? Is the system 32-bit or 64-bit?
SP_q
August 4, 2021, 1:49pm
3
Android version is 10. 64-bit system.
Dear Sir
Please check your module firmware version: $PQVERNO,R*3F, the command needs to add carriage return and line feed. Do you really need the IIC communication interface?
Please help to upload your configured gps_cfg.inf file and let us check it. Thanks!
SP_q
August 5, 2021, 2:28am
6
firwmare was already updated for I2C.
Version is : L76LNR02A02SC
SP_q
August 5, 2021, 2:30am
7
attached gps_cfg.inf i am usinggps_cfg.zip (463 Bytes)
Can you try it like this?
#you can modify this config file to adapt your demand.
#the line start with ‘;’ means not support
#the line start with ‘#’ means use default config
;NMEA_PORT_PATH=rild-nmea
;RMC_HZ=1
;NMEA_PORT_PATH=/dev/ttyO1
;BAUD_RATE=9600
;DATA_BITS=8
;STOP_BITS=1
;PARITY_TYPE=N
;FLOW_CONTROL=N
;LOG_LEVEL=LOG_DEBUG
;LOG_TYPE=
;LOG_PATH=
;FUNC_NMEA=
;FUNC_XTRA=
;FUNC_AGPS
I2C_ADDR=0x10
SP_q
August 5, 2021, 2:25pm
9
SP_q:
logcat -s gps_ql -v time
hi Albert,
Actually i tried with I2C_ADDR=0x10 too.
See below
logcat -s gps_ql -v time
--------- beginning of main
08-05 14:14:11.739 D/gps_ql ( 1808): get android version:29
08-05 14:14:11.742 D/gps_ql ( 1808): ql_gps_get_extension(name=gps-xtra)
08-05 14:14:11.743 D/gps_ql ( 1808): ql_gps_get_extension(name=agps_ril)
08-05 14:14:11.743 D/gps_ql ( 1808): ql_gps_get_extension(name=agps)
08-05 14:14:11.744 D/gps_ql ( 1808): ql_gps_get_extension(name=gps_navigation_message)
08-05 14:14:11.746 D/gps_ql ( 1808): ql_gps_get_extension(name=gps_measurement)
08-05 14:14:11.746 D/gps_ql ( 1808): ql_gps_get_extension(name=gps-debug)
08-05 14:14:11.746 D/gps_ql ( 1808): ql_gps_get_extension(name=gps-ni)
08-05 14:14:11.747 D/gps_ql ( 1808): ql_gps_get_extension(name=gnss_configuration)
08-05 14:14:11.747 D/gps_ql ( 1808): ql_gps_get_extension(name=gps_geofencing)
08-05 14:14:11.748 D/gps_ql ( 1808): GPS DRIVER VERSION: Quectel_Android_GPS_Driver_V2.2.2
08-05 14:14:11.794 D/gps_ql ( 1808): [0]
08-05 14:14:11.794 D/gps_ql ( 1808): MODULE_TYPE:
08-05 14:14:11.794 D/gps_ql ( 1808): QL_GPS_CHANNEL:
08-05 14:14:11.794 D/gps_ql ( 1808): BAUD_RATE:0
08-05 14:14:11.795 D/gps_ql ( 1808): init_times = 0, s->init = 0
08-05 14:14:11.795 D/gps_ql ( 1808): init_times = 0
08-05 14:14:11.795 D/gps_ql ( 1808): ql_gps_state_init start
08-05 14:14:11.795 D/gps_ql ( 1808): Android gps will read from ‘’ channel
08-05 14:14:11.795 D/gps_ql ( 1808): gps state initialized
08-05 14:14:11.795 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_gps_xtra_init(callbacks=0xf6df71f28140)
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_gps_Xtra_start: gpsXtraCallbacks=0xf6df71f28140
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_agps_init[42]–enter!
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_agps_init[44]–leave!
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_loc_ni_init[26]–enter!
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_loc_ni_init[27]–leave!
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_loc_agps_ril_init[37]–enter!
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_loc_agps_ril_init[38]–leave!
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): ql_gps_cleanup()
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): report_gps_state enter
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): reportStatus GPS_STATUS_SESSION_END
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.796 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): report_gps_state leave
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): report_gps_state enter
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): reportStatus to GPS_STATUS_ENGINE_OFF
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): report_gps_state leave
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): ql_gps_state_done[227]–enter!
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.797 D/gps_ql ( 1808): ql_gps_state_stop[240]–enter!
08-05 14:14:11.797 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): report_gps_state enter
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): reportStatus GPS_STATUS_SESSION_END
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): gps thread running
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): report_gps_state leave
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): report_gps_state enter
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): reportStatus to GPS_STATUS_ENGINE_OFF
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): report_gps_state leave
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.799 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): GPS DRIVER VERSION: Quectel_Android_GPS_Driver_V2.2.2
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): [0]
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.800 D/gps_ql ( 1808): MODULE_TYPE:
08-05 14:14:11.800 D/gps_ql ( 1808): QL_GPS_CHANNEL:
08-05 14:14:11.800 D/gps_ql ( 1808): BAUD_RATE:0
08-05 14:14:11.800 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): init_times = 1, s->init = 1
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): ql_gps_xtra_init(callbacks=0xf6df71f28140)
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): ql_agps_init[42]–enter!
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): ql_agps_init[44]–leave!
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.801 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): ql_loc_ni_init[26]–enter!
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): ql_loc_ni_init[27]–leave!
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): ql_loc_agps_ril_init[37]–enter!
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): ql_loc_agps_ril_init[38]–leave!
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): ql_agps_set_server[85]–enter!
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): agps hostname = supl.google.com , port = 7275
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.802 D/gps_ql ( 1808): ql_agps_set_server[102]–leave!
08-05 14:14:11.802 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.806 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.806 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.813 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.813 D/gps_ql ( 1808): ql_agps_set_server[85]–enter!
08-05 14:14:11.813 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.813 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.813 D/gps_ql ( 1808): agps hostname = supl.google.com , port = 7275
08-05 14:14:11.813 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.813 D/gps_ql ( 1808): ql_agps_set_server[102]–leave!
08-05 14:14:11.813 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
--------- beginning of system
08-05 14:14:11.814 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.814 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.814 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.814 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.817 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.817 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
08-05 14:14:11.817 D/gps_ql ( 1808): Unknow and ERROR GPS channel <>
Change the device node to your iic node; set I2C_ADDR to decimal 16. As shown in the figure below.
SP_q
August 9, 2021, 2:32am
12
thanks, that helped to solve the “unknown channel issue”
Now when i do a dumpsys on location manager i do not see “Last known location” values.
see below:
dumpsys location
Current Location Manager state:
Current System Time: 08-06 15:06:11.328, Current Elapsed Time: +4m30s227ms
Current user: 0 [0]
Location mode: true
Battery Saver Location Mode: NO_CHANGE
Location Listeners:
Reciever[b2358c3 listener UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=0] null] monitoring location: false]
Reciever[cea6540 listener UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=+30m0s0ms] null] monitoring location: true]
Active Records by Provider:
passive:
UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=0] null]
UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=+30m0s0ms] null]
Active GnssMeasurement Listeners:
Active GnssNavigationMessage Listeners:
Active GnssStatus Listeners:
Historical Records by Provider:
android: passive: Min interval 0 seconds: Max interval 1800 seconds: Duration requested 4 total, 4 foreground, out of the last 4 minutes: Currently active
Last Known Locations:
Last Known Locations Coarse Intervals:
Geofences:
mWhitelist=[] mBlacklist=[]
fudger: offset: -57, 72 (meters)
passive provider:
useable=true
properties=com.android.internal.location.ProviderProperties@a26cc79
report location=true
gps provider:
useable=true
properties=com.android.internal.location.ProviderProperties@3681dbe
mStarted=false (changed +4m30s227ms ago)
mFixInterval=1000
mLowPowerMode=false
mGnssMeasurementsProvider.isRegistered()=false
mGnssNavigationMessageProvider.isRegistered()=false
mDisableGpsForPowerManager=false
mTopHalCapabilities=0x40 ( MEASUREMENTS )
GNSS_KPI_START
KPI logging start time: +23s754ms
KPI logging end time: +4m30s227ms
Number of location reports: 0
Number of TTFF reports: 0
Number of position accuracy reports: 0
Number of CN0 reports: 0
Total number of sv status messages processed: 0
Total number of L5 sv status messages processed: 0
Total number of sv status messages processed, where sv is used in fix: 0
Total number of L5 sv status messages processed, where sv is used in fix: 0
Number of L5 CN0 reports: 0
Used-in-fix constellation types:
GNSS_KPI_END
Power Metrics
Time on battery (min): 0.0
Amount of time (while on battery) Top 4 Avg CN0 > 20.0 dB-Hz (min): 0.0
Amount of time (while on battery) Top 4 Avg CN0 <= 20.0 dB-Hz (min): 0.0
Energy consumed while on battery (mAh): 0.0
Hardware Version:
native internal state: null
fused provider:
useable=true
properties=com.android.internal.location.ProviderProperties@b58be1f
service={com.android.location.fused/com.android.location.fused.FusedLocationService}@0
SP_q
August 9, 2021, 2:33am
13
logcat:
logcat -s gps_ql -v time
--------- beginning of main
08-06 15:03:06.928 D/gps_ql ( 1883): get android version:29
08-06 15:03:06.932 D/gps_ql ( 1883): ql_gps_get_extension(name=gps-xtra)
08-06 15:03:06.932 D/gps_ql ( 1883): ql_gps_get_extension(name=agps_ril)
08-06 15:03:06.933 D/gps_ql ( 1883): ql_gps_get_extension(name=agps)
08-06 15:03:06.933 D/gps_ql ( 1883): ql_gps_get_extension(name=gps_navigation_message)
08-06 15:03:06.935 D/gps_ql ( 1883): ql_gps_get_extension(name=gps_measurement)
08-06 15:03:06.936 D/gps_ql ( 1883): ql_gps_get_extension(name=gps-debug)
08-06 15:03:06.936 D/gps_ql ( 1883): ql_gps_get_extension(name=gps-ni)
08-06 15:03:06.937 D/gps_ql ( 1883): ql_gps_get_extension(name=gnss_configuration)
08-06 15:03:06.937 D/gps_ql ( 1883): ql_gps_get_extension(name=gps_geofencing)
08-06 15:03:06.938 D/gps_ql ( 1883): GPS DRIVER VERSION: Quectel_Android_GPS_Driver_V2.2.2
08-06 15:03:06.990 D/gps_ql ( 1883): [] [/dev/i2c-1] [0]
08-06 15:03:06.991 D/gps_ql ( 1883): MODULE_TYPE:
08-06 15:03:06.991 D/gps_ql ( 1883): QL_GPS_CHANNEL:/dev/i2c-1
08-06 15:03:06.991 D/gps_ql ( 1883): BAUD_RATE:0
08-06 15:03:06.991 D/gps_ql ( 1883): init_times = 0, s->init = 0
08-06 15:03:06.991 D/gps_ql ( 1883): init_times = 0
08-06 15:03:06.991 D/gps_ql ( 1883): ql_gps_state_init start
08-06 15:03:06.992 D/gps_ql ( 1883): Android gps will read from ‘/dev/i2c-1’ channel
08-06 15:03:06.992 D/gps_ql ( 1883): gps state initialized
08-06 15:03:06.992 D/gps_ql ( 1883): gps_i2c_main_func begin!!!
08-06 15:03:06.992 D/gps_ql ( 1883): i2c_host: /dev/i2c-1, i2c_slave: 0x10
08-06 15:03:06.992 D/gps_ql ( 1883): i2c_read_func begin!!!
08-06 15:03:06.992 D/gps_ql ( 1883): ql_gps_xtra_init(callbacks=0xee07050e4140)
08-06 15:03:06.992 D/gps_ql ( 1883): ql_gps_Xtra_start: gpsXtraCallbacks=0xee07050e4140
08-06 15:03:06.993 D/gps_ql ( 1883): ql_agps_init[42]–enter!
08-06 15:03:06.993 D/gps_ql ( 1883): ql_agps_init[44]–leave!
08-06 15:03:06.993 D/gps_ql ( 1883): ql_loc_ni_init[26]–enter!
08-06 15:03:06.993 D/gps_ql ( 1883): ql_loc_ni_init[27]–leave!
08-06 15:03:06.993 D/gps_ql ( 1883): ql_loc_agps_ril_init[37]–enter!
08-06 15:03:06.993 D/gps_ql ( 1883): ql_loc_agps_ril_init[38]–leave!
08-06 15:03:06.993 D/gps_ql ( 1883): ql_gps_cleanup()
08-06 15:03:06.993 D/gps_ql ( 1883): report_gps_state enter
08-06 15:03:06.993 D/gps_ql ( 1883): reportStatus GPS_STATUS_SESSION_END
08-06 15:03:06.993 D/gps_ql ( 1883): report_gps_state leave
08-06 15:03:06.993 D/gps_ql ( 1883): report_gps_state enter
08-06 15:03:06.993 D/gps_ql ( 1883): reportStatus to GPS_STATUS_ENGINE_OFF
08-06 15:03:06.994 D/gps_ql ( 1883): report_gps_state leave
08-06 15:03:06.994 D/gps_ql ( 1883): ql_gps_state_done[227]–enter!
08-06 15:03:06.994 D/gps_ql ( 1883): ql_gps_state_stop[240]–enter!
08-06 15:03:06.995 D/gps_ql ( 1883): report_gps_state enter
08-06 15:03:06.995 D/gps_ql ( 1883): reportStatus GPS_STATUS_SESSION_END
08-06 15:03:06.995 D/gps_ql ( 1883): report_gps_state leave
08-06 15:03:06.995 D/gps_ql ( 1883): report_gps_state enter
08-06 15:03:06.995 D/gps_ql ( 1883): reportStatus to GPS_STATUS_ENGINE_OFF
08-06 15:03:06.995 D/gps_ql ( 1883): report_gps_state leave
08-06 15:03:06.997 D/gps_ql ( 1883): GPS DRIVER VERSION: Quectel_Android_GPS_Driver_V2.2.2
08-06 15:03:06.997 D/gps_ql ( 1883): [] [/dev/i2c-1] [0]
08-06 15:03:06.997 D/gps_ql ( 1883): MODULE_TYPE:
08-06 15:03:06.997 D/gps_ql ( 1883): QL_GPS_CHANNEL:/dev/i2c-1
08-06 15:03:06.997 D/gps_ql ( 1883): BAUD_RATE:0
08-06 15:03:06.997 D/gps_ql ( 1883): init_times = 1, s->init = 1
08-06 15:03:06.998 D/gps_ql ( 1883): ql_gps_xtra_init(callbacks=0xee07050e4140)
08-06 15:03:06.998 D/gps_ql ( 1883): ql_agps_init[42]–enter!
08-06 15:03:06.998 D/gps_ql ( 1883): ql_agps_init[44]–leave!
SP_q
August 9, 2021, 2:35am
14
attached the stracegnss.zip (17.1 KB)
looks like its going to sleep mode?
SP_q
August 9, 2021, 2:38pm
16
Sent you via direct message
Please send to my email: albert.liu@quectel.com , thank you!
1.I2C_SDA/I2C_SCL is pulled up to 2.8V inside L76moule.There is no need to add a pull-up resistor externally. You also did not add a pull-up resistor?
2.Have you opened the navigation app?