14 lines · plain
1What: /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix2What: /sys/bus/iio/devices/iio:deviceX/in_accel_matrix3What: /sys/bus/iio/devices/iio:deviceX/in_magn_matrix4KernelVersion: 3.4.05Contact: linux-iio@vger.kernel.org6Description:7 This is mounting matrix for motion sensors. Mounting matrix8 is a 3x3 unitary matrix. A typical mounting matrix would look like9 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be10 easy to tell the relative positions among sensors as well as their11 positions relative to the board that holds these sensors. Identity matrix12 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly13 aligned with each other. All axes are exactly the same.14