Re: Trouble using Huwei E160G

2011-04-06 Thread Claudio Degioanni
HI Caiwen,

Il 06/04/2011 10.36, Zhang, Caiwen ha scritto:
> Hi Claudio,
>
>> I have made the test proposed, I still recive the same error :)
> ofonod[2329]: drivers/atmodem/gprs-context.c:at_gprs_context_probe() 
> ofonod[2329]: Missing support for TUN/TAP devices
>
> It seems you device doesn't support TUN/TAP. at_gprs_context_probe return 
> -ENODEV,
> So it cause the gprs context driver is not set (ofono_gprs_context->driver is 
> NULL).
>> Any suggestion ?
> Remove TUN checking code, in 
> drivers/atmodem/gprs-context.c:at_gprs_context_probe()
>
> Hope it help.

Thank you very much for feedback, I have checked the target kernel and
support for TUN (CONFIG_TUN) it disabled.

regs
Claudio
> Caiwen
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

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


RE: Trouble using Huwei E160G

2011-04-06 Thread Zhang, Caiwen

Hi Claudio,

> I have made the test proposed, I still recive the same error :)

ofonod[2329]: drivers/atmodem/gprs-context.c:at_gprs_context_probe() 
ofonod[2329]: Missing support for TUN/TAP devices

It seems you device doesn't support TUN/TAP. at_gprs_context_probe return 
-ENODEV,
So it cause the gprs context driver is not set (ofono_gprs_context->driver is 
NULL).

> Any suggestion ?

Remove TUN checking code, in 
drivers/atmodem/gprs-context.c:at_gprs_context_probe()

Hope it help.

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


Re: Trouble using Huwei E160G

2011-04-06 Thread Claudio Degioanni
Hi all,

Il 05/04/2011 12.34, Claudio Degioanni ha scritto:
> Il 05/04/2011 12.09, Aygon, Bertrand ha scritto:
>> Hi,
>>
 From what I can see when you do the 'list-modem', your modem is already 
 enabled and online, so you do not have to do the >>./enable_modem and 
 ./online-modem.

 The PS context is also created (looking at ./list-contexts answer).

 So just the ./activate-context should be fine.

 But there is an error ... From what I can see in the source code, it 
 should be enable 'post sim'. And still according to source code, >>the 
 Huawei modem seems to skip some SIM status during warm start.

 So, can you please unplug replug the USB key, wait a few, just execute 
 ./list-modems and ./list-contexts (nothing else).
 You should see the modem enabled and online, and your context created. 
 If so, just execute ./activate-context
>>> I have made the test proposed, I still recive the same error :)
>>>
>>> I have attacched the new log of test. Ofono create the connection context, 
>>> but on activation it repond with not implemented.
>> Sorry, I have no idea, I have try all I have in mind, but now, we need the 
>> help of someone else.
>>
>> Huawei modem should support data call. The AT log looks correct. Why there 
>> is a not implemented error, I don't know...
> Thanks very much for help, I have made some search on target and on
> ubuntu 11.04. There is a difference in product id of device, after usb
> modem swicth.
>
> Target:
>
> Bus 001 Device 001: ID 1d6b:0002 
> Bus 002 Device 001: ID 1d6b:0002 
> Bus 002 Device 002: ID 05e3:0608 
> Bus 002 Device 003: ID 0951:1653 
> Bus 002 Device 004: ID 2001:3c05 
> *Bus 002 Device 005: ID 12d1:1436  *
> Bus 003 Device 001: ID 1d6b:0002
>
> Ubuntu:
>
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 003: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 004: ID 050d:5055 Belkin Components F5D5055 Gigabit
> Network Adapter [AX88xxx]
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> *Bus 001 Device 007: ID 12d1:140c Huawei Technologies Co., Ltd. *
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have made some test on target, and now I'm able to swicth the modem to
correct device type

*Bus 001 Device 007: ID 12d1:140c Huawei Technologies Co., Ltd. *

But I still have the problem to activate the 3G connection, i have
attacched the new log of my test.

Any suggestion ?

regs claudio

