I’m currently experimenting with some imu’s (mpu9250, bmi088,…) and I have found that there are drivers available for those in the JP4.5 linux kernel. The devices have been successfully added to the device-tree and modprobe finishes without issues. After enabling scan_elements and enabling the device I am not allowed to access /dev/iio:device* with the error “Device or resource busy”.
After some debugging I have found that I can poll some data from an “nvs” node in sysfs. It appears that nvs-service is taking control of these files but I have not been able to find documentation on how to use this nvs-service to access the data in user space.
Would it be possible to get some documentation on how to do this?