On Tue, 2016-09-13 at 18:50 +0100, Jonathan Cameron wrote: > <snip> > Looking at your bug report, raw readings are around magnitude 1000. > 1000*0.009806 = 9.81 > > Given accelerations in IIO are in m/s^2 I'm slightly confused... Sigh. I think this is the second time I get this wrong. The code to calculate the orientation expects 1G ~= 0x100. So the driver is correct, and I need to fix this again in iio-sensor-proxy. Sorry about that. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html