Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261880 - eject -T does not work with certain drives.
Summary: eject -T does not work with certain drives.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 17:07 UTC by Peter Tworek
Modified: 2009-03-14 12:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openSUSE eject -T fix (bug-374526_eject-2.1.0-toggle.diff,591 bytes, patch)
2009-03-09 17:10 UTC, Peter Tworek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Tworek 2009-03-09 17:07:53 UTC
On my Mac Quicksilver eject -T opens cd tray but fails to close it. This bug is also described on both ubuntu and openSUSE bugzilla. From description it appears it also affects x86 based systems.


Reproducible: Always

Steps to Reproduce:
1. eject -T cdrom, CD tray opens
2. eject -T cdrom
Actual Results:  
Nothing happens. CD tray remains closed.

Expected Results:  
CD tray should eb closed.

Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/eject/+bug/91873
openSUSE bug repport: https://bugzilla.novell.com/show_bug.cgi?id=374526
Comment 1 Peter Tworek 2009-03-09 17:10:45 UTC
Created attachment 184474 [details, diff]
openSUSE eject -T fix

This patch taken from openSUES bugzilla seems like a proper way to fix this bug. I've tested it on my mac and it solves the problem.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 17:17:37 UTC
Do you know if this patch was already sent to the upstream maintainer of the eject package?

Reassigning to base-system herd.
Comment 3 Peter Tworek 2009-03-09 17:28:48 UTC
(In reply to comment #2)
> Do you know if this patch was already sent to the upstream maintainer of the
> eject package?

No, as far as I know this patch has not been sent uostream to eject maintainer. The last upstream change to eject also addresed a problem with -T option but it only fixed the problem on some systems.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 17:59:43 UTC
I also wonder if anybody tried the -t switch instead of -T with the unpatched version of eject...
Comment 5 Peter Tworek 2009-03-09 18:03:24 UTC
I've tried it and it works. Only -T is broken.
Comment 6 SpanKY gentoo-dev 2009-03-14 12:24:07 UTC
added 2.1.5-r2 with a cleaned up version of the patch

http://sources.gentoo.org/sys-apps/eject/files/eject-2.1.5-toggle.patch?rev=1.1