You are not logged in.

#1 2012-08-08 05:20:47

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

[SOLVED] Cannot change brightness or use xrandr in macbook pro

Hi, guys, I just install arch linux on macbook pro, but I couldn't change brightness of the screen.

I tried to write 1 to /sys/class/backlight/acpi_video0/brightness, the file has changed but the brightness did not. There are two directories under /sys/class/backlight, one is acpi_video0 and the other is apple_backlight, but neither worked.

I tried to use brightness configure in Gnome, it didn't work either.

The I tried to use xrandr, but it just output this:

→ xrandr                                                               13:11:13
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 800, current 1280 x 800, maximum 1280 x 800
default connected 1280x800+0+0 0mm x 0mm
   1280x800        0.0*

This is my graphic card information:

→ lspci -v | grep -A 8 VGA                                             13:15:02
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: Apple Inc. Device 00fa
    Flags: bus master, fast devsel, latency 0, IRQ 49
    Memory at a0000000 (64-bit, non-prefetchable) [size=4M]
    Memory at 90000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 2000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>

The keyboard to change brightness could show the icon but it doesn't actually  change it.

And I append nointremap and nomodeset in kernel line.

Any one could help? Thanks!

Update:

The Graphic card is Intel HD Graphics 4000 , and it can not work with xf86-video-intel package. I install all xf86-video-* package, but I don't know which one works.

Update:

Hi, all.

I can change the brightness now by delete the nomodeset in the kernel line. But the graph moved up a lot. There is an area of black at the bottom of the screen and xrandr is still not useable.

And there comes another problem: When I get to the console use ctrl+alt+F1, it just black.

Any help is welcome. Thank you!

Last edited by wb14123 (2012-08-10 02:51:04)

Offline

#2 2012-08-08 05:30:01

xcabal
Member
Registered: 2012-07-26
Posts: 48

Re: [SOLVED] Cannot change brightness or use xrandr in macbook pro

does your mac have Nvidia or Ati or Intel graphic card, if it is Nvidia install the nvidia drivers and run nvidia-utilities then edit and add the following under device
Option "RegistryDwords" "EnableBrightnessControl=1"

if not install pommed and nvidia-bl from AUR if that doesnt work then check the wiki for macs books and follow the instructions on compiling the special nvidia-bl

hope that helps

Last edited by xcabal (2012-08-08 05:34:19)

Offline

#3 2012-08-08 06:27:22

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

Re: [SOLVED] Cannot change brightness or use xrandr in macbook pro

Thanks. But from the lspci message above, I think I have an Intel graphic card.

xcabal wrote:

does your mac have Nvidia or Ati or Intel graphic card, if it is Nvidia install the nvidia drivers and run nvidia-utilities then edit and add the following under device
Option "RegistryDwords" "EnableBrightnessControl=1"

if not install pommed and nvidia-bl from AUR if that doesnt work then check the wiki for macs books and follow the instructions on compiling the special nvidia-bl

hope that helps

Last edited by wb14123 (2012-08-08 06:27:43)

Offline

#4 2012-08-09 05:48:49

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

Re: [SOLVED] Cannot change brightness or use xrandr in macbook pro

I have to not only install xf86-video-intel, but also install xf86-video-fbdev and xf86-video-vesa. And I tried to install apple-bl-gmux, but when load the module apple_gmux, it said gmux I/O are already in use. Is there any solution?

Update:

I uninstall xf86-video-intel and xf86-video-fbdev, it could work. But I still can not change the brightless.

Last edited by wb14123 (2012-08-09 07:02:37)

Offline

#5 2012-08-10 02:50:20

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

Re: [SOLVED] Cannot change brightness or use xrandr in macbook pro

Hi, guys.

I solved this by reinstall xf86-video-intel. And it works fine.

Offline

Board footer

Powered by FluxBB