Bluetooth Handsfree Bounty
#22
As far as I know (though I mostly know the story from the Plasma side, which dropped ofono support in favor of ModemManager), ofono is mostly deprecated, poorly maintained upstream, and ModemManager is what everyone works on nowadays. And keep in mind that ModemManager originally comes from GNOME developers, so it is also the more natural target for Phosh, even though Phosh indeed supports both. The main reason ofono is still a thing at all (and also why some not-really-GNU mobile Linux distributions such as SailfishOS and Ubuntu Touch still use it) is that it has a port working on top of Halium, so it can be used on Android kernels, whereas ModemManager does not support that. But that feature is not relevant for the PinePhone.

ModemManager is also by design not going to try to handle Bluetooth on its own, but rely on BlueZ and on either PulseAudio or Pipewire (where PulseAudio is also deprecated, but most PinePhone distros still use it because callaudiod profile switching is still designed for it) to do their part of the job. Otherwise, it would conflict with them, whereas environments like Plasma Mobile rely on BlueZ and PulseAudio/Pipewire APIs for their Bluetooth-related UI. In particular, Bluetooth audio is something I would not expect to be handled in ModemManager or ofono at all, but in PulseAudio or Pipewire, with maybe some changes to callaudiod to pick the correct profile for the Bluetooth headset instead of the internal mic&earpiece. The remote control (number key) part also does not belong into ModemManager or ofono at all, but probably into BlueZ.

At least that is how I would expect things to work and what I would expect to be upstreamable in the long run (though I do not work in any of the affected projects). You may be able to get something done more quickly with a different architecture, but then please do not be disappointed if you are unable to get your solution upstreamed or shipped by most distributions.
  Reply


Messages In This Thread
Bluetooth Handsfree Bounty - by conifera - 12-28-2023, 05:37 PM
RE: Bluetooth Handsfree Bounty - by 33YN2 - 01-02-2024, 12:31 AM
RE: Bluetooth Handsfree Bounty - by walter1950 - 01-02-2024, 07:18 AM
RE: Bluetooth Handsfree Bounty - by walter1950 - 01-05-2024, 04:37 AM
RE: Bluetooth Handsfree Bounty - by conifera - 01-18-2024, 04:59 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 03-17-2024, 04:19 PM
RE: Bluetooth Handsfree Bounty - by conifera - 03-18-2024, 04:08 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 03-19-2024, 04:57 AM
RE: Bluetooth Handsfree Bounty - by conifera - 03-20-2024, 01:59 AM
RE: Bluetooth Handsfree Bounty - by JohnA - 03-22-2024, 06:13 PM
RE: Bluetooth Handsfree Bounty - by Kevin Kofler - 03-22-2024, 08:35 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 03-25-2024, 06:30 AM
RE: Bluetooth Handsfree Bounty - by conifera - 03-27-2024, 04:52 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 03-27-2024, 08:51 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 03-30-2024, 05:01 AM
RE: Bluetooth Handsfree Bounty - by walter1950 - 03-30-2024, 10:28 AM
RE: Bluetooth Handsfree Bounty - by JohnA - 04-02-2024, 12:02 AM
RE: Bluetooth Handsfree Bounty - by JohnA - 04-17-2024, 09:43 PM
RE: Bluetooth Handsfree Bounty - by Kevin Kofler - 04-18-2024, 06:45 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 04-18-2024, 08:27 PM
RE: Bluetooth Handsfree Bounty - by conifera - 04-19-2024, 04:58 PM
RE: Bluetooth Handsfree Bounty - by Kevin Kofler - 04-19-2024, 07:07 AM
RE: Bluetooth Handsfree Bounty - by walter1950 - 04-19-2024, 08:09 AM
RE: Bluetooth Handsfree Bounty - by Kevin Kofler - 04-21-2024, 02:35 PM
RE: Bluetooth Handsfree Bounty - by JohnA - 04-22-2024, 06:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Buetooth handsfree calls on PinPhone alabasha 7 2,007 08-18-2023, 09:29 AM
Last Post: Zebulon Walton
  Handsfree bluetooth calls conifera 0 867 02-28-2023, 02:07 PM
Last Post: conifera
  Bluetooth hands free AndyM 2 1,947 10-21-2021, 05:47 AM
Last Post: AndyM
  Bluetooth hands free AndyM 4 2,848 10-19-2021, 03:53 PM
Last Post: tllim
  Bluetooth Calling in the Car LMalilil 4 5,073 12-28-2020, 09:34 AM
Last Post: wibble
  Emulators and bluetooth controllers compatibility deedend 2 3,159 09-09-2020, 02:10 AM
Last Post: nas

Forum Jump:


Users browsing this thread: 1 Guest(s)