Re: Asynchronous CDROM Events in Userland

From: Jens Axboe (axboe@suse.de)
Date: Mon Feb 04 2002 - 04:39:56 EST


On Mon, Feb 04 2002, Gregor Jasny wrote:
> Am Montag, 4. Februar 2002 08:57 schrieb Jens Axboe:
> > Yep, _no_ drives to date support queued event notification. However, a
> > polled approach is really not too bad -- it simply means that we'll push
> > it to user space instead. I've written a small utility for reference.
>
> You're wrong.

Not likely

> PLEXTOR CD-R PX-W2410A
> media removal
> eject request
> media removal
> media removal
>
> HITACHI DVD-ROM GD-2500
> no media change
> new media
> media removal

I'm wrong about what? If you mean that my test app works, then yes of
course it works. It's a synchronous command poll for media status. I
said that _queued event notification_ isn't implemented in any drives.

Did you read the code?

-- 
Jens Axboe

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:32 EST