/tmp # ./list-modems 
[ /huawei0 ]
Features = gprs cbs net ussd sms rat sim 
Powered = 1
Lockdown = 0
Interfaces = org.ofono.ConnectionManager org.ofono.CellBroadcast 
org.ofono.NetworkRegistration org.ofono.SupplementaryServices 
org.ofono.CallBarring org.ofono.CallSettings org.ofono.CallForwarding 
org.ofono.MessageWaiting org.ofono.SmartMessaging org.ofono.PushNotification 
org.ofono.MessageManager org.ofono.RadioSettings org.ofono.AudioSettings 
org.ofono.VoiceCallManager org.ofono.SimManager 
Online = 1
Model = E1692
Manufacturer = huawei
Serial = 353108032160081
Revision = 11.126.08.00.192
[ org.ofono.ConnectionManager ]
Powered = 1
Attached = 1
Bearer = none
Suspended = 0
RoamingAllowed = 0
[ org.ofono.CellBroadcast ]
Topics = 
Powered = 1
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 35
Name = Telecom Italia M
LocationAreaCode = 61108
Mode = auto
MobileCountryCode = 222
CellId = 72657880
MobileNetworkCode = 01
[ org.ofono.SupplementaryServices ]
State = idle
[ org.ofono.CallBarring ]
VoiceOutgoing = disabled
VoiceIncoming = disabled
[ org.ofono.CallSettings ]
HideCallerId = default
CallingLinePresentation = enabled
VoiceCallWaiting = disabled
CalledLinePresentation = disabled
ConnectedLineRestriction = unknown
ConnectedLinePresentation = disabled
CallingLineRestriction = off
CallingNamePresentation = unknown
[ org.ofono.CallForwarding ]
ForwardingFlagOnSim = 0
VoiceNoReplyTimeout = 20
VoiceNotReachable = +39363338585692
VoiceBusy = +39363338585692
VoiceNoReply = +39363338585692
VoiceUnconditional = 
[ org.ofono.MessageWaiting ]
VoicemailMessageCount = 0
VoicemailMailboxNumber = 
VoicemailWaiting = 0
[ org.ofono.SmartMessaging ]
[ org.ofono.PushNotification ]
[ org.ofono.MessageManager ]
Alphabet = default
UseDeliveryReports = 0
Bearer = cs-preferred
ServiceCenterAddress

Re: Trouble using Huwei E160G

2011-04-05 Thread Claudio Degioanni
Il 05/04/2011 12.09, Aygon, Bertrand ha scritto:
> Hi,
>
>>> From what I can see when you do the 'list-modem', your modem is already 
>>> enabled and online, so you do not have to do the >>./enable_modem and 
>>> ./online-modem.
>>>
>>> The PS context is also created (looking at ./list-contexts answer).
>>>
>>> So just the ./activate-context should be fine.
>>>
>>> But there is an error ... From what I can see in the source code, it should 
>>> be enable 'post sim'. And still according to source code, >>the Huawei 
>>> modem seems to skip some SIM status during warm start.
>>>
>>> So, can you please unplug replug the USB key, wait a few, just execute 
>>> ./list-modems and ./list-contexts (nothing else).
>>> You should see the modem enabled and online, and your context created. 
>>> If so, just execute ./activate-context
>> I have made the test proposed, I still recive the same error :)
>>
>> I have attacched the new log of test. Ofono create the connection context, 
>> but on activation it repond with not implemented.
> Sorry, I have no idea, I have try all I have in mind, but now, we need the 
> help of someone else.
>
> Huawei modem should support data call. The AT log looks correct. Why there is 
> a not implemented error, I don't know...
Thanks very much for help, I have made some search on target and on
ubuntu 11.04. There is a difference in product id of device, after usb
modem swicth.

Target:

Bus 001 Device 001: ID 1d6b:0002 
Bus 002 Device 001: ID 1d6b:0002 
Bus 002 Device 002: ID 05e3:0608 
Bus 002 Device 003: ID 0951:1653 
Bus 002 Device 004: ID 2001:3c05 
*Bus 002 Device 005: ID 12d1:1436  *
Bus 003 Device 001: ID 1d6b:0002

Ubuntu:

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 050d:5055 Belkin Components F5D5055 Gigabit
Network Adapter [AX88xxx]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
*Bus 001 Device 007: ID 12d1:140c Huawei Technologies Co., Ltd. *
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Can be helpful ?
> Sorry again,
>
> Bertrand.
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

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


RE: Trouble using Huwei E160G

2011-04-05 Thread Aygon, Bertrand
Hi,

>> From what I can see when you do the 'list-modem', your modem is already 
>> enabled and online, so you do not have to do the >>./enable_modem and 
>> ./online-modem.
>>
>> The PS context is also created (looking at ./list-contexts answer).
>>
>> So just the ./activate-context should be fine.
>>
>> But there is an error ... From what I can see in the source code, it should 
>> be enable 'post sim'. And still according to source code, >>the Huawei modem 
>> seems to skip some SIM status during warm start.
>>
>> So, can you please unplug replug the USB key, wait a few, just execute 
>> ./list-modems and ./list-contexts (nothing else).
>> You should see the modem enabled and online, and your context created. 
>> If so, just execute ./activate-context
>
>I have made the test proposed, I still recive the same error :)
>
>I have attacched the new log of test. Ofono create the connection context, but 
>on activation it repond with not implemented.

Sorry, I have no idea, I have try all I have in mind, but now, we need the help 
of someone else.

Huawei modem should support data call. The AT log looks correct. Why there is a 
not implemented error, I don't know...

Sorry again,

Bertrand.
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Re: Trouble using Huwei E160G

