On 16/06/2019 15.30, Jonathan Cameron wrote:
On Fri, 14 Jun 2019 14:26:03 +0200
Sean Nyekjaer<sean@xxxxxxxxxx> wrote:
This adds a wakeup_enabled hook in sysfs.
If wakeup-source is enabled, wake on accelerometer event is default active.
Signed-off-by: Sean Nyekjaer<sean@xxxxxxxxxx>
This seems to replicate the stuff that should be there under ../power
to allow the wake up source to turned on and off..
Hi,
Doh, I have already done it the correct way :-)
The hook is here:
root@host:~# cat /sys/devices/soc0/***/i2c-1/1-006a/power/wakeup
enabled
/Sean