Re: DVD+RW-Booktype and BTC 1008 Drive
I finally had a chance to test dvd+rw-booktype for branding +R media
as -ROM, and it doesn't work. It seems that byte 4 of the CDB is not
the unit vs. media flag. For whatever reason, it has to be 0 to brand
as DVD-ROM, and 1 to brand as +/-R.
It doesn't make any sense to me either, but it's probably best to do
exactly as the Windows utility does (as outlined in
http://lists.debian.org/cdwrite/2004/cdwrite-200403/msg00185.html).
Pending feedback from Dave Woodward, that might also mean sending 20
zero bytes of data along with the command.
Here's a patch make -unit+r -dvd-rom-spec work:
--- dvd+rw-booktype.cpp.orig 2004-04-19 00:28:03.000000000 -0500
+++ dvd+rw-booktype.cpp 2004-04-29 14:55:15.000000000 -0500
@@ -418,7 +418,7 @@
cmd[0]=0xFA;
cmd[3]=book;
- cmd[4]=1;
+ cmd[4]=book==0x01?0:1;
cmd[10]=0xAA;
cmd[11]=0xFF;
if ((err=cmd.transport()))
--
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@azeotrope.org | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
Reply to: