04-05-2021, 09:23 AM
You could also have a look at https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/ which abstracts a subset of the sensors out to dbus. Gyros don't seem to be part of that subset, but it should give another example of accel access.