xiaomi-pipa: fix internal speaker sounds
It turns out that U-Boot exposes a different name to ALSA UCM. Fix the symlink to be the correct name from SMBIOS data. Add the missing PlaybackMixer line. Without it, ALSA doesn't select the right mixer, leading to a Qualcomm DSP error. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8624>
This commit is contained in:
parent
59b49aea1c
commit
6d7a70344b
2 changed files with 5 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
maintainer="bluebunny <kalorin.bok084@passinbox.com>"
|
||||
pkgname=device-xiaomi-pipa
|
||||
pkgdesc="Xiaomi Pad 6"
|
||||
pkgver=7
|
||||
pkgver=8
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
|
@ -58,7 +58,7 @@ package() {
|
|||
|
||||
mkdir -p "$pkgdir/usr/share/alsa/ucm2/conf.d/sm8250"
|
||||
ln -s ../../Xiaomi/pipa/pipa.conf \
|
||||
"$pkgdir/usr/share/alsa/ucm2/conf.d/sm8250/Xiaomi Pad 6.conf"
|
||||
"$pkgdir/usr/share/alsa/ucm2/conf.d/sm8250/xiaomi-XiaomiPad6.conf"
|
||||
}
|
||||
|
||||
kernel_csot() {
|
||||
|
|
@ -75,7 +75,7 @@ kernel_tianma() {
|
|||
|
||||
sha512sums="
|
||||
d0e8f2e378130130ac72703aed957f7638e2dd75acf4aa421e1b4592c6cb6d296b652db0d9c242be4e56326760ce18d28c1e36ae553d0b7a7f91e12ab0353f22 81-libssc-xiaomi-pipa.rules
|
||||
1c8cef1f2de5fd7e734796dfffc684255b047bdb07a0965676a4d8d512aee4963ce91aeabf8627ce3aea72aeade776a3529f205badd2ed27ba072cadc38f9918 HiFi.conf
|
||||
13c0c6639af2ac7103b2a30612f8a8b4bf1cfd875da527a2bccb786a846d948b3f30f79b01485402bdc9fa2db6c2ab2a449669199fb1e4b425c6604a7fe0eed5 HiFi.conf
|
||||
9ce5336d2815de6dfe8477daa326abf8c79640d3fe519ef1978b18b49e489d70371215d3c0bbfb55068afde4b01b166b0a2a1a8d57b81355e465f542a43e361f deviceinfo
|
||||
a92842d4f9d92af8ca14f4e86c74ea7dec446abd8a2a2b7dccbf6771065d8a7eea7f4a41adbd68647b49f81787a43fdb5b5337df0032ff3fbcb8e88b17f5ebf1 modules-initfs
|
||||
007908c49db107dd8289a96049ed4d77a55c7846e21f76fa7f97306df953ccdec7d821cbc7732a3ff7c532285175ebf0d6a4e3f224740ac002b23f3608cbf76d pipa.conf
|
||||
|
|
|
|||
|
|
@ -17,11 +17,12 @@ SectionVerb {
|
|||
}
|
||||
|
||||
SectionDevice."Speaker" {
|
||||
Comment "Speaker playback"
|
||||
Comment "Speaker Playback"
|
||||
|
||||
Value {
|
||||
PlaybackPriority 200
|
||||
PlaybackPCM "hw:${CardId},0"
|
||||
PlaybackMixer "default:${CardId}"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue