device-fairphone-fp5: Fix USB audio DACs

The current pipewire rule was forcing every output sink to use the S32LE
format, which caused problems with DACs that do not support this format.

To ensure only the built-in sinks are matched, we manually specify the
alsa card name in the pipewire rule matcher.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8346>
This commit is contained in:
Christian Duerr 2026-04-13 12:16:57 +02:00 committed by The Friendly Meow (merge) Bot
parent 0342eafd35
commit 33e4ce4dc8
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -2,8 +2,9 @@ monitor.alsa.rules = [
{
matches = [
{
# Matches all sinks
# Matches all sinks of the internal sound card
node.name = "~alsa_output.*"
alsa.card_name = "Fairphone 5"
}
]
actions = {

View file

@ -2,7 +2,7 @@
maintainer="Luca Weiss <luca@lucaweiss.eu>"
pkgname=device-fairphone-fp5
pkgdesc="Fairphone 5"
pkgver=14
pkgver=15
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -65,7 +65,7 @@ openrc() {
}
sha512sums="
f6fb26e0e75b15cf727e8a20f34e4132cf357025fff1427cf63729776aedce6e647f9f81f1ec13d0a895e381c119980d8bca575e431d241d9affb4f0ee44f4b4 52-fairphone-fp5.conf
ec79b0dc8261e6e1a84f573f5814a3ded1d0f0d89ad804c171c6aeb96ec96544650e94717edfa8b2a29f729e926a3e58dedaf8f45a6016a35f6533b195d49414 52-fairphone-fp5.conf
2c16ba75e0077b2b1eaefa4c73b287475505a1aeb291ec29316d41cc094277320f9d2aaabfd91eb1dc0f488ab2d61a94faef16e7afe0f1e226779113761b9a37 81-libssc-fairphone-fp5.rules
5b7f9ecfb9aee656c19e04a417b8a8bc20bf8b1efb8abd0e6fffbf9ea8d9bbf10a62e3ee96ce7968da91c0c56f0c941bc89939715089cd21b95e86d27f30aff6 deviceinfo
6280b66b9d4843ef78d0029c31d267b0bf59ea669bc3f2c268edfddf4edb3cec62d40b97c8204c85d1350759ad56e1ac2a5ba8ddc691f73c35c7385350ef12ee modules-initfs