Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2019 23:01:57 +0200
From:      max nix <maxnix.bsd@gmail.com>
To:        freebsd-acpi@freebsd.org
Subject:   ThinkPad T440p power button events (poweroff/resume) ignored
Message-ID:  <CANGDQ-_7bFsDF9SD_T3mkKz8VDav_2%2BxHtp8gj98%2BB%2Bnrv%2BPQw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello to all. :)

I'm running 12-RELEASE-p9 and I have the following problem with my
T440p (BIOS/UEFI
updated to the most recent version, 2.53): pressing the power button doesn't do
anything. The system does not poweroff, neither tries to resume after suspending
(that works fine.)

I tried to have resume working at lid opening without succes too (maybe things
are related?), and changed settings for both
- hw.acpi.sleep_button_state
- hw.acpi.power_button_state
without success.

If can be useful, the power button resumes without problems on Ubuntu (but does
not poweroff), and its dmesg show some entries about blocking ang unblocking the
ACPI EC (if needed I can be more precise and post the original output.)

Someone knows what I can do to solve this problem? At least to make the button
wake up the system?

Here the output of sysctl -a | grep acpi

debug.acpi.resume_beep: 0
debug.acpi.batt.batt_sleep_ms: 0
debug.acpi.ec.timeout: 750
debug.acpi.ec.polled: 0
debug.acpi.ec.burst: 0
debug.acpi.cpu_unordered: 0
debug.acpi.level: NONE
debug.acpi.layer: NONE
debug.acpi.suspend_bounce: 0
debug.acpi.default_register_width: 1
debug.acpi.interpreter_slack: 1
debug.acpi.enable_debug_objects: 0
debug.acpi.acpi_ca_version: 20181003
debug.acpi.max_threads: 3
debug.acpi.tasks_hiwater: 3
debug.acpi.max_tasks: 1024
hw.acpi.acline: 1
hw.acpi.battery.info_expire: 5
hw.acpi.battery.units: 1
hw.acpi.battery.state: 7
hw.acpi.battery.time: -1
hw.acpi.battery.life: -1
hw.acpi.thermal.tz0._TSP: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._CRT: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.temperature: 44,1C
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.min_runtime: 0
hw.acpi.cpu.cx_lowest: C8
hw.acpi.reset_video: 0
hw.acpi.handle_reboot: 1
hw.acpi.disable_on_reboot: 0
hw.acpi.verbose: 1
hw.acpi.s4bios: 0
hw.acpi.sleep_delay: 1
hw.acpi.suspend_state: S3
hw.acpi.standby_state: NONE
hw.acpi.lid_switch_state: NONE
hw.acpi.sleep_button_state: S3
hw.acpi.power_button_state: S5
hw.acpi.supported_sleep_state: S3 S4 S5
irq9: acpi0:17 @cpu0(domain0): 281248
machdep.idle: acpi
machdep.idle_available: spin, mwait, hlt, acpi
machdep.acpi_root: 3706707988
machdep.acpi_timer_freq: 3579545
dev.acpi_perf.1.%parent: cpu1
dev.acpi_perf.1.%pnpinfo:
dev.acpi_perf.1.%location:
dev.acpi_perf.1.%driver: acpi_perf
dev.acpi_perf.1.%desc:
dev.acpi_perf.0.%parent: cpu0
dev.acpi_perf.0.%pnpinfo:
dev.acpi_perf.0.%location:
dev.acpi_perf.0.%driver: acpi_perf
dev.acpi_perf.0.%desc:
dev.acpi_perf.%parent:
dev.acpi_acad.0.%parent: acpi0
dev.acpi_acad.0.%pnpinfo: _HID=ACPI0003 _UID=0
dev.acpi_acad.0.%location: handle=\_SB_.PCI0.LPC_.EC__.AC__
dev.acpi_acad.0.%driver: acpi_acad
dev.acpi_acad.0.%desc: AC Adapter
dev.acpi_acad.%parent:
dev.battery.0.%parent: acpi0
dev.psmcpnp.0.%parent: acpi0
dev.atkbdc.0.%parent: acpi0
dev.fpupnp.0.%parent: acpi0
dev.atdma.0.%parent: acpi0
dev.acpi_tz.0.%parent: acpi0
dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0
dev.acpi_tz.0.%location: handle=\_TZ_.THM0
dev.acpi_tz.0.%driver: acpi_tz
dev.acpi_tz.0.%desc: Thermal Zone
dev.acpi_tz.%parent:
dev.pcib.0.%parent: acpi0
dev.acpi_button.0.wake: 1
dev.acpi_button.0.%parent: acpi0
dev.acpi_button.0.%pnpinfo: _HID=PNP0C0E _UID=0
dev.acpi_button.0.%location: handle=\_SB_.SLPB
dev.acpi_button.0.%driver: acpi_button
dev.acpi_button.0.%desc: Sleep Button
dev.acpi_button.%parent:
dev.acpi_lid.0.wake: 1
dev.acpi_lid.0.state: 0
dev.acpi_lid.0.%parent: acpi0
dev.acpi_lid.0.%pnpinfo: _HID=PNP0C0D _UID=0
dev.acpi_lid.0.%location: handle=\_SB_.LID_
dev.acpi_lid.0.%driver: acpi_lid
dev.acpi_lid.0.%desc: Control Method Lid Switch
dev.acpi_lid.%parent:
dev.pci_link.7.%parent: acpi0
dev.pci_link.6.%parent: acpi0
dev.pci_link.5.%parent: acpi0
dev.pci_link.4.%parent: acpi0
dev.pci_link.3.%parent: acpi0
dev.pci_link.2.%parent: acpi0
dev.pci_link.1.%parent: acpi0
dev.pci_link.0.%parent: acpi0
dev.acpi_timer.0.%parent: acpi0
dev.acpi_timer.0.%pnpinfo: unknown
dev.acpi_timer.0.%location: unknown
dev.acpi_timer.0.%driver: acpi_timer
dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz
dev.acpi_timer.%parent:
dev.atrtc.0.%parent: acpi0
dev.hpet.0.%parent: acpi0
dev.attimer.0.%parent: acpi0
dev.cpu.1.%parent: acpi0
dev.cpu.0.%parent: acpi0
dev.acpi_sysresource.1.%parent: acpi0
dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C02 _UID=0
dev.acpi_sysresource.1.%location: handle=\_SB_.PCI0.LPC_.SIO_
dev.acpi_sysresource.1.%driver: acpi_sysresource
dev.acpi_sysresource.1.%desc: System Resource
dev.acpi_sysresource.0.%parent: acpi0
dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C01 _UID=0
dev.acpi_sysresource.0.%location: handle=\_SB_.MEM_
dev.acpi_sysresource.0.%driver: acpi_sysresource
dev.acpi_sysresource.0.%desc: System Resource
dev.acpi_sysresource.%parent:
dev.acpi_ec.0.%parent: acpi0
dev.acpi_ec.0.%pnpinfo: _HID=PNP0C09 _UID=0
dev.acpi_ec.0.%location: handle=\_SB_.PCI0.LPC_.EC__
dev.acpi_ec.0.%driver: acpi_ec
dev.acpi_ec.0.%desc: Embedded Controller: GPE 0x11, ECDT
dev.acpi_ec.%parent:
dev.acpi.0.%parent: nexus0
dev.acpi.0.%pnpinfo:
dev.acpi.0.%location:
dev.acpi.0.%driver: acpi
dev.acpi.0.%desc: LENOVO TP-GL
dev.acpi.%parent:

Thank you in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANGDQ-_7bFsDF9SD_T3mkKz8VDav_2%2BxHtp8gj98%2BB%2Bnrv%2BPQw>