Commit 6e74c8bc authored by Thomas Schmitt's avatar Thomas Schmitt

Allowed DVD +/- DL for reading

parent fdbed06f
#define Cdrskin_timestamP "2008.02.07.232820"
#define Cdrskin_timestamP "2008.02.08.073414"
......@@ -1422,6 +1422,7 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len)
disc_status = 2; /* always full and finalized */
d->erasable = 0; /* never erasable */
}
switch (disc_status) {
case 0:
d->toc_entries = 0;
......@@ -1445,6 +1446,15 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len)
break;
}
/* ts A80207 : DVD +/- R DL can normally be read but not be written */
if((d->current_profile == 0x2b || d->current_profile == 0x15) &&
!d->current_is_supported_profile) {
if(d->status == BURN_DISC_APPENDABLE)
d->status = BURN_DISC_FULL;
d->erasable = 0; /* never erasable */
d->current_is_supported_profile = 1;
}
if ((d->current_profile != 0 || d->status != BURN_DISC_UNREADY)
&& ! d->current_is_supported_profile) {
if (!d->silent_on_scsi_error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment