dvd+rw-format fails with Plextor 716A
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
formatting a DVD-RW on my Plextor PX-716A results in the following error:
# dvd+rw-format -blank /dev/hdd
* DVDRW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
* 4.7GB DVD-RW media in Sequential mode detected.
* blanking /:-[ PERFORM OPC failed with SK=5h/ASC=27h/ACQ=00h]:
Input/output error
The OPC error stands for "write protected" (whatever this means...)
- From the source I saw that this OPC is ignored in growisofs_mmc.cpp.
I wonder why this is not also done in dvd+rw-format.cpp?
I did a quick hack, and it is working for me:
- --- dvd+rw-tools-5.21.4.10.8/dvd+rw-format.cpp 2004-04-20
00:32:14.000000000 +0200
+++ dvd+rw-tools-5.21.4.10.8_2/dvd+rw-format.cpp 2005-10-31
23:38:39.000000000 +0100
@@ -486,7 +486,8 @@
cmd[9] = 0;
cmd.timeout(120); // NEC units can be slooo...w
if ((err=cmd.transport()))
- - sperror ("PERFORM OPC",err), exit (1);
+ if (err!=0x52700) // "WRITE PROTECTED"
+ sperror ("PERFORM OPC",err), exit (1);
}
if (blank) // DVD-RW blanking procedure
Regards,
Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDZqJ3akKjgeZsCu4RAmQ9AKCIG8r3TLGdmC/iKpplhirrZ2nwfQCeJFPP
4LtZQiFuP6qPxMx1rqblBzI=
=G0ny
-----END PGP SIGNATURE-----
Reply to: