Linux-kernel mailing list archive 2000-23,: Re: Floppy handling

# Re: Floppy handling

H. Peter Anvin (hpa@transmeta.com)
Fri, 09 Jun 2000 02:00:08 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Crispin Flowerday: "Software Raid on 2.2.16"
- Previous message: Oliver Teuber: "RAID 0.9 for 2.2.16?"
- Maybe in reply to: Richard Stallman: "Floppy handling"
- Next in thread: Alan Cox: "Re: Floppy handling"
- Next in thread: Khimenko Victor: "Re: Floppy handling"

Erik Andersen wrote:
>
> On Thu Jun 08, 2000 at 11:25:51PM -0700, H. Peter Anvin wrote:
> >
> > Now, CD-ROMs, IDE floppies, etc tend to be motorized and lockable. I
> > believe Microsoft has been pushing for an extension to the IDE
> > standard which will support media insert notification and
> > button-push-while-locked ("umount me now") notification. If that is
> > correct those would be easy to support.
>
> For cdroms, I tested the support available for this last fall. While the Mt.
> Fuji spec says you can do this, very few drives actually support Media Request
> Events and External Request Events, plus (the bad news) since no cdrom drive
> ever made supports asyncronous GET EVENT/STATUS NOTIFICATION commands, you have
> to actively poll the drive to make it work. Ugh. Fortunately, if somebody
> wants this type of thing, they can code it up in user space using the
> CDROM_SEND_PACKET ioctl.
>

Polling isn't so bad, however, it really bothers me that this is
CDROM-specific. We need a way to send packets to any device.

Second, does that give you indication of the user pressing the eject
button?

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Crispin Flowerday: "Software Raid on 2.2.16"
- Previous message: Oliver Teuber: "RAID 0.9 for 2.2.16?"
- Maybe in reply to: Richard Stallman: "Floppy handling"
- Next in thread: Alan Cox: "Re: Floppy handling"
- Next in thread: Khimenko Victor: "Re: Floppy handling"