From owner-freebsd-acpi@freebsd.org Sat Aug 17 21:02:09 2019 Return-Path: Delivered-To: freebsd-acpi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CBEC7B1C13 for ; Sat, 17 Aug 2019 21:02:09 +0000 (UTC) (envelope-from maxnix.bsd@gmail.com) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 469t0x06Fxz3HLX for ; Sat, 17 Aug 2019 21:02:08 +0000 (UTC) (envelope-from maxnix.bsd@gmail.com) Received: by mail-vs1-xe36.google.com with SMTP id 62so5930392vsl.5 for ; Sat, 17 Aug 2019 14:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NOuURatX5obMGu3w20vmEo4+jvwYaac5Gi4LTO2DLL4=; b=E3HMw8Xcl3FquGX9ku6rhophCKxOndqhyu7sOlsFckHfqWvrvQ9hLihv0WjUuUQowP 1e8/HyszzrCXQTj4C0eHAU12ivNYJICFZrV4EJMM+RNqdoeI4u+GoHMSpLvWTYL9SXfK wsUty8/ejeWmJFxOj6xcU+YqUH6cdICM8s+NJPzBxKCA9pcXKegHiJjAYrYYAX4W29xB 3JiHgyDxXnGfmRLCMhsKFke8CXBhMsQx9CXF7x3ImCMdY1h9K1Gp804oBfKYkSJ/OkKO fG2JxAMr4/msXftfVC4AgjkPRat/MISFDCtwLtBNfsHAoBvqv7tTr+r+xZMiBjOJQBZu QMDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NOuURatX5obMGu3w20vmEo4+jvwYaac5Gi4LTO2DLL4=; b=YjQQUBkHe9BTCHc1gLljhkxk5foHrMv12gBzOkVpFOFuhVw00aV1wDt4LHkF7bAH8H lanwS3OQdMefOv0xhLrjGNf1anFC7ouQUVTLDYJtXTCm60EsFRHuUjBHKsTEbux+pYJH 7cO/ttd96OMXI/8j6R7Q4Znk1WJrY1SAZ6Pdk9v92EP8UPydLP6WVTjYNIcM2H3VTelR 9kciT9p7eXfnTI/x6sQzw/zC/HPJoK5C2xRr/jyfrjbNISBX/i+WndC19Q7QTkpXTKae 0VXSJsvdT9FzIZbe6KcSOetChCcyzmPYwCwW5addhLED5ZMkRdJDlky+bqALxFgf6ud1 reWA== X-Gm-Message-State: APjAAAUynXb0kLQK5DvOw9/eSJZkGKQRZNih/zRXPLVbjTYaR54q9NHo ebCGhv2V4YZULHeKBMMdPj8C1PGU0WWh92JhDQdkvYLQ X-Google-Smtp-Source: APXvYqyYaDIipD2SQt/Na2D2HRLs53Ljhjj5qanS+PDBCo+TkUjJ2EfHTtJsF1VNJp4y2ZKAXIyWS7MSEAk6uLLp4yY= X-Received: by 2002:a67:1983:: with SMTP id 125mr9373767vsz.196.1566075727744; Sat, 17 Aug 2019 14:02:07 -0700 (PDT) MIME-Version: 1.0 From: max nix Date: Sat, 17 Aug 2019 23:01:57 +0200 Message-ID: Subject: ThinkPad T440p power button events (poweroff/resume) ignored To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 469t0x06Fxz3HLX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=E3HMw8Xc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of maxnixbsd@gmail.com designates 2607:f8b0:4864:20::e36 as permitted sender) smtp.mailfrom=maxnixbsd@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.71), ipnet: 2607:f8b0::/32(-2.95), asn: 15169(-2.38), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-acpi@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[6.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2019 21:02:09 -0000 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.