On Wed, Mar 31, 2004 at 06:55:17PM +0200, Andy Polyakov wrote: > Where does this information come from? I mean there're several questions > and if you're just passing it by, then it's of interest to turn to > original source.
I used WinDbg and BTC's BitSetting utility available at http://www.drvupdate.com/download.htm > First of all can you confirm that this actually affects > DVD-dash recordings as well? For example there basically no difference > between 2nd and 3rd command, does unit really tell apart them and 2nd > command is meant for DVD+RW and 3rd - for DVD-RW? Note that it's > possible to modify booktype utility and program at least HP units to > brand DVD+RW as DVD-RW (it doesn't improve compatibility, but it's > possible to do). I'm not sure what you mean by your first sentence. You can set the book type for DVD-RW media to DVD-ROM. I haven't tried DVD-R media (I don't have anything I need to write yet and didn't feel like wasting a disc to test); the command succeeds without error. Here's what dvd+rw-mediainfo has to say about a -RW disc marked as -ROM: INQUIRY: [DVDRW ][IDE1008 ][0357] GET [CURRENT] CONFIGURATION: Mounted Media: 14h, DVD-RW Sequential Media ID: OPTODISCW002 Current Write Speed: 2.0x1385=2770KB/s Write Speed #0: 2.0x1385=2770KB/s Write Speed #1: 1.0x1385=1385KB/s Speed Descriptor#0: 00/1681231 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s Speed Descriptor#1: 00/1681231 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s READ DVD STRUCTURE[#10h]: Media Book Type: 32h, DVD-RW book [revision 2] Legacy lead-out at: 2298496*2KB=4707319808 READ DVD STRUCTURE[#0h]: Media Book Type: 01h, DVD-ROM book [revision 1] Last border-out at: 1681232*2KB=3443163136 READ DISC INFORMATION: Disc status: complete Number of Sessions: 1 State of Last Session: complete Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: complete Track Start Address: 0*2KB Free Blocks: 0*2KB Track Size: 1681232*2KB Last Recorded Address: 1681231*2KB FABRICATED TOC: Track#1 : [EMAIL PROTECTED] Track#AA : [EMAIL PROTECTED] Multi-session Info: [EMAIL PROTECTED] It does seem to restrict the book type depending on the current media. At least, when I try to change DVD+RW media to DVD-RW book, it gives me an error: # scsi -f /dev/rcd1c -c 'fa 00 32 00 00 00 00 00 00 00 aa ff' SCIOCCOMMAND ioctl: Command accepted. return status 3 (Sense Returned) host adapter status 2 Command out (12 of 12): fa 00 32 00 00 00 00 00 00 00 aa ff Error code is "current errors" Segment number is 00 Sense key is "Illegal request" The Information field is not valid but contains 00000000 (0). The Command Specific Information field is 00000000 (0). Additional sense code: 24 Additional sense code qualifier: 00 sense (32 of 48): 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 Setting it to +RW or -ROM works fine: # scsi -s 3 -f /dev/rcd1c -c 'fa 00 92 00 00 00 00 00 00 00 aa ff' # dvd+rw-mediainfo /dev/rcd1c|grep Book Media Book Type: 92h, DVD+RW book [revision 2] # scsi -s 3 -f /dev/rcd1c -c 'fa 00 01 00 00 00 00 00 00 00 aa ff' # dvd+rw-mediainfo /dev/rcd1c | grep Book Media Book Type: 01h, DVD-ROM book [revision 1] Similarly, I can't mark a -RW disc as +RW. "scsi" is an old utility from FreeBSD that lets you send arbitrary SCSI/ATAPI commands to devices. However, I'm running NetBSD on an alpha. The "-s 3" option sets the timeout to 3 seconds. Sometimes it takes a few seconds to return; other times it returns immediately. However, even when it does return immediately, the drive may still be writing to the media and will reject additional commands with ASC/ASCQ 04/08 (LUN not ready, long write in progress). > Is there command to ask unit for current settings? It > looks like commands are 10 bytes long, not 12... Questions like that... A. I don't know if it's possible to ask for current settings; the Windows utility doesn't report that information. And I count 12 bytes in the commands. Also, I just saw that BTC is sending documentation to the author of DVD Info Pro: http://www.netfarer.com/forums/index.php?showtopic=179 Perhaps they'd be willing to send you the same information... -- Name: Dave Huang | Mammal, mammal / their names are called / INet: [EMAIL PROTECTED] | 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++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

