Re: thinkpad s495s: power button stops working after hibernation/resume: acpi_evalf(STRW, vd, ...) failed: AE_NOT_FOUND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



30.04.2024 10:34, Michael Tokarev wrote:
Hi!

This is my first thinkpad, and since I use linux almost exclusively,
it is running linux too (debian bookworm).  However, there are a few
probs with it which I'd love to debug and find solution to.

One of the probs is the power button: it stops working after the first
suspend-resume cycle.

Initially it is registered as event5 "Power Button".  After fresh boot,
`input record` shows EV_KEY/KEY_POWER keypress events coming from it.
So far, so good.

Now, I perform hibernation: `echo disk > /sys/power/state` or
`systemctl hibernate` (I have to use `shutdown` method here instead of
`platform`, since the latter does not work, which is another issue
I'm trying to fix).  There's no GUI or anything fancy running, -
just plain old command line on a linux tty.

And after resume, this button does not produce any events in linux
anymore, after a note in dmesg:

[   24.788054] thinkpad_acpi: acpi_evalf(STRW, vd, ...) failed: AE_NOT_FOUND
[   24.788058] thinkpad_acpi: Cannot set adaptive keyboard mode.

Here's the full `dmesg | grep thinkpad` output:

[    3.294025] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[    3.295427] thinkpad_acpi: http://ibm-acpi.sf.net/
[    3.295431] thinkpad_acpi: ThinkPad BIOS R13ET55W(1.29 ), EC R13HT55W
[    3.295433] thinkpad_acpi: Lenovo ThinkPad T495s, model 20QKS0EQ0N
[    3.298362] thinkpad_acpi: radio switch found; radios are enabled
[    3.300653] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    3.303193] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    3.318819] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[    3.364425] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[    3.399354] thinkpad_acpi: secondary fan control detected & enabled
[    3.425884] thinkpad_acpi: battery 1 registered (start 95, stop 100, behaviours: 0x7)
[    3.433515] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input10
[   24.202923] thinkpad_acpi: acpi_evalf(GTRW, dd, ...) failed: AE_NOT_FOUND
[   24.202953] thinkpad_acpi: Cannot read adaptive keyboard mode.
[   24.788054] thinkpad_acpi: acpi_evalf(STRW, vd, ...) failed: AE_NOT_FOUND
[   24.788058] thinkpad_acpi: Cannot set adaptive keyboard mode.

I tried current 6.7 kernel for this, which shows exactly the same behavior.

Also I tried removing thinkpad_acpi module before hibernate and modprobing
it after, - this way, the module does not report the error above, but the
power button still does nothing.

What's the problem here, any hints how to debug it further?

Any debugging tips?

Thanks!

/mjt
--
GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24.
New key: rsa4096/61AD3D98ECDF2C8E  9D8B E14E 3F2A 9DD7 9199  28F1 61AD 3D98 ECDF 2C8E
Old key: rsa2048/457CE0A0804465C5  6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
Transition statement: http://www.corpit.ru/mjt/gpg-transition-2024.txt



_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel




[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux