Re: cdrecord: failure in auto-formatting DVD+RW Verbatim media on USB-TSSTcorp
Giulio Orsero <giulioo@gmail.com> wrote:
> On Tue, 13 Jan 2009 12:31:35 +0100, Joerg.Schilling@fokus.fraunhofer.de
> (Joerg Schilling) wrote:
>
> >This is why cdrecord does not auto-format the medium.
> >Your drive returns an incorrect disk type identifyer.
> >see drv_dvdplus.c:
> >
> > if (profile == 0x001A) {
> > dsp->ds_flags |= DSF_DVD_PLUS_RW; /* This is a DVD+RW */
> > if (dip->disk_status == DS_EMPTY && /* Unformatted */
> > dip->disk_type == SES_UNDEF) { /* Not a CD */
> >This way:
> > if (profile == 0x001A) {
> > dsp->ds_flags |= DSF_DVD_PLUS_RW; /* This is a DVD+RW */
> > if (dip->disk_status == DS_EMPTY) { /* Unformatted */
> >
>
> I can confirm the above change fixes the issue with the USB TSSTcorp burner.
Thank you for the feedback.
I changed the code to now only emit a warning in case the drive return illegal
data.
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Reply to: