Created attachment 180741 [details] dmesg with first bad commit I reported this bug several weeks ago, but I think in the wrong section and without much information. https://bugzilla.kernel.org/show_bug.cgi?id=99291 The problem is that since linux 4.0 the recognition of the power supply state has a huge delay (seconds up to minutes) on a Lenovo U530 Laptop. cat /sys/class/power_supply/BAT1/status hangs and won't print any output after I plug or unplug the power. Also some Fn keys are hit by this delay (Brightness and Monitor off). This issue was not present before. Nevertheless I bisected the issue to commit 74443bbed72ab22ee005ecb6ecdc657a8018e1db Author: Lv Zheng <lv.zheng@intel.com> Date: Wed Jan 14 19:28:47 2015 +0800 I also tried to boot with a lot of combinations of "acpi_osi", but nothing helped. So linux is almost not usable for me since version 4.0.
Hi, This should be a known issue. Please first help to confirm if this is a duplicate bug of Bug 87381: https://bugzilla.kernel.org/show_bug.cgi?id=97381 Please try linux-pm/linux-next branch here: # git clone git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git # git checkout linux-next -Lv
Sorry, it should be 97381 not 87381. The patches to fix this issue are already merged by linux-pm tree. Thanks -Lv
Thanks. This seems promising. Sorry that I missed that report. I'll try and report back.
I can confirm linux-pm fixes the problems for me. Any guess when this will be merged into mainline?
It's 4.2 material. You may see it after a 4.2-rcx release cycle. Aaron, can you help to assign this bug to me and close it. Thanks and best regards -Lv
The patches can be found in linux/master branch now. Closing the bug... Thanks and best regards -Lv