From 97df45f7ab89a8c75d7487d626c1f3caedfd66b2 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 10 Sep 2016 08:30:36 +0000 Subject: [PATCH] Added a few ASCQ texts to error code 5,30,X --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/spc.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 68238c87..30a717ad 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2016.07.31.190417" +#define Cdrskin_timestamP "2016.09.10.083123" diff --git a/libburn/trunk/libburn/spc.c b/libburn/trunk/libburn/spc.c index 06f42b37..3193312b 100644 --- a/libburn/trunk/libburn/spc.c +++ b/libburn/trunk/libburn/spc.c @@ -1459,6 +1459,16 @@ enum response scsi_error_msg(struct burn_drive *d, unsigned char *sense, "Cannot format medium, incompatible medium"); else if (*ascq == 7) sprintf(msg, "Cleaning failure"); + else if (*ascq == 8) + sprintf(msg, + "Cannot write, application code mismatch"); + else if (*ascq == 9) + sprintf(msg, "Current session not fixated for append"); + else if (*ascq == 10) + sprintf(msg, "Medium not formatted"); + else if (*ascq == 11) + sprintf(msg, + "Cannot write medium, unsupported medium version"); else break; goto return_fail;