:: Re: [maemo-leste] Phone support on …
Etusivu
Poista viesti
Vastaa
Lähettäjä: Pavel Machek
Päiväys:  
Vastaanottaja: Merlijn Wajer
Kopio: maemo-leste, Dev Null
Aihe: Re: [maemo-leste] Phone support on Droid 4
Hi!

> > Ok, this was successful, and I have sphone. I found a place where
> > phone should have at least weak GSM signal. Ofono is running, but
> > modem is not online:
> >
> > user@devuan-droid4:/my/ofono$ sudo python2 test/list-modems
> > [ /motmdm_0 ]
> >     SystemPath = /sys/devices/platform/44000000.ocp/4a000000.interconnect/4a000000.interconnect:segment@0/4a064000.target-module/4a064000.usbhshost/4a064800.ohci/usb2/2-1
> >     Features = 
> >     Emergency = 0
> >     Powered = 0
> >     Lockdown = 0
> >     Interfaces = 
> >     Online = 0
> >     Type = hardware

> >
> >
> > ..but I can't get modem online:
> >
> > user@devuan-droid4:/my/ofono$ sudo python2 test/online-modem
> > Setting modem /motmdm_0 online...


And reason I can't get modem online is because it needs to be enabled,
first. ofono is tricky :-(.

> > Traceback (most recent call last):
> >   File "test/online-modem", line 17, in <module>
> >     modem.SetProperty("Online", dbus.Boolean(1), timeout = 120)
> >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
> >     return self._proxy_method(*args, **keywords)
> >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
> >     **keywords)
> >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
> >     message, timeout)
> > dbus.exceptions.DBusException: org.ofono.Error.NotAvailable: Operation currently not available
> > user@devuan-droid4:/my/ofono$ 

>
> This is weird, I don't usually have this problem. This seems to be ofono
> related, maybe try restarting ofono? That helps sometimes for me -- the
> ofono d4 port needs more work to make sure it triggers in all cases,
> there's quite a few instances where it just blocks because it doesn't
> realise there are messages to be read.


(ofono confusion and kernel panic in appendix)

If I enable/online the modem, sphone seems to work somehow. It clearly
communicates with ofono, I can place outgoing calls, for example.

But I don't see details such as operator and signal strength. Do I
need to install some more packages to get that?

Bigger problem is that I don't seem to get in-call audio. How do I
debug that? Are there packages I need to install?

I did not find a way to call sphone options from GUI. As long as we
have reasonable defaults that should be ok.

When I press "contacts" in dialer, I get a spinner and that's it. Also
call history is empty even when I did some outgoing calls.

And... thanks for good progress.

Best regards,
                                Pavel


PS: Yep, I got ofono confusion, too:

user@devuan-droid4:/my/ofono/test$ sudo python2 ./hangup-all
Traceback (most recent call last):
  File "./hangup-all", line 20, in <module>
      manager.HangupAll()
        File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line
    70, in __call__
        return self._proxy_method(*args, **keywords)
          File "/usr/lib/python2.7/dist-packages/dbus/proxies.py",
          line 145, in __call__
              **keywords)
            File
            "/usr/lib/python2.7/dist-packages/dbus/connection.py",
            line 651, in call_blocking
                message, timeout)
            dbus.exceptions.DBusException:
            org.ofono.Error.InProgress: Operation already
            in progress

            
Now my other phone is ringing and won't stop. I tried to reboot, and
that had problems, too:

user@devuan-droid4:/my/ofono/test$ sudo reboot

