Huawei EM770W SIM card issues

2010-08-05 Thread Florian Mayer (Mayer Electronics)

Hello,

we encountered the following problem with the EM770W: If the SIM card is 
plugged in after our test system is powered on, it is not recognised in 
ofono. Even if we restart ofonod after plugging in the SIM card. We use 
the 2.6.35~rc5 kernel from Meego 1.1 trunk because we encountered 
problems in the option driver with Kernel 2.6.33.3 (the communication 
got stuck from time to time). For ofono we use the latest 0.26 and for 
connman 0.55.


Is this a bug relted to ofono or a limitation of the Huawei hardware?

Regards
Florian Mayer
Mayer Electronics
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Enabling/disabling the GPS part of a Huawei EM770W

2010-08-13 Thread Florian Mayer (Mayer Electronics)

Hello folks,

is it possible to enable / disable the GPS part of a Huawei EM770W 3G 
modem through a DBUS command? It is done with the command AT^WPDGP and 
AT^WPEND on the modem (tested it on PCUI port). Or is it possible to 
send generic AT commands through DBUS?


Regards
Florian Mayer

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


ppp0 interface is not configured

2010-08-17 Thread Florian Mayer (Mayer Electronics)

Hello all,

we currently test the PPP dialup with a Huawei EM770W modem. We can 
connect with create-context and activate context but the ppp device is 
not configured. connman says that the device is not connected. We use 
connman 0.55 and ofono 0.26.

What did we do wrong? The kernel is 2.6.35~pre5 from Meego 1.1 devel.

Regards
Florian Mayer
Mayer Electronics

# /usr/lib/ofono/test/list-modems
[ /huawei0 ]
   Features = sms gprs cbs net sim
   Powered = 1
   Interfaces = org.ofono.SmsManager org.ofono.DataConnectionManager 
org.ofono.CellBroadcast org.ofono.NetworkRegistration 
org.ofono.SupplementaryServices org.ofono.SimManager

   Online = 1
   Model = EM770W
   Manufacturer = huawei
   Serial = xyz
   Revision = 11.126.10.81.00
   [ org.ofono.SmsManager ]
   UseDeliveryReports = 0
   Bearer = cs-preferred
   ServiceCenterAddress = +49171076
   [ org.ofono.DataConnectionManager ]
   Powered = 1
   Attached = 1
   PrimaryContexts = /huawei0/primarycontext1
   RoamingAllowed = 1
   [ org.ofono.CellBroadcast ]
   Topics =
   Powered = 1
   [ org.ofono.NetworkRegistration ]
   Status = registered
   Strength = 70
   Name = T-Mobile D
   Operators = /huawei0/operator/26201
   LocationAreaCode = 34591
   Mode = auto
   MobileCountryCode = 262
   CellId = 5950877
   MobileNetworkCode = 01
   [ org.ofono.SupplementaryServices ]
   State = idle
   [ org.ofono.SimManager ]
   SubscriberNumbers =
   LockedPins =
   SubscriberIdentity = xyz
   Present = 1
   PinRequired = none

# /usr/lib/ofono/test/list-contexts
[ /huawei0 ]
   [ /huawei0/primarycontext1 ]
   Username =
   Protocol = ip
   Name = 3G Connection
   Settings = { Interface=ppp0 Netmask=255.255.255.255 
Method=static DomainNameServers=193.254.160.1,10.74.83.22, 
Address=88.128.36.75 }

   Active = 1
   AccessPointName = internet.t-d1.de
   Password =
   Type = internet

# /usr/lib/connman/test/list-networks

[ /org/moblin/connman/device/262012020178698 ]
   [ /org/moblin/connman/device/262012020178698/primarycontext1 ]
   Device = /org/moblin/connman/device/262012020178698
   Strength = 70
   Connected = 0
   Name = T-Mobile D

# /usr/lib/connman/test/list-devices

[ /org/moblin/connman/device/262012020178698 ]
   Networks = /org/moblin/connman/device/262012020178698/primarycontext1
   Type = cellular
   Name = Cellular
   Powered = 1



___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


ppp0 interface is not configured

2010-08-17 Thread Florian Mayer (Mayer Electronics)

Hello all,

we currently test the PPP dialup with a Huawei EM770W modem. We can 
connect with create-context and activate context but the ppp device is 
not configured. connman says that the device is not connected. We use 
connman 0.55 and ofono 0.26.

What did we do wrong? The kernel is 2.6.35~pre5 from Meego 1.1 devel.

Regards
Florian Mayer
Mayer Electronics

# /usr/lib/ofono/test/list-modems
[ /huawei0 ]
   Features = sms gprs cbs net sim
   Powered = 1
   Interfaces = org.ofono.SmsManager org.ofono.DataConnectionManager 
