Macbook brightness adjustment does not work because addon-macbook-backlight fails to mmap.
I have tested this under Ubuntu Hardy and Fedora Rawhide.
It worked in Hardy with hal 0.5.10+git20080301-1ubuntu3 and failed to work with
hal 0.5.11~rc2-1ubuntu1. Fedora Rawhide (as of today) didn't work either so I think the bug is in hal itself.
[snippet]
21:13:46.595 [D] hald_dbus.c:3294: udi=/org/freedesktop/Hal/devices/macbook_backlight
21:13:46.595 [I] hald_dbus.c:3320: AddonIsReady on udi '/org/freedesktop/Hal/devices/macbook_backlight'
21:13:46.595 [D] hald_dbus.c:3589: singleton_addon_is_ready
21:13:46.595 [I] hald_dbus.c:3616: SingletonAddonIsReady recieved for 'hald-addon-input'
21:13:46.595 [D] hald_dbus.c:3629: Signalling device added for queued devices
21:13:46.595 [D] hald_dbus.c:3633: device added for '/org/freedesktop/Hal/devices/computer_logicaldev_input'
21:13:46.622 [D] hald_dbus.c:3429: singleton_signal_device_changed about to send message to connection 0x80b32e0
** ERROR **: failed to mmap
aborting...
21:13:46.622 [I] hald_runner.c:110: runner_server_message_handler: destination=(null) obj_path=/org/freedesktop/HalRunner interface=org.freedesktop.HalRunner method=StartedProcessExited
21:13:46.622 [I] hald_runner.c:125: Previously started process with pid 11401 exited
21:13:46.622 [I] hald.c:84: in addon_terminated for udi=/org/freedesktop/Hal/devices/macbook_backlight
21:13:46.622 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/macbook_backlight but all addons are already ready!
Created an attachment (id=15846)
Hal log
Macbook brightness adjustment does not work because addon-macbook- backlight fails to mmap. git20080301- 1ubuntu3 and failed to work with rc2-1ubuntu1. Fedora Rawhide (as of today) didn't work either so I think the bug is in hal itself.
I have tested this under Ubuntu Hardy and Fedora Rawhide.
It worked in Hardy with hal 0.5.10+
hal 0.5.11~
See https:/ /bugs.launchpad .net/ubuntu/ +source/ hal/+bug/ 206921 for more info.
hal.log created with:
sudo /etc/init.d/hald stop
sudo hald --verbose=yes --daemon=no 2>&1 | tee /tmp/hal.log
[snippet] freedesktop/ Hal/devices/ macbook_ backlight op/Hal/ devices/ macbook_ backlight' addon_is_ ready sReady recieved for 'hald-addon-input' op/Hal/ devices/ computer_ logicaldev_ input' signal_ device_ changed about to send message to connection 0x80b32e0
21:13:46.595 [D] hald_dbus.c:3294: udi=/org/
21:13:46.595 [I] hald_dbus.c:3320: AddonIsReady on udi '/org/freedeskt
21:13:46.595 [D] hald_dbus.c:3589: singleton_
21:13:46.595 [I] hald_dbus.c:3616: SingletonAddonI
21:13:46.595 [D] hald_dbus.c:3629: Signalling device added for queued devices
21:13:46.595 [D] hald_dbus.c:3633: device added for '/org/freedeskt
21:13:46.622 [D] hald_dbus.c:3429: singleton_
** ERROR **: failed to mmap server_ message_ handler: destination=(null) obj_path= /org/freedeskto p/HalRunner interface= org.freedesktop .HalRunner method= StartedProcessE xited freedesktop/ Hal/devices/ macbook_ backlight inc_num_ ready_addons for udi=/org/ freedesktop/ Hal/devices/ macbook_ backlight but all addons are already ready!
aborting...
21:13:46.622 [I] hald_runner.c:110: runner_
21:13:46.622 [I] hald_runner.c:125: Previously started process with pid 11401 exited
21:13:46.622 [I] hald.c:84: in addon_terminated for udi=/org/
21:13:46.622 [E] device.c:1705: In hal_device_