RE: Atmodem PPP Link establishment issues

2010-08-31 Thread Marcel Holtmann
Hi Arun, > Please ignore this mail... > > This was mailed almost 1.5 months back and now it surfaced, at last. > > We could resolve the PPP issues. okay. So what was the resolution on your side? Regards Marcel ___ ofono mailing list ofono@ofono.or

Re: Clarification on USSD support in ofono

2010-08-31 Thread Marcel Holtmann
Hi Jeevaka, > Currently, oFono expects the USSD string in UTF-8. ofono(Atom driver > - AT or ISI) converts the UTF-8 string to GSM 7-bit default alphabet > and sends it to the network. In this way, we will always send the data > coding scheme as GSM 7-bit default alphabet or whatever the charact

Re: [RFC] Add agent API to message atom

2010-08-30 Thread Marcel Holtmann
Hi Aki, > doc/message-api.txt | 97 > +++ > 1 files changed, 97 insertions(+), 0 deletions(-) > > diff --git a/doc/message-api.txt b/doc/message-api.txt > index 693a111..ce96315 100644 > --- a/doc/message-api.txt > +++ b/doc/message-api.txt > @@

Re: [PATCH 1/1] hfp: Add faked sim driver to support SIM ready

2010-08-30 Thread Marcel Holtmann
Hi Denis, > > HFP modem doesn't have IMSI at all. In order to notify SIM ready to the > > core, we create a special sim driver with a faked IMSI number. > > Can you try after commit 88024972df46d4ababbaf39354615e8a8d603cfc? I > added magic which will skip sim_ready stuff completely for modems th

Re: Connecting with Huawei E226

2010-08-27 Thread Marcel Holtmann
Hi Thiago, > >> I don't know if it is related, but I'm getting lots of error messages > >> from option driver: > >> > >> option: option_instat_callback: error -2 > >> > >> They appear as soon as the modem is detected (after eject /dev/sr0). > > > > Sounds like a kernel bug. Which one are you using

Re: Connecting with Huawei E226

2010-08-27 Thread Marcel Holtmann
Hi Thiago, > >> I understand. I mixed up two problems and that got confusing. The ZTE > >> modem is not showing the race condition issue. It didn't showed up > >> when I called list-modems. That is why I tested it with other > >> software, just to be sure it works with linux (MeeGo in this case).

Re: Connecting with Huawei E226

2010-08-27 Thread Marcel Holtmann
Hi Thiago, > >> >> I forgot also to mention that I used list-context to see if the > >> >> enable-modem was successful. The test B is the one that fails. > >> > > >> > From the logs it seems Test A is what fails since we never add any atoms > >> > in that one. Basically the problem is that your m

Re: Connecting with Huawei E226

2010-08-27 Thread Marcel Holtmann
Hi Thiago, > >> I forgot also to mention that I used list-context to see if the > >> enable-modem was successful. The test B is the one that fails. > > > > From the logs it seems Test A is what fails since we never add any atoms > > in that one. Basically the problem is that your modem firmware n

Re: [PATCH v2] Add CDMA extension tasks

2010-08-26 Thread Marcel Holtmann
Hi Caiwen, > --- > TODO | 76 > ++ > 1 files changed, 76 insertions(+), 0 deletions(-) > > diff --git a/TODO b/TODO > index a97f076..b159c07 100644 > --- a/TODO > +++ b/TODO > @@ -614,3 +614,79 @@ Miscellaneous > >Priority:

Re: New to OFONO

2010-08-25 Thread Marcel Holtmann
Hi Keith, > I am new to OFONO, but I have 11 years of experience in smartphone > telephony development. I have worked on both UMTS and CDMA product > designs for different mobile operators, handset manufacturers, chipset > vendors and o/s vendors. I know the challenges of designing a > telephony

Re: [PATCH] mbm: add quirks for Dell D5530

2010-08-25 Thread Marcel Holtmann
Hi Denis, > > Dell D5530 is an OEM version of F3507g. It has an annoying habit of > > announcing itself to world with its own name. It also crashes upon > > processing received cbs messages. > > --- > > plugins/mbm.c | 55 > >

Re: [PATCH] mbm: add quirks for Dell D5530

2010-08-25 Thread Marcel Holtmann
Hi Denis, > >>> Dell D5530 is an OEM version of F3507g. It has an annoying habit of > >>> announcing itself to world with its own name. It also crashes upon > >>> processing received cbs messages. > >>> --- > >>> plugins/mbm.c | 55 > >>> +--

Re: [PATCH] mbm: add quirks for Dell D5530

