After upgrading Xorg to version 1.5 my macbook eject key stopped working. It even stopped producing keycodes (no events seen in xev). Problem is that input.x11_driver is set by hal to evdev only to devices with capabilities containing input.mouse, input.touchpad or input.keys in default instalation. Eject key on Macbook's keyboard could be found on another (/dev/input/event6 in my case) input device than rest of a keyboard (/dev/input/event5 for me). And /dev/input/event6 has capabilities info.capabilities = {'input', 'button'} (string list) $ lshal -u /org/freedesktop/Hal/devices/usb_device_5ac_21a_noserial_if2_logicaldev_input udi = '/org/freedesktop/Hal/devices/usb_device_5ac_21a_noserial_if2_logicaldev_input' button.has_state = false (bool) info.addons.singleton = {'hald-addon-input'} (string list) info.capabilities = {'input', 'button'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_5ac_21a_noserial_if2' (string) info.product = 'Apple Computer Apple Internal Keyboard / Trackpad' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_21a_noserial_if2_logicaldev_input' (string) input.device = '/dev/input/event6' (string) input.originating_device = '/org/freedesktop/Hal/devices/usb_device_5ac_21a_noserial_if2' (string) input.product = 'Apple Computer Apple Internal Keyboard / Trackpad' (string) linux.device_file = '/dev/input/event6' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'input' (string) linux.sysfs_path = '/sys/class/input/input6/event6' (string) my solution is little .fdi file placed to /etc/hal/fdi/policy/12-eject.fdi which just sets input.x11_driver. Reproducible: Always Steps to Reproduce: 1. get macbook 2,1 2. start xev 3. hit eject key on your keyboard Actual Results: nothing happens Expected Results: I should see some events in xev output
Created attachment 189630 [details] my fdi file which enables Macbook eject key
woot I was just starting to get annoyed by this but didn't find anything on google. CCing x11 guys because it might be of interest for them (if only for migration guide)
I have noticed that my eject key on my Dell Studio 1737 also does not work. It used to work under gentoo, but not any more. I am not sure when it stopped working, so I cannot confirm the bit about xorg 1.5.
Hal went away. I guess this is wontfix then. Feel free to reopen if you still experience the problem.