Hi Antonio, thanks for this patch – excellent work!
> 1. sending +EPOM to power on the modem on gen2 device: I am now doing this > in the lowlevel plugin because I was not able to do that in modem at > INITIALIZING time, when using a script like this: > > http://git.ao2.it/fso-scripts.git/?a=blob;f=fso-auth.py;h=0fc26f98f7f31a414c46dbfc8e6d27ba3e3f8a77 > what happened was that +CPIN? was issued before +EPOM completion and so > +CPIN? was returning an error. Are there any time constraints wrt. opening the MUX nodes and sending +EPOM? If not, +EPOM should be sent as modem initialization command; I have to investigate why it collides with channel init commands, that should not happen. > 2. putting mux nodes names in config files instead of hardcoding them, for > both modem and lowlevel plugin. How can I do that for multiple nodes? Hardcoding it not that much of a problem for device-specific plugins. If you want though, you can use the advanced SmartKeyFile functions for gathering a list of key/value pairs (if you want to map it to multiple entries) or just a list of values (if you want to map it to x=a,b,c,d,e). > 3. the use of modem_data.simHasReadySignal = true; I copied it from > modem_ti_calipso, but I still don't understand it fully, should we use that > for modem_freescale_neptune? Many modems read the SIM contents (elementary files) to internal DRAM to cache the _very_ slow SIM access (just a couple of bits per second). If you do any SIM access before this happens, you will get +CME errors. Some modems have an URC to notify when the initial caching process has been done, so you can start accessing the SIM. I don't recall if EZX has such an URC or not. > I hope someone will be able to actually test these patches and send some > feedback On brief look, the changes look ok apart from some styling and one or two questionable things. I will comment in detail; however I first want to see the current status on my own phone. I'll get back to you on #openezx so we can walk me through the update ;) Thanks again, very impressive stuff, i'm glad you worked on that! :M: _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland