From c8f022f6f9f0fb4800513f094df6547732d71d06 Mon Sep 17 00:00:00 2001 From: Optical Media Tools Team Date: Mon, 23 May 2022 18:36:29 +0800 Subject: [PATCH] blue-ray-bug713016 ## Description: Fix spurious "CLOSE SESSION failed" on BD-R ## Origin/Author: Thomas Schmitt ## Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713016 ## Description: Fix spurious "CLOSE SESSION failed" on BD-R ## Origin/Author: Thomas Schmitt ## Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713016 Gbp-Pq: Name 10-blue-ray-bug713016.patch --- growisofs_mmc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/growisofs_mmc.cpp b/growisofs_mmc.cpp index db1d42c..2518fd1 100644 --- a/growisofs_mmc.cpp +++ b/growisofs_mmc.cpp @@ -756,6 +756,9 @@ static void bd_r_format (Scsi_Command &cmd) wait_for_unit (cmd); + // debian bug #713016 + bdr_plus_pow = 1; + cmd[0] = 0x35; // FLUSH CACHE cmd[9] = 0; cmd.transport();