Re: Floppy handling

From: Jens Axboe (axboe@suse.de)
Date: Fri Jun 09 2000 - 07:22:40 EST


On Fri, Jun 09 2000, H. Peter Anvin wrote:
> > 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.

ide-floppy could be easily modified to support this.

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

Yes, it does.

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs

- 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/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:18 EST