huawei e1550
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.
В Птн, 08/10/2010 в 16:20 +0400, Alexander A Khryukin пишет:
Quoted 26 lines
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 ]
Quoted 8 lines
All fine.
In UX-interface i see section "3G" but modem cant find operator's networkI 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
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.
Hi Alexander,
Quoted 6 lines · Alexander A Khryukin
В Птн, 08/10/2010 в 16:20 +0400, Alexander A Khryukin пишет:
Quoted 5 lines
Hi all.
I have a huawei 1550 GSM-modem.
When i plug it to usb
[...]
Quoted 5 lines
Hm, now network visible but when i press "Connect" ofonod put in log that modem was removed and then process still loopback
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.
Signature · 1 line
Kalle Valo
В Птн, 08/10/2010 в 21:25 +0300, Kalle Valo пишет:
Quoted 24 lines
Hi Alexander,
Quoted 6 lines · Alexander A Khryukin
В Птн, 08/10/2010 в 16:20 +0400, Alexander A Khryukin пишет:
Quoted 5 lines
Hi all.
I have a huawei 1550 GSM-modem.
When i plug it to usb[...]
Quoted 5 lines
Hm, now network visible but when i press "Connect" ofonod put in log that modem was removed and then process still loopback
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:
Quoted 8 lines
OFONO_AT_DEBUG=1
/usr/sbin/ofonod-nWhat'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
Quoted 10 lines · Alexander A Khryukin
Quoted 10 lines
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-nWhat's the exact version of ofono you are using? Huawei has had some changes lately.
Quoted 6 lines
Quoted 2 lines
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
Quoted 1 line
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.
plugins/huawei.c +0 -2
@@ -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);
В Срд, 13/10/2010 в 15:14 +0300, Kalle Valo пишет:
Quoted 44 lines
Quoted 10 lines · Alexander A Khryukin
Quoted 10 lines
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-nWhat's the exact version of ofono you are using? Huawei has had some changes lately.
Quoted 6 lines
Quoted 2 lines
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-nSorry, 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 -dQuoted 1 line
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"\rCan you try the patch below? Maybe it gives us some hint what's happening.
plugins/huawei.c +0
-0
plugins/huawei.c static void huawei_post_online(struct ofono_modem *modem) · line 629
Quoted 8 lines
plugins/huawei.c +0
-2@@ -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
Quoted 8 lines · Alexander A Khryukin
# patch -p1 < ofono.patchpatching file
plugins/huawei.c
Hunk #1 FAILED at 624.
1 out of 1 hunk FAILED -- saving rejects to file plugins/huawei.c.rejim 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.
plugins/huawei.c +0 -2
@@ -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);
В Срд, 13/10/2010 в 15:51 +0300, Kalle Valo пишет:
Quoted 20 lines
Quoted 8 lines · Alexander A Khryukin
# patch -p1 < ofono.patchpatching file
plugins/huawei.c
Hunk #1 FAILED at 624.
1 out of 1 hunk FAILED -- saving rejects to file plugins/huawei.c.rejim using
http://www.kernel.org/pub/linux/network/ofono/ofono-0.31.tar.bz2My 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.
plugins/huawei.c +0
-0
plugins/huawei.c static void huawei_post_online(struct ofono_modem *modem) · line 622
Quoted 8 lines
plugins/huawei.c +0
-2@@ -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:
# /usr/lib/ofono/test/list-modems
[ /huawei0 ]
Interfaces =
Powered = 0
Features =
Online = 0#/usr/lib/ofono/test/enable-modem
Connecting modem /huawei0..
#/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
/usr/lib/ofono/test/enable-gprs
Connecting modem /huawei0..
And then it in loopback :(add_modemremove_modem
and again
Fixed logs
OFONO_AT_DEBUG=1 /usr/sbin/ofonod -n -d
# /usr/lib/ofono/test/enable-modem Connecting modem /huawei0..
# /usr/lib/ofono/test/online-modem Setting modem /huawei0 online...
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
В Срд, 13/10/2010 в 15:14 +0300, Kalle Valo пишет:
Quoted 44 lines
Quoted 10 lines · Alexander A Khryukin
Quoted 10 lines
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-nWhat's the exact version of ofono you are using? Huawei has had some changes lately.
Quoted 6 lines
Quoted 2 lines
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-nSorry, 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 -dQuoted 1 line
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"\rCan you try the patch below? Maybe it gives us some hint what's happening.
plugins/huawei.c +0
-0
plugins/huawei.c static void huawei_post_online(struct ofono_modem *modem) · line 629
Quoted 8 lines
plugins/huawei.c +0
-2@@ -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.
В Срд, 13/10/2010 в 16:54 +0400, Alexander A Khryukin пишет:
Quoted 61 lines
В Срд, 13/10/2010 в 15:14 +0300, Kalle Valo пишет:
Quoted 44 lines
Quoted 10 lines · Alexander A Khryukin
Quoted 10 lines
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-nWhat's the exact version of ofono you are using? Huawei has had some changes lately.
Quoted 6 lines
Quoted 2 lines
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-nSorry, 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 -dQuoted 1 line
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"\rCan you try the patch below? Maybe it gives us some hint what's happening.
plugins/huawei.c +0
-0plugins/huawei.c static void huawei_post_online(struct ofono_modem *modem) · line 629
Quoted 8 lines
plugins/huawei.c +0
-2@@ -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.
Quoted 4 lines
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono
bump
Bump.
Same problem in 0.33 and 0.33 git