Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2998266lqp; Mon, 25 Mar 2024 16:14:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrFwpyFhiXbEsUVORisd6mrx8m4TRSBO9NbZWOXyW1DNN0eOzNRlklApYa1cP5SK9yMM9FKbQH46M3HLEcIB7N9OFjN8MvZc8aKlpgQQ== X-Google-Smtp-Source: AGHT+IFK1/+jfn+kSBad+gGQpqUKF6fa+ExFufT7DIjQ/TraRkR32le9XeC1L7AKss18mCHUL/kf X-Received: by 2002:a05:6e02:1d95:b0:368:8cf9:9aa2 with SMTP id h21-20020a056e021d9500b003688cf99aa2mr6539748ila.4.1711408484808; Mon, 25 Mar 2024 16:14:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711408484; cv=pass; d=google.com; s=arc-20160816; b=irSCUMjUeUp89EZg7hgKVTEHaO6BBI+gVdDYu6fh0XzFgNDNbXPS2CA6HlfsKoaCPI H0IZtrM1m4yzk8VHmBaY3tYWMcN+mm4aWwTTDV4/aRneQSHB6l+1sqbwzno4QjkFOb7W mstQiSDBGYGtZIAUgQBp8Z1ESfbvHwgMYCX+Ts+11KBNuZyniMRuj+QDrZE2Io2VxKUv wBu0UUfUJiTzXuVUvx9DpjZc67KrKOYrSs/saLkx6CnOP93IObH2HNThUfXyNicf8f6X 7jfX4foVlqX1Tf8T8lhO/dvOG4wc+9gHrff02D96LkF96S41M5z6xc9AMlXjV2gh58f2 dU9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=s2u6wbnO0aAOTu2sj3Zp1JeYzfWnBCu61Fvn4hdQAxM=; fh=eTgnYHLnmBFjX4QtfsXWZT5/0b5/mcL53EGDCPf0tLw=; b=QGu0ixnw/AKMzfK0K9kOmcBjcREC4cZMSvyQtoIfsB1uyho1RIc4/EOqvOt5XzPeJy xptKWYG5a4jMDSZprE2PdHFTBPVwx/dVJj9IIB1XnyCuUxLBWHTIQoK/3eDu3JlBex0c D5wQhNs3wvPvjTKgHIMQFDHxNqlzW+dn5Ih4wtx+Gf/dGt8hoMg3uCSGsUCdph1vQQtB ANNE8W1DbMpuKaA9rqg1AlWGEUvIfxNE+OIft7jlQusmB9JY8mFXZC3VrY6vaWKtmIjX BsEeSFeX3SPGfWhK+CzppZFB51gcehC2xL0iO7lcKZFiEI5mOsSab98bVXJXKFJoHoV9 ySjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@vorpal.se header.s=2019 header.b=WVzsLXEs; arc=pass (i=1 spf=pass spfdomain=vorpal.se dkim=pass dkdomain=vorpal.se dmarc=pass fromdomain=vorpal.se); spf=pass (google.com: domain of linux-kernel+bounces-118054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vorpal.se Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m26-20020a634c5a000000b005f0568900dasi3858662pgl.560.2024.03.25.16.14.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 16:14:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@vorpal.se header.s=2019 header.b=WVzsLXEs; arc=pass (i=1 spf=pass spfdomain=vorpal.se dkim=pass dkdomain=vorpal.se dmarc=pass fromdomain=vorpal.se); spf=pass (google.com: domain of linux-kernel+bounces-118054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vorpal.se Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2854BB29A15 for ; Mon, 25 Mar 2024 21:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C79C6F08A; Mon, 25 Mar 2024 21:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vorpal.se header.i=@vorpal.se header.b="WVzsLXEs" Received: from vorpal.se (vorpal.se [151.236.221.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3566B6EB68; Mon, 25 Mar 2024 21:45:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=151.236.221.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711403109; cv=none; b=k+vQyNlUpTRkWaJ+ZK8/u0H5e6G6QbIUZI2f/4seXe1glJFnEtXv2PUzAtpKJT8vNl7CZnkAVnuMDBcELRhz3ppG804h6mz7fcFIm76gzXzpOz+iHv1EjtF5J1dKOA2YGPDrLSQtgrSnPKntS8O9JoVWroq8/sjGXzbH62U26Ik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711403109; c=relaxed/simple; bh=O24uEwJnaH8otP+xRGNd5TRmIAI75Ih4SIuvlsrr2CE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eDzQwI0Ir/Scv1pauAyrmS0wKsFhZk+v54BIwvPBL/TNxDWKURvCUjmN9S3oZ2FKkLseimNKNZKnXHeVKEotbW+SS2M5e5AczgHPBr+qOwnNcuihaG3B+M8+xz70aByY1R/Ye0tx1YeMYcFbZbUjeKcwzHRN7GL/QTjuSTQ1pDc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vorpal.se; spf=pass smtp.mailfrom=vorpal.se; dkim=pass (2048-bit key) header.d=vorpal.se header.i=@vorpal.se header.b=WVzsLXEs; arc=none smtp.client-ip=151.236.221.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vorpal.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vorpal.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=vorpal.se; s=2019; t=1711402623; bh=O24uEwJnaH8otP+xRGNd5TRmIAI75Ih4SIuvlsrr2CE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=WVzsLXEsMVqe4Cv1FAnE0FQFjEsFcV2o+2DSsIHGanFcDrpSXZzpUijex9Ok5telR EVRenBHO8MFE1uBsMHXL3YtVZR8SbWWUuywFqTG6eZZw/+R0l4rWbcFbD5RmdpQcer r6MifNRRfb0dUFd1haIdSCu8IbdseuKigjZgEdrhZOkp9nze8KNErNtyUhUIsk+VAo y/9Td1YrFVoNBymN0nNnySoXX5UjFBAhKxpQnTkFP3GMZNbJxKqa9JEAtrBaAJimll 0mO7Z1wsXeGDkfeKmnpOiI8kQ4kDFbSN3cGxl5Uq1zWU9Kh2pyL5LGegZjqQqGHvpz /MBoKmtis4r/g== Received: by vorpal.se (Postfix) with ESMTPSA id A519E140F6; Mon, 25 Mar 2024 21:37:02 +0000 (UTC) Message-ID: Date: Mon, 25 Mar 2024 22:37:01 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] platform/x86: Add ACPI quickstart button driver To: Hans de Goede , Armin Wolf Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240131111641.4418-1-W_Armin@gmx.de> Content-Language: en-US From: Arvid Norlander In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-03-24 15:55, Hans de Goede wrote: > Hi Armin and Arvid, > > On 1/31/24 12:16 PM, Armin Wolf wrote: >> This patch series adds support for the ACPI PNP0C32 device as >> proposed in 2022 by Arvid Norlander. The first patch adds support >> for the device itself, while the second patch was taken from the >> original series. >> >> Both patches are compile-tested only. > > Armin, thank you for creating a new cleaned up driver for the > quickstart button support. > > I have managed to get my hands on a Toshiba Portege Z830 and > I have successfully tested this series. That is this makes > the 2 quickstart application and the toggle-touchpad button > work when the system is running normally. That is some dedication! Sorry for completely dropping the ball on this, real life happened and I had to prioritise. My beginning "carreer" as a kernel developer was one of the things that ended up getting cut. I'm going to do a quick bug report while I'm writing an email here. I noticed on my Z830 that the readouts of the charge control thresholds didn't seem to work when I last tested it. Setting worked just fine, but reading it always returns 100%. Didn't get around to debugging this, but I assume it a simple error. Also my Z830 have developed a whole horizontal line of stuck red pixels across the middle of the screen, so it seems quite unlikely I'll use it much more or even keep it long term. > Neither the quickstart buttons, nor the touchpad-toggle button > which also uses the PNP0C32 interface, work to wakeup > the system from sleep though. This is probably a limitation of the hardware. Though there are IIRC some BIOS options for what should wake the laptop from power-off, including any keyboard press whatsoever. (Fun fact: The Toshiba ACPI interface allows changing these BIOS settings from the OS, though you would have to do it by hand from user space currently as it is not exposed in the driver.) Best regards, Arvid Norlander