From 4458bb130a155de4f69c9451ab09b3cb1c2a8959 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 6 Mar 2007 20:51:32 +0000 Subject: [PATCH] Enabled DVD+R as tested media (-multi is still always on) --- cdrskin/cdrskin.1 | 29 +++++++++++++++++++++-------- cdrskin/cdrskin_timestamp.h | 2 +- doc/comments | 8 +++++--- doc/cookbook.txt | 6 ++++-- libburn/mmc.c | 4 ++-- 5 files changed, 33 insertions(+), 16 deletions(-) diff --git a/cdrskin/cdrskin.1 b/cdrskin/cdrskin.1 index 5da8bf2..07bc798 100644 --- a/cdrskin/cdrskin.1 +++ b/cdrskin/cdrskin.1 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH CDRSKIN 1 "February 23, 2007" +.TH CDRSKIN 1 "March 6, 2007" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -16,8 +16,8 @@ .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME -cdrskin \- burns preformatted data to CD-R, CD-RW, DVD-R, DVD-RW, DVD+RW, -DVD-RAM via libburn. +cdrskin \- burns preformatted data to CD-R[W], DVD-R[W], DVD+R[W], DVD-RAM +via libburn. .SH SYNOPSIS .B cdrskin .RI [ options | track_source_addresses ] @@ -44,7 +44,7 @@ or in Session at Once mode for seamless tracks. .br Multi session on CD (follow-up sessions in TAO only) .br -and on DVD-RW or DVD-R (in Incremental write mode only). +or on DVD-R[W] (in Incremental mode) or on DVD+R. .br Single session on DVD-RW or DVD-R (Disk-at-once) .br @@ -136,14 +136,16 @@ Multiple cycles of blanking and overwriting with random numbers might be. .PP .B Sequentially Recordable DVD Media: .br -Currently only DVD-RW and DVD-R can be used for the Sequential recording model. +Currently DVD-RW, DVD-R and DVD+R can be used for the Sequential recording +model. +.br DVD-RW must be in state "Sequential Recording". The media must be either blank or appendable. Newly purchased DVD-RW and DVD-R media are in this state. Used DVD-RW get into blank sequential state by option .B blank=deformat_sequential . .br -Two write modes may be available: +With DVD-R[W] two write modes may be available: .br Mode DAO has many restrictions. It does not work with appendable media, allows no -multi and only a single track. The size of the @@ -168,10 +170,21 @@ unpredicted length and to keep media appendable by option .B -multi . The only restriction towards CD-R[W] is the lack of support for -audio tracks. Multiple tracks per session are permissible. +.br +The write modes for DVD+R both resemble DVD-R Incremental Streaming except +that with DVD+R each track gets wrapped in an own session. -sao does +reserve a track size whereas -tao writes the tracks open ended. They do not +make much difference in respect to the result, though. +.br +Currently DVD+R are always kept appendable regardless wether -multi is given +or not. This might change in future so it is strongly advised to already now +use +.B -multi +whenever the disc shall be kept appendable. .PP .B Overwriteable DVD Media: .br -Currently only types DVD+RW, DVD-RW and DVD-RAM can be overwritten via cdrskin. +Currently types DVD+RW, DVD-RW and DVD-RAM can be overwritten via cdrskin. .br DVD+RW and DVD-RAM media get treated as blank media regardless wether they hold data or not. They need no special initial formatting. @@ -649,7 +662,7 @@ This option is only needed for revoking eventual --ignore_signals or .BI \--allow_untested_media Enable the use of media profiles which have been implemented but not yet tested. Currently this applies to : profile 0015h , DVD-R/DL Sequential -(will not allow -multi). +(will not allow -multi) and to profile 002Bh, DVD+R/DL. .br If you really test such media, then please report the outcome on libburn-hackers@pykix.org diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 8e9a420..1ab28d3 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.03.06.195203" +#define Cdrskin_timestamP "2007.03.06.205312" diff --git a/doc/comments b/doc/comments index cce58be..2df4d3d 100644 --- a/doc/comments +++ b/doc/comments @@ -6,9 +6,11 @@ @section intro Introduction Libburnia is an open-source project for reading, mastering and writing -optical discs. For now this means CD-R, CD-RW, DVD-RAM, DVD+RW, DVD-RW, DVD-R. +optical discs. +For now this means CD-R, CD-RW, DVD-RAM, DVD+RW, DVD+R, DVD-RW, DVD-R. -Not supported yet are DVD+R, any dual layer media, HD-DVD, BD (blue ray). +Not supported yet are dual layer media, HD-DVD, BD (blue ray). Testers for +dual layer DVD+/-R are wanted, though. The project comprises of several more or less interdependent parts which together strive to be a usable foundation for application development. @@ -89,7 +91,7 @@ languages and development tools. libburner is a minimal demo application for the library libburn (see: libburn/libburn.h) as provided on http://libburn.pykix.org . It can list the available devices, can blank a CD-RW or DVD-RW and -can burn to CD-R, CD-RW, DVD-RAM, DVD+RW, DVD-RW, DVD-R. +can burn to recordable CD and recordable single layer DVD. It's main purpose, nevertheless, is to show you how to use libburn and also to serve the libburnia team as reference application. libburner does indeed diff --git a/doc/cookbook.txt b/doc/cookbook.txt index 807c4a9..693a97f 100644 --- a/doc/cookbook.txt +++ b/doc/cookbook.txt @@ -5,7 +5,7 @@ Content: - SAO CD Cookbook (CD-R, CD-RW, pure audio or pure data only) - Overwriteable DVD Cookbook (DVD-RAM, DVD+RW, DVD-RW) - Sequential DVD-R[W] Cookbook -- >>> DVD+R Cookbook (emerging, totally untested yet) +- DVD+R Cookbook (still emerging) ------------------------------------------------------------------------------- TAO Multi-Session CD Cookbook @@ -987,7 +987,7 @@ close session if multi-session is demanded. ------------------------------------------------------------------------------- - INCOMPLETE, YET TOTALLY UNTESTED + INCOMPLETE YET DVD+R Cookbook ------------------------------------------------------------------------------- @@ -1077,6 +1077,8 @@ Number 0 closes the DVD+R session but keeps the media appendable. (mmc5r03c.pdf 6.3.3.4.3) +>>> This is not tested yet. growisofs has code for that gesture but explicitly + avoids to use it. Instead it recommends to fill up the media with zeros. Eventually 5Bh CLOSE TRACK SESSION Close Function 101b is used to finalize the media with minimal radius. After that the disc is not appendable any more ! (mmc5r03c.pdf 6.3.3.4.4) diff --git a/libburn/mmc.c b/libburn/mmc.c index 4cb4fff..9dac376 100644 --- a/libburn/mmc.c +++ b/libburn/mmc.c @@ -1541,8 +1541,8 @@ void mmc_get_configuration(struct burn_drive *d) d->current_is_supported_profile = 1; #endif #ifdef Libburn_support_dvd_plus_R - if ((cp == 0x1b || cp == 0x2b) && - burn_support_untested_profiles) /* DVD+R , DVD+R/DL */ + if (cp == 0x1b || (cp == 0x2b && burn_support_untested_profiles)) + /* DVD+R , DVD+R/DL */ d->current_is_supported_profile = 1; #endif