[Bug 1757030] Re: Lite-On DS8A1H Slimline fails to record dual layer DVD+R
Thomas Schmitt
scdbackup at gmx.net
Fri Mar 23 08:29:46 UTC 2018
Hi,
attached is a patch which enables SCSI logging to stderr in dvd+rw-tools.
It is based on dvd+rw-tools-7.1.tar.gz (MD5 8acb3c885c87f6838704a0025e435871).
There is no run-time control for this feature yet. Define or undefine
macro Libburnish_scsi_log_to_stderR and run "make" to enable or
disable the logging.
I tested it roughly by
$ ./dvd+rw-mediainfo /dev/sr0
INQUIRY
12 00 00 00 24 00
From drive: 36b
05 80 00 32 5b 00 00 00 41 53 55 53 20 20 20 20 42 57 2d 31
36 44 31 48 54 20 20 20 20 20 20 20 31 2e 30 31
4 ms
INQUIRY: [ASUS ][BW-16D1HT ][1.01]
TEST UNIT READY
00 00 00 00 00 00
+++ key=2 asc=3Ah ascq=01h ( 16 ms)
MODE SENSE
5a 08 2a 00 00 00 00 00 24 00
From drive: 36b
00 4a 70 00 00 00 00 00 2a 42 3f 37 f1 77 29 23 21 14 01 00
0f e0 21 14 00 10 21 14 21 14 00 01 00 00 00 00
4 ms
MODE SENSE
5a 08 2a 00 00 00 00 00 4c 00
From drive: 76b
00 4a 70 00 00 00 00 00 2a 42 3f 37 f1 77 29 23 21 14 01 00
0f e0 21 14 00 10 21 14 21 14 00 01 00 00 00 00 21 14 00 00
00 00 21 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8 ms
GET CONFIGURATION
46 01 00 00 00 00 00 00 08 00
From drive: 8b
00 00 00 9c 00 00 00 00
From drive: 8b
00 00 00 9c 00 00 00 00
8 ms
GET CONFIGURATION
46 01 00 00 00 00 00 00 a0 00
From drive: 160b
00 00 00 9c 00 00 00 00 00 00 03 48 00 43 00 00 00 42 00 00
00 41 00 00 00 40 00 00 00 2b 00 00 00 1b 00 00 00 1a 00 00
00 16 00 00 00 15 00 00 00 14 00 00 00 13 00 00 00 12 00 00
00 11 00 00 00 10 00 00 00 0a 00 00 00 09 00 00 00 08 00 00
00 02 00 00 00 01 0b 08 00 00 00 07 01 00 00 00 00 02 07 04
02 00 00 00 00 03 0b 04 39 00 00 00 01 00 03 00 01 05 07 04
00 00 00 00 01 08 03 0c 4b 39 43 46 39 32 41 35 30 31 32 20
01 0c 03 10 32 31 31 33 30 32 30 35 31 39 33 30 20 20 00 00
8 ms
GET [CURRENT] CONFIGURATION:
:-( no media mounted, exiting...
The time measurement is the coarse one from the SG_IO transaction.
One could improve this patch by importing the newer time measuring
code from libburn/spc.c function scsi_log_reply():
fprintf(fp, " %8.f us [ %.f ]\n",
duration * 1.0e6,
(burn_get_time(0) - lib_start_time) * 1.0e6);
But purchasing the necessary parameters is not totally trivial and i
will probably get to doing it soon.
Have a nice day :)
Thomas
** Patch added: "This patch enables SCSI logging to stderr in dvd+rw-tools"
https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1757030/+attachment/5087814/+files/dvd+rw-tools-scsi-log.patch
--
You received this bug notification because you are a member of Ubuntu
Burning Team, which is subscribed to dvd+rw-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1757030
Title:
Lite-On DS8A1H Slimline fails to record dual layer DVD+R
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1757030/+subscriptions
More information about the Ubuntu-burning
mailing list