Keyboard Backlight Support
Alex Murray
murray.alex at gmail.com
Mon Oct 11 04:41:09 PDT 2010
On 11 October 2010 19:34, Richard Hughes <hughsient at gmail.com> wrote:
> On 9 October 2010 08:43, Alex Murray <murray.alex at gmail.com> wrote:
>> 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,
>
> I've applied this with a few changes, thanks. Please can you verify
> I've not broken things.
>
Thanks - yep looks great.
>> 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?
>
> Yes, I think that makes sense to restrict this to at-console.
Okay will send through another patch soon.
Thanks again,
Alex
>
> Richard.
>
More information about the devkit-devel
mailing list