Eject key on Mac Pro not working

Bug #567365 reported by Dawning
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mactel Support
Confirmed
Low
Unassigned
linux (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

I've found that on my Mac Pro (Edit: Mac Pro 3,1) running Ubuntu 10.04 x64 Beta 2 (completely updated as of April 20th 2010), the eject key on the keyboard doesn't eject the CD tray. However, on my Macbook, with the exact same software setup, the key does work.

Update: As of Sept 14 2010, pressing the key will eject a CD, but will not retract the ejected tray.

In both cases the eject image appears in the upper-right corner of the screen momentarily. Just that a CD will eject on the laptop (MacBook) machine and doesn't with the desktop.

Edit: This had functioned correctly in 9.10

Revision history for this message
Dawning (dawning) wrote :

This seems to be a regression as it WAS working on 10.04 Beta 2 in the recent past.

Revision history for this message
Victor Vargas (kamus) wrote :

Please could you try to reproduce this issue using latest image of Ubuntu Lucid (final release) and check if this issue is still affecting you? Thanks

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Dawning (dawning) wrote :

I've just fully updated and yes, this issue remains. I'd like to reiterate, I'm using a Mac Pro (big desktop machine).

Revision history for this message
Dawning (dawning) wrote :

Any idea what package is responsible for eject support? When I press the eject button I see the overlay thing appear momentarily, just that on the mac pro, the cd tray no longer comes out. It works fine on my macbook however.

Revision history for this message
Adam Fabicki (adam-fabicki) wrote :

I'm having the same issue on a desktop PC running Ubuntu 10.04 x86 with the Apple Aluminium keyboard (05ac:1006). The graphical eject overlay appears whenever I press the eject button on the keyboard, the `eject` command works (including `eject -T` when the drive is open), and the eject button on my DVD drive always works. Pressing the eject button on the keyboard, however, only works if there is a disc in the DVD drive that is mounted and the drive tray is closed.

This feature was working correctly in Ubuntu 9.10

Revision history for this message
David Bogner (davidbogner) wrote :

Same problem with my Mac Pro. x64 and 2.6.32-24-server kernel.

Revision history for this message
Dawning (dawning) wrote :

I'm fully updated on x64 10.04 as of posting this (Sept 14 2010). For the moment, the key will work for ejecting only. Once the drive tray is out, subsequent pressing does not cause it to retract.

Adam Fabicki above described this quite eloquently. His observations are reflective of my experiences.

Revision history for this message
Dawning (dawning) wrote :

And I doubt this is of any help, but I'm on a Mac Pro 3,1.

Changed in mactel-support:
importance: Undecided → Low
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in mactel-support:
status: New → Confirmed
description: updated
Revision history for this message
Alexei Svitkine (alexei-svitkine) wrote :

This is still a problem on 11.04 with MacPro1,1.

The eject overlay is shown, so Ubuntu detects the key just fine, but the tray does not eject.

I can work around the problem by typing 'eject' from the command-line, which works just fine.

I don't see why Ubuntu shouldn't just execute the 'eject' utility when the key is pressed? This would solve the problem.

Revision history for this message
Theodotos Andreou (theodotos) wrote :

It also happens randomly on 11.10 (oneiric). Sometimes it works and sometimes it doesn't. Retraction is not working at all! Using the "eject" command on command line works and "eject -t" causes the drive to retract correctly.

Is there any info I can send you to help troubleshooting the issue?

Revision history for this message
penalvch (penalvch) wrote :

Dawning, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc3

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
penalvch (penalvch)
tags: added: lucid needs-kernel-logs needs-upstream-testing regression-release
Revision history for this message
Chris Sebes (cjsebes) wrote :

Just wanted to add my experience which mirrors what others have reported. I'm on a Mac Pro tower 1,1 running Ubuntu 12.04LTS. When I press the eject button on the aluminum keyboard, the eject icon appears in the upper right corner of the screen but the tray will not open. I can, however, use the terminal command to make it eject.

Revision history for this message
penalvch (penalvch) wrote :

Chris Sebes, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.