[PATCH] eject -T support
Aurelien Jacobs
aurel at gnuage.org
Wed Oct 4 14:37:29 PDT 2006
On Mon, 2 Oct 2006 22:49:08 +0200
Denis Vlasenko <vda.linux at googlemail.com> wrote:
> On Sunday 01 October 2006 16:15, Tito wrote:
> > On Thursday 28 September 2006 23:59, Aurelien Jacobs wrote:
> > > Hi,
> > >
> > > This patch add support for the -T option to eject.
> > > It allows to open or close the tray depending on it's current state.
> > > It's very handy on embeded systems where you want to bind a single button
> > > to the tray opening/closing.
> > >
> > > Aurel
> > >
> >
> > Hi,
> > maybe you will take a look to this alternative implementation
> > that is simpler, less in size (at least accordingly to make bloatcheck)
> > and seems to do the same job (but i haven't tested it heavily....)
>
> Applied. Please yell if something doesn't work...
As I've said earlier, Tito's version doesn't work.
eject -T don't close the tray when it's open :-(
The ioctl(dev,CDROM_DRIVE_STATUS) is really needed.
Aurel
More information about the busybox
mailing list