Realtek driver assignes wrong pins on Omen 16 with B&O audio

alsa-project/alsa-ucm-conf issue #511 was opened from johnfloe:
<!--
Please read our Bug reporting guidelines before opening a bug: https://wiki.archlinux.org/title/Bug_reporting_guidelines
If you want to help catching more bugs upfront, consider joining the Arch Testing Team: https://wiki.archlinux.org/title/Arch_Testing_Team
-->
# Description: I have a dual boot with Arch Linux and Windows 11 on my HP Omen 16 b1001nd with Bang & Olufsen audio. On Windows, the speakers function normally and the volume is quite loud and full at 100%. But on Arch, the audio is very shallow and the volume is low compared to Windows. I've tried using HDAJackRetask, but the Realtek driver overrides the pin settings. When I blacklist the Realtek module, it switches to Generic and I can enable the pins with hda verbs. But the then auto switching for the headphones doesn't work, so I have to figure out how to enable that.. It does seem a bit better when enabling pin 0x14 and pin 0x1e, but still not the same as in Windows. It would be nice to have a working driver/codec so I don't have to configure all the pins myself.
Thanks in advance!
# Additional info:
* package version(s): latest kernel, linux-firmware and sof-firmware installed * config and/or log files: Related dmesg output:
sudo dmesg | grep snd
[ 5.052362] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 5.052469] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 5.052725] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 5.052736] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 5.388591] snd_hda_codec_realtek ehdaudio0D0: ALC245: picked fixup for PCI SSID 103c:0000
[ 5.388944] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 5.388947] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.388949] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 5.388951] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 5.388953] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 5.388954] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/511 Repository URL: https://github.com/alsa-project/alsa-ucm-conf
participants (1)
-
GitHub issues - opened