diff options
author | Michael Biebl <biebl@debian.org> | 2010-12-28 10:24:52 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:38:23 +0100 |
commit | 19eba87ab9fad48b84589f4d2fb36371e37949fe (patch) | |
tree | ac8dde131a92dd47bc0c46c1bab01e90e274cf73 | |
parent | c71fd20fa3fe751b50321179c8e4a547d369e1aa (diff) |
Imported Debian patch 0.4+git.20100624t180933.6e79d15-2debian/0.4+git.20100624t180933.6e79d15-2
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/patches/01-nokia-n900-longer-port-delay.patch | 30 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 38 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 71feb5d..c744baa 100644 --- a/debian/changelog +++ b/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 --git a/debian/patches/01-nokia-n900-longer-port-delay.patch b/debian/patches/01-nokia-n900-longer-port-delay.patch new file mode 100644 index 0000000..e68762e --- /dev/null +++ b/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 diff --git a/debian/patches/series b/debian/patches/series index efe1532..3e19043 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ # patches for modemmanager +01-nokia-n900-longer-port-delay.patch |