2010-08-25 Thread Marcel Holtmann
Hi Denis, > > Dell D5530 is an OEM version of F3507g. It has an annoying habit of > > announcing itself to world with its own name. It also crashes upon > > processing received cbs messages. > > --- > > plugins/mbm.c | 55 > > +-- > > 1 files

Re: Implementing support for a new modem- how to?

2010-08-25 Thread Marcel Holtmann
Hi Arun, > We are working with this type of modem, and would like to submit > patches to oFono. We found that we have to make few modifications to > some of the AT command responses and also may have to introduce to > support for a few new commands. > > We found that in network registration sms

Re: About ppp_receive()

2010-08-24 Thread Marcel Holtmann
Hi Steven, > NO, just as the above have said ,we only negotiate two options, it's ok > for our PPP stack and it runs correctly. > >>> Then I'm confused. What is your concern here? :) > >> currently, we worked on a Qualcomm CDMA chip, and it worked on a Relay > >> mode, just relay the a

Re: About ppp_receive()

2010-08-24 Thread Marcel Holtmann
Hi Steven, > >> NO, just as the above have said ,we only negotiate two options, it's ok > >> for our PPP stack and it runs correctly. > > > > Then I'm confused. What is your concern here? :) > > currently, we worked on a Qualcomm CDMA chip, and it worked on a Relay > mode, just relay the air P

Re: About ppp_receive()

2010-08-24 Thread Marcel Holtmann
Hi Steven, > >> In function ppp_receive, we first check the protocol type of this > >> frame > >> like: > >> > >> guint16 protocol = ppp_proto(buf); > >> > >> and here we assumed the length of the protocol field is 16 bits, but > >> in > >> RFC 1661, the protocol field should be one or two oct

Re: [online PATCH 4/9] huawei: implement Online property

2010-08-24 Thread Marcel Holtmann
Hi Pekka, > --- > plugins/huawei.c | 44 +--- > 1 files changed, 37 insertions(+), 7 deletions(-) > > diff --git a/plugins/huawei.c b/plugins/huawei.c > index fc331ff..4869294 100644 > --- a/plugins/huawei.c > +++ b/plugins/huawei.c > @@ -351,7 +351,7 @@

Re: About Gatmux

2010-08-24 Thread Marcel Holtmann
Hi Steven, > In DLC establish phase, 27.010 have said if the station wish to > establish a DLC, if the responding station is ready to establish the > connection it will reply with a UA frame with the F-bit set to 1. If the > responding station is not ready or unwilling to establish the particul

Re: [PATCH 1/4] Support text mode sms sending and receiving

