Keyboard Backlight Support

Richard Hughes hughsient at gmail.com
Mon Oct 11 02:04:44 PDT 2010


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.

> 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.

Richard.


More information about the devkit-devel mailing list