All of lore.kernel.org
 help / color / mirror / Atom feed
* Huawei EM 770 not working properly
@ 2010-11-04 11:15 Frederic Crozat
  2010-11-04 14:16 ` Denis Kenzior
  0 siblings, 1 reply; 5+ messages in thread
From: Frederic Crozat @ 2010-11-04 11:15 UTC (permalink / raw)
  To: ofono

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

Hi,

I'm trying to get ofono working properly with integrated 3G card on my
EEE PC.

Card is Huawei EM 770 (12d1:1001).

I'm testing with ofono 0.34.

so far, the modem is correctly detected :

list-modem returns :
[ /huawei0 ]
 Features = sim
 Powered = 1
 Interfaces = org.ofono.SimManager
 Online = 0
 Model = EM770
 Manufacturer = huawei
 Serial = ....
 Revision = 11.104.16.12.00
 [ org.ofono.SimManager ] 
  Present = 0

And trying to put it "online" using online-modem returns
"org.ofono.Error.NotAvailable"

Logs are as follow :

ofonod[1493]: plugins/bluetooth.c:manager_properties_cb() 
ofonod[1493]: plugins/bluetooth.c:parse_adapters() 
ofonod[1493]: plugins/bluetooth.c:parse_adapters() Calling GetProperties
on /org/bluez/465/hci0
ofonod[1493]: plugins/bluetooth.c:parse_devices() 
ofonod[1493]: plugins/bluetooth.c:adapter_properties_cb() Adapter
Address: 00:25:D3:A2:D1:09, Path: /org/bluez/465/hci0
ofonod[1493]: plugins/huawei.c:huawei_enable() 0x941b210
ofonod[1493]: plugins/huawei.c:open_device() Modem /dev/ttyUSB0
ofonod[1493]: plugins/huawei.c:open_device() Pcui /dev/ttyUSB2
ofonod[1493]: plugins/huawei.c:query_sim_state() 
ofonod[1493]: PCUI: > ATE0 +CMEE=1\r
ofonod[1493]: PCUI: < \r\nOK\r\n
ofonod[1493]: PCUI: > AT+CFUN=1\r
ofonod[1493]: PCUI: < \r\nOK\r\n
ofonod[1493]: plugins/huawei.c:cfun_enable() 
ofonod[1493]: PCUI: > AT^SYSINFO\r
ofonod[1493]: PCUI: < \r\n^SYSINFO:0,0,0,0,0,,0\r\n\r\nOK\r\n
ofonod[1493]: plugins/huawei.c:notify_sim_state() 0
ofonod[1493]: plugins/huawei.c:huawei_pre_sim() 0x941b210
ofonod[1493]: plugins/huawei.c:query_sim_state() 
ofonod[1493]: PCUI: > AT^U2DIAG?\r
ofonod[1493]: PCUI: < \r\nERROR\r\n
ofonod[1493]: PCUI: > AT^GETPORTMODE\r
ofonod[1493]: PCUI: < \r\nCOMMAND NOT SUPPORT\r\n
ofonod[1493]: PCUI: > AT^USSDMODE=?\r
ofonod[1493]: PCUI: < \r\nCOMMAND NOT SUPPORT\r\n
ofonod[1493]: PCUI: > AT^CVOICE=?\r
ofonod[1493]: PCUI: < \r\n^CVOICE:(1)\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT^SYSINFO\r
ofonod[1493]: PCUI: < \r\n^SYSINFO:0,0,0,0,0,,0\r\n\r\nOK\r\n
ofonod[1493]: plugins/huawei.c:notify_sim_state() 0
ofonod[1493]: PCUI: > AT+CGMI\r
ofonod[1493]: PCUI: < \r\nhuawei\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT^CVOICE?\r
ofonod[1493]: PCUI: < \r\n^CVOICE:1\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT+CGMM\r
ofonod[1493]: PCUI: < \r\nEM770\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT+CGMR\r
ofonod[1493]: PCUI: < \r\n11.104.16.12.00\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT+CGSN\r
ofonod[1493]: PCUI: < \r\n355093024527802\r\n\r\nOK\r\n
ofonod[1493]: PCUI: < \r\n^RSSI:23\r\n\r\n^SRVST:1\r\n\r\n^MODE:5,4\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n

Any idea ?
-- 
Frederic Crozat <fcrozat@novell.com>
Novell



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Huawei EM 770 not working properly
@ 2010-11-04 14:40 Frederic Crozat
  0 siblings, 0 replies; 5+ messages in thread
From: Frederic Crozat @ 2010-11-04 14:40 UTC (permalink / raw)
  To: ofono

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

Le jeudi 04 novembre 2010 à 09:16 -0500, Denis Kenzior a écrit :
> Hi Frederic,
> 
> On 11/04/2010 06:15 AM, Frederic Crozat wrote:
> > Hi,
> > 
> > I'm trying to get ofono working properly with integrated 3G card on my
> > EEE PC.
> > 
> > Card is Huawei EM 770 (12d1:1001).
> > 
> > I'm testing with ofono 0.34.
> > 
> > so far, the modem is correctly detected :
> > 
> > list-modem returns :
> > [ /huawei0 ]
> >  Features = sim
> >  Powered = 1
> >  Interfaces = org.ofono.SimManager
> >  Online = 0
> >  Model = EM770
> >  Manufacturer = huawei
> >  Serial = ....
> >  Revision = 11.104.16.12.00
> >  [ org.ofono.SimManager ] 
> >   Present = 0
> 
> What is happening is that oFono thinks the sim is not inserted, and it
> does not proceed further with modem initialization.  oFono polls the
> SYSINFO command, with one of the fields being the status of the SIM.
> 
> Do you have a SIM PIN set?  The current huawei driver does not handle
> this case gracefully yet, mainly because the huawei firmware is quite
> 'peculiar'.

Since I'm using SIM card from my N900, I've disabled PIN code and ofono
worked properly and I was able to connect to my 3G operator (and see it
is locking me out, because I have a 3G phone subscription and it is
seeing a modem IMEI ...).

So, next part would be to get PIN code working ;)

From other collegues who bought the same netbook, it seems umtsmon is
able to get PIN unlocking for this card.

-- 
Frederic Crozat <fcrozat@novell.com>
Novell


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Huawei EM 770 not working properly
@ 2010-11-04 11:14 Frederic Crozat
  2010-11-04 12:17 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Frederic Crozat @ 2010-11-04 11:14 UTC (permalink / raw)
  To: ofono

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

Hi,

I'm trying to get ofono working properly with integrated 3G card on my
EEE PC.

Card is Huawei EM 770 (12d1:1001).

I'm testing with ofono 0.34.

so far, the modem is correctly detected :

list-modem returns :
[ /huawei0 ]
 Features = sim
 Powered = 1
 Interfaces = org.ofono.SimManager
 Online = 0
 Model = EM770
 Manufacturer = huawei
 Serial = ....
 Revision = 11.104.16.12.00
 [ org.ofono.SimManager ] 
  Present = 0

And trying to put it "online" using online-modem returns
"org.ofono.Error.NotAvailable"

Logs are as follow :

ofonod[1493]: plugins/bluetooth.c:manager_properties_cb() 
ofonod[1493]: plugins/bluetooth.c:parse_adapters() 
ofonod[1493]: plugins/bluetooth.c:parse_adapters() Calling GetProperties
on /org/bluez/465/hci0
ofonod[1493]: plugins/bluetooth.c:parse_devices() 
ofonod[1493]: plugins/bluetooth.c:adapter_properties_cb() Adapter
Address: 00:25:D3:A2:D1:09, Path: /org/bluez/465/hci0
ofonod[1493]: plugins/huawei.c:huawei_enable() 0x941b210
ofonod[1493]: plugins/huawei.c:open_device() Modem /dev/ttyUSB0
ofonod[1493]: plugins/huawei.c:open_device() Pcui /dev/ttyUSB2
ofonod[1493]: plugins/huawei.c:query_sim_state() 
ofonod[1493]: PCUI: > ATE0 +CMEE=1\r
ofonod[1493]: PCUI: < \r\nOK\r\n
ofonod[1493]: PCUI: > AT+CFUN=1\r
ofonod[1493]: PCUI: < \r\nOK\r\n
ofonod[1493]: plugins/huawei.c:cfun_enable() 
ofonod[1493]: PCUI: > AT^SYSINFO\r
ofonod[1493]: PCUI: < \r\n^SYSINFO:0,0,0,0,0,,0\r\n\r\nOK\r\n
ofonod[1493]: plugins/huawei.c:notify_sim_state() 0
ofonod[1493]: plugins/huawei.c:huawei_pre_sim() 0x941b210
ofonod[1493]: plugins/huawei.c:query_sim_state() 
ofonod[1493]: PCUI: > AT^U2DIAG?\r
ofonod[1493]: PCUI: < \r\nERROR\r\n
ofonod[1493]: PCUI: > AT^GETPORTMODE\r
ofonod[1493]: PCUI: < \r\nCOMMAND NOT SUPPORT\r\n
ofonod[1493]: PCUI: > AT^USSDMODE=?\r
ofonod[1493]: PCUI: < \r\nCOMMAND NOT SUPPORT\r\n
ofonod[1493]: PCUI: > AT^CVOICE=?\r
ofonod[1493]: PCUI: < \r\n^CVOICE:(1)\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT^SYSINFO\r
ofonod[1493]: PCUI: < \r\n^SYSINFO:0,0,0,0,0,,0\r\n\r\nOK\r\n
ofonod[1493]: plugins/huawei.c:notify_sim_state() 0
ofonod[1493]: PCUI: > AT+CGMI\r
ofonod[1493]: PCUI: < \r\nhuawei\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT^CVOICE?\r
ofonod[1493]: PCUI: < \r\n^CVOICE:1\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT+CGMM\r
ofonod[1493]: PCUI: < \r\nEM770\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT+CGMR\r
ofonod[1493]: PCUI: < \r\n11.104.16.12.00\r\n\r\nOK\r\n
ofonod[1493]: PCUI: > AT+CGSN\r
ofonod[1493]: PCUI: < \r\n355093024527802\r\n\r\nOK\r\n
ofonod[1493]: PCUI: < \r\n^RSSI:23\r\n\r\n^SRVST:1\r\n\r\n^MODE:5,4\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n
ofonod[1493]: PCUI: < \r\n^BOOT:24527802,0,0,0,24\r\n

Any idea ?
-- 
Frederic Crozat <fcrozat@novell.com>
Novell


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-04 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04 11:15 Huawei EM 770 not working properly Frederic Crozat
2010-11-04 14:16 ` Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2010-11-04 14:40 Frederic Crozat
2010-11-04 11:14 Frederic Crozat
2010-11-04 12:17 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.