The system is going down for reboot NOW!4 (pts/1) (Fri Nov 12 23:03:43
2021):
user@devuan-droid4:/my/ofono/test$
Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.357727] Internal error: : 1406 [#1] PREEMPT SMP ARM

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359069] Process agetty (pid: 3574, stack limit =
0x770ea316)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359100] Stack: (0xc56d1e10 to 0xc56d2000)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359100] 1e00:
00000000 c1033e00 60070013 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359130] 1e20: ffffffff c064da30 c1c641f0 c1c6427c
c1033e00 c4f43a00 ffffffff c0650cd4

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359161] 1e40: c1c641f0 c1c64284 c1c64254 c1033e00
ffffffff c065104c c4f43a00 c4f43aa0

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359161] 1e60: c4f43b48 00000000 ffffffff c0631244
c4f43b48 00000001 c4f43ba4 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359191] 1e80: c56d1f4c 00000001 c4f43a00 c56d0000
ffffe000 c56d1f4c 00000000 c53daa80

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359222] 1ea0: c56d1f4c c063b7b4 c55e9840 c2b31400
c56d0000 ffffe000 c56d1f4c c013b814

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359222] 1ec0: 00000000 ba58501a ef4b0f80 ba58501a
c5514900 00000008 c56d1f4c c013bb78

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359252] 1ee0: 00418004 ffffe000 b6eb7744 00000008
c56d1f4c c0147ef8 00000000 c0a0bf84

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359283] 1f00: c56d1f60 00000001 00000004 ba58501a
00000000 c56d1fb0 fffffdfe b6eb7744

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359283] 1f20: c56d1f4c b6eb7746 c0f05e0c c0f05e08
00000101 c010b12c c56d1f68 c0f05e08

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359313] 1f40: 00000005 bee7a710 00000000 00000000
00000000 c02f190c 00000000 c0f05e08

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359344] 1f60: 00000009 00000001 c56d0000 00000000
00000000 c02da9c8 00000000 ba58501a

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359374] 1f80: c4827200 ba58501a 00000074 00000000
00000074 00000000 0000008e c0100284

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359374] 1fa0: c56d0000 0000008e 00000000 c01000f0
00000005 bee7a710 00000000 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359405] 1fc0: 00000000 00000074 00000000 0000008e
00000000 00000000 0046b000 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359436] 1fe0: 0000008e bee7a6d0 b6f35a63 b6eb7744
400c0030 00000005 00000000 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359436] [<c0653cac>] (mem_serial_in) from [<c065cf68>]
(omap8250_set_mctrl+0x38/0xa4)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359466] [<c065cf68>] (omap8250_set_mctrl) from
[<c064da30>] (uart_update_mctrl+0x40/0x50)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359466] [<c064da30>] (uart_update_mctrl) from
[<c0650cd4>] (uart_shutdown+0x15c/0x188)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359466] [<c0650cd4>] (uart_shutdown) from [<c065104c>]
(uart_hangup+0x54/0x188)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359466] [<c065104c>] (uart_hangup) from [<c0631244>]
(__tty_hangup.part.8+0x294/0x2c0)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359466] [<c0631244>] (__tty_hangup.part.8) from
[<c063b7b4>] (disassociate_ctty.part.4+0x30/0x254)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359619] [<c063b7b4>] (disassociate_ctty.part.4) from
[<c013b814>] (do_exit+0x8a8/0xba8)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359680] [<c013b814>] (do_exit) from [<c013bb78>]
(do_group_exit+0x38/0xb8)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359680] [<c013bb78>] (do_group_exit) from [<c0147ef8>]
(get_signal+0x15c/0xae0)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359710] [<c0147ef8>] (get_signal) from [<c010b12c>]
(do_work_pending+0x338/0x62c)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359741] [<c010b12c>] (do_work_pending) from
[<c01000f0>] (slow_work_pending+0xc/0x20)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359771] Exception stack(0xc56d1fb0 to 0xc56d1ff8)

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359802] 1fa0:
00000005 bee7a710 00000000 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359802] 1fc0: 00000000 00000074 00000000 0000008e
00000000 00000000 0046b000 00000000

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359832] 1fe0: 0000008e bee7a6d0 b6f35a63 b6eb7744
400c0030 00000005

Message from syslogd@localhost at Nov 12 23:03:43 ...
kernel:[ 1043.359863] Code: e5d10000 e3a03000 e6ef0070 ee073f9a
(e12fff1e)

--
http://www.livejournal.com/~pavelmachek