st-mems-android-linux-drivers-iio icon indicating copy to clipboard operation
st-mems-android-linux-drivers-iio copied to clipboard

Enable Wake-up interrupt with lsm6dsox driver and lsm6dso MEMS.

Open SimoneBongini opened this issue 8 months ago • 0 comments

Hello, I merged (yesterday) the lsm6dsox driver into my v5.15 Linux Kernel in order to run with lsm6dso MEMS. I'd like to enable the wake-up functionality (and setting the threshold) in order trigger an interrupt on a certain acceleration value, but I'm not able to find entry on sysfs to manage that functionality. I mean, for example "in_accel_x_thresh_either_en" "in_accel_x_thresh_either_value" etc

Before, I was using https://github.com/STMicroelectronics/linux/tree/v5.15-stm32mp/drivers/iio/imu/st_lsm6dsx driver with lsm6dsl MEMS, and the wake-up functionality was present and working.

Thanks a lot in advance

SimoneBongini avatar Jun 07 '24 13:06 SimoneBongini