Fix burning of blank BD-R disks.

When burning blank BD-R disks, dvd+rw-tools generate, at the end of the
process, the error message:

  :-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error

This patch fixes it. Tested by many people following Debian's bug report #713016.
Bug-Debian: https://bugs.debian.org/713016
Forwarded: no
Last-Update: 2015-02-20

Gbp-Pq: Name fix_burning_bd-r_discs.patch
This commit is contained in:
Thomas Schmitt 2022-05-23 18:36:29 +08:00 committed by openKylinBot
parent c8f022f6f9
commit 569d56e5ce
1 changed files with 2 additions and 0 deletions

View File

@ -814,6 +814,8 @@ static void bd_re_format (Scsi_Command &cmd)
wait_for_unit (cmd);
bdr_plus_pow = 1;
cmd[0] = 0x35; // FLUSH CACHE
cmd[9] = 0;
cmd.transport();