Date: Mon, 14 Aug 2006 16:02:32 +0800 From: "Intron" <mag@intron.ac> To: des@des.no Cc: freebsd-hackers@freebsd.org, Sean Bryant <bryants@gmail.com> Subject: Re: Questions about devices and input. Message-ID: <courier.44E02E18.00001263@intron.ac> In-Reply-To: <86psf3wz89.fsf@xps.des.no> References: <f6791cc60608131508x6e6c77d3i65e4b503be9eeee4@mail.gmail.com> <86bqqnyhlm.fsf@xps.des.no> <courier.44E01CE6.0000088A@intron.ac> <86psf3wz89.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling [iso-8859-1] Smo/rgrav wrote: > "Intron" <mag@intron.ac> writes: >> "Dag-Erling Smo/rgrav" <des@des.no> writes: >> > "Sean Bryant" <bryants@gmail.com> writes: >> > > I'm writing some cd buring software using burncd as a reference. >> > > I was wondering if its possible to detect opening and closing of >> > > the doors. >> > Unfortunately, no. The drive may not even have a door. >> Mr. smo/rgrav loves playing joke very much. > > No. Unlike you, I know what I'm talking about. > >> But most of CD/DVD drives have a door, though generally speaking, >> software cannot detect the open/close status of a door directly. > > http://www.plextor.com/english/products/716AL.htm What I said is "most of". This kind of drive may do harm to your CD/DVD disc if you fail to operate carefully enough. > >> However, software can command the drive to open/close its door. > > This is not what Sean wants. I want to tell Sean that he is not worth spending time in finding how to detect the open/close status of a drive door. If his program can open/close/lock/unlock the door and detect whether recording medium (CD/DVD) is present in drive or not and whether the drive is locked or not, that's enough, just as Nero (www.nero.com) can do. > > DES > -- > Dag-Erling Smo/rgrav - des@des.no ------------------------------------------------------------------------ From Beijing, China
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.44E02E18.00001263>