From e2b643a730d6ebdd8016d22f2120d361b85b70ce7620eda9bb1e0eeb1361d294 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Dec 2008 13:49:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=25 --- cowon-iaudio7-fix.patch | 11 +++++++++++ libmtp.changes | 6 ++++++ libmtp.spec | 7 ++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 cowon-iaudio7-fix.patch diff --git a/cowon-iaudio7-fix.patch b/cowon-iaudio7-fix.patch new file mode 100644 index 0000000..0bf409d --- /dev/null +++ b/cowon-iaudio7-fix.patch @@ -0,0 +1,11 @@ +--- src/music-players.h ++++ src/music-players.h +@@ -576,7 +576,7 @@ + // Reported by Patrik Johansson + { "Cowon", 0x0e21, "iAudio U3 (MTP mode)", 0x0701, DEVICE_FLAG_NONE }, + // Reported by Roberth Karman +- { "Cowon", 0x0e21, "iAudio 7 (MTP mode)", 0x0751, DEVICE_FLAG_NONE }, ++ { "Cowon", 0x0e21, "iAudio 7 (MTP mode)", 0x0751, DEVICE_FLAG_UNLOAD_DRIVER }, + // Reported by an anonymous SourceForge user + { "Cowon", 0x0e21, "iAudio U5 (MTP mode)", 0x0761, DEVICE_FLAG_NONE }, + // Reported by TJ Something diff --git a/libmtp.changes b/libmtp.changes index 647ecd2..eccbc33 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 15 11:54:26 CET 2008 - meissner@suse.de + +- detach the Cowon iAudio 7 from usb-storage on start to make it work + bnc#457931 + ------------------------------------------------------------------- Fri Nov 7 23:52:13 CET 2008 - meissner@suse.de diff --git a/libmtp.spec b/libmtp.spec index 6ab8007..6c9984a 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -31,8 +31,9 @@ Group: Productivity/Multimedia/Sound/Players AutoReqProv: on Summary: Commandline utilities for access to MTP Players Version: 0.3.4 -Release: 1 +Release: 2 Source0: %name-%version.tar.bz2 +Patch0: cowon-iaudio7-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -126,6 +127,7 @@ Authors: %prep %setup -q +%patch0 -p0 %build %configure --program-prefix=mtp- --disable-static @@ -164,6 +166,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la %{_prefix}/include/libmtp.h %changelog +* Mon Dec 15 2008 meissner@suse.de +- detach the Cowon iAudio 7 from usb-storage on start to make it work + bnc#457931 * Fri Nov 07 2008 meissner@suse.de - upgraded to 0.3.4 * Check propdesc before setting props in create_new_abstract_list() (Richard)