rk3588 ak8963
在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] 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..............
请问这个是什么问题?应该如何解决?
还是要从ak8963驱动这边入手看看咯 zhangzhenzhao 发表于 2023-5-4 08:55
还是要从ak8963驱动这边入手看看咯
这个驱动你们没有测试过么? zz123456 发表于 2023-5-4 09:07
这个驱动你们没有测试过么?
有用到的驱动才会调,没用到的需要自己调试 zhangzhenzhao 发表于 2023-5-4 09:10
有用到的驱动才会调,没用到的需要自己调试
问题已解决.谢谢
页:
[1]