I am trying to run vl53l3cx on yocto-linux using ST provided linux driver. The module is loaded and can read register through i2c. However, when I try to start range measurement, I have this error.
root@yocto-linux:~# ./phio -s -Z=1 -S
[V]open fd 3 for /dev/stmvl53lx_ranging
[V]started status 0
[V]keep using fd 3
[ 195.463147] STMVL53LX IPP Err in send_client_msg 115 :fail to send data size 608 to pid 1
[ 195.463147]
[ 195.472822] STMVL53LX IPP Err in stmvl53lx_ipp_do 205 :fail to send msg -1
[ 195.479736] stmvl53lx_ipp_do_wrapper: stmvl53lx_ipp_do err -1
#I 0 dts= 0 range ts 168 StreamCount(0), SpadCount(0.00)
- [0] *NOTARGET* st 255 d=8191mm min/max=8191/8191 sigma= 0.00 rate= 0.00/ 0.00
[V]keep using fd 3
[V]stopped status 0
d cl end
Any idea? It seems like the error came from line 113 of stmvl53l1_ipp_nl.c,
rc = nlmsg_unicast(nl_sk, skb_out, daemon_pid);
Here is my setup.
System: NXP i.mx8m.
Kernel: 5.4.110
