Re: [Intel-gfx] [PATCH 3/3] xf86-video-intel: Add a helper for setting backlight without root rights

2014-02-15 Thread Hans de Goede
Hi, On 02/15/2014 12:52 PM, Chris Wilson wrote: > On Sat, Feb 15, 2014 at 09:48:14AM +0100, Hans de Goede wrote: >> Hi, >> >> On 02/15/2014 12:54 AM, Chris Wilson wrote: >>> On Sat, Feb 15, 2014 at 12:02:37AM +0100, Hans de Goede wrote: Once the xserver stops running as root on kms capabable

[Intel-gfx] [PATCH] xf86-video-intel: Unbreak build on OpenBSD

2014-02-15 Thread Mark Kettenis
Fallout from the backlight helper changes. diff --git a/src/backlight.c b/src/backlight.c index b04b5f7..adc3e94 100644 --- a/src/backlight.c +++ b/src/backlight.c @@ -59,7 +59,9 @@ #ifdef __OpenBSD__ +#include #include +#include int backlight_set(struct backlight *b, int level) { dif

Re: [Intel-gfx] [PATCH] intel: Add a helper for setting backlight without root rights

2014-02-15 Thread Chris Wilson
On Sat, Feb 15, 2014 at 11:53:30AM +, Chris Wilson wrote: > From: Hans de Goede > > Once the xserver stops running as root on kms capabable systems, we will need > some other way to access the backlight. > > The approach taken in this patch leaves most of the heavy lifting (wrt > doing every

[Intel-gfx] [PATCH] intel: Add a helper for setting backlight without root rights

2014-02-15 Thread Chris Wilson
From: Hans de Goede Once the xserver stops running as root on kms capabable systems, we will need some other way to access the backlight. The approach taken in this patch leaves most of the heavy lifting (wrt doing everything suid root safe) to pkexec, as is done in ie gnome-settings-daemon, whi

Re: [Intel-gfx] [PATCH 3/3] xf86-video-intel: Add a helper for setting backlight without root rights

2014-02-15 Thread Chris Wilson
On Sat, Feb 15, 2014 at 09:48:14AM +0100, Hans de Goede wrote: > Hi, > > On 02/15/2014 12:54 AM, Chris Wilson wrote: > >On Sat, Feb 15, 2014 at 12:02:37AM +0100, Hans de Goede wrote: > >>Once the xserver stops running as root on kms capabable systems, we will > >>need > >>some other way to access

Re: [Intel-gfx] [PATCH 3/3] xf86-video-intel: Add a helper for setting backlight without root rights

2014-02-15 Thread Hans de Goede
Hi, On 02/15/2014 12:54 AM, Chris Wilson wrote: On Sat, Feb 15, 2014 at 12:02:37AM +0100, Hans de Goede wrote: Once the xserver stops running as root on kms capabable systems, we will need some other way to access the backlight. The approach taken in this patch leaves most of the heavy lifting