(1)使用2021.8.12 发布的固件版本,gps有报错,如下
02-08 07:06:11.948 158 158 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@2.1::IGnss/default in either framework or device manifest.
02-08 07:06:11.950 158 158 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@2.0::IGnss/default in either framework or device manifest.
02-08 07:06:11.953 158 158 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@1.1::IGnss/default in either framework or device manifest.
02-08 07:06:11.981 273 273 E GnssHAL_GnssInterface: getExtensionXtra: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionAGnssRil: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionAGnss: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionGnssNavigationMessage: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionGnssMeasurement: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionGnssDebug: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionGnssNi: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionGnssConfiguration: Gnss interface is unavailable
02-08 07:06:11.982 273 273 E GnssHAL_GnssInterface: getExtensionGnssGeofencing: Gnss interface is unavailable
02-08 07:06:11.983 273 273 E GnssHAL_GnssInterface: getExtensionGnssBatching: Gnss interface is unavailable
02-08 07:06:11.983 273 273 E GnssHAL_GnssInterface: setCallback: Gnss interface is unavailable
02-08 07:06:11.993 273 273 E GnssHAL_GnssInterface: setCallback: Gnss interface is unavailable
02-08 07:06:11.997 273 273 E GnssHAL_GnssInterface: setCallback: Gnss interface is unavailable
02-08 07:06:12.607 273 273 E GnssHAL_GnssInterface: setCallback: Gnss interface is unavailable
(2)新增gps.default.so文件。报错如下:
02-08 06:38:55.392 331 331 F DEBUG : #02 pc 000000000001405c /vendor/lib64/hw/android.hardware.gnss@1.0-impl.so (HIDL_FETCH_IGnss+44) (BuildId: 0a86f6c383349d66bee638c
268320615)
02-08 06:38:59.895 468 468 F DEBUG : #02 pc 000000000001405c /vendor/lib64/hw/android.hardware.gnss@1.0-impl.so (HIDL_FETCH_IGnss+44) (BuildId: 0a86f6c383349d66bee638c
268320615)
02-08 06:39:04.925 546 546 F DEBUG : #02 pc 000000000001405c /vendor/lib64/hw/android.hardware.gnss@1.0-impl.so (HIDL_FETCH_IGnss+44) (BuildId: 0a86f6c383349d66bee638c
268320615)
02-08 06:39:06.469 157 157 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@2.1::IGnss/default in either framework or device manifest.
02-08 06:39:06.470 157 157 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@2.0::IGnss/default in either framework or device manifest.
02-08 06:39:06.472 157 157 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@1.1::IGnss/default in either framework or device manifest.
02-08 06:39:06.474 157 157 I hwservicemanager: Since android.hardware.gnss@1.0::IGnss/default is not registered, trying to start it as a lazy HAL.
02-08 06:39:06.475 157 157 I hwservicemanager: Since android.hardware.gnss@1.0::IGnss/default is not registered, trying to start it as a lazy HAL.
02-08 06:39:06.475 447 447 I HidlServiceManagement: getService: Trying again for android.hardware.gnss@1.0::IGnss/default...作者: luwy 时间: 2022-2-9 09:16
1.推荐更新到最新版的固件 https://www.t-firefly.com/doc/download/103.html
2.新增gps.default.so 位置是否正确,自己的gps.default.so 放到/vendor/lib/hw/和/vendor/lib64/hw/作者: tianmuting 时间: 2022-2-15 16:55
问题已经解决:
1. firefly 已经实现 GNSS1.0
2. 使用自己开发的gps.default.so文件,每个函数都要实现,不能为空。否则crash作者: songyachao 时间: 2022-4-27 20:11