Re: Startup sequence for Online / offline mode
Pekka Pessi ppe...@gmail.com writes: 2010/8/13 Denis Kenzior denk...@gmail.com: As online state is not supported by connman yet, ofono should default to online state until connman support is finished. For example, now it's impossible to use N900 as a modem with connman because the modem is in offline state. Will you accept patches to ofono to change the default state? It can be reverted once the connman support is finished. I'd be fine with that in the interim. FYI, I've submitted online patches against the ofono plugin to the connman list. It seems to work fine with my N900 and isimodem driver, scratching Kalle's most immediate itches. Awesome! I'll test them as soon as they are commited to git. -- Kalle Valo ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
Denis Kenzior denk...@gmail.com writes: On 08/12/2010 12:23 PM, Bastian, Waldo wrote: 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 the details have been figured out (only ISI supports it today). Our current thinking is to have ConnMan manage the Online state of the GSM modems (e.g. replace Powered handling with Online handling.) However, we're still pretty far from that; we'd need to migrate all existing modem drivers to manage Online/Offline state properly first. As online state is not supported by connman yet, ofono should default to online state until connman support is finished. For example, now it's impossible to use N900 as a modem with connman because the modem is in offline state. Will you accept patches to ofono to change the default state? It can be reverted once the connman support is finished. -- Kalle Valo ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
2010/8/13 Bastian, Waldo waldo.bast...@intel.com: 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 the Online state, how is it ensured that all required clients (Dialer, SMS, etc.) have registered already? I'd propose the connman would delay the transition of ofono modems to the online until the tp-ring/dialer has registered with ofono modem. The VoiceCallManager would need some kind of RegisterCallHandlermethod and add the list of the registered call handlers as a property. I suppose this would concern only the voice-centric devices. -- Pekka.Pessi mail at nokia.com ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
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 the Online state, how is it ensured that all required clients (Dialer, SMS, etc.) have registered already? I'd propose the connman would delay the transition of ofono modems to the online until the tp-ring/dialer has registered with ofono modem. The VoiceCallManager would need some kind of RegisterCallHandlermethod and add the list of the registered call handlers as a property. I suppose this would concern only the voice-centric devices. this sounds rather complicated and I don't wanna have a dependency for tp-ring here in the mix. Also I think this is more a theoretical problem than a real one. tp-ring needs to check for the current ringing calls anyway and can just pick where it left off. So lets talk about this once we cross this bridge. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
Hi Kalle, On 08/13/2010 03:02 AM, Kalle Valo wrote: Denis Kenzior denk...@gmail.com writes: On 08/12/2010 12:23 PM, Bastian, Waldo wrote: 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 the details have been figured out (only ISI supports it today). Our current thinking is to have ConnMan manage the Online state of the GSM modems (e.g. replace Powered handling with Online handling.) However, we're still pretty far from that; we'd need to migrate all existing modem drivers to manage Online/Offline state properly first. As online state is not supported by connman yet, ofono should default to online state until connman support is finished. For example, now it's impossible to use N900 as a modem with connman because the modem is in offline state. Will you accept patches to ofono to change the default state? It can be reverted once the connman support is finished. I'd be fine with that in the interim. Regards, -Denis ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
Hi all, 2010/8/13 Denis Kenzior denk...@gmail.com: As online state is not supported by connman yet, ofono should default to online state until connman support is finished. For example, now it's impossible to use N900 as a modem with connman because the modem is in offline state. Will you accept patches to ofono to change the default state? It can be reverted once the connman support is finished. I'd be fine with that in the interim. FYI, I've submitted online patches against the ofono plugin to the connman list. It seems to work fine with my N900 and isimodem driver, scratching Kalle's most immediate itches. -- Pekka.Pessi mail at nokia.com ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
Hi Waldo, On 08/12/2010 12:23 PM, Bastian, Waldo wrote: 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 the details have been figured out (only ISI supports it today). Our current thinking is to have ConnMan manage the Online state of the GSM modems (e.g. replace Powered handling with Online handling.) However, we're still pretty far from that; we'd need to migrate all existing modem drivers to manage Online/Offline state properly first. Regards, -Denis ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: Startup sequence for Online / offline mode
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 the details have been figured out (only ISI supports it today). Our current thinking is to have ConnMan manage the Online state of the GSM modems (e.g. replace Powered handling with Online handling.) However, we're still pretty far from that; we'd need to migrate all existing modem drivers to manage Online/Offline state properly first. I agree with Denis here. The Online state needs to be controlled by ConnMan, but we haven't done that change yet. It would break current users since we haven't migrated all modems to handle Online state properly or emulate it if needed. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
RE: Startup sequence for Online / offline mode
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 the details have been figured out (only ISI supports it today). Our current thinking is to have ConnMan manage the Online state of the GSM modems (e.g. replace Powered handling with Online handling.) However, we're still pretty far from that; we'd need to migrate all existing modem drivers to manage Online/Offline state properly first. I agree with Denis here. The Online state needs to be controlled by ConnMan, but we haven't done that change yet. It would break current users since we haven't migrated all modems to handle Online state properly or emulate it if needed. 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 the Online state, how is it ensured that all required clients (Dialer, SMS, etc.) have registered already? Cheers, Waldo ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
RE: Startup sequence for Online / offline mode
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 the details have been figured out (only ISI supports it today). Our current thinking is to have ConnMan manage the Online state of the GSM modems (e.g. replace Powered handling with Online handling.) However, we're still pretty far from that; we'd need to migrate all existing modem drivers to manage Online/Offline state properly first. I agree with Denis here. The Online state needs to be controlled by ConnMan, but we haven't done that change yet. It would break current users since we haven't migrated all modems to handle Online state properly or emulate it if needed. 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 the Online state, how is it ensured that all required clients (Dialer, SMS, etc.) have registered already? ConnMan has control over the flight mode and thus is has control over the online state. If it happens that ConnMan switches the modem online and call gets received before the dialer is running, then it might time out in the end. And that is just fine with me. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono