cancel
Showing results for 
Search instead for 
Did you mean: 

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

RAlma.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
RAlma.1
Associate III

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

 

View solution in original post

1 REPLY 1
RAlma.1
Associate III

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