mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Maximum values for multi_intensity sysfs attribute
@ 2026-02-14 19:15 Armin Wolf
  2026-03-03 20:11 ` Armin Wolf
  2026-03-04 11:45 ` Pőcze Barnabás
  0 siblings, 2 replies; 6+ messages in thread
From: Armin Wolf @ 2026-02-14 19:15 UTC (permalink / raw)
  To: linux-leds, Werner Sembach; +Cc: LKML

Hello,

i am currently adding support for RGB keyboard backlight control to the uniwill-laptop
driver, and want to use the multicolor LED class for that. However the hardware interface
is a bit exotic:

- 5 global brightness levels
- 50 intensity levels for each R/G/B channel

I am now asking myself how this should be mapped onto the multi_intensity sysfs attribute.
Should i set max_brightness to 5 and reject intensity values larger that 50? Or should
i set max_brightness to 50 and interpolate? What is the input range of intensity values?

Thanks,
Armin Wolf


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-04 11:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-14 19:15 Maximum values for multi_intensity sysfs attribute Armin Wolf
2026-03-03 20:11 ` Armin Wolf
2026-03-03 20:35   ` Werner Sembach
2026-03-03 20:43     ` Werner Sembach
2026-03-04 11:45 ` Pőcze Barnabás
2026-03-04 11:58   ` Werner Sembach

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®