Bug#608174: unblock: modemmanager/0.4+git.20100624t180933.6e79d15-2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: freeze-exception
Please unblock package modemmanager
I contains a single fix for Nokia N900. (#607982)
The patch is cherry-picked from upstream Git. [1]
Debdiff is attached.
unblock modemmanager/0.4+git.20100624t180933.6e79d15-2
[1]
http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=56665c1
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u modemmanager-0.4+git.20100624t180933.6e79d15/debian/changelog modemmanager-0.4+git.20100624t180933.6e79d15/debian/changelog
--- modemmanager-0.4+git.20100624t180933.6e79d15/debian/changelog
+++ modemmanager-0.4+git.20100624t180933.6e79d15/debian/changelog
@@ -1,3 +1,10 @@
+modemmanager (0.4+git.20100624t180933.6e79d15-2) unstable; urgency=low
+
+ * Nokia N900 appears to need a longer port delay.
+ Patch cherry-picked from upstream Git. (Closes: #607982)
+
+ -- Michael Biebl <biebl@debian.org> Tue, 28 Dec 2010 10:24:52 +0100
+
modemmanager (0.4+git.20100624t180933.6e79d15-1) unstable; urgency=low
[ Michael Biebl ]
diff -u modemmanager-0.4+git.20100624t180933.6e79d15/debian/patches/series modemmanager-0.4+git.20100624t180933.6e79d15/debian/patches/series
--- modemmanager-0.4+git.20100624t180933.6e79d15/debian/patches/series
+++ modemmanager-0.4+git.20100624t180933.6e79d15/debian/patches/series
@@ -1,0 +2 @@
+01-nokia-n900-longer-port-delay.patch
only in patch2:
unchanged:
--- modemmanager-0.4+git.20100624t180933.6e79d15.orig/debian/patches/01-nokia-n900-longer-port-delay.patch
+++ modemmanager-0.4+git.20100624t180933.6e79d15/debian/patches/01-nokia-n900-longer-port-delay.patch
@@ -0,0 +1,30 @@
+From 56665c19af431234ebe1b22cff9f0f9b9fb3d02f Mon Sep 17 00:00:00 2001
+From: Dan Williams <dcbw@redhat.com>
+Date: Fri, 09 Jul 2010 19:35:36 +0000
+Subject: nokia: N900 appears to need a longer port delay (rh #583691)
+
+---
+diff --git a/plugins/mm-modem-nokia.c b/plugins/mm-modem-nokia.c
+index eb90287..3cbea00 100644
+--- a/plugins/mm-modem-nokia.c
++++ b/plugins/mm-modem-nokia.c
+@@ -54,6 +54,7 @@ grab_port (MMModem *modem,
+ MMGenericGsm *gsm = MM_GENERIC_GSM (modem);
+ MMPortType ptype = MM_PORT_TYPE_IGNORED;
+ MMPort *port = NULL;
++ gulong send_delay = 5000;
+
+ if (suggested_type == MM_PORT_TYPE_UNKNOWN) {
+ if (!mm_generic_gsm_get_at_port (gsm, MM_PORT_TYPE_PRIMARY))
+@@ -71,6 +72,9 @@ grab_port (MMModem *modem,
+ mm_serial_parser_v1_e1_destroy);
+ }
+
++ /* N900 appears to need longer delay between port bytes */
++ g_object_set (G_OBJECT (port), MM_SERIAL_PORT_SEND_DELAY, send_delay, NULL);
++
+ return !!port;
+ }
+
+--
+cgit v0.8.3-6-g21f6
Reply to: