[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: One for DVD+RW/hcn.html



Hi Andy,

> Could you test if format type 0x30 and subtype 0 works for your unit? A.

I did in dvd+rw-tools-7.1/dvd+rw-format.cpp :

    else if (mmc_profile==0x43) // BD-RE
    {   cmd[0] = 0x04;          // FORMAT UNIT
        cmd[1] = 0x11;          // "FmtData"|"Format Code"
        cmd[5] = 0;
        formats[i+1] = 0x82;    // "FOV"|"IMMED"
        if (full && (formats[i+4+4]>>2)!=0x31)
            formats[i+4+4] |= 2;// "Full Certificaton"
        else if ((formats[i+4+4]>>2)==0x30)
            formats[i+4+4] |= 3;// "Quick Certification"
+
+       /* >>> Experiment for Andy : does sub type 0 work ? */
+       if(formats[i+8] == 0xC3)
+           formats[i+8]= 0xC0;

+       fprintf(stderr, "\nCDB: %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X\n",
+               cmd[0], cmd[1], cmd[2], cmd[3], cmd[4], cmd[5]);
+       fprintf(stderr, "Format list: %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X\n",
+               formats[i+ 0], formats[i+ 1], formats[i+ 2], formats[i+ 3],
+               formats[i+ 4], formats[i+ 5], formats[i+ 6], formats[i+ 7],
+               formats[i+ 8], formats[i+ 9], formats[i+10], formats[i+11]);
+
        if ((err=cmd.transport(WRITE,formats+i,12)))
            sperror ("FORMAT UNIT",err), exit(1);


The run lasted at most 5 seconds:

  $ ./dvd+rw-format -force /dev/sr1
  * BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
  * 24.2GB BD media detected.
  * formatting 0.0|
   CDB: 00 11 00 00 00 00
   Format list: 00 82 00 08 00 B4 74 00 C0 00 00 00
  /
  $

The media content appears unaltered.
xorriso reports
  Media summary: 1 session, 11059045 data blocks, 21.1g data, 1498m free
and its file comparer says
  Both file objects match as far as expectable.

I wonder what side effects emerged at all.


Have a nice day :)

Thomas


Reply to: