mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Samuel Wheeler via B4 Relay <devnull+swheel33.gmail.com@kernel.org>
To: "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,  Shang En Sim <sim@shangen.org>,
	Samuel Wheeler <swheel33@gmail.com>
Subject: [PATCH 0/2] platform/x86: hp-wmi: HP OmniBook Ultra 14-kd0xxx (8EB4) fixes
Date: Wed, 11 Nov 2026 21:54:25 -0500	[thread overview]
Message-ID: <20261111-omnibook-8eb4-v1-0-3127f45cc338@gmail.com> (raw)

Two small hp-wmi changes for the HP OmniBook Ultra Laptop 14-kd0xxx
(board 8EB4, BIOS F.06, Panther Lake):

1. The thermal profile query returns status flags in its upper bytes,
   so reading the platform profile always fails with -EINVAL. Use only
   the low byte.
2. The laptop has the same battery charge mode interface as the
   Spectre 8C15/8C17. Add it to the charge_behaviour quirk list.

Both were tested on the laptop with the same code changes applied to the
hp-wmi of a 7.2.15-based distribution kernel. The patches themselves are
against pdx86 for-next and build there with W=1 without warnings;
checkpatch --strict is clean.

Patch 2 touches the same quirk table as the pending "platform/x86:
hp-wmi: Add OmniBook 7 14-fr0xxx to charge_behaviour quirks"
(https://lore.kernel.org/r/20261102155409.3061761-1-taranarmo@gmail.com),
so whichever is applied second will need a trivial rebase.

The ACPI analysis, the changes and these descriptions were prepared with
an AI coding assistant (Claude, by Anthropic), as described in each
patch. I reviewed them and ran the tests myself.

---
Samuel Wheeler (2):
      platform/x86: hp-wmi: Only use the low byte of the thermal profile
      platform/x86: hp-wmi: Add charge_behaviour quirk for OmniBook Ultra 14

 drivers/platform/x86/hp/hp-wmi.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
---
base-commit: a514d723595bd8e5ce926a7fea148ceb3c26915c
change-id: 20261111-omnibook-8eb4-78891e074a1f

Best regards,
--  
Samuel Wheeler <swheel33@gmail.com>



             reply	other threads:[~2026-11-12  2:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12  2:54 Samuel Wheeler via B4 Relay [this message]
2026-11-12  2:54 ` [PATCH 1/2] platform/x86: hp-wmi: Only use the low byte of the thermal profile Samuel Wheeler via B4 Relay
2026-11-12  2:54 ` [PATCH 2/2] platform/x86: hp-wmi: Add charge_behaviour quirk for OmniBook Ultra 14 Samuel Wheeler via B4 Relay

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=20261111-omnibook-8eb4-v1-0-3127f45cc338@gmail.com \
    --to=devnull+swheel33.gmail.com@kernel.org \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=sim@shangen.org \
    --cc=swheel33@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®