On Mon, 2020-05-04 at 11:22 +0100, Jonathan Cameron wrote: > <snip> > For both devices with triggers and without, if they are per axis they > should be > in_accel_x_scale > in_accel_y_scale > in_accel_z_scale > > hmm. It's not in our ABI docs for accel channels (but is for > magnetometers). > Should fix that... > > https://elixir.bootlin.com/linux/latest/source/Documentation/ABI/testing/sysfs-bus-iio#L340 > > In theory the other combinations you can get are > > in_accel_scale > in_scale > scale > > The in scale one tends not to make much sense for accelerometers > though so I would > hope there are no instances of that in the wild (none in mainline). > Shared by direction attributes are tend to apply for things like > sampling frequency, > not scale. FYI, I merged: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/merge_requests/306 Let me know if I got it wrong.