Keyboard Backlight Support

Alex Murray murray.alex at gmail.com
Sat Oct 9 00:43:08 PDT 2010


On 8 October 2010 19:03, Richard Hughes <hughsient at gmail.com> wrote:
> On 7 October 2010 13:14, Alex Murray <murray.alex at gmail.com> wrote:
>> Thanks Richard will see what I can come up with - also what is the
>> best way to post patches for review once I've got something together?
>
> Email either me or the mailing list. If you need help, grab me on IRC
> -- I'm "hughsie".
How about something like the attached patch - provides a new interface
org.freedesktop.UPower.KbdBacklight which Get/SetBrightness and
GetMaxBrightness methods, plus a BrightnessChanged signal. I plan to
start work on g-p-m next to support using this to control the
backlight from userspace,

One question is that this doesn't provide any authentication / access
control to the dbus interface - if anything I thought that at_console
would be the only restriction if anything, but any thoughts on this
would be appreciated - i.e. at the moment any local user can control
the backlight - perhaps this should be restricted to at_console?

Cheers
Alex
>
> Thanks,
>
> Richard.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-controlling-leds-keyboard-backlights.patch
Type: text/x-patch
Size: 21885 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20101009/f18917d7/attachment-0001.bin>


More information about the devkit-devel mailing list