From: Pavel Machek <pavel@ucw.cz>
To: Andreas Bergmeier <abergmeier@gmx.net>
Cc: linux-leds@vger.kernel.org
Subject: Re: Proposal: Add color_temperature support
Date: Sat, 29 Oct 2022 20:32:11 +0200 [thread overview]
Message-ID: <20221029183211.GA14351@duo.ucw.cz> (raw)
In-Reply-To: <CABfF9mNcem--3Yf3wZ8Pgmvq3A4AgAj1tFN9bsQOqfJLtnqhkQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]
Hi!
> > > On the device Logitech Litra Glow it is possible to set not only the
> > > brightness but also the color temperature (both via usb as well as via
> > > hardware).
> > > I am currently trying to add support for the device - and expose it
> > > via LED - into the kernel.
> > > So to support all device capabilities I am proposing to extend LEDs by
> > > color temperature:
> > > And initial patch for the headers:
> >
> > Internally, the litra glow is something like RGB LED, right? Can we
> > support it as a multicolor LED?
> The litra glow has 2 control dimensions - brightness and color temperature.
> Both dimensions can be controlled in something of a continuous range
> (not sure whether these are strictly linear or not).
> Thus mapping to RGB would look like more of a very sparse array.
> Also, not sure which exact RGB value you would map a color temperature
> to anyway.
> So at first glance supporting it as a multicolor LED does not seem a
> good match to me.
Hmm, and there are likely to be more lights like this, right? OTOH it
is not really an indicator LED -- using capslock trigger makes little
sense with this one.
I guess it makes sense to support this in LED subsystem. I believe it
should be only supported for "white" LEDs. I believe first step is
defining an userspace API in Documentation.
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-10-29 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-29 9:54 Proposal: Add color_temperature support Andreas Bergmeier
2022-10-29 16:52 ` Pavel Machek
2022-10-29 17:11 ` Andreas Bergmeier
2022-10-29 18:32 ` Pavel Machek [this message]
2022-10-29 19:18 ` Andreas Bergmeier
2022-11-03 20:37 ` Andreas Bergmeier
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=20221029183211.GA14351@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=abergmeier@gmx.net \
--cc=linux-leds@vger.kernel.org \
/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