I tried this on a desktop and on mako, both work. I unfortunately can't
try this in an emulator as that seems to have broken since last week
(bug 1413271), and I don't have a krillin so I can't test this there
myself.

Indeed phonesim-autostart does that (through the with-ofono-phonesim
script):

service ofono stop || true
ofonod -P ril,rildev,stktest $DEBUG_OFONO -n >/etc/ofono/ofono.log 2>&1 &
OFONO_PID=$!

The || true is intended to guard against failure if ofono is already
stopped. But that might be the place where things go wrong in krillin,
if ofono somehow fails to stop there? If it runs on, then the ofonod
invocation in the next line should fail, not the original instance from
the upstart job, but maybe there's something funky going on there. Are
there any upstart jobs which are krillin specific and mention ofono in
any way?

It might be useful to install just ofono-phonesim *without* ofono-
phonesim-autostart, and run with-ofono-phonesim through set -x. Check
Which of these succeeds/fails, and use upstart-monitor to see what else
happens during that time?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401143

Title:
  Installing ofono-phonesim-autostart makes the phone unusable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1401143/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to