org.ofono.CellBroadcast org.ofono.NetworkRegistration 
org.ofono.SupplementaryServices org.ofono.SimManager

   Online = 1
   Model = EM770W
   Manufacturer = huawei
   Serial = xyz
   Revision = 11.126.10.81.00
   [ org.ofono.SmsManager ]
   UseDeliveryReports = 0
   Bearer = cs-preferred
   ServiceCenterAddress = +49171076
   [ org.ofono.DataConnectionManager ]
   Powered = 1
   Attached = 1
   PrimaryContexts = /huawei0/primarycontext1
   RoamingAllowed = 1
   [ org.ofono.CellBroadcast ]
   Topics =
   Powered = 1
   [ org.ofono.NetworkRegistration ]
   Status = registered
   Strength = 70
   Name = T-Mobile D
   Operators = /huawei0/operator/26201
   LocationAreaCode = 34591
   Mode = auto
   MobileCountryCode = 262
   CellId = 5950877
   MobileNetworkCode = 01
   [ org.ofono.SupplementaryServices ]
   State = idle
   [ org.ofono.SimManager ]
   SubscriberNumbers =
   LockedPins =
   SubscriberIdentity = xyz
   Present = 1
   PinRequired = none

# /usr/lib/ofono/test/list-contexts
[ /huawei0 ]
   [ /huawei0/primarycontext1 ]
   Username =
   Protocol = ip
   Name = 3G Connection
   Settings = { Interface=ppp0 Netmask=255.255.255.255 
Method=static DomainNameServers=193.254.160.1,10.74.83.22, 
Address=88.128.36.75 }

   Active = 1
   AccessPointName = internet.t-d1.de
   Password =
   Type = internet

# /usr/lib/connman/test/list-networks

[ /org/moblin/connman/device/262012020178698 ]
   [ /org/moblin/connman/device/262012020178698/primarycontext1 ]
   Device = /org/moblin/connman/device/262012020178698
   Strength = 70
   Connected = 0
   Name = T-Mobile D

# /usr/lib/connman/test/list-devices

[ /org/moblin/connman/device/262012020178698 ]
   Networks = /org/moblin/connman/device/262012020178698/primarycontext1
   Type = cellular
   Name = Cellular
   Powered = 1



___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: ppp0 interface is not configured

2010-08-17 Thread Florian Mayer (Mayer Electronics)

Marcel Holtmann schrieb:

Hi Florian,

  
we currently test the PPP dialup with a Huawei EM770W modem. We can 
connect with create-context and activate context but the ppp device is 
not configured. connman says that the device is not connected. We use 
connman 0.55 and ofono 0.26.

What did we do wrong? The kernel is 2.6.35~pre5 from Meego 1.1 devel.



I never tested this with the EM777W modem, but with the Huawei modems I
have it works just fine.

Especially if it shows the DataConnectionManager interface since then
you have this properly setup and running.

  

[ org.ofono.DataConnectionManager ]
Powered = 1
Attached = 1
PrimaryContexts = /huawei0/primarycontext1
RoamingAllowed = 1
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 70
Name = T-Mobile D
Operators = /huawei0/operator/26201
LocationAreaCode = 34591
Mode = auto
MobileCountryCode = 262
CellId = 5950877
MobileNetworkCode = 01



  

# /usr/lib/ofono/test/list-contexts
[ /huawei0 ]
[ /huawei0/primarycontext1 ]
Username =
Protocol = ip
Name = 3G Connection
Settings = { Interface=ppp0 Netmask=255.255.255.255 
Method=static DomainNameServers=193.254.160.1,10.74.83.22, 
Address=88.128.36.75 }

Active = 1
AccessPointName = internet.t-d1.de
Password =
Type = internet



This looks like an active Internet context. How did you activate this
one. Via ConnMan or via activate-context test script. If via the script,
then I think that ConnMan is not picking this up. I think that is a bug
in ConnMan.

What does list-services from ConnMan says? The devices and networks are
actually irrelevant.
  

Hello,

thanks for the fast reply.
Yes I activated the context with the ofono activate-context script. I 
tested this method some time ago with connman 0.54 and ofono 0.24. There 
it worked.

Here is the result of connman list-services:
[ /profile/default/cellular_262012020178698_primarycontext1 ]
   AutoConnect = false
   Strength = 74
   Name = T-Mobile D
   SetupRequired = true
   Nameservers = [ ]
   Proxy = { }
   Favorite = false
   Domains.Configuration = [ ]
   State = idle
   IPv4 = { }
   Nameservers.Configuration = [ ]
   Mode = gprs
   Domains = [ ]
   Ethernet = { }
   Roaming = 0
   IPv4.Configuration = { }
   Type = cellular
   Immutable = false
   LoginRequired = false

How can I activate the the service from connman side via command line?
To get it right: each created context in ofono (and in the modem) is a 
service for connman, right?
I have to provide some hardware testing scripts for my customer. They 
want to do it automated.


Regards
Florian


Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

  


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono