Is there any way to have a service start based on dependencies? I have managed to get the Huawei Generic RIL to partially work with a GPRS modem (under Gingerbread with ICS to follow). I now have a signal strength and can send SMS. Receiving SMS is still not working yet. It shows the network operator and IMEI etc in the system settings so I am slowly getting there with it. The issue though is that I can't get the RIL-DAEMON (RILD) to work from the init.rc It starts ok but there is no signal strength. If I find out the process ID and kill it from the debug port, it restarts and then gives a signal strength. It seems to be dependent on the phone service being up and running first because after init.rc at bootup, the RILD is a lower numbered task. After I kill it, it starts as a higher number and works. So if anyone knows how to set a dependency, I would appreciate how it's done? PS.. I'll post up the code for the RIL once I have it working fully.
RIL-DAEMON, init.rc and services
Dave, This simply allows you to run a process with a different scheduling priority and is not the answer. Possibly you could use a daemon, such as syslogd, filter the messages and spawn another process. Regards Sean
I finally got the RIL to work on another board (Olimex A20) and I am trying to port this to the Mini210. I'll post here when I get it working.