STMems_Linux_IIO_drivers
STMems_Linux_IIO_drivers copied to clipboard
Reading lsm6dso32 data via libiio not possible
We are using lsm6dso32 accelerometer/gyroscope connected to a custom hardware (non-ST) via i2c. We are building a custom linux (kernel version 5.4) via yocto for our board and integrated this driver for lsm6dso32 support into it. I am assuming, that it is more or less the driver from this repository. I want to read lsm6dso32 data via libiio. My problem is (similar to this one for a different IMU) that I can read single values from sysfs, but there are no scan_elements folders in sysfs iio device folders. This way, I am not able, to use libiio to read measured values from a buffer. Basically, I am not able to use libiio at all, which is quite annoying.
I already created an issue in ST Microelectronics community forum: https://community.st.com/s/question/0D53W00001m9jLYSAY/read-lsm6dso32-data-via-libiio
Just wanted to increase possible attention for the issue ;)
it would be possible to have the kernel logs related to the device:
#dmesg | grep lsm6
Moreover, have all the suggestions for the integration of the drivers reported in the README.md been carried out, especially those relating to the configuration of the interrupts (necessary in the case of IIO buffer support) ?