Bug 195681
Summary: | Raw data from accelerometer not changing | ||
---|---|---|---|
Product: | Drivers | Reporter: | Arek Burdach (arek.burdach) |
Component: | I2C | Assignee: | Drivers/I2C virtual user (drivers-i2c) |
Status: | NEW --- | ||
Severity: | normal | CC: | srinivas.pandruvada |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.11.0 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
yoga 910 quirk
dmesg with i2c_hid debug on dmesg hid_descr_cmd failed dmesg after 9d6408433019 + unintialized vars fixes content of /sys/bus/i2c/devices/i2c-ITE8186:00/power content of /sys/bus/iio/devices/iio:device1/power |
Description
Arek Burdach
2017-05-06 22:02:35 UTC
Created attachment 256549 [details]
yoga 910 quirk
Added similar quirk like for yoga 900
I have Yoga 900 with 4.11 kernel. I see the data change. What is your kernel version? Hi. Thank you for your response. I've tested on: 4.10, 4.11 and 4.12-rc1. The same behavior on each one of them. Created attachment 256643 [details]
dmesg with i2c_hid debug on
I've attached dmesg log for turned on debug flag for i2c_hid module
Created attachment 256645 [details]
dmesg hid_descr_cmd failed
I've tested newest kernel after "9d6408433019bfae15e2d0d5f4498c4ff70b86c0 i2c: designware: don't infer timings described by ACPI from clock rate" fix. It looks like after that, driver stopped to work at all - no device is exposed in sysfs. Also touchpad stopped to work.
Created attachment 256651 [details]
dmesg after 9d6408433019 + unintialized vars fixes
Jan Kiszka's fix of unintialized vars make devices works again but still no changes from accelometers. Attaching dmesg after newest changes in designware module.
Created attachment 256671 [details]
content of /sys/bus/i2c/devices/i2c-ITE8186:00/power
Created attachment 256673 [details]
content of /sys/bus/iio/devices/iio:device1/power
runtime_enabled = disabled looks the worst
I will try to get a yoga 910 and check. I don't know why this is different than Yoga 900. It looks like adding quirk (attached in patch) helped a little. But there is also other bug https://bugzilla.kernel.org/show_bug.cgi?id=111321 making sensor state non-deterministicly active/inactive after reboot. |