diff --git a/dvd+rw-tools-7.1-noevent.patch b/dvd+rw-tools-7.1-noevent.patch new file mode 100644 index 0000000..19c8c66 --- /dev/null +++ b/dvd+rw-tools-7.1-noevent.patch @@ -0,0 +1,19 @@ +diff -up dvd+rw-tools-7.1/transport.hxx.debug dvd+rw-tools-7.1/transport.hxx +--- dvd+rw-tools-7.1/transport.hxx.debug 2012-03-07 10:55:07.167322839 +0100 ++++ dvd+rw-tools-7.1/transport.hxx 2012-03-07 15:44:34.384202747 +0100 +@@ -1795,9 +1795,12 @@ static int handle_events (Scsi_Command & + break; + case 5: ret |= 1<<5; break; // Multiple Initiators + case 6: // Device Busy +- if ((event[4]&0xF)==1 && // Timeout occured +- (event[5]&0x3)!=0) +- { poll(NULL,0,(descr&0xFFFF)*100+100); ++ if ((event[4]&0xF)==1) // Timeout occured ++ { ++ if ((event[5]&0x3)==0) // No Event ++ return 0; // Ready to accept any command ++ ++ poll(NULL,0,(descr&0xFFFF)*100+100); + cmd[0] = 0; // TEST UNIT READY + cmd[5] = 0; + if ((err=cmd.transport())) diff --git a/dvd+rw-tools.spec b/dvd+rw-tools.spec index 204c89a..86716fc 100644 --- a/dvd+rw-tools.spec +++ b/dvd+rw-tools.spec @@ -1,7 +1,7 @@ Summary: Toolchain to master DVD+RW/+R media Name: dvd+rw-tools Version: 7.1 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 Group: Applications/Multimedia Source: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-%{version}.tar.gz @@ -12,6 +12,7 @@ Patch3: dvd+rw-tools-7.0-glibc2.6.90.patch Patch4: dvd+rw-tools-7.0-reload.patch Patch5: dvd+rw-tools-7.0-wctomb.patch Patch6: dvd+rw-tools-7.0-dvddl.patch +Patch7: dvd+rw-tools-7.1-noevent.patch URL: http://fy.chalmers.se/~appro/linux/DVD+RW/ Requires: mkisofs >= 2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -29,6 +30,7 @@ information see http://fy.chalmers.se/~appro/linux/DVD+RW/. %patch4 -p1 -b .reload %patch5 -p0 -b .wctomb %patch6 -p0 -b .dvddl +%patch7 -p1 -b .noevent install -m 644 %{SOURCE1} index.html @@ -52,6 +54,10 @@ rm -rf %{buildroot} %{_mandir}/man1/growisofs.1* %changelog +* Wed Mar 07 2012 Honza Horak - 7.1-7 +- applied patch from Petr Sumbera to handle Teac DVD drive timeout issue + Resolves: #799299 + * Fri Jan 13 2012 Fedora Release Engineering - 7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild