Comment 14 for bug 206921

Revision history for this message
In , Steffen Röcker (sroecker) wrote :

Created an attachment (id=15846)
Hal log

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.

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]
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!