2011-04-05 Thread Claudio Degioanni
Hi beltrand,

Il 05/04/2011 11.35, Aygon, Bertrand ha scritto:
> Hi,
>
>>> 1) Connect 3G key and wait for umts coverage (blue led)
>>>
>>> I activated the 3g connection, but ofono response is
>>>
>>> Error org.ofono.Error.NotImplemented: Implementation not provided
> From what I can see when you do the 'list-modem', your modem is already 
> enabled and online, so you do not have to do the ./enable_modem and 
> ./online-modem.
>
> The PS context is also created (looking at ./list-contexts answer).
>
> So just the ./activate-context should be fine.
>
> But there is an error ... From what I can see in the source code, it should 
> be enable 'post sim'. And still according to source code, the Huawei modem 
> seems to skip some SIM status during warm start.
>
> So, can you please unplug replug the USB key, wait a few, just execute 
> ./list-modems and ./list-contexts (nothing else).
> You should see the modem enabled and online, and your context created. If so, 
> just execute ./activate-context

I have made the test proposed, I still recive the same error :)

I have attacched the new log of test. Ofono create the connection
context, but on activation it repond
with not implemented.

regs
Claudio
> Regards,
>
> Bertrand.
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

ofonod[1289]: src/modem.c:ofono_modem_create() name: (null), type: huawei
ofonod[1289]: src/modem.c:set_modem_property() modem 0x102580 property Path
ofonod[1289]: src/modem.c:set_modem_property() modem 0x102580 property 
Registered
ofonod[1289]: plugins/udev.c:add_modem() 
/devices/platform/tegra-ehci.1/usb2/2-1/2-1.4/2-1.4:1.4/ttyUSB2/tty/ttyUSB2 
(huawei)
ofonod[1289]: plugins/udev.c:add_huawei() modem 0x102580
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property 
ModemRegistered
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property 
PcuiRegistered
ofonod[1289]: src/modem.c:set_modem_property() modem 0x102580 property Pcui
ofonod[1289]: src/modem.c:set_modem_property() modem 0x102580 property 
PcuiRegistered
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property Path
ofonod[1289]: plugins/udev.c:add_modem() 
/devices/platform/tegra-ehci.1/usb2/2-1/2-1.4/2-1.4:1.3/ttyUSB1/tty/ttyUSB1 
(huawei)
ofonod[1289]: plugins/udev.c:add_huawei() modem 0x102580
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property 
ModemRegistered
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property 
PcuiRegistered
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property Path
ofonod[1289]: plugins/udev.c:add_modem() 
/devices/platform/tegra-ehci.1/usb2/2-1/2-1.4/2-1.4:1.0/ttyUSB0/tty/ttyUSB0 
(huawei)
ofonod[1289]: plugins/udev.c:add_huawei() modem 0x102580
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property 
ModemRegistered
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property 
PcuiRegistered
ofonod[1289]: src/modem.c:set_modem_property() modem 0x102580 property Modem
ofonod[1289]: src/modem.c:set_modem_property() modem 0x102580 property 
ModemRegistered
ofonod[1289]: plugins/huawei.c:huawei_probe() 0x102580
ofonod[1289]: plugins/smart-messaging.c:modem_watch() modem: 0x102580, added: 1
ofonod[1289]: plugins/push-notification.c:modem_watch() modem: 0x102580, added: 
1
ofonod[1289]: plugins/huawei.c:huawei_enable() 0x102580
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property NDIS
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property Modem
ofonod[1289]: plugins/huawei.c:open_device() Modem /dev/ttyUSB0
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property Pcui
ofonod[1289]: plugins/huawei.c:open_device() Pcui /dev/ttyUSB2
ofonod[1289]: src/modem.c:get_modem_property() modem 0x102580 property HasVoice
ofonod[1289]: plugins/huawei.c:query_sim_state() 
ofonod[1289]: PCUI: > ATE0 +CMEE=1\r
ofonod[1289]: PCUI: < ATE0 +CMEE=1\r\r\nOK\r\n
ofonod[1289]: PCUI: > AT+CFUN=1\r
ofonod[1289]: PCUI: < \r\nOK\r\n
ofonod[1289]: plugins/huawei.c:cfun_enable() 
ofonod[1289]: PCUI: > AT^SYSINFO\r
ofonod[1289]: PCUI: < \r\n^SYSINFO:0,0,0,0,255,,0\r\n\r\nOK\r\n
ofonod[1289]: plugins/huawei.c:notify_sim_state() 255
ofonod[1289]: PCUI: > AT^U2DIAG?\r
ofonod[1289]: PCUI: < \r\n276\r\n\r\nOK\r\n\r\n^STIN:0,0,0\r\n
ofonod[1289]: PCUI: > AT^GETPORT

RE: Trouble using Huwei E160G

2011-04-05 Thread Aygon, Bertrand
Hi,

>> 1) Connect 3G key and wait for umts coverage (blue led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotImplemented: Implementation not provided

>From what I can see when you do the 'list-modem', your modem is already 
>enabled and online, so you do not have to do the ./enable_modem and 
>./online-modem.

The PS context is also created (looking at ./list-contexts answer).

So just the ./activate-context should be fine.

But there is an error ... From what I can see in the source code, it should be 
enable 'post sim'. And still according to source code, the Huawei modem seems 
to skip some SIM status during warm start.

So, can you please unplug replug the USB key, wait a few, just execute 
./list-modems and ./list-contexts (nothing else).
You should see the modem enabled and online, and your context created. If so, 
just execute ./activate-context

Regards,

Bertrand.
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Re: Trouble using Huwei E160G

2011-04-05 Thread Claudio Degioanni
Hi Beltrand,

Il 05/04/2011 10.29, Aygon, Bertrand ha scritto:
> Hi again,
>> 1) Connect 3G key and wait for umts coverage (blue led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotImplemented: Implementation not provided
> Can you please send the full log for this case, and also the term output, 
> so I can see what you are exactly doing.
 I have attached the log on test 1 and 2.
>>> Can you please add the full output of the oFono test scripts (since the 
>>> ./list_modems to the error you have)?
>> I have attacced the log for utms, for gprs I have some trouble to get the 
>> signal now.
> Mail has been sent to fast.
>
> After the step 2 (Enable the modem), can you please do ./list-contexts ?
>
> For step 3, you can do ./create-internet-context ibox.tim.it
>
> And for step 4, you can do ./active-context
I have attacched the new log to the mail

regs
> Regards,
>
> Bertrand.
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

~ # OFONO_AT_DEBUG=1 OFONO_PPP_DEBUG=1 ofonod -nd
ofonod[1336]: oFono version 0.45
ofonod[1336]: src/plugin.c:__ofono_plugin_init() 
ofonod[1336]: plugins/push-notification.c:push_notification_init() 
ofonod[1336]: plugins/smart-messaging.c:smart_messaging_init() 
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd69ec, name: 
linktop
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd69b0, name: 
nokiacdma
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6974, name: 
nokia
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6938, name: 
tc65
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd68cc, name: 
ste
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6888, name: 
ifx
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd684c, name: 
palmpre
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6808, name: 
novatel
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd67cc, name: 
sierra
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6778, name: 
huawei
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd673c, name: 
zte
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd66f0, name: 
hso
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd66a4, name: 
mbm
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6660, name: 
calypso
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd6624, name: 
wavecom
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd65e8, name: 
gobi
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd65ac, name: 
g1
ofonod[1336]: src/cdma-voicecall.c:ofono_cdma_voicecall_driver_register() 
driver: 0xd6568, name: cdmamodem
ofonod[1336]: src/modem.c:ofono_devinfo_driver_register() driver: 0xd657c, 
name: cdmamodem
ofonod[1336]: src/cdma-connman.c:ofono_cdma_connman_driver_register() driver: 
0xd6598, name: cdmamodem
ofonod[1336]: src/modem.c:ofono_modem_driver_register() driver: 0xd650c, name: 
phonesim
ofonod[1336]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd64f8, 
name: phonesim
ofonod[1336]: src/ctm.c:ofono_ctm_driver_register() driver: 0xd64e4, name: 
phonesim
ofonod[1336]: plugins/phonesim.c:parse_config() filename 
/etc/ofono/phonesim.conf
ofonod[1336]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0xd6448, name: stemodem
ofonod[1336]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd64bc, 
name: stemodem
ofonod[1336]: src/radio-settings.c:ofono_

RE: Trouble using Huwei E160G

2011-04-05 Thread Aygon, Bertrand
Hi again,

> 1) Connect 3G key and wait for umts coverage (blue led)
>
> I activated the 3g connection, but ofono response is
>
> Error org.ofono.Error.NotImplemented: Implementation not provided
 Can you please send the full log for this case, and also the term output, 
 so I can see what you are exactly doing.
>>> I have attached the log on test 1 and 2.
>> Can you please add the full output of the oFono test scripts (since the 
>> ./list_modems to the error you have)?
>I have attacced the log for utms, for gprs I have some trouble to get the 
>signal now.

Mail has been sent to fast.

After the step 2 (Enable the modem), can you please do ./list-contexts ?

For step 3, you can do ./create-internet-context ibox.tim.it

And for step 4, you can do ./active-context

Regards,

Bertrand.
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


RE: Trouble using Huwei E160G

2011-04-05 Thread Aygon, Bertrand
Hi,

> 1) Connect 3G key and wait for umts coverage (blue led)
>
> I activated the 3g connection, but ofono response is
>
> Error org.ofono.Error.NotImplemented: Implementation not provided
 Can you please send the full log for this case, and also the term output, 
 so I can see what you are exactly doing.
