Backlight control only in the kernel?

2013-08-07 Thread Aaron Lu
On 08/07/2013 03:44 PM, Borislav Petkov wrote: > On Sun, Jun 09, 2013 at 07:01:36PM -0400, Matthew Garrett wrote: >> Windows 8 introduced new policy for backlight control by pushing it out to >> graphics drivers. This appears to have coincided with a range of vendors >> adding Windows 8 checks to t

Backlight control only in the kernel?

2013-08-07 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 10:36:08AM +, Matthew Garrett wrote: > Not really. The ACPI driver is able to do this because the events and > the backlight are associated with the same device. Well, it doesn't work at least in my case. I need to echo stuff into /sys/class/backlight/intel_backlight :

Backlight control only in the kernel?

2013-08-07 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 05:03:15PM +0800, Aaron Lu wrote: > I think this would require the kernel has the knowledge of which > backlight interface this system is using or should be using, or it > wouldn't know which interface should receive and process the event... Well, we can have a default one,

Backlight control only in the kernel?

2013-08-07 Thread Matthew Garrett
On Wed, 2013-08-07 at 09:44 +0200, Borislav Petkov wrote: > Background is that on my x230, I needed to connect the > Fn-Fx backlight hotkey presses to a script to write to > /sys/class/backlight/intel_backlight/brightness because Fluxbox doesn't > do that (and maybe doesn't have to). > > So, with

Backlight control only in the kernel?

2013-08-07 Thread Borislav Petkov
On Sun, Jun 09, 2013 at 07:01:36PM -0400, Matthew Garrett wrote: > Windows 8 introduced new policy for backlight control by pushing it out to > graphics drivers. This appears to have coincided with a range of vendors > adding Windows 8 checks to their backlight control code which trigger either > a

Re: Backlight control only in the kernel?

2013-08-07 Thread Matthew Garrett
On Wed, 2013-08-07 at 09:44 +0200, Borislav Petkov wrote: > Background is that on my x230, I needed to connect the > Fn-Fx backlight hotkey presses to a script to write to > /sys/class/backlight/intel_backlight/brightness because Fluxbox doesn't > do that (and maybe doesn't have to). > > So, with

Re: Backlight control only in the kernel?

2013-08-07 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 10:36:08AM +, Matthew Garrett wrote: > Not really. The ACPI driver is able to do this because the events and > the backlight are associated with the same device. Well, it doesn't work at least in my case. I need to echo stuff into /sys/class/backlight/intel_backlight :

Re: Backlight control only in the kernel?

2013-08-07 Thread Borislav Petkov
On Wed, Aug 07, 2013 at 05:03:15PM +0800, Aaron Lu wrote: > I think this would require the kernel has the knowledge of which > backlight interface this system is using or should be using, or it > wouldn't know which interface should receive and process the event... Well, we can have a default one,

Re: Backlight control only in the kernel?

2013-08-07 Thread Aaron Lu
On 08/07/2013 03:44 PM, Borislav Petkov wrote: > On Sun, Jun 09, 2013 at 07:01:36PM -0400, Matthew Garrett wrote: >> Windows 8 introduced new policy for backlight control by pushing it out to >> graphics drivers. This appears to have coincided with a range of vendors >> adding Windows 8 checks to t

Backlight control only in the kernel?

2013-08-07 Thread Borislav Petkov
On Sun, Jun 09, 2013 at 07:01:36PM -0400, Matthew Garrett wrote: > Windows 8 introduced new policy for backlight control by pushing it out to > graphics drivers. This appears to have coincided with a range of vendors > adding Windows 8 checks to their backlight control code which trigger either > a