Magnetometer and Accelerometer support for ST LSM9DS1
The current situation looks as follows to me:
- The kernel driver for the LSM9DSI only supports the Gyro part (
iio-sensor-proxy(used for detecting screen orientation in GNOME) only supports reading accel and magn parts (see
- One iio-sensor-proxy works it exposes a DBus interface that phosh can pick up
In order to support detecting screen rotation we can either extend the kernel driver or modify
The former would be the better thing to do since the device has these features and we should support them. In case somebody wants to pick this up please read https://patchwork.kernel.org/patch/10138321/ . We should get in touch with upstream to see if we can help here.