RE: [PATCH] Enable hs 2330 MBM modem

2011-02-23 Thread Li, Zhigang
Hi Marcel,

Base on your request, I get the lsusb -v result, according the interface 
result, the Data Modem is ok, besides, my test result also ok.
In fact, I tried Module Data Modem, Broadband Module Data Modem all are 
don't work.


 looks wrong to me. Please get the lsusb -v out for this modem where it
 lists the interface strings.

Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 2 Communications
  bInterfaceSubClass  2 Abstract (modem)
  bInterfaceProtocol  1 AT-commands (v.25ter)
  iInterface  6 HP hs2330 Mobile Broadband Module| Data Modem
  CDC Header:
bcdCDC   1.10
  CDC Union:
bMasterInterface1
bSlaveInterface 2 
  CDC Call Management:
bmCapabilities   0x03
  call management
  use DataInterface
bDataInterface  2
  CDC ACM:
bmCapabilities   0x07
  sends break
  line coding and serial state
  get/set/clear comm features
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a  EP 10 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0010  1x 16 bytes
bInterval   8
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber2
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass10 CDC Data
  bInterfaceSubClass  0 Unused
  bInterfaceProtocol  0 
  iInterface  7 HP hs2330 Mobile Broadband Module| Data Modem
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0

thanks
zhigang

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


RE: [PATCH] Enable hs 2330 MBM modem

2011-02-16 Thread Li, Zhigang
  I think this should be Module Data Modem.


 looks wrong to me. Please get the lsusb -v out for this modem where it
 lists the interface strings.

Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 2 Communications
  bInterfaceSubClass  2 Abstract (modem)
  bInterfaceProtocol  1 AT-commands (v.25ter)
  iInterface  6 HP hs2330 Mobile Broadband Module| Data Modem
  CDC Header:
bcdCDC   1.10
  CDC Union:
bMasterInterface1
bSlaveInterface 2 
  CDC Call Management:
bmCapabilities   0x03
  call management
  use DataInterface
bDataInterface  2
  CDC ACM:
bmCapabilities   0x07
  sends break
  line coding and serial state
  get/set/clear comm features
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a  EP 10 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0010  1x 16 bytes
bInterval   8
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber2
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass10 CDC Data
  bInterfaceSubClass  0 Unused
  bInterfaceProtocol  0 
  iInterface  7 HP hs2330 Mobile Broadband Module| Data Modem
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0

___
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: Band selection issue

2011-01-17 Thread Li, Zhigang
Hi Lucas

The issue was unstable modem. I tried the 1552 modem again, now it works fine 
with 2G/3G Band, as the limitation of PCS network, did not test the PCS band.

With Emw770, it doesn't work yet, should be modem self issue.

