- Add support for more Nokia phones from their WMP10 drivers

This commit is contained in:
Bastien Nocera 2008-10-25 14:32:10 +00:00
parent e7f5f4ab5d
commit 82813e354f
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,31 @@
Index: src/music-players.h
===================================================================
RCS file: /cvsroot/libmtp/libmtp/src/music-players.h,v
retrieving revision 1.84
diff -u -p -u -p -r1.84 music-players.h
--- src/music-players.h 24 Oct 2008 20:52:48 -0000 1.84
+++ src/music-players.h 25 Oct 2008 14:19:44 -0000
@@ -468,6 +468,14 @@
{ "Nokia", 0x0421, "E71", 0x00e4, DEVICE_FLAG_NONE },
// From: Laurent Bigonville <bigon@users.sourceforge.net>
{ "Nokia", 0x0421, "E66", 0x00e5, DEVICE_FLAG_NONE },
+ // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_3250_WMP10_driver.inf
+ { "Nokia", 0x0421, "3250 Mobile Phone", 0x0462, DEVICE_FLAG_NONE },
+ // From http://nds2.nokia.com/files/support/global/phones/software/Nokia_N93_WMP10_Driver.inf
+ { "Nokia", 0x0421, "N93 Mobile Phone", 0x0478, DEVICE_FLAG_NONE },
+ // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_5500_Sport_WMP10_driver.inf
+ { "Nokia", 0x0421, "5500 Sport Mobile Phone", 0x047e, DEVICE_FLAG_NONE },
+ // From http://nds2.nokia.com/files/support/global/phones/software/Nokia_N91_WMP10_Driver.inf
+ { "Nokia", 0x0421, "N91 Mobile Phone", 0x0485, DEVICE_FLAG_NONE },
// From: Christian Rusa <kristous@users.sourceforge.net>
{ "Nokia", 0x0421, "5700 XpressMusic Mobile Phone", 0x04b4, DEVICE_FLAG_NONE },
// From: Mitchell Hicks <mitchix@yahoo.com>
@@ -476,6 +484,8 @@
{ "Nokia", 0x0421, "N73 Mobile Phone", 0x04d1, DEVICE_FLAG_UNLOAD_DRIVER },
// From Swapan <swapan@yahoo.com>
{ "Nokia", 0x0421, "N75 Mobile Phone", 0x04e1, DEVICE_FLAG_NONE },
+ // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_N93i_WMP10_driver.inf
+ { "Nokia", 0x0421, "N93i Mobile Phone", 0x04e5, DEVICE_FLAG_NONE },
// From Anonymous Sourceforge User
{ "Nokia", 0x0421, "N95 Mobile Phone", 0x04ef, DEVICE_FLAG_NONE },
// From: Pat Nicholls <pat@patandannie.co.uk>

View File

@ -3,7 +3,7 @@
Name: libmtp
Version: 0.3.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A software library for MTP media players
URL: http://libmtp.sourceforge.net/
@ -18,6 +18,7 @@ BuildRequires: doxygen
Patch0: libmtp-0.2.6.1-simpler-rules.patch
Patch1: libmtp-nokia-n82.patch
Patch2: libmtp-add-more-nokia-phones.patch
%description
This package provides a software library for communicating with MTP
@ -48,6 +49,7 @@ library for MTP media players.
%setup -q
%patch0 -p1 -b .rules
%patch1 -p0 -b .n82
%patch2 -p0 -b .more-nokia
%build
%configure --disable-static --program-prefix=mtp-
@ -101,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Oct 25 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-3
- Add support for more Nokia phones from their WMP10 drivers
* Fri Oct 24 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-2
- Add support for the Nokia N82