Ok, we know that pommed works. addon-macbook-backlight in hal doesn't work. Thats strange, because pommed code and hal code are basically the same for adjusting the Macbook brightness.
The introduction of PolicyKit/ConsoleKit broke that part of code in hal.
I've run hal with more debug information (see attached patch) and got:
[E] addon-macbook-backlight.c:145: failed to mmap: errno:
'Success'
** ERROR **: failed to gain access to the video card
aborting...
I have no idea why this mmap fails.
To those who have a second or higher generation Macbook:
Do you run x86_64? Maybe this just doesn't work on 32bit.
Ok, we know that pommed works. addon-macbook- backlight in hal doesn't work. Thats strange, because pommed code and hal code are basically the same for adjusting the Macbook brightness. ConsoleKit broke that part of code in hal.
The introduction of PolicyKit/
I've run hal with more debug information (see attached patch) and got: backlight. c:145: failed to mmap: errno:
[E] addon-macbook-
'Success'
** ERROR **: failed to gain access to the video card
aborting...
I have no idea why this mmap fails.
To those who have a second or higher generation Macbook:
Do you run x86_64? Maybe this just doesn't work on 32bit.