Skip to main content
RAlma.1
Associate II
October 30, 2023
Solved

LSM6DSL Linux Driver, How to add the Gyroscope output registers for user interface as sysfs entries?

Hi all,

I Have a custom board that runs Linux. The board has a LSM6DSL module on it as well. the IMU driver has been ported into the Linux Kernel and I have access to the Accelerometer output registers from the Linux  sysfs entries under  /sys/bus/iio/devices/iio:deviceX

in_accel_x_raw

in_accel_y_raw

in_accel_z_raw

However, there is no sysfs entries for the Gyroscope output registers for user interface registers. How do I add it or enable in the driver.

 

thanks

This topic has been closed for replies.
RAlma.1
RAlma.1Best answer
Associate II
October 31, 2023

My problem is resolved. It turned out that there is a separate device and sysfs entries.   

 

1 reply

RAlma.1
RAlma.1AuthorBest answer
Associate II
October 31, 2023

My problem is resolved. It turned out that there is a separate device and sysfs entries.