From: Bastien Nocera <hadess@hadess.net>
To: DevExalt <exalt.dev.team@gmail.com>,
jikos@kernel.org, bentiss@kernel.org
Cc: lains@riseup.net, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org,
sari.kreitem@exalt.corp-partner.google.com, hbarnor@google.com
Subject: Re: [PATCH v5] HID: logitech-hidpp: Add support for HID++ Multi-Platform feature (0x4531)
Date: Wed, 29 Jul 2026 17:02:09 +0200 [thread overview]
Message-ID: <537756340b790add6a3d79939b66f2213fbd6e9e.camel@hadess.net> (raw)
In-Reply-To: <20260701073727.53636-1-exalt.dev.team@gmail.com>
Hey,
On Wed, 2026-07-01 at 10:37 +0300, DevExalt wrote:
> +static DEVICE_ATTR_WO(platform);
> +
> +static struct attribute *multiplatform_attrs[] = {
> + &dev_attr_platform.attr,
> + NULL
> +};
> +
> +static const struct attribute_group multiplatform_attribute_group =
> {
> + .attrs = multiplatform_attrs,
> +};
I just realised that even though you retrieve the list of supported
platforms in the code to check whether it's supported, we don't have
any ways to read it. It would really be useful if that was fixed before
merging, it makes verifying that it works as expected much easier,
including whether it can tell user-space that the value changed too.
I tested this with a recent K980 Slim Solar+ keyboard, using the info
in this PDF to switch between macOS, Windows and Chrome using the
keyboard:
https://gzhls.at/blob/ldb/e/3/7/1/4d91f22c1050443f6235092b49270fd021e9.pdf
Shortcuts to switch between platforms:
macos: fn + O
windows: fn + P
chrome: fn + C
The F7 / screenshot key looks like it's something that changes usefully
between platforms:
- macOS: Shift+Win+4
- Windows: Shift+Win+S
- Chrome: SysRq
Testing by between all 3 platforms using both the keyboard keys, and
the sysfs attribute yielded the same results with the changing key
combination generated by the F7 key.
Happy to test again when you have read support added to the sysfs
attribute.
Cheers
next prev parent reply other threads:[~2026-07-29 15:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 8:08 [PATCH v2] HID: logitech-hidpp: Add support for HID++ Multi-Platform feature (0x4531) DevExalt
2026-06-25 8:18 ` sashiko-bot
2026-06-30 9:48 ` [PATCH v3] " DevExalt
2026-06-30 10:13 ` sashiko-bot
2026-07-01 6:30 ` [PATCH v4] " DevExalt
2026-07-01 6:43 ` sashiko-bot
2026-07-01 7:37 ` [PATCH v5] " DevExalt
2026-07-15 14:01 ` dev exalt
2026-07-27 14:04 ` Bastien Nocera
2026-07-29 15:02 ` Bastien Nocera [this message]
2026-08-02 11:50 ` [PATCH v6] " DevExalt
2026-08-02 11:58 ` sashiko-bot
2026-08-02 12:01 ` [PATCH v7] " DevExalt
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=537756340b790add6a3d79939b66f2213fbd6e9e.camel@hadess.net \
--to=hadess@hadess.net \
--cc=bentiss@kernel.org \
--cc=exalt.dev.team@gmail.com \
--cc=hbarnor@google.com \
--cc=jikos@kernel.org \
--cc=lains@riseup.net \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sari.kreitem@exalt.corp-partner.google.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