|
发表于 2023-4-28 17:06:49
浏览:4329
|
回复:4
打印
只看该作者
[复制链接]
楼主
在rk3588 安卓上添加磁力计ak8963 ,加载驱动后日志如下:
[ 3.875054] compass_akm8963 4-000c: sensor_register_device: akm8963, id = 39
[ 3.875069] i2c i2c-4: sensor_probe: ak8963,00000000436bab09
[ 3.875246] compass_akm8963 4-000c: sensor_chip_init:ak8963:devid=0x48,ops=0x0000000056dc22e9
[ 3.875738] input: compass as /devices/platform/feac0000.i2c/i2c-4/4-000c/input/input1
[ 3.875851] compass_akm8963 4-000c: sensor_irq_init:use polling,delay=30 ms
[ 3.875968] compass_akm8963 4-000c: sensor_misc_device_register:miscdevice: compass
[ 3.875982] compass_akm8963 4-000c: sensor_probe:initialized ok,sensor name:akm8963,type:3,id=39
看日志应该是已经驱动起来了.但是我使用app测试没有数据,日志有如下信息:
[ 5732.615412][ T2251] compass ak09911 stop measure
[ 5752.964626][ T457] compass_akm8963 4-000c: set sensor poll time to 10ms
[ 5752.965020][ T2267] compass ak09911 start measure
[ 5752.972352][ T2188] g_akm_rbuf not ready..............
请问这个是什么问题?应该如何解决?
|
|