Date: Tue, 15 Aug 2006 05:18:17 +0800 From: "Intron" <mag@intron.ac> To: "Sean Bryant" <bryants@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Questions about devices and input. Message-ID: <courier.44E0E899.00004676@intron.ac> In-Reply-To: <f6791cc60608141339h632876eemf186c25a551d4908@mail.gmail.com> References: <f6791cc60608131508x6e6c77d3i65e4b503be9eeee4@mail.gmail.com> <86bqqnyhlm.fsf@xps.des.no> <f6791cc60608141010q66cc1ddcl736e6032100a5dbe@mail.gmail.com> <861wrjjfap.fsf@xps.des.no> <f6791cc60608141339h632876eemf186c25a551d4908@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The section 4.11.1 "Removable Media Status Notification feature set" of ATA/ATAPI-7 (http://t13.org/docs2004/d1532v1r4b-ATA-ATAPI-7.pdf) reads, d) Host system periodically checks media status using the GET MEDIA STATUS command to determine if any of the following events occurred: - no media is present in the device (NM). - media was changed since the last command (MC). - a media change request has occurred (MCR). - media is write protected (WP). ------------------------------------------------------------------------ From Beijing, China Sean Bryant wrote: > Thanks anyway :( > On 8/14/06, Dag-Erling Smo/rgrav <des@des.no> wrote: >> "Sean Bryant" <bryants@gmail.com> writes: >> > How about when media is loaded. I have a detection routine that'll ask >> > for media, but what about when any media is loaded? Is there some kind >> > of event or some way I can be notified. >> >> Sorry, no. >> >> DES >> -- >> Dag-Erling Smo/rgrav - des@des.no >> > > > -- > Sean Bryant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.44E0E899.00004676>