Re: LED devices & poll() for brightness attribute

From: Pali RohÃr
Date: Fri Feb 24 2017 - 03:58:32 EST


On Friday 24 February 2017 09:52:11 Hans de Goede wrote:
> Hi,
>
> On 24-02-17 09:50, Pali RohÃr wrote:
> >On Thursday 23 February 2017 22:03:21 Pavel Machek wrote:
> >>So, if you seriously want to do this, can you
> >>
> >>1) write specification explaining how desktops should poll() the
> >>brightness files
> >>
> >>2) get someone to volunteer to implement that specification for at
> >>least GNOME and KDE?
> >
> >Hm... Probably I should try to implement it myself :-) and look deeply
> >what I'm proposing...
> >
> >Hans, you probably already did some changes for hw brightness changed
> >attribute... Do you have some links or application parts which handle
> >this for GNOME, KDE or other DE? So I could look at correct application?
> >
> >IIRC KDE4 uses upowerd for controlling keyboard backlight.
>
> Gnome uses upower too, and current upower master has patches to
> support brightness_hw_changed which you could use as a start.

Ok, thanks!

--
Pali RohÃr
pali.rohar@xxxxxxxxx