Repository navigation
Open
Description
The integrated driver is not being detected in the HP OMEN Transcend 14,
the output of the command:
cat /sys/bus/acpi/devices/*/adr | grep 025d
0x000030025d071101
0x000330025d131601
According to #4880 the board should be:
Firmware file: intel/sof-ipc4/mtl/sof-mtl.ri
Topology file: intel/sof-ace-tplg/sof-mtl-rt711-l0-rt1316-l3-2ch.tplg.gz)
but instead it is defaulting to :
Firmware file: intel/sof-ipc4/arl/sof-arl.ri
Topology file: intel/sof-ace-tplg/sof-arl-rt711-l0-2ch.tplg
I already checked and the kernel has all the patches described in thesofproject/sof#4880 applied.
I'm using kernel 6.15.13 and sof-firmware 2025.05 on opensuse
Here is all dmesg output related to sof with debuging information included
[ 3.397313] [ T126] audit: type=1400 audit(1751281624.332:4): avc: denied { read } for pid=1 comm="systemd" name="sof-dyndbg.conf" dev="nvme0n1p5" ino=504204 scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
[ 3.837045] [ T126] audit: type=1400 audit(1751281624.772:5): avc: denied { read } for pid=753 comm="systemd-modules" name="sof-dyndbg.conf" dev="nvme0n1p5" ino=504204 scontext=system_u:system_r:systemd_modules_load_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
[ 4.508059] [ T800] snd_intel_dspcfg:snd_intel_dsp_driver_probe: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 4.508082] [ T800] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
[ 4.508090] [ T800] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
[ 4.508094] [ T800] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[ 5.501429] [ T800] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 5.501547] [ T800] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 5.501561] [ T800] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 5.595669] [ T800] snd_intel_dspcfg:snd_intel_dsp_driver_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 5.595696] [ T800] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
[ 5.595705] [ T800] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
[ 5.595710] [ T800] snd_sof_pci:sof_pci_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: PCI DSP detected
[ 5.595729] [ T800] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 5.595966] [ T800] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 5.596046] [ T800] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
[ 5.602536] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0xc00
[ 5.602542] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found ML capability at 0xc00
[ 5.602544] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0x500
[ 5.602547] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found DRSM capability at 0x500
[ 5.602549] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0x700
[ 5.602553] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found SPIB capability at 0x700
[ 5.602555] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0x800
[ 5.602559] [ T800] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found DSP capability at 0x800
[ 5.603534] [ T43] snd_sof_intel_hda_common:hda_dsp_stream_init: sof-audio-pci-intel-mtl 0000:00:1f.3: hda global caps = 0x1009a01
[ 5.603540] [ T43] snd_sof_intel_hda_common:hda_dsp_stream_init: sof-audio-pci-intel-mtl 0000:00:1f.3: detected 9 playback and 10 capture streams
[ 5.603704] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[ 5.603708] [ T43] snd_sof_intel_hda_generic:hda_dsp_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: using IPC IRQ 201
[ 5.604186] [ T43] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIR: 00000000 at 00000044
[ 5.604192] [ T43] snd_sof_intel_hda_generic:hda_init_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: PP capability, will probe DSP later.
[ 5.607006] [ T43] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIR: 00000000 at 00000048
[ 5.611214] [ T43] snd_sof_intel_hda:hda_codec_detect_mask: sof-audio-pci-intel-mtl 0000:00:1f.3: codec_mask = 0x4
[ 5.611235] [ T43] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIR: 00000000 at 00000048
[ 5.611239] [ T43] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIW: 00000040 at 00000048
[ 5.612767] [ T43] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
[ 5.612773] [ T43] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
[ 5.613325] [ T43] snd_sof_intel_hda:hda_codec_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: HDA codec thesofproject/sof#2 probed OK: response: 8086281d
[ 5.613998] [ T43] snd_sof_intel_hda:request_codec_module: snd_hda_codec_hdmi ehdaudio0D2: loading codec module: hdaudio:v8086281Dr00100000a01
[ 5.616627] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
[ 5.616630] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[ 5.616632] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[ 5.616635] [ T43] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: found 1 format definitions
[ 5.616637] [ T43] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: max channels found 2
[ 5.616639] [ T43] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: Array with 2 dmics
[ 5.616640] [ T43] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: dmic number 2 max_ch 2
[ 5.616642] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 5.619001] [ T802] snd_soc_rt1316_sdw:rt1316_sdw_init: rt1316-sdca sdw:0:3:025d:1316:01: rt1316_sdw_init
[ 5.619005] [ T802] snd_soc_rt1316_sdw:rt1316_read_prop: rt1316-sdca sdw:0:3:025d:1316:01: rt1316_read_prop
[ 5.619655] [ T43] snd_sof:sof_test_topology_file: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to open topology file: intel/sof-ace-tplg/sof-arl-rt711-l0-2ch.tplg
[ 5.619659] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: SOF firmware and/or topology file not found.
[ 5.619663] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: Supported default profiles
[ 5.619664] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: - ipc type 1 (Requested):
[ 5.619666] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware file: intel/sof-ipc4/arl/sof-arl.ri
[ 5.619667] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology file: intel/sof-ace-tplg/sof-arl-rt711-l0-2ch.tplg
[ 5.619669] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.
[ 5.619670] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: Optionally it can be manually downloaded from:
[ 5.619672] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: https://github.com/thesofproject/sof-bin/
[ 5.620189] [ T43] snd_sof_pci_intel_mtl:mtl_enable_sdw_irq: sof-audio-pci-intel-mtl 0000:00:1f.3: FW Poll Status: reg[0x114c]=0x0 successful
[ 5.621269] [ T43] snd_sof_pci_intel_mtl:mtl_power_down_dsp: sof-audio-pci-intel-mtl 0000:00:1f.3: FW Poll Status: reg[0x1000]=0x0 successful
[ 5.621514] [ T43] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof_probe_work failed err: -2
(by error I posted this issue in the thsofproject/linux , I think here is the right place )
Activity
kv2019i commentedon Jul 1, 2025
@bardliao Can you take a look? Why the 1316 amps are not found and kernel tries to look for tplg with just the 711 codec?
@pyaggi Can you attach output of alsa-info (see https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html) so we can verify the machine configuration?
ujfalusi commentedon Jul 1, 2025
Duplicate (same issue) of #5470 ?
bardliao commentedon Jul 1, 2025
@pyaggi It is likely that below config is not listed in soc-acpi-intel-arl-match.c.
The 0f8edb1 commit is for MTL and you need a similar commit on soc-acpi-intel-arl-match.c.
In fact, thsofproject/linux is a better place to report this issue. Let's move to thsofproject/linux and close ttps://github.com//issues/5470
bardliao commentedon Jul 1, 2025
@pyaggi The driver is looking for arl because your CPU is probably ARL instead of MTL.
bardliao commentedon Jul 1, 2025
@pyaggi Could you try #5475 and rename the sof-mtl-rt711-l0-rt1316-l3-2ch.tplg to sof-arl-rt711-l0-rt1316-l3-2ch.tplg?
pyaggi commentedon Jul 1, 2025
@kv2019i here' s the output of alsa-info
alsa-info.txt
@bardliao I did try to rename sof-mtl-rt711-l0-rt1316-l3-2ch.tplg to sof-arl-rt711-l0-2ch.tplg, as it is the one is reporting, it complains about not finding something, I'll do it again, and also what you mention, but I need to restart the computer to test the changes (is any other way ?), so I'll let you know in a while.
pyaggi commentedon Jul 1, 2025
@ujfalusi yes, my bad, sorry
pyaggi commentedon Jul 1, 2025
@bardliao this is the output of dmesg when I renamed the sof-mtl-rt711-l0-rt1316-l3-2ch.tplg to sof-arl-rt711-l0-2ch.tplg, as it is the one is looking for. I also renamed as you suggested (it is ignored in that case) as I also applied the patch you suggested to soc-acpi-intel-arl-match.c.
sound_info_renamed_to_sof-arl-rt11-l0-2ch.tplg.txt
bardliao commentedon Jul 2, 2025
@pyaggi Could you replave the /etc/modprobe.d/sof-dyndbg.conf by sof-dyndbg.conf.txt (Rename it to sof-dyndbg.conf) to set below options
options soundwire_bus dyndbg=+pmf
options snd_soc_sdw_utils dyndbg=+pmf
Also, I suspect that you might not boot with the kernel that apply #5475. Could you share the output of
cat /proc/version?18 remaining items
bardliao commentedon Jul 4, 2025
@pyaggi That is an UCM file. Please check the /usr/share/alsa/ucm2/ folder in your laptop.
https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/sof-soundwire/sof-soundwire.conf
Maybe you should try the latest UCM version.
ujfalusi commentedon Jul 4, 2025
@pyaggi, the alsaucm output looks good, it has the Speaker, Headphones, Headset, DMIC and the HDMIs listed, KDE/Plasma should behave like this:
Screencast_20250704_094551.webm
pyaggi commentedon Jul 4, 2025
@bardliao @ujfalusi with the modification on the ucm configuration file, now kde show this
it still says sof-soundwire but it works perfectly fine.
pyaggi commentedon Jul 8, 2025
Do you guys want me to test anything, maybe troubleshoot why kde is showing sof-soundwire ?
or do you want me to close the issue ?
bardliao commentedon Jul 9, 2025
sof-soundwire is the card name. I guess showing sof-soundwire is expected. But, I don't know what the UCM issue is. The Components string looks correct to me.
Components : 'HDA:8086281d,80860101,00100000 cfg-amp:1 mic:dmic cfg-mics:2 iec61937-pcm:7,6,5 hs:rt711-sdca spk:rt1316'When you said, " with the modification on the ucm configuration file, now kde show this", what did you add to
SpeakerCodec1?rt1308orrt1316?@shumingfan Could you take a look?
bardliao commentedon Jul 9, 2025
@pyaggi Can you share your working sound/soc/intel/common/soc-acpi-intel-arl-match.c? And share the latest dmesg. BIT(3) not raise is an issue. I would like to figure it out. Thanks.
shumingfan commentedon Jul 9, 2025
@pyaggi Please don't modify the UCM configuration and then reboot the system.
Could you test the following command after rebooting the system?
$ alsaucm -c1 reload
pyaggi commentedon Jul 9, 2025
@shumingfan you are correct, the modification I meant was the SpeakerCodec1, now I reverted it back to empty (as it was before), and KDE still recognizes the "Play HiFi quality Music" profile. Now I'm in doubt if KDE recognized the profile after I modified the SpeakerCodec1 or after I patched the kernel and I missed that.
Anyway the "alsaucm -c1 reload" without the modification (blank SpeakerCodec1) produces no console output, no kernel messages, no journal messages. What should I look for ?
@bardliao here is my soc-acpit-intel-arl-match.c.txt, I notice you are asking me that file in the context of my previous post, but after that post I patched again as I had messed up my source, so as I said in the 'edit' please ignore all that post, sorry for the trouble.
bardliao commentedon Jul 10, 2025
@pyaggi No problem. I just want to make sure #5475 is good. I will merge and send it upstream if the PR works.
shumingfan commentedon Jul 10, 2025
@pyaggi
Please test each endpoint to see whether the playback and capture work.
pyaggi commentedon Jul 10, 2025
@shumingfan
Speaker output: works but first I think I had to use alsamixer to unmute "rt1316-1 DAC"
Headphone output: works but first I (for sure) had to use alsamixer to rise the level of "rt711 FU05"
Laptop mic: works fine
Headphone connector mic: I don't know if it has mic input in that connector, and I don't have any headphone with mic around, but I could try to get one if you want me to test it
arh7013 commentedon Jul 15, 2025
Hi all, I also have the same Omen Transcend 14 laptop running Gentoo with kernel 6.15.6-gentoo-dist. I can confirm that the patch from #5475 (added under /etc/portage/patches/sys-kernel/gentoo-kernel-6.15.6/ and compiling the kernel with that) also worked for me after also copying sof-mtl-rt711-l0-rt1316-l3-2ch.tplg to sof-arl-rt711-l0-rt1316-l3-2ch.tplg. I can also confirm that the inline microphone of my headphones also works with the headphone jack on the laptop.
Please let me know if you need any further information that would help in getting #5475 merged as well. Thanks.
bardliao commentedon Jul 16, 2025
Great, that is helpful.
arh7013 commentedon Aug 24, 2025
Hi there, I see this has been merged into kernel 6.16, thanks! Kernel 6.16 has been working well without having to apply the additional patch, Just a quick question, will the sof-bin repository also add the sof-arl-rt711-l0-rt1316-l3-2ch.tplg file without having to manually copy this from sof-mtl-rt711-l0-rt1316-l3-2ch.tplg as well in the future?
Thank you again!
bardliao commentedon Aug 25, 2025
Yes, thesofproject/sof#10190