2016-01-11 19:52 GMT+02:00 matti kaasinen <[email protected]>:
> What does list-contexts show? Can you do test/online-modem and
>> test/activate-context, test/process-context-settings?
>>
> I don't think I have had issues with these before. The last one I have not
> tried, though.
>
I tested these commands with following outcome:
huawei plugged
=>
connmanctl monitor reports new cellular interface (Powered=False)
test/list-contexts
=>
[ /huawei_0 ]
[ /huawei_0/context1 ]
Username =
AuthenticationMethod = chap
Protocol = ip
Name = Internet
Settings = { }
IPv6.Settings = { }
Active = 0
AccessPointName = internet
Password =
Type = internet
test./list-modems
=>
[ /huawei_0 ]
Features = sms gprs rat sim
Emergency = 0
Powered = 1
Lockdown = 0
Interfaces = org.ofono.Phonebook org.ofono.SmartMessaging
org.ofono.PushNotification org.ofono.MessageManager
org.ofono.ConnectionManager org.ofono.RadioSettings org.ofono.AudioSettings
org.ofono.VoiceCallManager org.ofono.SimManager
Online = 0
Model = E3131
Revision = 21.157.14.00.78
Type = hardware
Serial = 866715019103353
Manufacturer = huawei
[ org.ofono.Phonebook ]
[ org.ofono.SmartMessaging ]
[ org.ofono.PushNotification ]
[ org.ofono.MessageManager ]
Alphabet = default
UseDeliveryReports = 0
Bearer = cs-preferred
ServiceCenterAddress = +358508771010
[ org.ofono.ConnectionManager ]
Powered = 1
Attached = 0
Bearer = none
RoamingAllowed = 0
[ org.ofono.RadioSettings ]
UmtsBand = any
TechnologyPreference = any
GsmBand = any
[ org.ofono.AudioSettings ]
Active = 0
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 08 000 999 110 112 911 118 119
[ org.ofono.SimManager ]
Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10]
MobileCountryCode = 244
FixedDialing = 0
SubscriberNumbers =
PreferredLanguages = fi sv en de fr
BarredDialing = 0
Traceback (most recent call last):
File "./list-modems", line 81, in <module>
print(" %s = %s" % (key, val))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in
position 127: ordinal not in range(128)
test/online-modem
=>
- lots of traffic in ofono log
- modem switches from blinking green to blinking blue
- connmanctl monitor reports cellular interface (Powered=True + other
status)
activate-context
=>
Error activating /huawei_0/context1: org.ofono.Error.NotImplemented:
Implementation not provided
test/process-context-settings
=> nothing visible, just returns
BTW: Is it time for the patch, yet? It seems that there is still something
wrong in set-up.
To compare how the old Huawei 3131 works. Everything listed below takes
place in one sequence after plugging modem. No manual intervention is
required.
..ofonod: plugins/udevng.c:check_usb_device() usb [12d1:14db]
..ofonod: plugins/udevng.c:check_usb_device() usb [(null):(null)]
..ofonod: plugins/udevng.c:check_usb_device() cdc_ether [(null):(null)]
..ofonod: plugins/udev.c:udev_event() subsystem net add
..ofonod: plugins/udev.c:udev_event() subsystem net finished
..ofonod: plugins/udevng.c:check_usb_device() cdc_ether [12d1:14db]
..ofonod: plugins/udevng.c:add_device()
/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1
..ofonod: plugins/udevng.c:add_device()
/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/net/eth1
..ofonod: plugins/udevng.c:add_device() eth1 (huawei) 2/6/0 ==> (null)
(null)
..ofonod: plugins/udevng.c:check_modem_list()
..ofonod: plugins/udevng.c:create_modem()
/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1
..ofonod: plugins/udevng.c:create_modem() driver=huawei
..ofonod: src/modem.c:ofono_modem_create() name: (null), type: huawei
..ofonod: plugins/udevng.c:setup_huawei()
/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1
..ofonod: plugins/udevng.c:setup_huawei() eth1 2/6/0 00 (null)
..ofonod: plugins/udevng.c:destroy_modem()
/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1
..ofonod: src/modem.c:ofono_modem_remove() 0x11c3c8
..ofonod: plugins/udevng.c:destroy_modem() eth1
connmanctl monitor reports followin service:
Service ethernet_582c80139263_cable IPv4 = [ Method=dhcp,
Address=192.168.1.100, Netmask=255.255.255.0 ]
Connection in eth1 is active.
Note that driver listed is not kernel drive, like with new 3131 but most
likely ofono driver - at least it is not listed with lsmod. Also there is
no at traffic at all reported from ofonod.
-Matti
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono