Open Source Telephony
 help / color / mirror / Atom feed
* huawei e1550
@ 2010-10-08 12:20 Alexander A Khryukin
  2010-10-08 12:43 ` Alexander A Khryukin
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-08 12:20 UTC (permalink / raw)
  To: ofono

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

Hi all.
I have a huawei 1550 GSM-modem.
When i plug it to usb 


/usr/lib/ofono/test/list-modems 
[ /huawei0 ]
    Features = sim 
    Powered = 1
    Interfaces = org.ofono.SupplementaryServices org.ofono.CallBarring
org.ofono.CallSettings org.ofono.CallForwarding org.ofono.MessageWaiting
org.ofono.AudioSettings org.ofono.VoiceCallManager org.ofono.SimManager 
    Online = 1
    Model = E1550
    Manufacturer = huawei
    Serial = 353142033084081
    Revision = 11.608.12.00.143
    [ org.ofono.SupplementaryServices ]
        State = idle
    [ org.ofono.CallBarring ]

        VoiceOutgoing = disabled
        VoiceIncoming = disabled
    [ org.ofono.CallSettings ]


All fine.
In UX-interface i see section "3G" 
but modem cant find operator's network

I compare with HUAWEI E620 USB modem
When i plug it in UX i see my network "Megafon" and can connect.

If use ppp+usb_modeswitch modem working and can dial.



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

* Re: huawei e1550
  2010-10-08 12:20 huawei e1550 Alexander A Khryukin
@ 2010-10-08 12:43 ` Alexander A Khryukin
  2010-10-08 18:25   ` Kalle Valo
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-08 12:43 UTC (permalink / raw)
  To: ofono

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

В Птн, 08/10/2010 в 16:20 +0400, Alexander A Khryukin пишет:
> Hi all.
> I have a huawei 1550 GSM-modem.
> When i plug it to usb 
> 
> 
> /usr/lib/ofono/test/list-modems 
> [ /huawei0 ]
>     Features = sim 
>     Powered = 1
>     Interfaces = org.ofono.SupplementaryServices org.ofono.CallBarring
> org.ofono.CallSettings org.ofono.CallForwarding org.ofono.MessageWaiting
> org.ofono.AudioSettings org.ofono.VoiceCallManager org.ofono.SimManager 
>     Online = 1
>     Model = E1550
>     Manufacturer = huawei
>     Serial = 353142033084081
>     Revision = 11.608.12.00.143
>     [ org.ofono.SupplementaryServices ]
>         State = idle
>     [ org.ofono.CallBarring ]
> 
>         VoiceOutgoing = disabled
>         VoiceIncoming = disabled
>     [ org.ofono.CallSettings ]
> 
> 
> All fine.
> In UX-interface i see section "3G" 
> but modem cant find operator's network
> 
> I compare with HUAWEI E620 USB modem
> When i plug it in UX i see my network "Megafon" and can connect.
> 
> If use ppp+usb_modeswitch modem working and can dial.


Hm, now network visible but when i press "Connect" 
ofonod put in log that modem was removed
and then process still loopback

http://pastie.org/1207567


plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.1/ttyUSB1/tty/ttyUSB1 (huawei)
ofonod[3510]: plugins/udev.c:add_huawei() modem 0x88b0cf8
ofonod[3510]: src/modem.c:get_modem_property() modem 0x88b0cf8 property
ModemRegistered
...
...
...
...
plugins/udev.c:remove_modem() /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.1/ttyUSB1/tty/ttyUSB1
ofonod[3510]:
plugins/udev.c:remove_modem() /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.2/ttyUSB2/tty/ttyUSB2




Remove and adding modem repeating and repeaing again.




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

* Re: huawei e1550
  2010-10-08 12:43 ` Alexander A Khryukin
@ 2010-10-08 18:25   ` Kalle Valo
  2010-10-13 11:50     ` Alexander A Khryukin
  0 siblings, 1 reply; 12+ messages in thread
From: Kalle Valo @ 2010-10-08 18:25 UTC (permalink / raw)
  To: ofono

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

Hi Alexander,

Alexander A Khryukin <alexander@mezon.ru> writes:

> В Птн, 08/10/2010 в 16:20 +0400, Alexander A Khryukin пишет:
>> Hi all.
>> I have a huawei 1550 GSM-modem.
>> When i plug it to usb 
>> 
>> 

[...]

> Hm, now network visible but when i press "Connect" 
> ofonod put in log that modem was removed
> and then process still loopback
>
> http://pastie.org/1207567

Sorry, I wasn't able to immeadiately say from the logs what went wrong.
Can you get a log which includes AT commands? It would help a lot.

Just run this command to get the logs:

OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n

What's the exact version of ofono you are using? Huawei has had some
changes lately. 

Also is the SIM configured to ask for PIN or not? I'm guessing no from
the log, but can't be sure.

-- 
Kalle Valo

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

* Re: huawei e1550
  2010-10-08 18:25   ` Kalle Valo
@ 2010-10-13 11:50     ` Alexander A Khryukin
  2010-10-13 12:14       ` Kalle Valo
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-13 11:50 UTC (permalink / raw)
  To: ofono

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

В Птн, 08/10/2010 в 21:25 +0300, Kalle Valo пишет:
> Hi Alexander,
> 
> Alexander A Khryukin <alexander@mezon.ru> writes:
> 
> > В Птн, 08/10/2010 в 16:20 +0400, Alexander A Khryukin пишет:
> >> Hi all.
> >> I have a huawei 1550 GSM-modem.
> >> When i plug it to usb 
> >> 
> >> 
> 
> [...]
> 
> > Hm, now network visible but when i press "Connect" 
> > ofonod put in log that modem was removed
> > and then process still loopback
> >
> > http://pastie.org/1207567
> 
> Sorry, I wasn't able to immeadiately say from the logs what went wrong.
> Can you get a log which includes AT commands? It would help a lot.
> 
> Just run this command to get the logs:
> 
> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> 
> What's the exact version of ofono you are using? Huawei has had some
> changes lately. 
> 
> Also is the SIM configured to ask for PIN or not? I'm guessing no from
> the log, but can't be sure.
> 



Ok.I connect modem to usb-port, and log it

OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n

http://pastie.org/1212535






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

* Re: huawei e1550
  2010-10-13 11:50     ` Alexander A Khryukin
@ 2010-10-13 12:14       ` Kalle Valo
  2010-10-13 12:42         ` Alexander A Khryukin
  2010-10-13 12:54         ` Alexander A Khryukin
  0 siblings, 2 replies; 12+ messages in thread
From: Kalle Valo @ 2010-10-13 12:14 UTC (permalink / raw)
  To: ofono

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

Alexander A Khryukin <alexander@mezon.ru> writes:

>> Sorry, I wasn't able to immeadiately say from the logs what went wrong.
>> Can you get a log which includes AT commands? It would help a lot.
>> 
>> Just run this command to get the logs:
>> 
>> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
>> 
>> What's the exact version of ofono you are using? Huawei has had some
>> changes lately. 
>> 
>> Also is the SIM configured to ask for PIN or not? I'm guessing no from
>> the log, but can't be sure.
>
> Ok.I connect modem to usb-port, and log it
>
> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n

Sorry, I forgot -d switch from the command which enables the debug
messages. So it should be like this:

OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n -d

> http://pastie.org/1212535

I didn't immeadiately find anything wrong in the AT logs. So basically
your modem disappers from the bus and then comes back. Can a firmware
crash cause that?

The last commands were:

ofonod[838]: PCUI: > AT+CSCB=1\r
ofonod[838]: PCUI: < \r\nOK\r\n
ofonod[838]: PCUI: > AT+CSCB=0,"4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4352-4356"\r

Can you try the patch below? Maybe it gives us some hint what's
happening.

diff --git a/plugins/huawei.c b/plugins/huawei.c
index b20d83c..13ef192 100644
--- a/plugins/huawei.c
+++ b/plugins/huawei.c
@@ -624,8 +624,6 @@ static void huawei_post_online(struct ofono_modem *modem)
                                                                data->pcui);
 
        ofono_sms_create(modem, OFONO_VENDOR_HUAWEI, "atmodem", data->pcui);
-       ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
-                                               "atmodem", data->pcui);
        ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
                                                "atmodem", data->pcui);

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

* Re: huawei e1550
  2010-10-13 12:14       ` Kalle Valo
@ 2010-10-13 12:42         ` Alexander A Khryukin
  2010-10-13 12:51           ` Kalle Valo
  2010-10-13 12:54         ` Alexander A Khryukin
  1 sibling, 1 reply; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-13 12:42 UTC (permalink / raw)
  To: ofono

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

В Срд, 13/10/2010 в 15:14 +0300, Kalle Valo пишет:
> Alexander A Khryukin <alexander@mezon.ru> writes:
> 
> >> Sorry, I wasn't able to immeadiately say from the logs what went wrong.
> >> Can you get a log which includes AT commands? It would help a lot.
> >> 
> >> Just run this command to get the logs:
> >> 
> >> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> >> 
> >> What's the exact version of ofono you are using? Huawei has had some
> >> changes lately. 
> >> 
> >> Also is the SIM configured to ask for PIN or not? I'm guessing no from
> >> the log, but can't be sure.
> >
> > Ok.I connect modem to usb-port, and log it
> >
> > OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> 
> Sorry, I forgot -d switch from the command which enables the debug
> messages. So it should be like this:
> 
> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n -d
> 
> > http://pastie.org/1212535
> 
> I didn't immeadiately find anything wrong in the AT logs. So basically
> your modem disappers from the bus and then comes back. Can a firmware
> crash cause that?
> 
> The last commands were:
> 
> ofonod[838]: PCUI: > AT+CSCB=1\r
> ofonod[838]: PCUI: < \r\nOK\r\n
> ofonod[838]: PCUI: > AT+CSCB=0,"4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4352-4356"\r
> 
> Can you try the patch below? Maybe it gives us some hint what's
> happening.
> 
> diff --git a/plugins/huawei.c b/plugins/huawei.c
> index b20d83c..13ef192 100644
> --- a/plugins/huawei.c
> +++ b/plugins/huawei.c
> @@ -624,8 +624,6 @@ static void huawei_post_online(struct ofono_modem *modem)
>                                                                 data->pcui);
>  
>         ofono_sms_create(modem, OFONO_VENDOR_HUAWEI, "atmodem", data->pcui);
> -       ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
> -                                               "atmodem", data->pcui);
>         ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
>                                                 "atmodem", data->pcui);
> 

# patch -p1 < ofono.patch 

patching file plugins/huawei.c
Hunk #1 FAILED@624.
1 out of 1 hunk FAILED -- saving rejects to file plugins/huawei.c.rej

im using
http://www.kernel.org/pub/linux/network/ofono/ofono-0.31.tar.bz2



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

* Re: huawei e1550
  2010-10-13 12:42         ` Alexander A Khryukin
@ 2010-10-13 12:51           ` Kalle Valo
  2010-10-13 13:57             ` Alexander A Khryukin
  2010-10-14  9:03             ` Alexander A Khryukin
  0 siblings, 2 replies; 12+ messages in thread
From: Kalle Valo @ 2010-10-13 12:51 UTC (permalink / raw)
  To: ofono

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

Alexander A Khryukin <alexander@mezon.ru> writes:

> # patch -p1 < ofono.patch 
>
> patching file plugins/huawei.c
> Hunk #1 FAILED at 624.
> 1 out of 1 hunk FAILED -- saving rejects to file plugins/huawei.c.rej
>
> im using
> http://www.kernel.org/pub/linux/network/ofono/ofono-0.31.tar.bz2

My patch was against latest git. But I copy pasted the patch, maybe that
was the reason it failed. Here's a new one, this time against 0.31.

diff --git a/plugins/huawei.c b/plugins/huawei.c
index 12abdc6..3372454 100644
--- a/plugins/huawei.c
+++ b/plugins/huawei.c
@@ -617,8 +617,6 @@ static void huawei_post_online(struct ofono_modem *modem)
 								data->pcui);
 
 	ofono_sms_create(modem, OFONO_VENDOR_HUAWEI, "atmodem", data->pcui);
-	ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
-						"atmodem", data->pcui);
 	ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
 						"atmodem", data->pcui);
 

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

* Re: huawei e1550
  2010-10-13 12:14       ` Kalle Valo
  2010-10-13 12:42         ` Alexander A Khryukin
@ 2010-10-13 12:54         ` Alexander A Khryukin
  2010-10-18  8:30           ` Alexander A Khryukin
  1 sibling, 1 reply; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-13 12:54 UTC (permalink / raw)
  To: ofono

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

В Срд, 13/10/2010 в 15:14 +0300, Kalle Valo пишет:
> Alexander A Khryukin <alexander@mezon.ru> writes:
> 
> >> Sorry, I wasn't able to immeadiately say from the logs what went wrong.
> >> Can you get a log which includes AT commands? It would help a lot.
> >> 
> >> Just run this command to get the logs:
> >> 
> >> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> >> 
> >> What's the exact version of ofono you are using? Huawei has had some
> >> changes lately. 
> >> 
> >> Also is the SIM configured to ask for PIN or not? I'm guessing no from
> >> the log, but can't be sure.
> >
> > Ok.I connect modem to usb-port, and log it
> >
> > OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> 
> Sorry, I forgot -d switch from the command which enables the debug
> messages. So it should be like this:
> 
> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n -d
> 
> > http://pastie.org/1212535
> 
> I didn't immeadiately find anything wrong in the AT logs. So basically
> your modem disappers from the bus and then comes back. Can a firmware
> crash cause that?
> 
> The last commands were:
> 
> ofonod[838]: PCUI: > AT+CSCB=1\r
> ofonod[838]: PCUI: < \r\nOK\r\n
> ofonod[838]: PCUI: > AT+CSCB=0,"4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4352-4356"\r
> 
> Can you try the patch below? Maybe it gives us some hint what's
> happening.
> 
> diff --git a/plugins/huawei.c b/plugins/huawei.c
> index b20d83c..13ef192 100644
> --- a/plugins/huawei.c
> +++ b/plugins/huawei.c
> @@ -624,8 +624,6 @@ static void huawei_post_online(struct ofono_modem *modem)
>                                                                 data->pcui);
>  
>         ofono_sms_create(modem, OFONO_VENDOR_HUAWEI, "atmodem", data->pcui);
> -       ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
> -                                               "atmodem", data->pcui);
>         ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
>                                                 "atmodem", data->pcui);
> 


git apply --stat p.patch
Working =)
Now compile.




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

* Re: huawei e1550
  2010-10-13 12:51           ` Kalle Valo
@ 2010-10-13 13:57             ` Alexander A Khryukin
  2010-10-14  9:03             ` Alexander A Khryukin
  1 sibling, 0 replies; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-13 13:57 UTC (permalink / raw)
  To: ofono

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

В Срд, 13/10/2010 в 15:51 +0300, Kalle Valo пишет:
> Alexander A Khryukin <alexander@mezon.ru> writes:
> 
> > # patch -p1 < ofono.patch 
> >
> > patching file plugins/huawei.c
> > Hunk #1 FAILED at 624.
> > 1 out of 1 hunk FAILED -- saving rejects to file plugins/huawei.c.rej
> >
> > im using
> > http://www.kernel.org/pub/linux/network/ofono/ofono-0.31.tar.bz2
> 
> My patch was against latest git. But I copy pasted the patch, maybe that
> was the reason it failed. Here's a new one, this time against 0.31.
> 
> diff --git a/plugins/huawei.c b/plugins/huawei.c
> index 12abdc6..3372454 100644
> --- a/plugins/huawei.c
> +++ b/plugins/huawei.c
> @@ -617,8 +617,6 @@ static void huawei_post_online(struct ofono_modem *modem)
>  								data->pcui);
>  
>  	ofono_sms_create(modem, OFONO_VENDOR_HUAWEI, "atmodem", data->pcui);
> -	ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
> -						"atmodem", data->pcui);
>  	ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
>  						"atmodem", data->pcui);
>  
> 


Ok.It was compiled.
Let's go.

Start ofono.Nice.
http://pastie.org/1218096

Then i plug my huawei e1550 

Bus 002 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB
Modem

And log it:


http://pastie.org/1218122


# /usr/lib/ofono/test/list-modems 
[ /huawei0 ]
    Interfaces = 
    Powered = 0
    Features = 
    Online = 0

#/usr/lib/ofono/test/enable-modem
Connecting modem /huawei0..

http://pastie.org/1218123


#/usr/lib/ofono/test/list-modems  

