Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
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.
Created an attachment (id=38750) [edit] eject-2.0.13-toggle-support.patch Add a -T option to eject to toggle the tray.
could you perhaps make the current behavior a fall back routine and use the syscalls() by default ?
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.
Nathaniel wants this one... ;-)
thanks, added to eject-2.0.13-r2