>>> I have attached the log on test 1 and 2.
>> Can you please add the full output of the oFono test scripts (since the 
>> ./list_modems to the error you have)?
>I have attacced the log for utms, for gprs I have some trouble to get the 
>signal now.

Thanks.

After the step 2 (Enable the modem), can you please do ./list-contexts ?

And for step 4, you can do ./active-context

Regards,

Bertrand.
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Re: Trouble using Huwei E160G

2011-04-05 Thread Claudio Degioanni
Hi Bertrand,

Il 04/04/2011 11.31, Aygon, Bertrand ha scritto:
> Hi,
 1) Connect 3G key and wait for umts coverage (blue led)

 I activated the 3g connection, but ofono response is

 Error org.ofono.Error.NotImplemented: Implementation not provided
>>> Can you please send the full log for this case, and also the term output, 
>>> so I can see what you are exactly doing.
>> I have attached the log on test 1 and 2.
> Can you please add the full output of the oFono test scripts (since the 
> ./list_modems to the error you have)?

I have attacced the log for utms, for gprs I have some trouble to get
the signal now.

regs
Claudio

> Thanks,
>
> Bertrand.
>
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

1) List the modem (note no pin is required)

/tmp # ./list-modems 
[ /huawei0 ]
Features = gprs cbs net ussd sms rat sim 
Powered = 1
Lockdown = 0
Interfaces = org.ofono.ConnectionManager org.ofono.CellBroadcast 
org.ofono.NetworkRegistration org.ofono.SupplementaryServices 
org.ofono.CallBarring org.ofono.CallSettings org.ofono.CallForwarding 
org.ofono.MessageWaiting org.ofono.SmartMessaging org.ofono.PushNotification 
org.ofono.MessageManager org.ofono.Phonebook org.ofono.RadioSettings 
org.ofono.SimManager 
Online = 1
Model = E1692
Manufacturer = huawei
Serial = 353108032160081
Revision = 11.126.08.00.192
[ org.ofono.ConnectionManager ]
Powered = 1
Attached = 1
Bearer = none
Suspended = 0
RoamingAllowed = 0
[ org.ofono.CellBroadcast ]
Topics = 
Powered = 1
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 41
Name = Telecom Italia M
LocationAreaCode = 61108
Mode = auto
MobileCountryCode = 222
CellId = 72657880
MobileNetworkCode = 01
[ org.ofono.SupplementaryServices ]
State = idle
[ org.ofono.CallBarring ]
VoiceOutgoing = disabled
VoiceIncoming = disabled
[ org.ofono.CallSettings ]
HideCallerId = default
CallingLinePresentation = enabled
VoiceCallWaiting = disabled
CalledLinePresentation = disabled
ConnectedLineRestriction = unknown
ConnectedLinePresentation = disabled
CallingLineRestriction = off
CallingNamePresentation = unknown
[ org.ofono.CallForwarding ]
ForwardingFlagOnSim = 0
VoiceNoReplyTimeout = 20
VoiceNotReachable = +39363338585692
VoiceBusy = +39363338585692
VoiceNoReply = +39363338585692
VoiceUnconditional = 
[ org.ofono.MessageWaiting ]
VoicemailMessageCount = 0
VoicemailMailboxNumber = 
VoicemailWaiting = 0
[ org.ofono.SmartMessaging ]
[ org.ofono.PushNotification ]
[ org.ofono.MessageManager ]
Alphabet = default
UseDeliveryReports = 0
Bearer = cs-preferred
ServiceCenterAddress = +393359609600
[ org.ofono.Phonebook ]
[ org.ofono.RadioSettings ]
UmtsBand = any
TechnologyPreference = any
GsmBand = any
[ org.ofono.SimManager ]
Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10] 
MobileCountryCode = 222
FixedDialing = 0
SubscriberNumbers = 3338585692 
PreferredLanguages = it en 
BarredDialing = 0
ServiceNumbers = [12.54] = '1254' [MilleunaTIM] = '40848' [Disattiva 
Segr] = '##002#' [TIM Taxi] = '42494' [Serv. Clienti] = '+393399119' 
[Segreteria Tel] = '41919' [Avv Chiam NO] = '#43#' [Attiva Segr.] = 
'**62*41919#' [Avv Chiam SI] = '*43#' 
CardIdentifier = 8939011387706456
LockedPins = 
MobileNetworkCode = 01
SubscriberIdentity = 222019903120772
Present = 1
PinRequired = none

2) Enable the modem

/tmp # ./enable-modem /huawei0
Connecting modem /huawei0...
/tmp # ./online-modem  /huawei0
Setting modem /huawei0 online...
/tmp # cat en

3) Setting the apn 

dbus-send --system --print-reply --reply-timeout=12 --type=method_call 
--dest='org.ofono' /huawei0/context1 org.ofono.ConnectionContext.SetProperty 
string:AccessPoint
Name variant:string:ibox.tim.it
method return sender=:1.9 -> dest=:1.14 reply_serial=2

4) Activate the context
/tmp # dbus-send --system --print-reply --reply-timeo

RE: Trouble using Huwei E160G

2011-04-04 Thread Aygon, Bertrand
Hi,

>>> 1) Connect 3G key and wait for umts coverage (blue led)
>>>
>>> I activated the 3g connection, but ofono response is
>>>
>>> Error org.ofono.Error.NotImplemented: Implementation not provided
>> Can you please send the full log for this case, and also the term output, so 
>> I can see what you are exactly doing.
>
>I have attached the log on test 1 and 2.

Can you please add the full output of the oFono test scripts (since the 
./list_modems to the error you have)?

Thanks,

Bertrand.

-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Re: Trouble using Huwei E160G

2011-04-04 Thread Claudio Degioanni
Hi Bertrand,

Il 04/04/2011 10.53, Aygon, Bertrand ha scritto:
> Hi,
>> Ok thanks for pointing this out.
>> We did not use the cage anymore, and simply moving the dongle around we are 
>> able to make it use UMTS or GPRS, since the UMTS signal is >pretty low in 
>> this area.
>>
>> This way we are able to test both scenarios, but still we observe the 
>> behavior that we reported in the previous email:
> Gentle reminder to not top post on the mailing list.
>>> 1) Connect 3G key and wait for umts coverage (blue led)
>>>
>>> I activated the 3g connection, but ofono response is
>>>
>>> Error org.ofono.Error.NotImplemented: Implementation not provided
> Can you please send the full log for this case, and also the term output, so 
> I can see what you are exactly doing.

I have attached the log on test 1 and 2.

>>> I have tested the 3g connection on umts on windows and works connectly.
>>>
>>> 2) Connect 3G key and wait for gprs coverage (green led)
>>>
>>> I activated the 3g connection, but ofono response is
>>>
>>> Error org.ofono.Error.NotAttached: GPRS is not attached
> And same for this test.
>
> But one question, are you able to do a data call using this 3G SUB key 
> connected to a Windows PC?
Yes, the dongle 3g connect correctly on windows on UMTS and GPRS.
regs
Claudio

> Regards,
>
> Bertrand.
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono


./netconn_test_2.sh

Test 4_5 - e 4_6 fusi insieme  -> 4_5



Prerequisites: 

* have a 3G key pin locked and some credits 

Test 4_8 -> 4_6

SyRS-NETCONN-206Network Manager shall support PIN authentication.
SyRS-NETCONN-203Network Manager shall provide a way to configure the 
PIN code for the SIM card.
SyRS-NETCONN-204Network Manager shall provide a way to validate the PIN 
code inserted by the user.
(Da rimuovere)  SyRS-NETCONN-205Network Manager shall support storing 
of the PIN code. 
SyRS-NETCONN-207Network Manager shall inform interested clients about 
the number of incorrect PIN code attempts.
SyRS-NETCONN-407Network Manager shall inform the interested clients 
about the number of remaining PIN trials.
SyRS-NETCONN-209Network Manager shall provide a method to notify that 
PIN code insertion is required.
SyRS-NETCONN-208Network Manager shall support setting of the PUK code.
SyRS-NETCONN-210Network Manager shall provide a method to notify that 
PUK code insertion is required.


Prerequisites: 

* have a 3G key pin locked with 3 trials 

Manual step
Unplug the 3G, if plugged...
Enter Pin Code [ENTER 4 digit]:
0426
Enter Wrong Pin Code [ENTER 4 digit]:

Enter Puk Code [ENTER]:
69113445
Plug the 3G key...
netconn/3G_pin_puk TC_NC_V0.4_6 PASSED

ofonod[1365]: oFono version 0.45
ofonod[1365]: src/plugin.c:__ofono_plugin_init() 
ofonod[1365]: plugins/push-notification.c:push_notification_init() 
ofonod[1365]: plugins/smart-messaging.c:smart_messaging_init() 
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd09a4, name: 
linktop
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0968, name: 
nokiacdma
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd092c, name: 
nokia
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd08f0, name: 
tc65
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0884, name: 
ste
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0840, name: 
ifx
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0804, name: 
palmpre
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd07c0, name: 
novatel
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0784, name: 
sierra
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0730, name: 
huawei
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd06f4, name: 
zte
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd06a8, name: 
hso
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd065c, name: 
mbm
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd0618, name: 
calypso
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd05dc, name: 
wavecom
ofonod[1365]: src/modem.c:ofono_modem_driver_register() driver: 0xd05a0, name: 
gobi
ofonod[1365]: src/modem.c:ofo

RE: Trouble using Huwei E160G

2011-04-04 Thread Aygon, Bertrand
Hi,