[ /huawei0 ]
    Features = sim 
    Powered = 1
    Interfaces = org.ofono.Phonebook org.ofono.AudioSettings
org.ofono.VoiceCallManager org.ofono.SimManager 
    Online = 0
    Model = E1550
    Manufacturer = huawei
    Serial = 353142033084081
    Revision = 11.608.12.00.143
    [ org.ofono.Phonebook ]
    [ org.ofono.AudioSettings ]
        Active = 0
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 112 911 000 08 110 999 118 119 
    [ org.ofono.SimManager ]
        SubscriberNumbers = 
        PreferredLanguages = en 

Looks normally.


#/usr/lib/ofono/test/enable-modem 

Connecting modem /huawei0...


# /usr/lib/ofono/test/online-modem 

http://pastie.org/1218129



/usr/lib/ofono/test/enable-gprs 
Connecting modem /huawei0..

http://pastie.org/1218136


And then it in loopback :(
add_modem
remove_modem
and again






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

* Re: huawei e1550
  2010-10-13 12:51           ` Kalle Valo
  2010-10-13 13:57             ` Alexander A Khryukin
@ 2010-10-14  9:03             ` Alexander A Khryukin
  1 sibling, 0 replies; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-14  9:03 UTC (permalink / raw)
  To: ofono

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

Fixed logs


OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n -d


# /usr/lib/ofono/test/enable-modem 
Connecting modem /huawei0..


http://pastie.org/1220238



# /usr/lib/ofono/test/online-modem
Setting modem /huawei0 online...

http://pastie.org/1220240



after "Online-modem"


ofonod[7270]: src/gprs.c:gprs_context_remove() atom: 0x96680b8
ofonod[7270]: drivers/atmodem/gprs-context.c:at_gprs_context_remove() 
ofonod[7270]: src/modem.c:get_modem_property() modem 0x9668d90 property
Modem
ofonod[7270]: plugins/huawei.c:open_device() Modem /dev/ttyUSB0
ofonod[7270]:
plugins/udev.c:remove_modem() /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/ttyUSB0/tty/ttyUSB0
ofonod[7270]: src/modem.c:get_modem_property() modem 0x9668d90 property
Path
ofonod[7270]: src/modem.c:ofono_modem_remove() 0x9668d90
ofonod[7270]: src/message-waiting.c:mw_remove() atom: 0x9668780
ofonod[7270]: src/ssn.c:ssn_remove() atom: 0x9668628
ofonod[7270]: src/call-barring.c:call_barring_remove() atom: 0x9668590
ofonod[7270]: src/call-settings.c:call_settings_remove() atom: 0x96684a0
ofonod[7270]: src/call-forwarding.c:call_forwarding_remove() atom:
0x9668248
ofonod[7270]: src/network.c:__ofono_netreg_remove_status_watch()
0x9667a98
ofonod[7270]: src/gprs.c:gprs_remove() atom: 0x9667fc0
ofonod[7270]: src/ussd.c:ussd_remove() atom: 0x9667550
ofonod[7270]: src/network.c:__ofono_netreg_remove_status_watch()
0x9667a98
ofonod[7270]: src/cbs.c:cbs_remove() atom: 0x9669228
ofonod[7270]: src/sms.c:sms_remove() atom: 0x9669260
ofonod[7270]: src/network.c:netreg_remove() atom: 0x9667118
ofonod[7270]: src/phonebook.c:phonebook_remove() atom: 0x9667a50
ofonod[7270]: src/audio-settings.c:audio_settings_remove() atom:
0x9667978
ofonod[7270]: src/voicecall.c:voicecall_remove() atom: 0x9666f78
ofonod[7270]: src/sim.c:sim_remove() atom: 0x9666cd0
ofonod[7270]: src/modem.c:devinfo_remove() atom: 0x9664d50
ofonod[7270]: plugins/huawei.c:huawei_disable() 0x9668d90
ofonod[7270]: plugins/huawei.c:huawei_remove() 0x9668d90
ofonod[7270]: src/modem.c:unregister_property() property 0x9666b60
ofonod[7270]: src/modem.c:unregister_property() property 0x9668e18
ofonod[7270]: src/modem.c:unregister_property() property 0x9666e68
ofonod[7270]: src/modem.c:unregister_property() property 0x9668e48
ofonod[7270]: src/modem.c:unregister_property() property 0x96672a0
ofonod[7270]: src/modem.c:unregister_property() property 0x9665228
ofonod[7270]: plugins/smart-messaging.c:modem_watch() modem: 0x9668d90,
added: 0
ofonod[7270]:
plugins/udev.c:remove_modem() /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.1/ttyUSB1/tty/ttyUSB1
ofonod[7270]:
plugins/udev.c:remove_modem() /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.2/ttyUSB2/tty/ttyUSB2






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

* Re: huawei e1550
  2010-10-13 12:54         ` Alexander A Khryukin
@ 2010-10-18  8:30           ` Alexander A Khryukin
  2010-10-29 11:39             ` Alexander A Khryukin
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-18  8:30 UTC (permalink / raw)
  To: ofono

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

В Срд, 13/10/2010 в 16:54 +0400, Alexander A Khryukin пишет:
> В Срд, 13/10/2010 в 15:14 +0300, Kalle Valo пишет:
> > Alexander A Khryukin <alexander@mezon.ru> writes:
> > 
> > >> Sorry, I wasn't able to immeadiately say from the logs what went wrong.
> > >> Can you get a log which includes AT commands? It would help a lot.
> > >> 
> > >> Just run this command to get the logs:
> > >> 
> > >> OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> > >> 
> > >> What's the exact version of ofono you are using? Huawei has had some
> > >> changes lately. 
> > >> 
> > >> Also is the SIM configured to ask for PIN or not? I'm guessing no from
> > >> the log, but can't be sure.
> > >
> > > Ok.I connect modem to usb-port, and log it
> > >
> > > OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n
> > 
> > Sorry, I forgot -d switch from the command which enables the debug
> > messages. So it should be like this:
> > 
> > OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n -d
> > 
> > > http://pastie.org/1212535
> > 
> > I didn't immeadiately find anything wrong in the AT logs. So basically
> > your modem disappers from the bus and then comes back. Can a firmware
> > crash cause that?
> > 
> > The last commands were:
> > 
> > ofonod[838]: PCUI: > AT+CSCB=1\r
> > ofonod[838]: PCUI: < \r\nOK\r\n
> > ofonod[838]: PCUI: > AT+CSCB=0,"4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4352-4356"\r
> > 
> > Can you try the patch below? Maybe it gives us some hint what's
> > happening.
> > 
> > diff --git a/plugins/huawei.c b/plugins/huawei.c
> > index b20d83c..13ef192 100644
> > --- a/plugins/huawei.c
> > +++ b/plugins/huawei.c
> > @@ -624,8 +624,6 @@ static void huawei_post_online(struct ofono_modem *modem)
> >                                                                 data->pcui);
> >  
> >         ofono_sms_create(modem, OFONO_VENDOR_HUAWEI, "atmodem", data->pcui);
> > -       ofono_cbs_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
> > -                                               "atmodem", data->pcui);
> >         ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
> >                                                 "atmodem", data->pcui);
> > 
> 
> 
> git apply --stat p.patch
> Working =)
> Now compile.
> 
> 
> 
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono

bump



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

* Re: huawei e1550
  2010-10-18  8:30           ` Alexander A Khryukin
@ 2010-10-29 11:39             ` Alexander A Khryukin
  0 siblings, 0 replies; 12+ messages in thread
From: Alexander A Khryukin @ 2010-10-29 11:39 UTC (permalink / raw)
  To: ofono

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

Bump.
Same problem in 0.33 and 0.33 git



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

end of thread, other threads:[~2010-10-29 11:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-08 12:20 huawei e1550 Alexander A Khryukin
2010-10-08 12:43 ` Alexander A Khryukin
2010-10-08 18:25   ` Kalle Valo
2010-10-13 11:50     ` Alexander A Khryukin
2010-10-13 12:14       ` Kalle Valo
2010-10-13 12:42         ` Alexander A Khryukin
2010-10-13 12:51           ` Kalle Valo
2010-10-13 13:57             ` Alexander A Khryukin
2010-10-14  9:03             ` Alexander A Khryukin
2010-10-13 12:54         ` Alexander A Khryukin
2010-10-18  8:30           ` Alexander A Khryukin
2010-10-29 11:39             ` Alexander A Khryukin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox