public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Multiple video backlight devices on Dell laptop
@ 2014-01-11  3:22 Bradley Baetz
  2014-01-14  2:49 ` Aaron Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Bradley Baetz @ 2014-01-11  3:22 UTC (permalink / raw)
  To: linux-acpi

Hi,

I have a Dell Vostro 3560 laptop, with hybrid graphics (intel + radeon).

This exposes 3 backlight devices - acpi_video0, acpi_video1, and
intel_backlight. Only the intel_backlight/brightness file actually
changes the backlight. Is this a kernel bug, or should userspace
'know' which backlight file to use based on which graphics device is
active? XFCE picks the first one it finds (acpi_video0), which doesn't
work.

I was using acpi_backlight=vendor, but some recent changes to memory
allocation seem to have exposed that that SMM method is not safe to
use with EFI... (see http://marc.info/?t=138811462300004&r=1&w=2)

I've uploaded my ACPI tables to http://members.optusnet.com.au/bbaetz1/acpi.tgz

Bradley

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple video backlight devices on Dell laptop
  2014-01-11  3:22 Multiple video backlight devices on Dell laptop Bradley Baetz
@ 2014-01-14  2:49 ` Aaron Lu
  2014-01-14 12:34   ` Bradley Baetz
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Lu @ 2014-01-14  2:49 UTC (permalink / raw)
  To: Bradley Baetz, linux-acpi

On 01/11/2014 11:22 AM, Bradley Baetz wrote:
> Hi,
> 
> I have a Dell Vostro 3560 laptop, with hybrid graphics (intel + radeon).
> 
> This exposes 3 backlight devices - acpi_video0, acpi_video1, and
> intel_backlight. Only the intel_backlight/brightness file actually
> changes the backlight. Is this a kernel bug, or should userspace
> 'know' which backlight file to use based on which graphics device is
> active? XFCE picks the first one it finds (acpi_video0), which doesn't
> work.

Solving it from userspace:
You can specify which backlight interface to use by editing /etc/xorg.conf:
 Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "AccelMethod"     "sna"
    Option      "Backlight"       "intel_backlight" # use your backlight that works here
    Driver      "intel"
    BusID       "PCI:0:2:0"
 EndSection

See https://wiki.archlinux.org/index.php/Backlight

solving it from kernel space:
Since the firmware claims support of win8, you can forget the
acpi_backlight=vendor cmdline option and just use video.use_native_backlight=1.

Hope it helps.
-Aaron

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple video backlight devices on Dell laptop
  2014-01-14  2:49 ` Aaron Lu
@ 2014-01-14 12:34   ` Bradley Baetz
  0 siblings, 0 replies; 3+ messages in thread
From: Bradley Baetz @ 2014-01-14 12:34 UTC (permalink / raw)
  To: Aaron Lu; +Cc: linux-acpi

On Tue, Jan 14, 2014 at 1:49 PM, Aaron Lu <aaron.lu@intel.com> wrote:
> On 01/11/2014 11:22 AM, Bradley Baetz wrote:
>> Hi,
>>
>> I have a Dell Vostro 3560 laptop, with hybrid graphics (intel + radeon).
>>
>> This exposes 3 backlight devices - acpi_video0, acpi_video1, and
>> intel_backlight. Only the intel_backlight/brightness file actually
>> changes the backlight. Is this a kernel bug, or should userspace
>> 'know' which backlight file to use based on which graphics device is
>> active? XFCE picks the first one it finds (acpi_video0), which doesn't
>> work.
>
> Solving it from userspace:
> You can specify which backlight interface to use by editing /etc/xorg.conf:
>  Section "Device"
>     Identifier  "Intel Graphics"
>     Driver      "intel"
>     Option      "AccelMethod"     "sna"
>     Option      "Backlight"       "intel_backlight" # use your backlight that works here
>     Driver      "intel"
>     BusID       "PCI:0:2:0"
>  EndSection
>
> See https://wiki.archlinux.org/index.php/Backlight
>
> solving it from kernel space:
> Since the firmware claims support of win8, you can forget the
> acpi_backlight=vendor cmdline option and just use video.use_native_backlight=1.

Thanks, that commandline option works on 3.13-rc.

Bradley

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-14 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11  3:22 Multiple video backlight devices on Dell laptop Bradley Baetz
2014-01-14  2:49 ` Aaron Lu
2014-01-14 12:34   ` Bradley Baetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox