Re: [PATCH] HID: Add quirk for Lenovo Yoga 910 with ITE Chips

From: Arek Burdach
Date: Sun Jul 16 2017 - 03:39:32 EST


Hi Patrick,

On 15.07.2017 14:27, Patrick Pedersen wrote:
It shall additionally be noted that the i2c-hid 'sleep' bug (present since kernel ver. 4.3)
still affects the driver. This means that the sensor hub will not report any movement, until
the device is suspended and resumed.

Do you have workaround for that? In my case suspending and resuming doesn't help. Sensor reporting is backing to work in unpredictable way. What I've tested:

- kernel v4.13-rc1 with your patch applied
- watch -n1 cat /sys/bus/iio/devices/iio\:device*/*_raw <- value not changing
- suspend
- resume
- watch -n1 cat /sys/bus/iio/devices/iio\:device*/*_raw <- still not changing

If you have some workaround scenario please add it to bug reported be me: https://bugzilla.kernel.org/show_bug.cgi?id=195681

Cheers,
Arek