st-mems-android-linux-drivers-iio
st-mems-android-linux-drivers-iio copied to clipboard
Enable Wake-up interrupt with lsm6dsox driver and lsm6dso MEMS.
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