From owner-freebsd-acpi@freebsd.org Mon Aug 19 17:19:38 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 61E34CC097 for ; Mon, 19 Aug 2019 17:19:38 +0000 (UTC) (envelope-from maxnix.bsd@gmail.com) Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) (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 46C0zF2tlzz43x5 for ; Mon, 19 Aug 2019 17:19:37 +0000 (UTC) (envelope-from maxnix.bsd@gmail.com) Received: by mail-ua1-x92b.google.com with SMTP id s25so924931uap.7 for ; Mon, 19 Aug 2019 10:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wrzNwJ46ePrmUXyYhxqiQ5so3UvQ+x0lvGzLSe4gKIY=; b=SIaz5BcGTwUjGDXCZOQRZ7XqAKlON+n2fsiteJKIktHQja2n48RKbqP/aWuecAChdj eiNYyiN5O/RAxKkcpbPnAoFo9LcMW2OHe/oQ/ZDCV64WvVtWL2fGNeJOZjzLpTRX5Anc MUm0TSjRq0E783pjPTXMdn8y8jRrk0G1J0Sv/uSvRwKOqRh+Uy4JPvA4jZxCnL8VA1hM Bo5IvUM73kJLonnAjcGstFXCH5vUV1oJEuDKhZ3E32R3pGZ9TdJlkFztblFTlJoBAWlt PCa8LybUmtm68fNKNJqAaZfvPo7+4Edf55nDeRZWaHPumdXJZzVm0LyDJN79G7egTX2Y z3nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wrzNwJ46ePrmUXyYhxqiQ5so3UvQ+x0lvGzLSe4gKIY=; b=N3LKG+CVY51wTQk9enfynCfXM1oem64ZXy0K1ZTJuNuP+eu7c/QxlKcCkIDBUr4J5u /mlW654XmmZ+dLxRMF+u/MTO7HC4feWr7a8m7hO1KuScoIxLoKgYF0CKJlQWSSSyvC6G IpjGvGOB1ICyrD8FETWAAsA4LRTUOkj2RoIIlsUWlVnow9k2D0FHJz/6SEwXsnWQZImM 9ZtE8sRNnZXM9UiMVO1m3TfDOGldP6ak2EHTwdvkixKFu0O91Nsf8F7csgM/imBPddtw z/DjmySPuQnQdZ2e4nPjaJ5oYH+npQCsFt5Lxc+IC4IEjgVNHTP7EJsUj+K7Iz+7D9Bh +Tlw== X-Gm-Message-State: APjAAAXOxBql7U6krUV+u2mKuXd9JUwMLXvERpkVzx1nrLc2py/f+Rha nyZhPLJc0Jp328vNu8NrsddffPlYoAqfuN6KiBNORG9P X-Google-Smtp-Source: APXvYqw0KL3aP3FCArwN9jpgyEy5lJXopFMryuLhvqcL1o7GmGG//RPtSaj7XYIdhR9LTNtVi2FkFBIIDjjDOMCaglc= X-Received: by 2002:ab0:21cc:: with SMTP id u12mr1323431uan.72.1566235176046; Mon, 19 Aug 2019 10:19:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: max nix Date: Mon, 19 Aug 2019 19:19:24 +0200 Message-ID: Subject: Re: ThinkPad T440p power button events (poweroff/resume) ignored To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 46C0zF2tlzz43x5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SIaz5BcG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of maxnixbsd@gmail.com designates 2607:f8b0:4864:20::92b 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]; 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.57), ipnet: 2607:f8b0::/32(-2.93), asn: 15169(-2.37), 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)[b.2.9.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: Mon, 19 Aug 2019 17:19:38 -0000 Good news: I found a workaround to make it wake up the laptop. It is sufficient to set the Security Chip to disabled/inactive from BIOS. HTH someone. Il giorno sab 17 ago 2019 alle ore 23:01 max nix ha scritto: > > 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.