Re: Asynchronous CDROM Events in Userland

From: Jens Axboe (axboe@suse.de)
Date: Tue Feb 05 2002 - 02:43:15 EST


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/



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