Hi Michael,

On 06/27/2011 12:38 PM, [email protected] wrote:
> 
> Hello again,
> 
> On 06/27/2011 10:45 AM, [email protected] wrote:
>> On Mon., June 27, 2011, Denis KENZIOR wrote:
>>> On 06/27/2011 10:45 AM, [email protected] 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
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to