From: Nicolas Paccou <nicolas.paccou@linux.intel.com>
To: ofono@ofono.org
Subject: RE: Incoming patch HS2330 detection, plugins/udev.c
Date: Wed, 20 Jul 2011 12:55:28 +0000 [thread overview]
Message-ID: <004401cc46dc$48a564d0$d9f02e70$@paccou@linux.intel.com> (raw)
In-Reply-To: <1309437084-3062-1-git-send-email-ofonoconn@encambio.com>
[-- Attachment #1: Type: text/plain, Size: 2146 bytes --]
Hi Michael,
I'm Nicolas Paccou, I'm in charge of validating the changes applied in new
oFono release.
Unfortunately, I have not the hardware to be able to regress your patch.
I wanted to know if you have tested your patch on HS2330 modem ?
If yes, can you tell me if the result is ok ?
If not, do you able to test it and tell me the result please ?
Thanks,
Nicolas
-----Original Message-----
From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of
Michael Schloh von Bennewitz
Sent: Thursday, June 30, 2011 2:31 PM
To: Ofono List
Subject: Incoming patch HS2330 detection, plugins/udev.c
This patch is assembled according to discussions on #ofono
irc.freenode.net and mailing list thread 'Problem detecting/using wwan0
modem' in June 2011, after comprehensive guidance from Denis KENZIOR.
Denis had already modified plugins/udev.c in git commit
6a2847f7aba5d84b06940ee29300d4b6fd31d682 to correct detection of
OEM Ericsson F3607gw modems relabeled by HP and sold as HS2330.
Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.
Michael Schloh von Bennewitz
http://michael.schloh.com/
30 June 2011
Index: plugins/udev.c
diff -Nau plugins/udev.c.orig plugins/udev.c
--- plugins/udev.c.orig 2011-06-30 13:42:29.279704948 +0200
+++ plugins/udev.c 2011-06-30 13:43:48.117205221 +0200
@@ -134,6 +134,7 @@
(g_str_has_suffix(desc, "Minicard Data Modem") ||
g_str_has_suffix(desc, "Mini-Card Data Modem") ||
g_str_has_suffix(desc, "Module Data Modem") ||
+ g_str_has_suffix(desc, "Module\xc2\xa0""Data Modem")
||
g_str_has_suffix(desc, "Broadband Data Modem"))) {
devnode = udev_device_get_devnode(udev_device);
ofono_modem_set_string(modem, DATA_DEVICE, devnode);
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono
next prev parent reply other threads:[~2011-07-20 12:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 15:45 Problem detecting/using wwan0 modem ofonoconn
2011-06-27 14:12 ` Denis Kenzior
2011-06-27 17:25 ` ofonoconn
2011-06-27 15:53 ` Denis Kenzior
2011-06-27 18:43 ` ofonoconn
2011-06-27 16:46 ` Denis Kenzior
2011-06-27 19:04 ` ofonoconn
2011-06-27 17:21 ` Denis Kenzior
2011-06-27 19:32 ` Michael Schloh von Bennewitz
2011-06-28 17:05 ` ofonoconn
2011-06-28 20:07 ` Michael Schloh von Bennewitz
2011-06-30 12:31 ` Incoming patch HS2330 detection, plugins/udev.c Michael Schloh von Bennewitz
2011-06-30 6:47 ` Denis Kenzior
2011-06-30 19:46 ` Michael Schloh von Bennewitz
2011-06-30 20:20 ` Marcel Holtmann
2011-07-02 19:08 ` Michael
2011-07-20 12:55 ` Nicolas Paccou [this message]
2011-06-27 17:38 ` Problem detecting/using wwan0 modem ofonoconn
2011-06-27 15:50 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004401cc46dc$48a564d0$d9f02e70$@paccou@linux.intel.com' \
--to=nicolas.paccou@linux.intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.