From: Pavel Machek <pavel@ucw.cz>
To: "Manuel Schönlaub" <manuel.schoenlaub@gmail.com>
Cc: lains@riseup.net, jikos@kernel.org,
benjamin.tissoires@redhat.com, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] HID: logitech-hidpp: support Color LED feature (8071).
Date: Thu, 5 May 2022 10:25:12 +0200 [thread overview]
Message-ID: <20220505082512.GA14065@duo.ucw.cz> (raw)
In-Reply-To: <YjvVptj8exUCD7sx@hermes>
[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]
Hi!
> > > The HID++ protocol allows to set multicolor (RGB) to a static color.
> > > Multiple of such LED zones per device are supported.
> > > This patch exports said LEDs so that they can be set from userspace.
> > >
> > > Signed-off-by: Manuel Schönlaub <manuel.schoenlaub@gmail.com>
> >
> > Please cc LEDs stuff to the LED lists.
> >
>
> Will do. Though it seems like first we should discuss whether the kernel
> in fact is the right place, no?
Well, on embedded systems keyboard backlight is handled in kernel.
> > > + cdev = &mc_dev->led_cdev;
> > > + cdev->name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
> > > + "%s:rgb:indicator-%d", hdev->uniq, zone);
> >
> > So this is keyboard backlight? We should add the documentation at the
> > very least, so that other drivers use same name.
>
> I do not own a Logitech keyboard, but some mice. There are RGB leds
> that you can normally control with Windows software.
>
> I'd suppose (but could not verify) that supported keyboards by Logitech
> work with the same feature.
And I guess we should do the same for Logitech keyboards. Userspace
does not need to go to /sys/class/gpio... to control keyboard
backlight on Nokia cellphone, it should not need to talk USB directly
to control backlight on Logitech keyboards.
Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2022-05-05 8:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 23:50 Manuel Schönlaub
2022-03-23 21:04 ` Pavel Machek
2022-03-24 2:21 ` Manuel Schönlaub
2022-05-05 8:25 ` Pavel Machek [this message]
2022-03-23 21:22 ` Filipe Laíns
2022-03-23 22:24 ` Bastien Nocera
2022-03-24 3:28 ` Manuel Schönlaub
2022-03-24 9:32 ` Bastien Nocera
2022-03-24 16:10 ` Manuel Schönlaub
2022-05-05 8:29 ` Pavel Machek
2022-03-24 3:34 ` Manuel Schönlaub
2022-03-24 19:54 ` Benjamin Tissoires
2022-03-25 1:29 ` Manuel Schönlaub
2022-05-05 8:32 ` Pavel Machek
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=20220505082512.GA14065@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=lains@riseup.net \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manuel.schoenlaub@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®