volanin
May 26th, 2009, 10:13 PM
The eject key has been dead for me since the Intrepid days, and I never found a solution to fix it properly. Today I was navigating through some ubuntu bugs (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/131818), and I finally found a proper solution posted by Martin Filip. To fix it, just create the file /etc/hal/fdi/policy/eject.fdi, and copy these lines into it:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="button">
<match key="info.product" string="Apple Computer Apple Internal Keyboard / Trackpad">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
</match>
</device>
</deviceinfo>
Then, restart hal and xorg.
Or alternativelly, restart ubuntu completely.
If it does not work for you at first, try uninstalling the mouseemu package.
Enjoy!
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="button">
<match key="info.product" string="Apple Computer Apple Internal Keyboard / Trackpad">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
</match>
</device>
</deviceinfo>
Then, restart hal and xorg.
Or alternativelly, restart ubuntu completely.
If it does not work for you at first, try uninstalling the mouseemu package.
Enjoy!