From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Aaron Erhardt <aer@tuxedocomputers.com>
Cc: wse@tuxedocomputers.com, Hans de Goede <hansg@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v3 5/6] platform/x86/tuxedo: Update and extend documentation
Date: Fri, 18 Sep 2026 18:25:35 +0300 (EEST) [thread overview]
Message-ID: <c5855c8d-6540-fe07-04e0-9e4173a6c27e@linux.intel.com> (raw)
In-Reply-To: <7d7b5d84-e358-4745-8db1-69beb281c4d9@tuxedocomputers.com>
[-- Attachment #1: Type: text/plain, Size: 2311 bytes --]
On Tue, 15 Sep 2026, Aaron Erhardt wrote:
> Am 15.09.26 um 15:08 schrieb Ilpo Järvinen:
> > On Wed, 26 Aug 2026, Aaron Erhardt wrote:
> >
> >> Remove an incorrect comment about the Microsoft MacroPad reference
> >> implementation allegedly deviating from the spec and add more
> >> information about the module and some other minor improvements.
> >
> > Was it "incorrect" or was the spec clarified in a later version? If the
> > latter, that would be worth to mention instead of claiming the original
> > comment was "incorrect".
> >
> > This is a honest question, I don't know the answer but I'm kind trying to
> > read in between lines here how we ended up in this situation so my
> > impression could be entirely wrong. ...Thus, please don't assume I know
> > much about the content of these specs (despite me briefly looking into
> > what I could find around this feature was introduced).
> >
>
> The MacroPad reference implementation never deviated from the spec in this
> area, at least not in the way the comment suggests. The comment removed here
> references another comment, which is removed alongside the code that was
> touched in patch 3/6 and assumed that intensities should allow multiple values
> to be assigned (e.g. 256 levels), but that was never required in the spec. Even
> version 1.4 (the initial driver had 1.5 as a basis) of the spec already
> suggests using only two intensities for on and off while everything else is
> done through the RGB channels unless the device has some sort of global
> brightness control in its hardware.
>
> I think the reason for this misconception might come from an actual bug in the
> reference implementation (which is fixed now:
> https://github.com/microsoft/RP2040MacropadHidSample/commit/cfc29120a3910c5772976da29ecd57392dfd44d6)
> and the natural assumption, that intensity should, similar to the RGB channels,
> have 8 bit. Therefore, the driver initially implemented brightness exactly that
> way with 256 levels, scaling the RGB intensities with integer arithmetic. But
> since the hardware doesn't scale the brightness and the spec doesn't require
> this, there is no good reason to do this.
Okay, thanks for the explanation. No further action required then for
this patch.
--
i.
next prev parent reply other threads:[~2026-09-18 15:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 8:11 [PATCH v3 0/6] platform/x86/tuxedo: Fixes for TUXEDO NB04 driver Aaron Erhardt
2026-08-26 8:11 ` [PATCH v3 1/6] platform/x86/tuxedo: Don't use device driver data Aaron Erhardt
2026-08-26 8:27 ` Werner Sembach
2026-08-26 8:11 ` [PATCH v3 2/6] platform/x86/tuxedo: Set HID report ID on success Aaron Erhardt
2026-08-26 8:27 ` Werner Sembach
2026-08-26 8:11 ` [PATCH v3 3/6] platform/x86/tuxedo: Use intensity according to HID spec Aaron Erhardt
2026-08-26 8:27 ` Werner Sembach
2026-08-26 8:11 ` [PATCH v3 4/6] platform/x86/tuxedo: Fix keyboard LED map ordering Aaron Erhardt
2026-08-26 8:28 ` Werner Sembach
2026-09-15 13:00 ` Ilpo Järvinen
2026-09-15 13:55 ` Aaron Erhardt
2026-09-18 15:22 ` Ilpo Järvinen
2026-08-26 8:11 ` [PATCH v3 5/6] platform/x86/tuxedo: Update and extend documentation Aaron Erhardt
2026-08-26 8:28 ` Werner Sembach
2026-09-15 13:08 ` Ilpo Järvinen
2026-09-15 14:07 ` Aaron Erhardt
2026-09-18 15:25 ` Ilpo Järvinen [this message]
2026-08-26 8:11 ` [PATCH v3 6/6] MAINTAINERS: Add Aaron Erhardt as maintainer of TUXEDO DRIVERS Aaron Erhardt
2026-08-26 8:28 ` Werner Sembach
2026-09-03 11:27 ` [PATCH v3 0/6] platform/x86/tuxedo: Fixes for TUXEDO NB04 driver Aaron Erhardt
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=c5855c8d-6540-fe07-04e0-9e4173a6c27e@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=aer@tuxedocomputers.com \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=wse@tuxedocomputers.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®