All of lore.kernel.org
 help / color / mirror / Atom feed
* ofono enable-modem fails with dbus.exceptions.DBusException: org.ofono.Error.Failed: Operation failed
@ 2020-10-14 20:50 zoltanmaric
  2020-10-14 21:04 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: zoltanmaric @ 2020-10-14 20:50 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]

I'm trying to make Ubuntu 20.04 recognise AirPods Pro as a headset (not just as headphones). I tried to follow the instructions in this AskUbuntu answer: https://askubuntu.com/questions/831331/failed-to-change-profile-to-headset-head-unit/1236379#1236379

list-modems returns the following output:

[ /phonesim ]
    Online = 0
    Powered = 0
    Lockdown = 0
    Emergency = 0
    Interfaces = 
    Features = 
    Type = hardware

But when I try to run the enable-modem command from a freshly checked-out ofono git repo (commit 285fad8f39d46a5f0a0f9d194789978227558d1e), I get the following error:

Connecting modem /phonesim...
Traceback (most recent call last):
  File "./enable-modem", line 20, in <module>
    modem.SetProperty("Powered", dbus.Boolean(1), timeout = 120)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.ofono.Error.Failed: Operation failed

What does the error mean, and how could I get around it?

Thanks for your help.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-17 18:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-14 20:50 ofono enable-modem fails with dbus.exceptions.DBusException: org.ofono.Error.Failed: Operation failed zoltanmaric
2020-10-14 21:04 ` Pavel Machek
2020-10-17 18:10   ` zoltanmaric

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.