>Ok thanks for pointing this out.
>We did not use the cage anymore, and simply moving the dongle around we are 
>able to make it use UMTS or GPRS, since the UMTS signal is >pretty low in this 
>area.
>
>This way we are able to test both scenarios, but still we observe the behavior 
>that we reported in the previous email:

Gentle reminder to not top post on the mailing list.

>> 1) Connect 3G key and wait for umts coverage (blue led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotImplemented: Implementation not provided
>>

Can you please send the full log for this case, and also the term output, so I 
can see what you are exactly doing.

>> I have tested the 3g connection on umts on windows and works connectly.
>>
>> 2) Connect 3G key and wait for gprs coverage (green led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotAttached: GPRS is not attached

And same for this test.

But one question, are you able to do a data call using this 3G SUB key 
connected to a Windows PC?

Regards,

Bertrand.
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Re: Trouble using Huwei E160G

2011-04-04 Thread Claudio Degioanni
Hi Bertrand,

Ok thanks for pointing this out.
We did not use the cage anymore, and simply moving the dongle around we are 
able to make it use UMTS or GPRS, since the UMTS signal is pretty low in this 
area.

This way we are able to test both scenarios, but still we observe the behavior 
that we reported in the previous email:

>> 1) Connect 3G key and wait for umts coverage (blue led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotImplemented: Implementation not provided
>>
>> I have tested the 3g connection on umts on windows and works connectly.
>>
>> 2) Connect 3G key and wait for gprs coverage (green led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotAttached: GPRS is not attached

and we are still not able to get it working..

Thanks,
Claudio

Il 04/04/2011 10.12, Aygon, Bertrand ha scritto:
> Hi,
>
>> We work in a zone with limited utms coverage, some times it use gprs
>> (green blinking led). The test 1 is the normal case with good umts coverage, 
>> for test 2 i force gprs using for
>> example a simple Faraday Cage.
> If you use a Faraday Cage, you will lose all network capabilities, and not 
> just UMTS.
>
> According to oFono source code, Huwei modem doesn't support the radio 
> settings, so there is no way to 'force' UMTS or GPRS. So you will have what 
> the network will assign to you, based on your coverage, and the network 
> capabilities.
>
> So please do not use a Faraday Cage, this will not help at all.
>
> Regards,
>
> Bertrand.
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

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


RE: Trouble using Huwei E160G

2011-04-04 Thread Aygon, Bertrand
Hi,

>We work in a zone with limited utms coverage, some times it use gprs
>(green blinking led). The test 1 is the normal case with good umts coverage, 
>for test 2 i force gprs using for
>example a simple Faraday Cage.

If you use a Faraday Cage, you will lose all network capabilities, and not just 
UMTS.

According to oFono source code, Huwei modem doesn't support the radio settings, 
so there is no way to 'force' UMTS or GPRS. So you will have what the network 
will assign to you, based on your coverage, and the network capabilities.

So please do not use a Faraday Cage, this will not help at all.

Regards,

Bertrand.
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Re: Trouble using Huwei E160G

2011-03-31 Thread Claudio Degioanni
Il 31/03/2011 16.42, Aygon, Bertrand ha scritto:
> Hi,
>
>> I have performed 2 tests
>>
>> 1) Connect 3G key and wait for umts coverage (blue led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotImplemented: Implementation not provided
>>
>> Attacched there is the log of ofono test_umts.log
>>
>> I have tested the 3g connection on umts on windows and works connectly.
>>
>> 2) Connect 3G key and wait for gprs coverage (green led)
>>
>> I activated the 3g connection, but ofono response is
>>
>> Error org.ofono.Error.NotAttached: GPRS is not attached
>>
>> Attacched there is the log of ofono test_gprs.log
> I am not familiar with Huwai modem, and still learning oFono.
>
> But one question: how do you make difference between test 1 and test 2? 
The difference is visible on device, it has a led blinking green fro
gprs and blue for utms coverage.
> How did you force UMTS and then GPRS?
> It seems that during test 1, you got network service. But not during test 2.
>
> Can you please tell me exactly what you did for test 1, and what you did for 
> test 2?
We work in a zone with limited utms coverage, some times it use gprs
(green blinking led). The test 1 is the
normal case with good umts coverage, for test 2 i force gprs using for
example a simple Faraday Cage.

regs
Claudio

> Regards,
>
> Bertrand.
>
>
> -
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris, 
> 92196 Meudon Cedex, France
> Registration Number:  302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

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


RE: Trouble using Huwei E160G

2011-03-31 Thread Aygon, Bertrand
Hi,

>I have performed 2 tests
>
>1) Connect 3G key and wait for umts coverage (blue led)
>
>I activated the 3g connection, but ofono response is
>
>Error org.ofono.Error.NotImplemented: Implementation not provided
>
>Attacched there is the log of ofono test_umts.log
>
>I have tested the 3g connection on umts on windows and works connectly.
>
>2) Connect 3G key and wait for gprs coverage (green led)
>
>I activated the 3g connection, but ofono response is
>
>Error org.ofono.Error.NotAttached: GPRS is not attached
>
>Attacched there is the log of ofono test_gprs.log

