Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4075165iog; Tue, 21 Jun 2022 11:28:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tmNpLWZnfKro0IRtlHdDLbX9S6IeVzDT+Y/EUGgWZey9WaEoqKTmRyl6yCT1DtE6ZJ/IXs X-Received: by 2002:a17:90a:410a:b0:1ec:7fc8:6d15 with SMTP id u10-20020a17090a410a00b001ec7fc86d15mr24470455pjf.236.1655836097287; Tue, 21 Jun 2022 11:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655836097; cv=none; d=google.com; s=arc-20160816; b=U7QbFaMG9pkwNVNAeOdCpZv5i9M442YSzKiOnLlGOgcoQRhtye0iHTFI1/yF05Z+8P 4DKGky7QS99HtyZZ753IKc+ZPtObGMMjR3mcacjJtAvM3Qb9WbBp1RTuIuifB8FAh5hb +OJMcDC4/wR14ZVSPY74HbwgxFHTPMxGEKKbK5VoCQ8tOyNiCpK5vY5JurRHFFxhxxT6 COwTEArNgc5K4awCbLbSBgpkC+OX/Q/+2EPZlsXtzZEUgSW2CzUh//4ymz4ZpiCrsUt6 32EMYeqqkLU/FebqpM/sWXKMh3Cv8PlbkGuk0nRJLgHdOp1tLAOCjXD1QDBEo+gXHnoA YnRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=1eMvpQGmuzfMVoYRI7eriOn5I/gqQSujwrf47DAtefA=; b=WHJGui1J1dwOnFamTsZNP8NWp0efToC/nVCRvPY+9BHa05zxUvSrGO9EdE3aytq9kO VUYDm6F5hZAUz5f4BAHjEh27LJLtnWUthcFigEQRm9rabEW/tQnH7Qs+RAfpkuSKQ4ut QIPGKnyOKJEhNEtvHhtViWnwqBQy+Q/TPqasIwyg+yD1ekKe92Z4R+2NFODWxdmBaT+z 4t0Cd6kdlesBCySMeeAywWJYAe/Nkd44oS4wu7xFL98DYuqhw6GrvAyUE5FMF+CIPus0 bwt7pX52EXu+aEn47KFnjq2N8tOmXMqNPDl36syXhUv7GEmztZrQG1wgyrMsVrxUDWtI Mtmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=UGWyICoF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a62b60f000000b005251e5fd70bsi8455214pff.203.2022.06.21.11.28.04; Tue, 21 Jun 2022 11:28:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=UGWyICoF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351310AbiFURyv (ORCPT + 99 others); Tue, 21 Jun 2022 13:54:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233529AbiFURyu (ORCPT ); Tue, 21 Jun 2022 13:54:50 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 630FE1C93E; Tue, 21 Jun 2022 10:54:49 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id mf9so8781607ejb.0; Tue, 21 Jun 2022 10:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=1eMvpQGmuzfMVoYRI7eriOn5I/gqQSujwrf47DAtefA=; b=UGWyICoF0B6YAXeThrkyJcBSimG+HS00n7Gx8AhzRX4CghUiSLthzUaKBi/411M2yl 2iSc4Jec/rFJ/DvO2P2hrKrVepnspC08bx0xUdrtxpLUXVU8nNyoC9oIoXAQbBErQyNj HDc7iskJUBOFini7+bDfUM5+WhXz0JNoGfBA8YDEt+Bhud67l4ZSab9XqMw0bvOHV6Hc vZPaNYmDX/ZcMQx0Mbjg4Ix8plra/vOMzvwLg5st5eKRZ2y9BXqbPrJS8q2uhlE3Tftf kn3f/Ma5AI36xdit1zmuOfqBx723UhVhCDigRUoFF2A3t6T45HuSVHim3Pg459fq/0EI 5oiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=1eMvpQGmuzfMVoYRI7eriOn5I/gqQSujwrf47DAtefA=; b=sRccOTL4fECdLQ9cyJT1apsHjGnyfpltvuy2I4pY3F9BqsgJv2XqVEtWZ9ivgLecVu T3Bj7TOk/34Lrym4QEKV5ol/27x0CGi2T3MVChRgDYNVFUwLLFwtUv2wVLzvCZ4TdMoe u8PThQTa6x2b9gr/JSZ9EAYIoFb4yvbHqwddkvxjkgL6o77vH3H7baqslZNmisIkc6ze IK8BiYRh0Sz8MBwtU4oEZi5/Y3h/HHtXAB8i6Bg7CCpcKhImRJ+0YUyzaYrJAX4txFm0 A2Wq1ueG1Ztr94eZxUHTvD3/McE5MIsYpGPfByC+iR6bNogO1RjOv/uakFakuK9EKTYP C7Mg== X-Gm-Message-State: AJIora9CavdKffyhvKEvyR/h+peI8c5AWJBWZOZem2qMa0jm3D5WML/Z 7FTWV2M3vq4CX35MUTMDxf0= X-Received: by 2002:a17:906:7c0c:b0:6f9:1fc:ebf3 with SMTP id t12-20020a1709067c0c00b006f901fcebf3mr27654186ejo.403.1655834087798; Tue, 21 Jun 2022 10:54:47 -0700 (PDT) Received: from [192.168.43.195] (p57bfe813.dip0.t-ipconnect.de. [87.191.232.19]) by smtp.gmail.com with ESMTPSA id lb25-20020a170907785900b006febc1e9fc8sm8047977ejc.47.2022.06.21.10.54.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jun 2022 10:54:47 -0700 (PDT) Message-ID: Date: Tue, 21 Jun 2022 19:54:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 2/2] platform/x86: panasonic-laptop: allow to use all hotkeys Content-Language: en-US From: Stefan Seyfried To: Hans de Goede , Kenneth Chan , Andy Shevchenko Cc: Platform Driver , Linux Kernel Mailing List , Stefan Seyfried References: <20200821181433.17653-8-kenneth.t.chan@gmail.com> <20220612090507.20648-1-stefan.seyfried@googlemail.com> <20220612090507.20648-3-stefan.seyfried@googlemail.com> <6969ca0e-4a4c-c995-02a2-6645f875338c@redhat.com> <5f03f5b9-87bb-e27d-ce51-9c1572221f21@redhat.com> <89398c05-92c6-120d-ed51-ab62f1f404eb@message-id.googlemail.com> <19e590f1-e865-ad19-e9e4-df1f9274663c@redhat.com> <3f3dfbad-9437-2c04-cf56-861649c117fd@redhat.com> <0bfb0325-0362-2d51-7f25-f389af4bfb68@message-id.googlemail.com> In-Reply-To: <0bfb0325-0362-2d51-7f25-f389af4bfb68@message-id.googlemail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, the patched ACPI video module DOES WORK. I just managed to actually compile the unmodified source code m( After patching acpi_video.c, compiling and installing it so that it actually gets used, everything works fine now. On 21.06.22 12:23, Stefan Seyfried wrote: > Hi Hans, > > On 21.06.22 11:26, Hans de Goede wrote: >> Hi, >> >> On 6/20/22 20:10, Stefan Seyfried wrote: >>> Well, the non-working backlight is coming from the i915 driver, but >>> as this is a very old Chipset (i855 GM) I'd rather be happy it works >>> at all instead of complaining ;-) >>> (I have another machine of similar age, hp nc6000 with ati graphics, >>> and there is no way getting it to work somewhat reliably at all) >> >> Ah right, you've got a panasonic + a native intel backlight device. >> >> We are going to need a quirk to (eventually also depending on other >> changes) >> disable the broken intel backlight device. >> >> But that won't fix the keys issue, at least not without an extra >> quirk just for that. >> >> I wonder if your machine supports the backlight control part of >> the ACPI video bus at all. If not that would explain why it is >> not reporting brightness keys and that would also give us a way >> to solve this without an extra quirk. >> >> And that would actually also avoid the need for a backlight >> quirk too. >> >> Can you pass "acpi_backlight=video" on the kernel commandline >> and see if a /sys/class/backlight/acpi_video0 device then >> shows up. If it does _not_ show up then indeed there is no >> ACPI backlight control at all. > > Nothing new shows up, just panasonic and intel_backlight as before. > >> In that case please give the attached patches a try on top >> of my last series. > > they do not fix the brightness keys for me. YES they do fix it. I just need to actually use the patched module :-) > I did not have time to put in some debugging and will be traveling for > the rest of the week, but I'll take the toughbook with me and will try > to debug this later ;-) > >> The acpi_video patch should fix your brightness keys then and > > apparently it does not :-( It does. Thanks Stefan -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman