First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 62612
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrik Kullman <patrik@yes.nu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
eject-2.0.13-toggle-support.patch eject-2.0.13-toggle-support.patch patch Patrik Kullman 2004-09-02 05:33 0000 2.63 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 62612 depends on: Show dependency tree
Show dependency graph
Bug 62612 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-02 05:30 0000
I've tried to contact the eject-developer to implement a toggle of behaviour to
cd-roms. That is, eject should be able to figure out whether the tray is closed
or not.

I've made a patch for this, but since some of the syscalls aren't quite
implemented (at least for all devices), this patch is a workaround.

My goal is to be able to have the MacOSX style of ejecting/loading the cd-rom
tray with a single button in, for example, Gnome.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Patrik Kullman 2004-09-02 05:33:15 0000 -------
Created an attachment (id=38750) [edit]
eject-2.0.13-toggle-support.patch

Add a -T option to eject to toggle the tray.

------- Comment #2 From SpanKY 2005-02-12 21:06:32 0000 -------
could you perhaps make the current behavior a fall back routine and use the
syscalls() by default ?

------- Comment #3 From Patrik Kullman 2005-02-13 23:54:10 0000 -------
It feels like I long time ago I coded on this, but sure - I'll look into it.

But IIRC, I think the syscalls always returned the same status (ie. tray always open) or I would have made it a fallback routine from the start.

------- Comment #4 From Jakub Moc 2005-05-09 00:47:26 0000 -------
Nathaniel wants this one... ;-)

------- Comment #5 From SpanKY 2005-05-20 20:29:16 0000 -------
thanks, added to eject-2.0.13-r2

First Last Prev Next    No search results available      Search page      Enter new bug