All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Brandon Casey <drafnel@gmail.com>
Cc: bleung@chromium.org, chrome-platform@lists.linux.dev
Subject: Re: [PATCH] platform/chrome: cros_kbd_led_backlight: support Google Link
Date: Thu, 14 Nov 2024 08:53:47 +0000	[thread overview]
Message-ID: <ZzW6mz9TGc8bglOi@google.com> (raw)
In-Reply-To: <439FC80F-141E-438A-B201-772C9509D048@gmail.com>

On Wed, Nov 13, 2024 at 10:38:36PM -0600, Brandon Casey wrote:
> 
> 
> On November 13, 2024 8:07:42 PM CST, Tzung-Bi Shih <tzungbi@kernel.org> wrote:
> >On Wed, Nov 13, 2024 at 02:44:55AM -0600, Brandon Casey wrote:
> >> 
> >> 
> >> On November 13, 2024 12:46:18 AM CST, Tzung-Bi Shih <tzungbi@kernel.org> wrote:
> >> >On Tue, Nov 12, 2024 at 08:29:05PM -0600, Brandon Casey wrote:
> >> >> On the Google Pixel chromebook (aka Google Link), the keyboard led
> >> >> backlight has the ACPI device id "GGL0002".  Let's add it to the
> >> >> configuration array.
> >> >
> >> >Why it can't be matched by "GOOG0002"? [1] 
> >> 
> >> I'm not sure I understand this question. On my device the backlight has ACPI id "GGL0002", not "GOOG0002"?
> >> 
> >> >Have you tried to update your AP firmware?
> >> 
> >> I have not explicitly updated any firmware. It has whatever firmware Chromeos has installed.
> >
> >IIUC, if your AP firmware includes patch [1] (submitted in 2015), it should
> >report "GOOG0002" instead of "GGL0002".
> >
> >[1]: https://review.coreboot.org/c/coreboot/+/11478
> 
> I can only assume that Google did not ever ship a firmware update for Link that included that patch. I believe this device has all ChromeOS updates applied, so it represents a stock system, though no longer supported, and aside from being in developer mode and having a Linux partition.

Please try to wrap your message to fit to 80-column.  See [2].

[2]: https://people.kernel.org/tglx/notes-about-netiquette

> My firmware also reports the acpi device as GGL0001.
> 
>     $ cat /sys/bus/acpi/devices/GGL000*/hid
>     GGL0001
>     GGL0002
> 
>     $ cat /sys/bus/acpi/devices/GGL000*/path
>     \CRHW
>     \_SB_.KBLT
> 
> Is there any reason why we shouldn't do the same thing here for the keyboard backlight that was done in drivers/platform/chrome/chromeos_acpi.c and support both the legacy ID and the official ACPI ID? I see your commit 703e77134 which added GOOG0016 in addition to GGL0001.

- The most important reason: "GGL0002" is assigned to other purpose.
- For some reason, your machine is using a quite old firmware.  It makes
  less sense to me for supporting a should-be-deprecated PNP ID by [1].
- The case is different from 703e77134.  We prefer HID to PNP ID.

  reply	other threads:[~2024-11-14  8:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13  2:29 detect kbd backlight on Google Link (original Chromebook Pixel) Brandon Casey
2024-11-13  2:29 ` [PATCH] platform/chrome: cros_kbd_led_backlight: support Google Link Brandon Casey
2024-11-13  6:46   ` Tzung-Bi Shih
2024-11-13  8:44     ` Brandon Casey
2024-11-14  2:07       ` Tzung-Bi Shih
2024-11-14  4:38         ` Brandon Casey
2024-11-14  8:53           ` Tzung-Bi Shih [this message]
2024-11-18 18:58             ` Brandon Casey
2024-11-21  0:54               ` Tzung-Bi Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZzW6mz9TGc8bglOi@google.com \
    --to=tzungbi@kernel.org \
    --cc=bleung@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=drafnel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.