I am not familiar with Huwai modem, and still learning oFono.

But one question: how do you make difference between test 1 and test 2? How did 
you force UMTS and then GPRS?
It seems that during test 1, you got network service. But not during test 2.

Can you please tell me exactly what you did for test 1, and what you did for 
test 2?

Regards,

Bertrand.


-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


RE: Trouble using Huwei E160G

2011-03-31 Thread Aygon, Bertrand
Hi,

>5) Activate the connection context 1  (adding the apn), but ofono respond with
>
>"Active" "GPRS is not attached"
>
>Some suggestions ?
>
>I have attached the log of ofono launched with debug option.

According to AT log, it seems that you are out of coverage.
Please try again, in a different place, and wait a few between the online and 
the active GPRS.

Regards,

Bertrand

-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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


Trouble using Huwei E160G

2011-03-30 Thread Claudio Degioanni

Hi,

I want use 3G huawei key E160G for connect to internet using ofono,
I have some troubles activating the pdp context, I use the Active property
to activate the internet connection but return "GPRS is not attached"

Step to reprodure

1) Plug 3G key E160

2) Listing the modem attached

$ ./list-modems
[ /huawei0 ]
Lockdown = 0
Interfaces =
Powered = 0
Features =
Online = 0

3) Enable the modem

$ ./enable-modem
Connecting modem /huawei0...

4) Putting the modem online

$ ./online-modem
Setting modem /huawei0 online...

5) Enabling the gprs

$ ./enable-gprs
Connecting modem /huawei0.

5) Activate the connection context 1  (adding the apn), but ofono 
respond with


"Active" "GPRS is not attached"

Some suggestions ?

I have attached the log of ofono launched with debug option.

regs,
Claudio

# OFONO_AT_DEBUG=1 OFONO_PPP_DEBUG=1 ofonod -nd
ofonod[3120]: oFono version 0.45
ofonod[3120]: src/plugin.c:__ofono_plugin_init() 
ofonod[3120]: plugins/push-notification.c:push_notification_init() 
ofonod[3120]: plugins/smart-messaging.c:smart_messaging_init() 
ofonod[3120]: plugins/dun_gw.c:dun_gw_init() 
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811be20, 
name: hfp
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bdc0, 
name: linktop
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bd60, 
name: nokiacdma
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bd00, 
name: nokia
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bca0, 
name: tc65
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bc20, 
name: ste
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bbc0, 
name: ifx
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bb60, 
name: palmpre
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bb00, 
name: novatel
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811baa0, 
name: sierra
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811ba40, 
name: huawei
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b9e0, 
name: zte
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b980, 
name: hso
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b920, 
name: mbm
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b8c0, 
name: calypso
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b860, 
name: wavecom
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b800, 
name: gobi
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b7a0, 
name: g1
ofonod[3120]: src/cdma-voicecall.c:ofono_cdma_voicecall_driver_register() 
driver: 0x811b744, name: cdmamodem
ofonod[3120]: src/modem.c:ofono_devinfo_driver_register() driver: 0x811b758, 
name: cdmamodem
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b700, 
name: phonesim
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b6ec, name: phonesim
ofonod[3120]: src/ctm.c:ofono_ctm_driver_register() driver: 0x811b6d8, name: 
phonesim
ofonod[3120]: plugins/phonesim.c:parse_config() filename 
/usr/local/etc/ofono/phonesim.conf
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b600, name: stemodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b68c, name: stemodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b660, name: stemodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b4e0, name: ifxmodem
ofonod[3120]: src/audio-settings.c:ofono_audio_settings_driver_register() 
driver: 0x811b528, name: ifxmodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b540, name: ifxmodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b56c, name: ifxmodem
ofonod[3120]: src/stk.c:ofono_stk_driver_register() driver: 0x811b590, name: 
ifxmodem
ofonod[3120]: src/ctm.c:ofono_ctm_driver_register() driver: 0x811b5b4, name: 
ifxmodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b44c, name: hsomodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b480, name: hsomodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b3d4, name: mbmmodem
ofonod[3120]: src/stk.c:ofono_stk_driver_register() driver: 0x811b3f8, name: 
mbmmodem
ofonod[3120]: 
src/location-reporting.c:ofono_location_reporting_driver_register() driver: 
0x811b414, name: mbmmodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b300, name: hfpmodem
ofonod[3120]: src/network.c:ofono_netreg_driver_register() driver: 0x811b360, 
name: hfpmodem
ofonod[3120]: src/call-volume.c:ofono_call_volume_driver_register() driver: 
0x811b394, name: hfpmodem
ofonod[3120