Describe the bug
On HP Elitebook X G2i, it seems my audio does not work because the toplogy has not been seen before. (Speaker does not work, it seems headphones are detected properly).
I copied the firmware from HP windows drivers as they were missing, and it removed the firmware missing messages but did not help with the topology.
Kernel 7.0.9 detects all components, but says:
No SoundWire machine driver found for the ACPI-reported configuration
Layout:
- link 2: 4x TAS2783, mfg_id 0x0102 part_id 0x0000
- link 3: RT712, mfg_id 0x025d part_id 0x0712
- HP subsystem: 103c:8e87
To Reproduce
Install Arch on laptop,
copy blobs from HP driver into /usr/lib/firmware folder:
8E87-2-0x9.bin -> tas2783-9.bin
8E87-2-0xa.bin -> tas2783-a.bin
8E87-2-0xc.bin -> tas2783-c.bin
8E87-2-0xd.bin -> tas2783-d.bin
Reboot
Reproduction Rate
10/10
Impact
Can not use Speakers on linux
Environment
-
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: Arch Linux kernel 7.0.9-arch2-1
Linux upstream base: v7.0.9-ish / Arch packaged kernel
Commit hash: unknown, Arch package linux 7.0.9.arch2-1
- SOF: sof-firmware package from Arch
Firmware loaded: intel/sof-ipc4/ptl/sof-ptl.ri
Firmware version: ADSPFW 2.14.1.1
Commit hash: unknown
-
Name of the topology file
- Topology: function topologies
Loaded topologies:
intel/sof-ipc4-tplg/sof-sdca-jack-id0.tplg
intel/sof-ipc4-tplg/sof-sdca-mic-id4.tplg
intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
Expected/missing: PTL SoundWire topology for RT712 on link 3 + 4x TAS2783 on link 2
-
Name of the platform(s) on which the bug is observed.
- Platform: HP EliteBook X G2i 14 inch Notebook Next Gen AI PC
CPU/platform: Intel Panther Lake, Core Ultra X7 358H
Audio controller: Intel 8086:e428
Subsystem: HP 103c:8e87
Driver: sof-audio-pci-intel-ptl
SoundWire layout:
link 2: 4x TAS2783, mfg_id 0x0102 part_id 0x0000
link 3: RT712, mfg_id 0x025d part_id 0x0712
Screenshots or console output
sudo dmesg | grep -Ei 'sof|snd|soundwire|sdw|rt712|rt1320|rt722|hda|codec|ucm|audio|dsp|fail|error'
[ 0.042745] software IO TLB: area num 16.
[ 0.542212] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.542212] software IO TLB: mapped [mem 0x0000000052592000-0x0000000056592000] (64MB)
[ 0.798978] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[ 0.800541] RAS: Correctable Errors collector initialized.
[ 2.707923] xe 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
[ 19.941116] v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
[ 21.567483] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 21.588459] hp_wmi: query 0x4 returned error 0x5
[ 21.664919] nxp-nci_i2c i2c-NXP1002:00: NFC: Failed to get EN gpio
[ 21.664930] nxp-nci_i2c i2c-NXP1002:00: probe with driver nxp-nci_i2c failed with error -2
[ 21.823196] intel_ish_ipc 0000:00:12.0: ISH loader: cmd 2 failed 10
[ 21.831320] intel_ish_ipc 0000:00:12.0: ISH loader: cmd 2 failed 10
[ 21.839965] intel_ish_ipc 0000:00:12.0: ISH loader: cmd 2 failed 10
[ 21.972397] sof-audio-pci-intel-ptl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[ 21.972410] sof-audio-pci-intel-ptl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 21.973450] sof-audio-pci-intel-ptl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 21.973492] sof-audio-pci-intel-ptl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [xe])
[ 21.980160] sof-audio-pci-intel-ptl 0000:00:1f.3: use msi interrupt mode
[ 22.025042] sof-audio-pci-intel-ptl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
[ 22.025044] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025046] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025047] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025047] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025048] sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0712 version 0x3
[ 22.025052] sof-audio-pci-intel-ptl 0000:00:1f.3: Use SoundWire default machine driver with function topologies
[ 22.025052] sof-audio-pci-intel-ptl 0000:00:1f.3: hda codecs found, mask 4
[ 22.025053] sof-audio-pci-intel-ptl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[ 22.025054] sof-audio-pci-intel-ptl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[ 22.025055] sof-audio-pci-intel-ptl 0000:00:1f.3: DMICs detected in NHLT tables: 0
[ 22.026916] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[ 22.026918] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware file: intel/sof-ipc4/ptl/sof-ptl.ri
[ 22.026918] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/ptl
[ 22.026919] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology file: function topologies
[ 22.027167] sof-audio-pci-intel-ptl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
[ 22.183704] sof-audio-pci-intel-ptl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
[ 22.272546] sof-audio-pci-intel-ptl 0000:00:1f.3: Booted firmware version: 2.14.1.1
[ 22.295849] sof-audio-pci-intel-ptl 0000:00:1f.3: Using function topologies instead intel/sof-ipc4-tplg/sof-ptl-dummy.tplg
[ 22.295858] sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology 0: intel/sof-ipc4-tplg/sof-sdca-jack-id0.tplg
[ 22.295919] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 22.296154] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 22.296158] sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology 1: intel/sof-ipc4-tplg/sof-sdca-mic-id4.tplg
[ 22.296186] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 22.296279] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 22.296281] sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology 2: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
[ 22.296309] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 22.296388] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 22.303283] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[ 22.316879] input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input24
[ 22.316918] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input25
[ 22.316948] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input26
[ 22.316998] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input27
[ 23.139801] rt712-sdca sdw:0:3:025d:0712:01: rt712_sdca_calibration, calibration time-out!
[ 23.141195] rt712-sdca sdw:0:3:025d:0712:01: rt712_sdca_vb_io_init, calibration failed!
Describe the bug
On HP Elitebook X G2i, it seems my audio does not work because the toplogy has not been seen before. (Speaker does not work, it seems headphones are detected properly).
I copied the firmware from HP windows drivers as they were missing, and it removed the firmware missing messages but did not help with the topology.
Kernel 7.0.9 detects all components, but says:
No SoundWire machine driver found for the ACPI-reported configuration
Layout:
To Reproduce
Install Arch on laptop,
copy blobs from HP driver into /usr/lib/firmware folder:
8E87-2-0x9.bin -> tas2783-9.bin
8E87-2-0xa.bin -> tas2783-a.bin
8E87-2-0xc.bin -> tas2783-c.bin
8E87-2-0xd.bin -> tas2783-d.bin
Reboot
Reproduction Rate
10/10
Impact
Can not use Speakers on linux
Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Linux upstream base: v7.0.9-ish / Arch packaged kernel
Commit hash: unknown, Arch package linux 7.0.9.arch2-1
Firmware loaded: intel/sof-ipc4/ptl/sof-ptl.ri
Firmware version: ADSPFW 2.14.1.1
Commit hash: unknown
Name of the topology file
Loaded topologies:
intel/sof-ipc4-tplg/sof-sdca-jack-id0.tplg
intel/sof-ipc4-tplg/sof-sdca-mic-id4.tplg
intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
Expected/missing: PTL SoundWire topology for RT712 on link 3 + 4x TAS2783 on link 2
Name of the platform(s) on which the bug is observed.
CPU/platform: Intel Panther Lake, Core Ultra X7 358H
Audio controller: Intel 8086:e428
Subsystem: HP 103c:8e87
Driver: sof-audio-pci-intel-ptl
SoundWire layout:
link 2: 4x TAS2783, mfg_id 0x0102 part_id 0x0000
link 3: RT712, mfg_id 0x025d part_id 0x0712
Screenshots or console output
sudo dmesg | grep -Ei 'sof|snd|soundwire|sdw|rt712|rt1320|rt722|hda|codec|ucm|audio|dsp|fail|error'
[ 0.042745] software IO TLB: area num 16.
[ 0.542212] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.542212] software IO TLB: mapped [mem 0x0000000052592000-0x0000000056592000] (64MB)
[ 0.798978] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[ 0.800541] RAS: Correctable Errors collector initialized.
[ 2.707923] xe 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
[ 19.941116] v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
[ 21.567483] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 21.588459] hp_wmi: query 0x4 returned error 0x5
[ 21.664919] nxp-nci_i2c i2c-NXP1002:00: NFC: Failed to get EN gpio
[ 21.664930] nxp-nci_i2c i2c-NXP1002:00: probe with driver nxp-nci_i2c failed with error -2
[ 21.823196] intel_ish_ipc 0000:00:12.0: ISH loader: cmd 2 failed 10
[ 21.831320] intel_ish_ipc 0000:00:12.0: ISH loader: cmd 2 failed 10
[ 21.839965] intel_ish_ipc 0000:00:12.0: ISH loader: cmd 2 failed 10
[ 21.972397] sof-audio-pci-intel-ptl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[ 21.972410] sof-audio-pci-intel-ptl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 21.973450] sof-audio-pci-intel-ptl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 21.973492] sof-audio-pci-intel-ptl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [xe])
[ 21.980160] sof-audio-pci-intel-ptl 0000:00:1f.3: use msi interrupt mode
[ 22.025042] sof-audio-pci-intel-ptl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
[ 22.025044] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025046] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025047] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025047] sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x0102 part_id 0x0000 version 0x3
[ 22.025048] sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0712 version 0x3
[ 22.025052] sof-audio-pci-intel-ptl 0000:00:1f.3: Use SoundWire default machine driver with function topologies
[ 22.025052] sof-audio-pci-intel-ptl 0000:00:1f.3: hda codecs found, mask 4
[ 22.025053] sof-audio-pci-intel-ptl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[ 22.025054] sof-audio-pci-intel-ptl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[ 22.025055] sof-audio-pci-intel-ptl 0000:00:1f.3: DMICs detected in NHLT tables: 0
[ 22.026916] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[ 22.026918] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware file: intel/sof-ipc4/ptl/sof-ptl.ri
[ 22.026918] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/ptl
[ 22.026919] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology file: function topologies
[ 22.027167] sof-audio-pci-intel-ptl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
[ 22.183704] sof-audio-pci-intel-ptl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
[ 22.272546] sof-audio-pci-intel-ptl 0000:00:1f.3: Booted firmware version: 2.14.1.1
[ 22.295849] sof-audio-pci-intel-ptl 0000:00:1f.3: Using function topologies instead intel/sof-ipc4-tplg/sof-ptl-dummy.tplg
[ 22.295858] sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology 0: intel/sof-ipc4-tplg/sof-sdca-jack-id0.tplg
[ 22.295919] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 22.296154] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 22.296158] sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology 1: intel/sof-ipc4-tplg/sof-sdca-mic-id4.tplg
[ 22.296186] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 22.296279] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 22.296281] sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology 2: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
[ 22.296309] sof-audio-pci-intel-ptl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 22.296388] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 22.303283] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[ 22.316879] input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input24
[ 22.316918] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input25
[ 22.316948] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input26
[ 22.316998] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input27
[ 23.139801] rt712-sdca sdw:0:3:025d:0712:01: rt712_sdca_calibration, calibration time-out!
[ 23.141195] rt712-sdca sdw:0:3:025d:0712:01: rt712_sdca_vb_io_init, calibration failed!