2010-08-24 Thread Marcel Holtmann
Hi Yong, > gatchat/gatchat.c | 236 > ++--- > 1 files changed, 224 insertions(+), 12 deletions(-) > + /* Read expect message length > + * If length is -1, use original solution > + *

Re: [PATCH 2/4] Support text mode sms sending and receiving

2010-08-24 Thread Marcel Holtmann
Hi Yong, > --- > gatchat/gatchat.h | 23 +++ > 1 files changed, 23 insertions(+), 0 deletions(-) so Denis has to give a final say on yes or no to these patches, but in general gatchat.[ch] have to be submitted together. This applies to the whole project. Splitting patches

Re: [PATCH v2] Add CDMA specs

2010-08-24 Thread Marcel Holtmann
Hi Caiwen, > doc/standards.txt | 85 > + > 1 files changed, 85 insertions(+), 0 deletions(-) patch format now looks good, but you introduced a bunch of trailing whitespaces in your patch. Please don't and re-submit once you fixed it. Regard

Re: [PATCH] todo: add owner for sim ready notification task

2010-08-23 Thread Marcel Holtmann
Hi Kristen, > --- > TODO |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/TODO b/TODO > index 97f43e1..a97f076 100644 > --- a/TODO > +++ b/TODO > @@ -158,6 +158,7 @@ SIM / SIM File system > >Priority: High >Complexity: C2 > + Owner: Kristen Carlson Accardi

Re: [PATCH] hfp: fix typo

2010-08-23 Thread Marcel Holtmann
Hi Joao, > --- > plugins/hfp.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/plugins/hfp.c b/plugins/hfp.c > index 0337891..9a892db 100644 > --- a/plugins/hfp.c > +++ b/plugins/hfp.c > @@ -83,7 +83,7 @@ static void clear_data(struct ofono_modem *modem) >

Re: [PATCHv2 2/2] mbm: retry modem init

2010-08-23 Thread Marcel Holtmann
Hi Pekka, > If the first initialization command results are catastrophic. Retry it > 10 times and refuse to enable modem if it still fails. > --- > plugins/mbm.c | 75 > - > 1 files changed, 58 insertions(+), 17 deletions(-) > > diff --g

Re: [PATCHv2 1/2] mbm: fix initial polling for sim

2010-08-23 Thread Marcel Holtmann
Hi Pekka, > There seems to be no specific error codes returned when SIM is missing. > Poll at least 5 times upon an error and give up after that. > --- > plugins/mbm.c |8 +++- > 1 files changed, 3 insertions(+), 5 deletions(-) looks good to me. Patch has been applied. Thanks. Regards

Re: [PATCH 1/2] add cdma radio setting

2010-08-23 Thread Marcel Holtmann
Hi Caiwen, > --- > include/radio-settings.h |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > mode change 100644 => 100755 include/radio-settings.h please stop sending these patches until you have configured GIT correctly. I haven't even looked at the content of these patches y

Re: [PATCH] add cdma relative specs

2010-08-23 Thread Marcel Holtmann
Hi Caiwen, > --- > doc/standards.txt | 85 > + > 1 files changed, 85 insertions(+), 0 deletions(-) > mode change 100644 => 100755 doc/standards.txt this is still not gonna work out. So first of all your email address should reflect a proper

Re: Support text mode sms send and receive

2010-08-23 Thread Marcel Holtmann
Hi Yong, > Our project used ZTE EVDO modem. But this modem only supports sending > and receiving sms with text mode. That is pretty sad. ZTE modems have the SMS PDU mode for GSM. > I have modify oFono gatchat code to support this. But it conflicted > with original gatchat architecture. Send th

Re: [PATCH] add cdma specs

2010-08-23 Thread Marcel Holtmann
Hi Caiwen, > From: caiwen.zhang please fix this first. I can't apply your patches this way. Create a proper global .gitconfig (see man git-config). Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: About ppp_receive()

2010-08-23 Thread Marcel Holtmann
Hi Steven, > In function ppp_receive, we first check the protocol type of this frame > like: > > guint16 protocol = ppp_proto(buf); > > and here we assumed the length of the protocol field is 16 bits, but in > RFC 1661, the protocol field should be one or two octets. > > "The Protocol field

Re: About Connection between PPP and linux Sockets

2010-08-20 Thread Marcel Holtmann
Hi Remi, > > for a mobile telephony stack, pppd is wrong. Once you understand how 3G > > missuses PPP for IP and PDP context setup, you see what I mean ;) > > For mobile telephony, PPP as a _protocol_ is wrong - sure. That being > stated, I don't see how pppd as a _software_ is better or worse th

Re: [PATCH 3/3] mbm: register gprs as STE to utilize STE quirks

2010-08-20 Thread Marcel Holtmann
Hi Pekka, > > No AT+CGEREP=2,1 on mbm either. > > --- > > plugins/mbm.c |3 ++- > > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > diff --git a/plugins/mbm.c b/plugins/mbm.c > > index a06c444..e77e61c 100644 > > --- a/plugins/mbm.c > > +++ b/plugins/mbm.c > > @@ -395,7 +395,8 @@ st

Re: About Connection between PPP and linux Sockets

2010-08-20 Thread Marcel Holtmann
Hi Steven, > I have a little question just as the title said? > In Ofono how to connect PPP to Linux socket, when we receive > packet from network, how the packet go through the kernel to > application? > > modem -->PPP-->? --> linux kernel(ne

RE: About Connection between PPP and linux Sockets

2010-08-20 Thread Marcel Holtmann
Hi Zhenhua, > >> I have a little question just as the title said? > >> In Ofono how to connect PPP to Linux socket, when we receive > >> packet from network, how the packet go through the kernel to > >> application? > >> > >> modem -->PPP-->? --> linux kernel(network part

RE: UIM manager atom APIs review request

2010-08-20 Thread Marcel Holtmann
Hi Caiwen, > > > > > I am going to implement an UIM manager atom for CDMA extension. > > Its > > > > APIs will be almost the same as > > > > > current SIM manger atom's APIs. But I suggest maybe will can do > > > some > > > > changes: > > > > > > > > > > 1. Add PIN remain retry count suppor

Re: [PATCH] udev: Add check for serial before string operation

2010-08-20 Thread Marcel Holtmann
Hi Zhenhua, > 'serial' could be NULL in some case. So it need to add check before > doing string operation. > --- > plugins/udev.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/plugins/udev.c b/plugins/udev.c > index 84399de..6720a0c 100644 > --- a/plugins/udev.c

RE: About Connection between PPP and linux Sockets

2010-08-19 Thread Marcel Holtmann
Hi Zhenhua, > >> I have a little question just as the title said? > >> In Ofono how to connect PPP to Linux socket, when we receive packet > >> from network, how the packet go through the kernel to application? > >> > >> modem -->PPP-->? --> linux kernel(network part)--> socket --> > >> applicati

Re: [PATCH] Fix: remove extra comma from NotAvailable error

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > --- > src/dbus.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/dbus.c b/src/dbus.c > index 09114c3..c51f2a9 100644 > --- a/src/dbus.c > +++ b/src/dbus.c > @@ -300,7 +300,7 @@ DBusMessage *__ofono_error_not_supported(DBusMessage *msg) > > DBusM

RE: Gatmux doubt and suggestion

2010-08-19 Thread Marcel Holtmann
Hi Arun, > > In mux_query_cb(), the frame size is taken as default (31 or 64). We > > have a case where the default values are not accepted by the modem. > > > > Gatmux is a generic component, and so makes all modem to use the > > default values, one needs to modify the gatmux to enable for exa

RE: UIM manager atom APIs review request

2010-08-19 Thread Marcel Holtmann
Hi Caiwen, > > > I am going to implement an UIM manager atom for CDMA extension. Its > > APIs will be almost the same as > > > current SIM manger atom's APIs. But I suggest maybe will can do > some > > changes: > > > > > > 1. Add PIN remain retry count support > > > 2. replace properties 'Pre

Re: About Connection between PPP and linux Sockets

2010-08-19 Thread Marcel Holtmann
Hi Steven, > I have a little question just as the title said? > In Ofono how to connect PPP to Linux socket, when we receive packet from > network, how the packet go through the kernel to application? > > modem -->PPP-->? --> linux kernel(network part)--> socket --> application? it is more like

Re: Gatmux doubt and suggestion

2010-08-19 Thread Marcel Holtmann
Hi Arun, > In mux_query_cb(), the frame size is taken as default (31 or 64). We > have a case where the default values are not accepted by the modem. > > Gatmux is a generic component, and so makes all modem to use the > default values, one needs to modify the gatmux to enable for example, > a la

Re: [PATCH 3/3] mbm: register gprs as STE to utilize STE quirks

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > No AT+CGEREP=2,1 on mbm either. > --- > plugins/mbm.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/plugins/mbm.c b/plugins/mbm.c > index a06c444..e77e61c 100644 > --- a/plugins/mbm.c > +++ b/plugins/mbm.c > @@ -395,7 +395,8 @@ static void mbm_post_s

Re: [PATCH 2/3] mbm: retry modem init

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > If the first initialization command results are catastrophic. Retry it 10 > times, refuse to enable modem if it fails. > --- > plugins/mbm.c | 71 > + > 1 files changed, 56 insertions(+), 15 deletions(-) > > diff --git a/plug

Re: [PATCH 1/3] mbm: fix initial polling for sim

2010-08-19 Thread Marcel Holtmann
Hi Pekka, > There seems to be no specific error codes returned when SIM is missing. Poll > at least 5 times upon an error and give up after that. > --- > plugins/mbm.c |8 +++- > 1 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/plugins/mbm.c b/plugins/mbm.c > index 6f715

Re: [PATCH 1/2] Make function reset_available() return void

2010-08-19 Thread Marcel Holtmann
Hi Yang, > This change is to dispel compiler's complaint. > --- > src/network.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) I fixed this before I read your email. Thanks for the patch anyway. Regards Marcel ___ ofono mailing list

Re: UIM manager atom APIs review request

2010-08-19 Thread Marcel Holtmann
Hi Kalle, > > I am going to implement an UIM manager atom for CDMA extension. Its APIs > > will be almost the same as > > current SIM manger atom's APIs. But I suggest maybe will can do some > > changes: > > > > 1. Add PIN remain retry count support > > Doesn't GSM also support this? If y

Re: UIM manager atom APIs review request

2010-08-18 Thread Marcel Holtmann
Hi Caiwen, > I am going to implement an UIM manager atom for CDMA extension. Its APIs will > be almost the same as > current SIM manger atom's APIs. But I suggest maybe will can do some changes: > > 1. Add PIN remain retry count support > 2. replace properties 'Present' 'PinRequire

Re: [PATCH] [RfC] doc: Proposed Set Up Call api.

2010-08-18 Thread Marcel Holtmann
Hi Andrew, > The normal sequence for call setup is: > > * Modem asks user for confirmation using icon1 / alphaId1. > * User confirms > * Modem starts dialling, screen displays icon2 / alphaId2, > * Call is connected, modem replies to the proactive command, screen > keeps displaying icon2 / alph

Re: [PATCH v2] [RfC] doc: Proposed Set Up Call api.

2010-08-17 Thread Marcel Holtmann
Hi Denis, > > diff --git a/doc/voicecall-api.txt b/doc/voicecall-api.txt > > index efeae42..dae3ec2 100644 > > --- a/doc/voicecall-api.txt > > +++ b/doc/voicecall-api.txt > > @@ -106,3 +106,14 @@ Properties string LineIdentification [readonly] > > stamped when the call ente

Re: ppp0 interface is not configured

2010-08-17 Thread Marcel Holtmann
Hi Florian, > >> we currently test the PPP dialup with a Huawei EM770W modem. We can > >> connect with create-context and activate context but the ppp device is > >> not configured. connman says that the device is not connected. We use > >> connman 0.55 and ofono 0.26. > >> What did we do wrong

Re: ppp0 interface is not configured

2010-08-17 Thread Marcel Holtmann
Hi Florian, > we currently test the PPP dialup with a Huawei EM770W modem. We can > connect with create-context and activate context but the ppp device is > not configured. connman says that the device is not connected. We use > connman 0.55 and ofono 0.26. > What did we do wrong? The kernel is

Re: [PATCH] [RfC] stk-api: Proposed Set Up Call api.

2010-08-17 Thread Marcel Holtmann
Hi Andrew, > >> doc/stk-api.txt | 15 +++ > >> 1 files changed, 15 insertions(+), 0 deletions(-) > >> > >> diff --git a/doc/stk-api.txt b/doc/stk-api.txt > >> index 2e863a9..b85c7db 100644 > >> --- a/doc/stk-api.txt > >> +++ b/doc/stk-api.txt > >> @@ -55,6 +55,14 @@ Signals

Re: [PATCH] [RfC] stk-api: Proposed Set Up Call api.

2010-08-17 Thread Marcel Holtmann
Hi Andrew, > --- > doc/stk-api.txt | 15 +++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/doc/stk-api.txt b/doc/stk-api.txt > index 2e863a9..b85c7db 100644 > --- a/doc/stk-api.txt > +++ b/doc/stk-api.txt > @@ -55,6 +55,14 @@ SignalsPropertyChange

Re: [PATCH v5 2/8] stemodem: Add polling for SIM ready.

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > Interim solution until support for SIM 'ready' notification is supported. > --- > Change: AT-channel configuration is moved to separate patch. > > plugins/ste.c | 52 ++-- > 1 files changed, 50 insertions(+), 2 deletions(-) patch has

Re: [PATCH v5 8/8] plugins: Add STE sample to modem.conf

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > plugins/modem.conf |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: [PATCH v5 6/8] plugins/modemconf.c add support for Interface for STE plugin.

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > plugins/modemconf.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/plugins/modemconf.c b/plugins/modemconf.c > index 3747cd9..d7b1354 100644 > --- a/plugins/modemconf.c > +++ b/plugins/modemconf.c > @@ -138,6 +138,7 @@ static struct { > { "g1",

Re: [PATCH v5 7/8] plugins/ste: Use SOCK_STREAM for CAIF and enable interface specification.

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > --- > plugins/ste.c | 20 +++- > 1 files changed, 19 insertions(+), 1 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: [PATCH v5 3/8] plugins/ste: Add AT Channel configurations

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > --- > plugins/ste.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: [PATCH v5 4/7] stemodem: Add Radio Settings to STE Modem

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > --- > Changes: > o Changed order of files in Makefile > o Fixed missing empty line in copyright > o Formatted enum better > o Removed default is switches > o Removed ste in function names > > Makefile.am |2 + > drivers/stemodem/radio-settings.c | 230 > +++

Re: [PATCH v5 5/8] plugins/ste: Add Radio-Settings

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > --- > drivers/stemodem/radio-settings.c |5 + > plugins/ste.c |2 ++ > 2 files changed, 7 insertions(+), 0 deletions(-) your diffstat is wrong here. Please check the tools you use to create them. Patch has been applied. Regards Marcel _

Re: [PATCH v5 1/8] plugins/ste: SIM - STE registers as MBM to utilize mbm quirks.

2010-08-17 Thread Marcel Holtmann
Hi Sjur, > --- > Change: This time the right line is hopefully being edited. > > plugins/ste.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) patch has been applied. Thanks. Regards Marcel ___ ofono mailing list ofono@ofono.org htt

RE: Removal of modemconf plugin

2010-08-17 Thread Marcel Holtmann
Hi Pengzhuo, > > a gentle reminder that this mailing list doesn't allow top > > posting, please follow the netiquette for open source mailing lists. > > > > > What about dual mode modems that with two different serial ports? > > > e.g. a modem support both GSM and CDMA, there is a serial port F

RE: Removal of modemconf plugin

2010-08-17 Thread Marcel Holtmann
Hi Yang, > >> What about dual mode modems that with two different serial ports? > >> e.g. a modem support both GSM and CDMA, there is a serial port > >> For GSM, and there is a serial another for CDMA. > >> > >> > >> Why not keep both udev and modemconf plug-in. It remains for the user > >> To dec

RE: Removal of modemconf plugin

2010-08-17 Thread Marcel Holtmann
Hi Caiwen, a gentle reminder that this mailing list doesn't allow top posting, please follow the netiquette for open source mailing lists. > What about dual mode modems that with two different serial ports? > e.g. a modem support both GSM and CDMA, there is a serial port > For GSM, and there is

Re: [PATCH v4 7/7] plugins/ste: Use SOCK_STREAM for CAIF and enable interface specification.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > plugins/modem.conf |5 + > plugins/modemconf.c |1 + > plugins/ste.c | 20 +++- > 3 files changed, 25 insertions(+), 1 deletions(-) please don't intermix modemconf and STE plugin changes. I need two separate patches for this. Regards Marcel ___

Re: [PATCH v4 6/7] stemodem: Use RTNL for creating CAIF interface

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > CAIF in Linux kernel 2.6.35 must use RTNL for configuring > CAIF interfaces. > --- > drivers/stemodem/gprs-context.c | 51 +-- > drivers/stemodem/rtnl.c | 318 > +++ > drivers/stemodem/rtnl.h | 24 +++ > 3 files changed, 380

Re: [PATCH v4 3/7] stemodem: Add polling for SIM ready.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > Interim solution until support for SIM 'ready' notification is supported. > --- > Changes: > o Fixed style issues (tabs and newlines) > > plugins/ste.c | 55 --- > 1 files changed, 52 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH v4 2/7] plugins/ste: SIM - STE registers as MBM to utilize mbm quirks.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > ... > >do we really wanna create another vendor quirk here. If both modems > >behave identical then just pass OFONO_VENDOR_MBM in the SIM atom > >registration and be done with it. > > Re-use the MBM quirk rather than adding STE quirks in atmodem/sim.c > > --- > plugins/ste.c |2 +

Re: [PATCH v4 4/7] stemodem: Add Radio Settings to STE Modem

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > Makefile.am |3 +- > drivers/stemodem/radio-settings.c | 225 > + > drivers/stemodem/stemodem.c |2 + > drivers/stemodem/stemodem.h |2 + > 4 files changed, 231 insertions(+), 1 deletions(-) > create m

Re: [PATCH v4 1/7] plugins/ste: Include STK support from MBM driver.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > >>> ... The build system builds the plugins > >>> properly and you can cross reference modem drivers from your modem > >>> plugin without any problems. > >> > >>Simply refering to MBM driver from ste.c > >> > >one minor nitpick here. Can you please not squeeze this in between GPRS > >an

Re: [PATCH v3 2/7] plugins/ste: SIM - STE registers as MBM to utilize mbm quirks.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > >do we really wanna create another vendor quirk here. If both modems > >behave identical then just pass OFONO_VENDOR_MBM in the SIM atom > >registration and be done with it. > > Re-use the MBM quirk rather than adding STE quirks in atmodem/sim.c > > --- > plugins/ste.c |2 +- > 1

Re: [PATCH v3 1/7] plugins/ste: Include STK support from MBM driver.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > > ... The build system builds the plugins > > properly and you can cross reference modem drivers from your modem > > plugin without any problems. > > Simply refering to MBM driver from ste.c > > plugins/ste.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --g

Re: [PATCHv2 4/7] stemodem: Add Radio Settings to STE Modem

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > >> Changes since last patch set: > >> o Moved updates to plugins/ste to separate patch. > >> o Updated error handling. > >> o Style issues. > >> > >> > >> Makefile.am |4 +- > >> drivers/stemodem/radio-settings.c | 223 > >> ++

Re: [PATCHv2 4/7] stemodem: Add Radio Settings to STE Modem

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > Changes since last patch set: > o Moved updates to plugins/ste to separate patch. > o Updated error handling. > o Style issues. > > > Makefile.am |4 +- > drivers/stemodem/radio-settings.c | 223 > + > drivers/stemodem/s

Re: [PATCHv2 2/7] atmodem: Enable STE usage of AT*EPEV and AT*EPEE for PIN handling.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > drivers/atmodem/sim.c |9 ++--- > 1 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c > index eb40ad7..8e7c403 100644 > --- a/drivers/atmodem/sim.c > +++ b/drivers/atmodem/sim.c > @@ -567,10 +567,12 @@ static void at_

Re: [PATCHv2 1/7] stemodem: Add support for STK by including MBM implementation.

2010-08-16 Thread Marcel Holtmann
Hi Sjur, > Changes: > o Use MBM stk driver implementation (avoid copying code). >Note: stemodm.h has to declare the mbm_stk_init/exit functions because >importing mbmdriver causes compile errors due to duplicated >declarations. > > > drivers/stemodem/stemodem.c |2 ++ >

Re: Add 3GPP2 relative specifications

2010-08-16 Thread Marcel Holtmann
Hi Caiwen, > Add 3GPP2 relative specifications. > > --- > > diff --git a/doc/standards.txt b/doc/standards.txt > > index a7eaa5e..1b8c23f 100644 > > --- a/doc/standards.txt > > +++ b/doc/standards.txt > > @@ -81,3 +81,88 @@ technology specific features (e.g. UMTS/CDMA

Re: [PATCH] Emit initial LineIdentification and State.

2010-08-13 Thread Marcel Holtmann
Hi Pekka, > >> Allow following of call states without calling GetProperties. > > > > We decided to solve this a little bit more nicely and address some of > > the long standing round-trip issues with the Voicecall API. Please > > check the latest doc/voicecall-api.txt & doc/voicecallmanager-api.t

RE: [PATCH 04/16] emulator: Add APIs to send GAtServer result

2010-08-13 Thread Marcel Holtmann
Hi Zhenhua, > >> Defines APIs to send final/intermediate/unsolicited result to DUN > >> client. --- > >> include/emulator.h |2 ++ > >> src/emulator.c | 28 > >> src/ofono.h| 11 +++ > >> 3 files changed, 41 insertions(+), 0 deletions(-) >

RE: [PATCH 10/16] gprs: Add ofono_gprs_create_context method

2010-08-13 Thread Marcel Holtmann
Hi Zhenhua, > >> DUN server may create one primary context if none of contexts > >> existing on the GPRS atom. > > > > so Denis and I had a chat about this. And we agreed that oFono core > > should just create one Internet context if none exists. If the plugin > > driver registers a GPRS atom, we

Re: Query on Ofono Architecture for multiple RATs

2010-08-13 Thread Marcel Holtmann
Hi Naresh, > Lets suppose that I have a modem which implements various radio access > technologies like CDMA, WCDMA, GSM, LTE, etc. The questions I have > are: > > - How should this modem look like inside Ofono and be exposed outside of > Ofono? > - Do you expect to have separate modem drivers

Re: Enabling/disabling the GPS part of a Huawei EM770W

2010-08-13 Thread Marcel Holtmann
Hi Florian, > is it possible to enable / disable the GPS part of a Huawei EM770W 3G > modem through a DBUS command? It is done with the command AT^WPDGP and > AT^WPEND on the modem (tested it on PCUI port). Or is it possible to > send generic AT commands through DBUS? we know that we need some

Re: Removal of modemconf plugin

2010-08-13 Thread Marcel Holtmann
Hi Pekka, > > The open here is the ISI modem detection, but this should be clearly > > done via a Phonet plugin. And also the N900 specific case inside > > modemconf is just wrong. This needs to be fixed and just auto-detected > > via Phonet or maybe just via RTNL directly. > > Once we get proper

Re: Removal of modemconf plugin

2010-08-13 Thread Marcel Holtmann
Hi Kalle, > > Using special udev rules for special devices (in conjunction with the > > oFono auto-detection rule) make the process of setting up oFono for the > > system integrator a lot simpler. No manual configuration file patching > > anymore. Just installation of an additional udev rule. > >

Re: Startup sequence for Online / offline mode

2010-08-13 Thread Marcel Holtmann
Hi Pekka, > > My understanding was that the Online state would be initialized by a > > component like Telepathy-ring or some sort of system management daemon to > > ensure that the dialer is up and running and able to accept calls before > > the Online state is entered. If ConnMan initializes t

RE: Startup sequence for Online / offline mode

2010-08-12 Thread Marcel Holtmann
Hi Waldo, > >>> Modem drivers that support Online / offline mode default to offline when > >>> oFono loads them. Which component is responsible for calling oFono and > >>> switch the modem to online mode? Will that component be part of MeeGo? > >> > >>This feature is still highly experimental and

Re: Startup sequence for Online / offline mode

2010-08-12 Thread Marcel Holtmann
Hi Waldo, > > Modem drivers that support Online / offline mode default to offline when > > oFono loads them. Which component is responsible for calling oFono and > > switch the modem to online mode? Will that component be part of MeeGo? > > This feature is still highly experimental and not all of

Removal of modemconf plugin

2010-08-12 Thread Marcel Holtmann
Hello, so the modemconf plugin seemed to be a good idea at the time I wrote it, but lately is causes more issues and confusion than it solves. So we will be removing this plugin shortly. For this to happen the following dependencies need to be solved first: 1) Move phonesim plugin over t

Re: [PATCH 10/16] gprs: Add ofono_gprs_create_context method

2010-08-12 Thread Marcel Holtmann
Hi Zhenhua, > DUN server may create one primary context if none of contexts existing > on the GPRS atom. so Denis and I had a chat about this. And we agreed that oFono core should just create one Internet context if none exists. If the plugin driver registers a GPRS atom, we should just create on

Re: [PATCH 04/16] emulator: Add APIs to send GAtServer result

2010-08-12 Thread Marcel Holtmann
Hi Zhenhua, > Defines APIs to send final/intermediate/unsolicited result to DUN > client. > --- > include/emulator.h |2 ++ > src/emulator.c | 28 > src/ofono.h| 11 +++ > 3 files changed, 41 insertions(+), 0 deletions(-) > > diff --git a/

Re: [PATCH 0/10] Unregister AT notifiers when removing drivers

2010-08-12 Thread Marcel Holtmann
Hi Zhenhua, > This series unregister AT notifiers in removing various AT modem drivers when > modem goes to offline mode. Please review them. just a heads up here that Denis and I talked about this. And we are going to fix this inside GAtChat in the background for you. Trying to fix this single

Re: [PATCH v2 1/1] sim: Read EFust and EFest

2010-08-11 Thread Marcel Holtmann
Hi Yang, > --- > src/sim.c | 83 ++- > src/simutil.h | 108 > + > 2 files changed, 189 insertions(+), 2 deletions(-) > > diff --git a/src/sim.c b/src/sim.c > index d2ed780..9fc1bc6 100644 > --

Re: [PATCH] add default property setter for modemconf

2010-08-09 Thread Marcel Holtmann
Hi Leaf, a gentle reminder that this mailing list has a NO top posting policy. Like many open source mailing lists. > On common linux distros, suse, ubuntu, fedora.., ofono do auto-detect well, > However, on my meego netbook, ofono won't auto detect any devices. > That is the reason why i do this

Re: [PATCH] add default property setter for modemconf

2010-08-09 Thread Marcel Holtmann
Hi Leaf, > I was trying to run ofono for a huawei usb modem on my meego netbook, > but the udev on netbook seems not work for ofono, so that I've to > mannualy write settings in modem.conf. > > Huawei driver needs two device, pcui & modem, and I can't specify them > by either Interface & Device i

Re: [SMS D-Bus v5 14/17] automake: fix generation of symlinks for headers

2010-08-05 Thread Marcel Holtmann
Hi Inaky, > When running 'make distcheck' from a vpath build directory (ie: one > that is not where the source lives), the target headers in > include/ofono are not generated properly due to a typo in the > Makefile.am, that is using _srcdir where _buildir should be being > used. > --- > Makefile

Re: Add CDMA/EVDO into TODO

2010-08-02 Thread Marcel Holtmann
Hi Penghuo, I am not fully against submitting patches as attachments, but if you do expect reviews, then we do prefer inline patches. I would advise to start using git send-email for patch submission. > From 9af61f4d2546ff28a8b1ed9546c41f5f3c945f5a Mon Sep 17 00:00:00 2001 > From: Pengzhuo wang

Re: [PATCH] huawei: fix double include of GPRS header

2010-08-02 Thread Marcel Holtmann
Hi Joao, > --- > plugins/huawei.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) nice catch. Patch has been applied. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: USSD support in ofono-0.25

2010-07-30 Thread Marcel Holtmann
Hi, a gentle reminder that we are not allowing top-posting on this mailing list. Don't do it. > supplementaryservices-api.txt is not available in doc > folder in ofono-0.25.tar.gz ,is there any other location to find it? it is in the GIT repository, but was never included in the tar

<    5   6   7   8   9   10   11   12   13   >