Could you enable debug and paste the output somewhere?
...
...
ofonod[28247]: src/gprs.c:ofono_gprs_status_notify() /huawei2 status 2
ofonod[28247]: PCUI:  \r\n^BOOT:20294258,0,0,0,29\r\n
ofonod[28247]: PCUI:  AT^SYSCFG=16,3,2a0380,2,4\r
ofonod[28247]: PCUI:  \r\nERROR\r\n
ofonod[28247]: src/radio-settings.c:radio_band_set_callback() Error setting 
radio frequency band
ofonod[28247]: PCUI:  AT^SYSCFG=16,3,2a0380,2,4\r
ofonod[28247]: PCUI:  \r\nERROR\r\n
ofonod[28247]: src/radio-settings.c:radio_band_set_callback() Error setting 
radio frequency band
ofonod[28247]: PCUI:  AT^SYSCFG=16,3,2a0380,2,4\r
ofonod[28247]: PCUI:  \r\nERROR\r\n
ofonod[28247]: src/radio-settings.c:radio_band_set_callback() Error setting 
radio frequency band
^[[Aofonod[28247]: PCUI:  \r\n^BOOT:20294258,0,0,0,29\r\n
ofonod[28247]: PCUI:  AT^SYSCFG=16,3,20100,2,4\r
ofonod[28247]: PCUI:  \r\nERROR\r\n
ofonod[28247]: src/radio-settings.c:radio_band_set_callback() Error setting 
radio frequency band
ofonod[28247]: PCUI:  \r\n^BOOT:20294258,0,0,0,29\r\n
ofonod[28247]: PCUI:  AT^SYSCFG=16,3,20100,2,4\r
ofonod[28247]: PCUI:  \r\nERROR\r\n
ofonod[28247]: src/radio-settings.c:radio_band_set_callback() Error setting 
radio frequency band

Thanks
Zhigang

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


RE: Making voice call with Huawei E272 USB Modem

2011-01-13 Thread Li, Zhigang

#output from list-modem testscrip
./list-modems
[ /huawei0 ]
Features = sms gprs cbs net rat sim

There was no voicecall manager interface at all, it mean your modem did not 
support voice call.


Powered = 1
Lockdown = 0
Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification
org.ofono.MessageManager org.ofono.ConnectionManager
org.ofono.CellBroadcast org.ofono.NetworkRegistration
org.ofono.SupplementaryServices org.ofono.Phonebook
org.ofono.RadioSettings org.ofono.SimManager
Online = 1
Model = E272
Manufacturer = huawei
Serial = 357865013196535

B,R
Zhigang

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


Band selection issue

2011-01-13 Thread Li, Zhigang
Hi,
With HuaWei Em77W and Em1152 modems, I only can set band once in tow modems; it 
always return the call back error, with debugging, it seems was modems self 
issue.
Does it known issue?
Could you list which Hua wei modem are you using for debugging?
Thanks
Zhigang


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


RE: ofono build error

2010-08-06 Thread Li, Zhigang



From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of 
goodkid.peng
Sent: 2010年8月6日 16:37
To: ofono
Subject: ofono build error

hi guys,
 
    I download the ofono1.4 from website and import into my QT creator4.6.But I 
got a error when I build it.
    
Where you need download ofono 1.4? 
Phonesim 1.4 !

You need Qmake 4 for phonesim. README file could help your from compiling.


:: error: No rule to make target `\360Downloads\mytest\qsmsmessage_p.cpp', needed by `\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\360Downloads\mytest\MYTEST_0XE840CA53\GCCE\udeb\qsmsmessage_p.o'.  Stop.
 
 
    I thnik it means we need a qsmsmessage_p.cpp file ,but just qsmsmessage_p.h 
in there.How can I correct the error?
 
2010-08-06 

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


RE: oFono v0.22 test report

2010-06-10 Thread Li, Zhigang
Hi Sjur

Are these all manual tests or are you using any automated test suite?

There were 70 cases were automation base on phonesim and it was in our AutoDTI 
test suite. In additional, there will be an automated test suite for MeeGo 
project in the future.

Thanks
Zhigang


Regards
Sjur Brændeland


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


Test plan for oFono v0.21

2010-06-06 Thread Li, Zhigang
Test Objective
--
This is QA regular release testing cycle for oFono released. Our testing focus 
would be new features exploration and regression testing, to ensure major 
issues for new features are exposed in timely fashion. 

Test Scope
--
The test will do full light functional validation, mainly focus on checking 
implemented functionality of ofono v0.21 (voice call, message, cell broadcast, 
phonebook, sim, supplementary service, modem management, voice mail, call 
volume, call history, message history, GPRS, HFP, USSD) base on phonesim 
simulator and some hardware devices.

The new feature: 
Modem emulator will do at command testing base ITU v250 spec.
PPP: Had dependence with Modem now but will do it with additional application 
later.
STK is not ready for testing yet.
NITZ is not reay for testing yet

Test Environment
---
General Features:
General PC (pre-installed FC12)
   - ofono v0.21
   - phonesim git tree
HFP:
Netbook EeePC901
  - MeeGo20100601 image
  - Sony Ericsson C903, Nokia N95
  - ofono v0.21
  
GPRS:
  - MBM modem
  - ofono v0.21
  - UNICOM 3G WCDMA network 

We already start the test and you will get the result at this Wednesday.

B,R
Zhigang
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: How to play with ofono-phonesim -reg

2010-05-11 Thread Li, Zhigang

Can we really make calls or send sms messages using ofono-phonesim simulator 
using phonesim modem driver?

Sure, Launch phonesim application you will find the call and sms application 
window. You can setup call or send message by the application


B,R
Zhigang
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


patch to enable cell broadcast message in phonesim

2010-01-24 Thread Li, Zhigang
HI,
This patch is to enable CBS base on latest CBS modification in phonesim, please 
review.

Thanks



0001-Enable-Cell-broadcast-message-in-phonesim.patch
Description: 0001-Enable-Cell-broadcast-message-in-phonesim.patch
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


patch for more segments of sms

2009-11-23 Thread Li, Zhigang
Hi 
Please review this patch which fixed more segments of sms issue.

Also you can find the bug detail information at 
http://bugzilla.moblin.org/show_bug.cgi?id=8157
Also thanks Yang great help 

Thanks
Zhigang



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


RE: How to hangup outgoing call, before terminating end answers?

2009-08-18 Thread Li, Zhigang
Hi Marko,

The following do not work as the /modem1/voicecall01 does not exist:
$ dbus-send --system --print-reply --dest=org.ofono /modem1/voicecall01
org.ofono.VoiceCall.Hangup
Error org.freedesktop.DBus.Error.UnknownMethod: Method Hangup with
signature  on interface org.ofono.VoiceCall doesn't exist

It's normal if the voicecall01 didn't be setup 

$ dbus-send --system --print-reply --dest=org.ofono /modem1/voicecall01
org.ofono.VoiceCall.Busy
Error org.freedesktop.DBus.Error.UnknownMethod: Method Busy with
signature  on interface org.ofono.VoiceCall doesn't exist

Busy only for waiting and incoming call


The VoiceCallManager.HangupAll does not work either:
$ dbus-send --print-reply --system --dest=org.ofono /modem1
org.ofono.VoiceCallManager.HangupAll
Error org.ofono.Error.InProgress: Operation already in progress

It should be a bug if you use real modem

In phonesim the outgoing call be accepted quickly so can't find this issue.

I had same problem with a phone in real network; I assume its phone 
limitation before.



Regards,
Marko
___
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: segment fault in latest version

2009-08-04 Thread Li, Zhigang
Hi,Denis

This should now be fixed in the latest version.  Can you please check and
report if this still goes kaboom?


Great! Now work fine.

Thanks

___
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: sms segment fault with 160 char

2009-07-30 Thread Li, Zhigang
Hi,
Great! More than one recipients and more segment work fine after I reinstall 
the python package 
Thanks

-Original Message-
From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of
Denis Kenzior
Sent: 2009年7月30日 23:28
To: ofono@ofono.org
Subject: Re: sms segment fault with 160 char

Hi,

 Please see the log of phonesim:
  AT+CMGS=18 :

 0011000B815128010272F4A70461F1980C :
 +CMGS: 0
 OK

Destination: 158210202..
Content: abcd

 AT+CMGS=18 :

 0011000B813118567873F2A704B2D88C06 :
 +CMGS: 0
 OK
 The content is different, and it should be abcd

Destination: 138165873..
Content: 2134

So I don't understand, you're physically sending two different SMSs here.


 In real network:
 Because I use phone as modem so maybe something wrong in at response.
 Whatever it was wrong behavior:
 The number1 target device received two message:
  1, content: abcd
  2, content: number1

Again, you're sending two SMSes according to the log.  First with 2
recipients, and second with a single one.  This means three SMSes are sent,
and presumably one of the recipients will get 2 of them.  All three get sent
eventually.  What is the problem?

Regards,
-Denis
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Problems of CF setting and GSM string

2009-07-13 Thread Li, Zhigang
HI,
Test against the 0.1 version,
Tow problem were detected, 

1, only set CF no reply timer can't successful, and I have to set no reply 
number or disable it first.
   Cf.setproperties(VoiceNoReply,dbusInt16(30))

2, *SC***SIC# don't support in GSM string
   *61***30#
Are they known issue? or anything I did wrong

Also only CF need update DATA,FAX,SMS in the future, right? 

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


Network registeration mode

2009-06-16 Thread Li, Zhigang
Hi All,
About the Mode properties in NetworkRegistration, if we don't provide write 
attributes how user can register the network manually?
I saw there was SetProperty Methods but removed now. 

Thanks

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