Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Problem detecting/using wwan0 modem
Date: Mon, 27 Jun 2011 10:50:45 -0500	[thread overview]
Message-ID: <4E08A6D5.3020300@gmail.com> (raw)
In-Reply-To: <20110627173847.GA5316@debut.europalab.com>

[-- Attachment #1: Type: text/plain, Size: 2513 bytes --]

Hi Michael,

On 06/27/2011 12:38 PM, ofonoconn(a)encambio.com wrote:
> 
> Hello again,
> 
> On 06/27/2011 10:45 AM, ofonoconn(a)encambio.com wrote:
>> On Mon., June 27, 2011, Denis KENZIOR wrote:
>>> On 06/27/2011 10:45 AM, ofonoconn(a)encambio.com wrote:
>>  meego$ find /etc/udev/
>>  /etc/udev/makedev.d/50-udev.nodes
>>  /etc/udev/rules.d/70-persistent-cd.rules
>>  /etc/udev/udev.conf
>>
>> ...and nowhere is ofono.rules. Is that the problem? In which package
>> are these things usually found? MeeGo includes 'ofono-0.58-1.4.i586'
>> and 'ofono-test-0.58-1.4.i586' only.
>>
>> ...but:
>>
>>  meego$ ls -1 /dev/.udev/db/*an*
>>  /dev/.udev/db/net:wlan0
>>  /dev/.udev/db/net:wwan0
>>
>> ...so even without a ofono.rules, the modem is being detected?

by udev, maybe.  However, it won't be detected by oFono without a
properly setup udev rule.

>>
>>> See plugins/udev.c add_mbm() for more details.  I see that we
>>> definitely do not cover the "Broadband Network Device" case that
>>> your modem is reporting.
>>>
> Hmmm.
> 
>   meego$ cat /dev/.udev/db/net\:wwan0
>   E:ID_VENDOR=ð_HP_hs2330_Mobile_Broadband_Module
>   E:ID_VENDOR_ENC=ð\x03HP\x20hs2330\x20Mobile\x20Broadband\x20Module
>   E:ID_VENDOR_ID=03f0
>   E:ID_MODEL=HP_hs2330_Mobile_Broadband_Module
>   E:ID_MODEL_ENC=HP\x20hs2330\x20Mobile\x20Broadband\x20Module
>   E:ID_MODEL_ID=271d
>   E:ID_REVISION=0000
>   E:ID_SERIAL=ð_HP_hs2330_Mobile_Broadband_Module_HP_hs2330_Mobile_Broadband_Module_0044017003593710
>   E:ID_SERIAL_SHORT=0044017003593710
>   E:ID_TYPE=generic
>   E:ID_BUS=usb
>   E:ID_USB_INTERFACES=:020800:020201:0a0000:020901:020a00:0a00ee:
>   E:ID_USB_INTERFACE_NUM=06
>   E:ID_USB_DRIVER=cdc_ether
>   E:ID_VENDOR_FROM_DATABASE=Hewlett-Packard
> 
> Is 'cdc_ether' the driver string entry which is missing from
> add_mbm() function? Is that why '/usr/lib/ofono/test/list-modems'
> comes up empty on my netbook?
> 

Code from add_mbm for reference:

        } else if (registered == 0 &&
                        (g_str_has_suffix(desc, "Minicard Network
Adapter") ||
                        g_str_has_suffix(desc, "Mini-Card Network
Adapter") ||
                        g_str_has_suffix(desc, "Broadband Network
Adapter") ||
                        g_str_has_suffix(desc, "Minicard
NetworkAdapter"))) {

Your modem (at least according to your earlier dmesg log) is reporting
the ethernet device as: Mobile Broadband Network Device

Regards,
-Denis

      reply	other threads:[~2011-06-27 15:50 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
2011-06-27 17:38     ` Problem detecting/using wwan0 modem ofonoconn
2011-06-27 15:50       ` Denis Kenzior [this message]

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=4E08A6D5.3020300@gmail.com \
    --to=denkenz@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox