Skip to content

Sxmo+SDM845: working calls out of the box and add pulseaudio bluetooth package

Administrator requested to merge pulseaudio2 into master

This MR seeks to fix call audio on sdm845 devices out of the box when running Sxmo (https://gitlab.com/postmarketOS/pmaports/-/issues/1821), clean up packaging, and add a bluetooth package for pulseaudio on Sxmo+pulseaudio.

Currently, this MR:

  1. Adds a bluetooth package that installs everything needed for working bluetooth on Sxmo running pulseaudio
  2. configures call_audio_idle_suspend_workaround service so that it uses Sxmo's XDG_RUNTIME_DIR path

I have marked this MR as WIP because I need help to accomplish the following things:

  1. I want the call_audio_idle_suspend_workaround service in openrc to restart when the service crashes. If call_audio_idle_suspend_workaround crashes, calls dont work and it is crucial for phosh (not just Sxmo). Is there an example of a service that is automatically restarted by openRC when the service crashes?
  2. On SDM845 devices, I want sxmo-common-audio-pulse to be installed rather than sxmo-common-audio-pipewire. I was able to install my custom config for the call_audio_idle_suspend_workaround service using the install_if variable: https://gitlab.com/anjandev/pmaports/-/commit/410eed300908ea1828f7fe46a98c9d50aef2150d

However, when I tried to add install_if=$pkgname=$pkgver-r$pkgrel soc-qcom-sdm845-nonfree-firmware to the sxmo-common-audio-pulse subpackage, the sxmo-common-audio-pulse package is not automatically installed on my oneplus 6. I must manually run: doas apk add sxmo-common-audio-pulse to get pulseaudio installed and running on my oneplus 6.

This MR should be merged into v22.12 once it installs pulseaudio automatically to SDM845 devices.

Edited by Administrator

Merge request reports

Loading