Skip to contentSkip to conversation

New: Backlight control via /sys/class/backlight/radeon_bl0 not working

Bug 65377 [email protected] 1 participant 10 messages Jun 4, 2013 – Jun 16, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=65377

Priority: medium
Bug ID: 65377
Assignee: [email protected]
Summary: Backlight control via /sys/class/backlight/radeon_bl0
not working
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI

This is a Macbook pro 8,2 with an Intel HD Graphics 3000 [8086:0116] and an AMD Radeon HD 6750M [1002:6741].
The backlight interface in /sys/class/backlight/radeon_bl0 does not work. Echoing to "brightness" does not change the brightness of the Monitor. There is also an apple_gmux interface, which works though.
I've bound xbacklight to the brightness keys to control the brightness, but it looks like it's confused about which interface it should use:

$ xbacklight -inc 5
No outputs have backlight property

When I disable the Radeon card on boot and use the Intel card, xbacklight works.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #1 from Alex Deucher <[email protected]> ---
If you are booting in EFI mode, does it work if you boot in legacy bios mode? Since it's a mac, it probably requires some mac specific hack.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #2 from Bastian Triller <[email protected]> --- (In reply to comment #1)

Quoted 2 lines

If you are booting in EFI mode, does it work if you boot in legacy bios mode? Since it's a mac, it probably requires some mac specific hack.

I'm booting via EFI stub. I'm not sure how to boot the bios emulation mode. Is it possible to plug in a usb stick with a "normal" live system to boot in emulation mode?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #3 from Alex Deucher <[email protected]> --- (In reply to comment #2)

Quoted 3 lines

I'm booting via EFI stub. I'm not sure how to boot the bios emulation mode. Is it possible to plug in a usb stick with a "normal" live system to boot in emulation mode?

I'm not sure.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #4 from Henri Verbeet <[email protected]> ---
I think it depends a bit on the specific model, but many Macs will only boot EFI from USB. Refind (http://www.rodsbooks.com/refind/index.html) is potentially a way around that, although I'm not entirely sure if that counts as booting in EFI mode or in BIOS mode.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #5 from Alex Deucher <[email protected]> ---
I believe the only way to control the backlight on the macs with multiple GPUs is via the gmux driver. Seems to be a mac specific thing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #6 from Bastian Triller <[email protected]> --- Booting a dd'ed image did not work. I'll have to find a disc to test it.

Looking into the xbacklight I saw that xbacklight tries to find a Backlught property on the output. xrandr lists this property on the intel output, but not on the radeon output.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #7 from Bastian Triller <[email protected]> --- The problem also exists if I boot in bios mode.

I didn't mention that, when using the intel card there only is the apple_gmux interface.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

--- Comment #8 from Alex Deucher <[email protected]> --- Created attachment 80624
--> https://bugs.freedesktop.org/attachment.cgi?id=80624&action=edit
don't register a radeon backlight

This patch should skip adding a radeon backlight interface on your mac.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 65377] Backlight control via /sys/class/backlight/radeon_bl0 not working

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=65377

Bastian Triller <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Bastian Triller <[email protected]> --- yes, /sys/class/backlight/radeon_bl0 device is gone.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel