Hi Michael, On 06/30/2011 07:31 AM, Michael Schloh von Bennewitz wrote: > 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. > Patch has been applied with a slightly reformatted commit message. Regards, -Denis