Re: Asynchronous CDROM Events in Userland

Jens Axboe (axboe@suse.de)
Tue, 5 Feb 2002 08:43:15 +0100


On Mon, Feb 04 2002, hugang wrote:
> Now it can work!

?

The first 4 bytes is the event header, then followed by the media event
descriptor. The first byte of that is the media event (well bit 0-3
anyways). You are instead returning the media status byte.

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