Re: [PATCH RFC leds-next] leds: initial support for Turris Omnia LEDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This was only RFC, please do not merge.

Jacek, Pavel,

I decided to abandon the microcontroller driver path.
But nonetheless there is still one thing I would like to solve.

The front button on Omnia is used to control the global brightness of
the RGB LEDs, so that user can change it if the LEDs glow too much.
The microcontroller does this as such: there is another PWM on top of
all the LED PWMs, and this value can be manipulated via the same i2c
interface as the LEDs, but via another command.

The thing is that I would like to somehow export this global brightness
setting to userspace, because otherwise it gets reset after reboot, and
I want the user to be able to set this global brightness by software,
so that they won't have to change it after every reboot manually by
pressing the front button.

I am wondering how to do this. Last year I proposed this by adding a
sysfs attribute file to the device which is parent to the LEDs, but you
did not agree :(

Marek



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux