From 40db9f1d812b786146d923391f3cc4ff6aaabe5d Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 13 Feb 2012 10:28:26 +0000 Subject: [PATCH] Added LG drive sense code 2 06 00 to error list (officially listed is 3 06 00) --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/spc.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 336c1d1..e2e8983 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.02.11.171228" +#define Cdrskin_timestamP "2012.02.13.102837" diff --git a/libburn/spc.c b/libburn/spc.c index fcc2733..d82d3a1 100644 --- a/libburn/spc.c +++ b/libburn/spc.c @@ -1090,6 +1090,12 @@ enum response scsi_error_msg(struct burn_drive *d, unsigned char *sense, else sprintf(msg, "Logical unit is not ready"); goto return_retry; + case 0x06: + if (*ascq == 0) + sprintf(msg, "No reference position found"); + else + break; + goto return_fail; case 0x08: if (*ascq == 0) sprintf(msg, "Logical unit communication failure");