Date: Mon, 16 Nov 1998 10:18:58 +0200 From: Sakari Jalovaara <sja@tekla.fi> To: ade@supernews.net Cc: current@FreeBSD.ORG, sos@freebsd.dk Subject: Re: ATAPI CD/R driver and Mitsumi CR-2600TE Message-ID: <9811160818.AA20583@poveri.tekla.fi>
next in thread | raw e-mail | index | archive | help
>..> acd0: rezero failed
I see this with an HP 8100 burner - apparently REZERO isn't supported.
A hack around it is to use START instead of REZERO. The doc for an
older HP model says those two commands are equivalent.
In sys/i386/isa/atapi-cd.c:
static int
acd_rezero_unit(struct acd *cdp)
{
#if 0
return acd_request_wait(cdp, ATAPI_REZERO_UNIT, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0);
#else
return acd_request_wait(cdp, ATAPI_START_STOP,
1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0);
#endif
}
>>>> acd_request_wait( ..., ATAPI_START_STOP, 1,0,0,0,0,0,0,0,0,0,0 );
>>>> acd_request_wait( ..., ATAPI_START_STOP, 1,0,0,1,0,0,0,0,0,0,0 );
> Hmm.. well, I tried that.. it failed on the first acd_request_wait
> (for the CDIOCSTOP equivalent), left the disk spinning inside the drive,
> and I couldn't get the disk out unless I halted the machine and hit
> the physical eject button whilst the machine was at the BIOS.
Try it with just the second (start) request.
++sja
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9811160818.AA20583>
