PPP LCP configuration issue

2010-04-01 Thread Marcel Holtmann
Hi Kristen, so I added some debug code to actually print the options during the configuration stage. And something seems to be wrong here. lcp: pppcp_open_event: current state 0:INITIAL lcp: pppcp_up_event: current state 1:STARTING lcp: pppcp_initialize_restart_count: current state 1:STARTING

Re: Access to SIM card when Modem is not Powered

2010-04-01 Thread Pekka Pessi
Hi Denis, 2010/3/31 Denis Kenzior denk...@gmail.com: 1) and 2) are already done through D-Bus, only thing is missing is oFono core properly supporting transitions between Powered false and true. So I just checked again, and we remove all atoms when turning off (even if off subsequently

Re: Access to SIM card when Modem is not Powered

2010-04-01 Thread Aki Niemi
to, 2010-04-01 kello 11:14 +0200, ext Pekka Pessi kirjoitti: It seems to me that Marcel and Aki want to control TX power with the Powered property. (BTW, there already is a post-sim mechanism to control the RX/TX, namely Register/Deregister.) But then Register()'s meaning is overloaded to mean

Re: Access to SIM card when Modem is not Powered

2010-04-01 Thread Denis Kenzior
Hi Aki, to, 2010-04-01 kello 11:14 +0200, ext Pekka Pessi kirjoitti: It seems to me that Marcel and Aki want to control TX power with the Powered property. (BTW, there already is a post-sim mechanism to control the RX/TX, namely Register/Deregister.) But then Register()'s meaning is

Re: [PATCH 1/5][RfC] Add functions to notify core of SIM insertion/removal/proactive command.

2010-04-01 Thread Denis Kenzior
Hi Andrew, Make every plugin generate a sim inserted event on start. For devices with removable SIM card, the event should be emitted after the plugin detects it. --- +unsigned int ofono_sim_add_removed_watch(struct ofono_sim *sim, + ofono_sim_ready_notify_cb_t

Re: [PATCH 2/5][RfC] Release calls when SIM is removed.

2010-04-01 Thread Denis Kenzior
Hi Andrew, --- +static void sim_ready_watch(void *user) +{ + struct ofono_voicecall *vc = user; + struct ofono_modem *modem = __ofono_atom_get_modem(vc-atom); + struct ofono_atom *sim_atom = + __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_SIM); + struct

Re: PPP LCP configuration issue

2010-04-01 Thread Marcel Holtmann
Hi Kristen, so I added some debug code to actually print the options during the configuration stage. And something seems to be wrong here. lcp: pppcp_open_event: current state 0:INITIAL lcp: pppcp_up_event: current state 1:STARTING lcp: pppcp_initialize_restart_count: current state