Skip to main content
Explorer II
October 30, 2023
Solved

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

  • October 30, 2023
  • 1 reply
  • 1589 views

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.
    Best answer by RAlma.1

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

     

    1 reply

    RAlma.1AuthorAnswer
    Explorer II
    October 31, 2023

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