Repository navigation
Conversation
On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake) the four TI
TAS2783 SmartAmp peripherals declare the SDCA Function Topology control
(0x05) with access mode 0x03 and no mipi-sdca-control-dc-value, so
find_sdca_function() rejects them ("function type only supported as
DisCo constant"). No SmartAmp function is created, no speaker DAI
exists and the internal speakers are silent. The RT712 on link 3 does
provide a DC value and is unaffected.
The same firmware defect was reported for the HP EliteBook X in
thesofproject#5760, where the conclusion was that the BIOS should
supply a DC value, and HP fixed that machine with a BIOS update. The
newest BIOS for 8EB4 (F.06, 2026-06-25) still ships access mode 0x03
with no DC value for the amplifiers, so machines in the field need a
fallback. Keep it minimal: a table of known peripherals (TAS2783,
mfg 0x0102 part 0x0000, is always a SmartAmp) rather than reading the
control from hardware, so functions can still be parsed before the
device is available. Happy to drop this if HP commits to a BIOS fix
for 8EB4.
Link: thesofproject#5732
Link: thesofproject#5760
Assisted-by: Claude:claude-fable-5
Signed-off-by: Kasey Prichard <kasey.prichard@gmail.com>
The HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.06) has four TI TAS2783 SmartAmp peripherals, two each on SoundWire links 1 and 2. The static DSDT declares intel-sdw-doais = 1 and intel-sdw-doaise2 = 1 for every link, but SNDW._INI then runs DCFG() on each LNKn package and overwrites those entries from NVS bytes (DAIn, DAXn, ...), and the values the driver actually reads are doais = 3, doaise2 = 0. With that ACTMCTL timing only one of the four amplifiers survives enumeration: the other three attach, answer DEVID reads, then drop off the bus within a few hundred ms and never come back, so there is no speaker output on Linux. Windows drives all four amplifiers on the same firmware. Bisecting the ACTMCTL fields at runtime shows that DOAIS = 1 together with DOAISE2 = 1 is both necessary and sufficient: with that pair all four amplifiers attach, download firmware on the first attempt and stay attached with no parity errors, and all four speakers play. DODS, CLDS and CLDE make no difference. DOAISE2 gates whether DOAIS is honoured, so neither field alone helps. Add a DMI-keyed override for the ACTMCTL fields, applied after the _DSD properties are read, and use it to force DOAIS = 1 / DOAISE2 = 1 on links 1 and 2 of this board. Other links and other boards are untouched. Link: thesofproject#5732 Assisted-by: Claude:claude-fable-5 Signed-off-by: Kasey Prichard <kasey.prichard@gmail.com>
|
Can one of the admins verify this patch?
|
|
I am pretty sure this will be fixed in the BIOS. @niranjanhyti @jim-monkey FYI |
|
@jimxbj-dot (@jim-monkey) now supporting tas2783a - Jim please comment. |
|
Tested on HP OmniBook Ultra 14 / 8EB4, fixes enumeration and Speaker PCM, details in #5732 |
I spent days on that fix. Happy someone is getting a benefit from it! |
|
@bardliao any update on BIOS fix, if not then probably best to upstream as a quirk ? |
The BIOS fix is already shared with HP. Not sure when will be the official release. @niranjanhyti @jimxbj-dot (@jim-monkey) any comment? |
|
Data point from a second vendor, with a caveat for 7.3. Machine: ASUS ProArt PX13 HN7306EA (BIOS HN7306EA.310, AMD ACP), 2x TAS2783 on SoundWire link 1 ( Tested: the Checked by ear with
Cause, as far as I can tell: the PX13's ACPI init table sets the UDMPU ClusterIndex ( For 8EB4: your test was on 7.2.2. As far as I can see, the ch_mask change is not in 7.2.x (I checked 7.2.9) and is in 7.3-rc6. So it may be worth re-testing 8EB4 on 7.3, depending on what its init table writes to ClusterIndex for each of the four amps. So on the PX13, the fallback as posted would turn working stereo into left-only on a stock 7.3 kernel. If it goes in as a quirk, limiting it to the boards it was tested on (DMI, like the ACTMCTL override) would avoid that. Alternatively, the ch_mask narrowing and the ACPI ClusterIndex need to agree when Disclosure: I worked through this with AI assistance (Claude Code). The results above are from my machine, checked by ear and in the kernel log. |
|
Issue persists for board 8EB4 with BIOS F.07 (early October) installed, so HP has not fixed yet. |
|
@bardliao @niranjanhyti @jimxbj-dot (@jim-monkey) since the F.07 BIOS was released without resolving the issue, is there any way to follow up with HP? unclear where bugs are reported to them or tracked. |
@jonnyjonjon What laptop module do you use? The HP BIOS F.11 fixes this on the OmniBook X Flip 14 (8EA4). #5981 (comment) |
Omnibook Ultra 14 (board 8EB4, Panther Lake, 4x TI TAS2783 amps), same as the original submitter of this PR. F.07 is the latest BIOS. Was a bug submitted to HP for this model as well? |
|
Update to my comment above: on 7.4 my objection no longer applies, and this fallback is now what the PX13 needs. 7.4-rc1 includes f42fbd5 ("ASoC: tas2783-sdw: add firmware download status check"). It removes the 7.3 stereo split from Tested on 7.3.3 by swapping modules, checked by ear with
With this PR the log shows Good to see HP F.11 fixes 8EA4. The PX13 has the same firmware defect ( Until ASUS ships a fix, please disregard my earlier suggestion to limit the fallback by DMI: on 7.4 that would leave the PX13 without a right speaker. The mfg 0x0102 / part 0x0000 match as posted covers it. @jonnyjonjon, since you're on 7.4-rc1, this combination may also be worth checking on 8EB4. I've reported the 7.4 regression on linux-sound in reply to the TI patch: https://lore.kernel.org/all/20261107212552.10990-1-leepaulmann@gmail.com/ Disclosure: I worked through this with AI assistance (Claude Code). The results above are from my machine, checked by ear and in the kernel log. |
|
@leepaulmann The Asus PX13 is a separate laptop from a different manufacturer. It likely has its own bug tracker and candidate PRs. Please search for those, and comment there, not here. From the title, this PR was opened specifically or the HP Omnibook Ultra 14 (8EB4). I joined to add details that the latest bios update for this exact model (F.07, early Oct) did not resolve its issues, since I saw that @bardliao indicated that a bug had been submitted to HP. dmesg | grep -iE "sof" still shows: [ 889.573615] sof-audio-pci-intel-ptl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration: Happy to provide additional info or logs, as needed. |
|
Fair enough. I'd only add that the SDCA hunk matches the TAS2783 by mfg/part ID rather than by DMI, so it changes behaviour on the PX13 too. That's why I tested it here. I'll keep further PX13 follow-up on linux-sound. |
Yes, please share the full dmesg log. |
|
@bardliao - Ran the following commands: journalctl -k -b > dmesg_log.txt Output here: https://github.com/jonnyjonjon/hp-omnibook-ultra-14-kd0000-8eb4-tas2783 Log is spammed with tas2783 communication errors. Let me know if you need anything else. Also, if I should add anything to the associated issue: #5732 |
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. That dates from the first ACE2.x code, which also hard-coded DOAIS = 1. commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") changed the DOAIS default to the hardware default (3), and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS from the _DSD properties, but DACTQE is still forced on. On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07) the firmware gives every link DOAIS = 3 and DOAISE2 = 0. Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D, and one amplifier per link keeps failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. Link 3, with a single RT712, works with the same value. ACTMCTL reads 0x003A before Linux writes it, so DACTQE resets to 0. Leaving it at that value gives ACTMCTL = 0x117C with the firmware's own DOAIS and DOAISE2, and all four amplifiers attach and play. An alternative proposed for this board in thesofproject/linux PR thesofproject#5904 forces DOAIS = 1 and DOAISE2 = 1 through a DMI quirk, which restores the original DOAIS = 1 / DACTQE = 1 pairing. Not forcing DACTQE avoids a board quirk and leaves every ACTMCTL field to the firmware properties or the hardware reset value. This changes ACTMCTL on every ACE2.x and later platform. It has only been tested on the board above, and the meaning of DACTQE is not publicly documented, so it needs testing on other platforms. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. Fixes: 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") Link: thesofproject#5732 Link: thesofproject#5904 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. That dates from the first ACE2.x code, which also hard-coded DOAIS = 1. commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") changed the DOAIS default to the hardware default (3), and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS from the _DSD properties, but DACTQE is still forced on. On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07) the firmware gives every link DOAIS = 3 and DOAISE2 = 0. Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D, and one amplifier per link keeps failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. Link 3, with a single RT712, works with the same value. ACTMCTL reads 0x003A before Linux writes it, so DACTQE resets to 0. Leaving it at that value gives ACTMCTL = 0x117C with the firmware's own DOAIS and DOAISE2, and all four amplifiers attach and play. The meaning of DACTQE is not publicly documented and leaving it clear has only been tested on this board, so add a DMI quirk instead of changing every ACE2.x platform: on matching systems the driver no longer sets DACTQE and leaves it at its hardware reset value. The quirk is evaluated once per link when the Intel properties are read. Other platforms keep the current behaviour. An alternative proposed for this board in thesofproject/linux PR thesofproject#5904 forces DOAIS = 1 and DOAISE2 = 1 through a DMI quirk, which restores the original DOAIS = 1 / DACTQE = 1 pairing. This quirk instead overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. Link: thesofproject#5732 Link: thesofproject#5904 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a 14 On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake; BIOS F.06 and F.07) the firmware declares the Function Topology control (0x05) of the four TI TAS2783 amplifiers with access mode 3 and no mipi-sdca-control-dc-value. find_sdca_function() then fails with "function type only supported as DisCo constant", no SmartAmp function is created, there is no speaker endpoint, and the internal speakers are silent. The RT712 on the same machine provides the constant and is unaffected. This is a firmware defect. The same one was fixed by a BIOS update on the HP EliteBook X (thesofproject#5760) and on the OmniBook X Flip 14 (8EA4, BIOS F.11), and a fix has reportedly been shared with HP for this board too. Until it ships, add a quirk: when the constant is absent on this board, treat a TAS2783 (mfg 0x0102, part 0x0000) as a SmartAmp, which is the only function that part implements. On the OmniBook X Flip 14 (8EA4), whose fixed BIOS (F.11) declares the constant, the same part is reported as a SmartAmp (type 1). The quirk is limited to this vendor and board name, and only applies when the property is absent, so a fixed BIOS bypasses it and no other machine changes behaviour. The fallback is logged with FW_BUG. Based on the unconditional fallback proposed by Kasey Prichard in thesofproject/linux PR thesofproject#5904. Link: thesofproject#5732 Link: thesofproject#5904 Link: thesofproject#5760 Link: thesofproject#5981 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. That bit is a leftover. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind, and it is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware. There is no _DSD property for it. Forcing it breaks at least one system. On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07) the firmware gives every link DOAIS = 3 and DOAISE2 = 0. Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D, and one amplifier per link keeps failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. ACTMCTL reads 0x003A before Linux writes it, so DACTQE resets to 0. Leaving it there gives ACTMCTL = 0x117C, with the firmware's own DOAIS and DOAISE2, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. Stop setting DACTQE and leave it at its reset value (or whatever the BIOS left). The meaning of DACTQE is not publicly documented, and this has only been tested on 8EB4. If a platform does turn out to need DACTQE set, it can be added as a firmware property or a quirk, like the other ACTMCTL fields. An alternative proposed for this board in thesofproject/linux PR thesofproject#5904 uses a DMI quirk to override the firmware's DOAIS and DOAISE2 on links 1 and 2 (DOAIS = 1, DOAISE2 = 1, giving ACTMCTL = 0x5175 with DACTQE still forced on). That works on this board, but it replaces two values the firmware specifies with a combination that matches neither the firmware nor the original driver code. This change overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. Link: thesofproject#5732 Link: thesofproject#5904 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and one amplifier per link keeps failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 assumes the firmware values are wrong. It uses a DMI quirk to override two of them on links 1 and 2, DOAIS (3 to 1) and DOAISE2 (0 to 1), giving ACTMCTL = 0x5175 with DACTQE still set, and with it all four amplifiers attach and play. But the combination it substitutes matches neither the firmware nor the original driver code. The opposite theory is that the firmware values are right and the driver adds something wrong, and the history of this function supports it. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. On 8EB4, ACTMCTL reads 0x003A before Linux writes it, so DACTQE resets to 0. Without the thesofproject#5904 quirk, leaving DACTQE at that value gives ACTMCTL = 0x117C, with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. Stop setting DACTQE and leave it at its reset value (or whatever the BIOS left). The meaning of DACTQE is not publicly documented, and this has only been tested on 8EB4. If a platform does turn out to need DACTQE set, it can be added as a firmware property or a quirk, like the other ACTMCTL fields. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. Link: thesofproject#5732 Link: thesofproject#5904 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and one amplifier per link keeps failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 assumes the firmware values are wrong. It takes DOAIS = 1 and DOAISE2 = 1 from the static DSDT and forces them on links 1 and 2 with a DMI quirk, giving ACTMCTL = 0x5175 with DACTQE still set, and with it all four amplifiers attach and play. But every intel-sdw-* property in that static _DSD is a placeholder 1: SNDW._INI overwrites all nine with per-board values from NVS before the driver reads them, so the values the driver sees are the board's actual configuration, not corruption. The opposite theory is that the firmware values are right and the driver adds something wrong, and the history of this function supports it. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. On 8EB4, ACTMCTL reads 0x003A before Linux writes it, so DACTQE resets to 0. Without the thesofproject#5904 quirk, leaving DACTQE at that value gives ACTMCTL = 0x117C, with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. Stop setting DACTQE and leave it at its reset value (or whatever the BIOS left). The meaning of DACTQE is not publicly documented, and this has only been tested on 8EB4. If a platform does turn out to need DACTQE set, it can be added as a firmware property or a quirk, like the other ACTMCTL fields. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. Link: thesofproject#5732 Link: thesofproject#5904 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and one amplifier per link keeps failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 assumes the firmware values are wrong. It forces DOAIS = 1 and DOAISE2 = 1 on links 1 and 2 with a DMI quirk, giving ACTMCTL = 0x5175 with DACTQE still set, and with it all four amplifiers attach and play. Those values come from the static DSDT, where every intel-sdw-* property is 1. The PR's experiment log reports that ACTMCTL = 0xD0EF, which is those nine 1s plus DACTQE, made all four amplifiers work, and that bisecting the five fields where that differs from the firmware's 0x117D (DODS, DOAIS, CLDS, DOAISE2 and CLDE) left DOAIS and DOAISE2. The only values reported for any field are the firmware's and the placeholder 1, and DACTQE, set in both, was never varied. But the 1s in the static _DSD are placeholders: SNDW._INI overwrites all nine properties with per-board values from NVS before the driver reads them, so the values the driver sees are the board's actual configuration, not corruption. The opposite theory is that the firmware values are right and the driver adds something wrong, and the history of this function supports it. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. On 8EB4, ACTMCTL reads 0x003A before Linux writes it, so DACTQE resets to 0. Without the thesofproject#5904 quirk, leaving DACTQE at that value gives ACTMCTL = 0x117C, with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. Stop setting DACTQE and leave it at its reset value (or whatever the BIOS left). The meaning of DACTQE is not publicly documented, and this has only been tested on 8EB4. If a platform does turn out to need DACTQE set, it can be added as a firmware property or a quirk, like the other ACTMCTL fields. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. That is a separate problem, outside the scope of this patch. Link: thesofproject#5732 Link: thesofproject#5904 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. On at least one board this keeps SoundWire amplifiers from working, and the driver's history suggests the bit is a leftover. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and amplifiers on those links keep failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 assumes the firmware values are wrong. It forces DOAIS = 1 and DOAISE2 = 1 on links 1 and 2 with a DMI quirk, giving ACTMCTL = 0x516D with DACTQE still set, and with it all four amplifiers attach and play. Those values match the static DSDT, where every intel-sdw-* property is 1. The PR's experiment log reports that ACTMCTL = 0xD0EF, which is those nine 1s plus DACTQE, made all four amplifiers work, and that bisecting the five fields where that differs from the firmware's 0x117D (DODS, DOAIS, CLDS, DOAISE2 and CLDE) left DOAIS and DOAISE2. The only values reported for any field are the firmware's and the placeholder 1, and DACTQE, set in both, was not varied in any reported experiment. The PR notes that the 1s in the static _DSD are placeholders: SNDW._INI overwrites all nine properties with per-board values from NVS before the driver reads them. It treats those values as a BIOS bug, but the experiments only show that one alternative to them works, not that they are wrong. The opposite theory is that the firmware values are right and the driver adds something wrong, and the history of this function supports it. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. On 8EB4, ACTMCTL reads 0x003A before Linux writes it, so DACTQE is 0 at that point. Without the thesofproject#5904 quirk, leaving DACTQE at that value gives ACTMCTL = 0x117C, with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. Stop setting DACTQE and leave it at its reset value (or whatever the BIOS left). The meaning of DACTQE is not publicly documented, and this has only been tested on 8EB4. If a platform does turn out to need DACTQE set, it can be added as a firmware property or a quirk, like the other ACTMCTL fields. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. That is a separate problem, outside the scope of this patch. Fixes: f40bb24 ("soundwire: intel_ace2x: configure link PHY") Link: thesofproject#5732 Link: thesofproject#5904 Assisted-by: Claude:claude-opus-5-5
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. On at least one board this keeps SoundWire amplifiers from working, and the driver's history suggests the bit is a leftover. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and amplifiers on those links keep failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 assumes the firmware values are wrong. It forces DOAIS = 1 and DOAISE2 = 1 on links 1 and 2 with a DMI quirk, giving ACTMCTL = 0x516D with DACTQE still set, and with it all four amplifiers attach and play. Those values match the static DSDT, where every intel-sdw-* property is 1. The PR's experiment log reports that ACTMCTL = 0xD0EF, which is those nine 1s plus DACTQE, made all four amplifiers work, and that bisecting the five fields where that differs from the firmware's 0x117D (DODS, DOAIS, CLDS, DOAISE2 and CLDE) left DOAIS and DOAISE2. The only values reported for any field are the firmware's and the placeholder 1, and DACTQE, set in both, was not varied in any reported experiment. The PR notes that the 1s in the static _DSD are placeholders: SNDW._INI overwrites all nine properties with per-board values from NVS before the driver reads them. It treats those values as a BIOS bug, but the experiments only show that one alternative to them works, not that they are wrong. The opposite theory is that the firmware values are right and the driver adds something wrong, and the history of this function supports it. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. On 8EB4, ACTMCTL reads 0x003A before Linux writes it, so DACTQE is 0 at that point. Without the thesofproject#5904 quirk, leaving DACTQE at that value gives ACTMCTL = 0x117C, with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property. Stop setting DACTQE and leave it at its reset value (or whatever the BIOS left). The meaning of DACTQE is not publicly documented, and this has only been tested on 8EB4. If a platform does turn out to need DACTQE set, it can be added as a firmware property or a quirk, like the other ACTMCTL fields. On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. That is a separate problem, outside the scope of this patch. Fixes: f40bb24 ("soundwire: intel_ace2x: configure link PHY") Link: thesofproject#5732 Link: thesofproject#5904 Assisted-by: Claude:claude-opus-5-5
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. On at least one board this keeps SoundWire amplifiers from working, and the driver's history suggests the bit is a leftover. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and amplifiers on those links keep failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 starts from the assumption that the firmware values are wrong. In the static DSDT every intel-sdw-* property is 1; these appear to be placeholders, which SNDW._INI overwrites with per-board values from NVS before the driver reads them. The PR's experiment starts using all of the placeholder values: ACTMCTL = 0xD0EF (the nine 1s, plus DACTQE), and notes that all four amplifiers work. The experiment then bisects the five fields where that differs from the firmware's 0x117D (DODS, DOAIS, CLDS, DOAISE2 and CLDE), switches each between its firmware value and 1, and checks if all 4 amplifiers still attach and play. In the end, it concludes that only DOAIS and DOAISE2 are incorrect, and forces them to 1 in a DMI quirk, resulting in ACTMCTL = 0x516D (with DACTQE still set). However, the only values tried for any field are the firmware's and the placeholder 1, and DACTQE, set in both, was never varied. The PR treats the firmware values as a BIOS bug, but the experiments only show that one alternative to them works, not that they are wrong. The opposite theory is that the firmware values are right and the driver adds something wrong. On 8EB4, ACTMCTL reads 0x003A before Linux writes it, so DACTQE is 0 at that point. Without the thesofproject#5904 quirk, leaving DACTQE at that value gives ACTMCTL = 0x117C, with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear. The history of this function supports that the DACTQE variable may be a leftover. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. Without hardware documentation, it is impossible to be sure which is the correct fix. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property, and leaves it at its reset value (or whatever the BIOS left). Caveats: This patch was made unconditionally, so that reviewers could consider it as a bugfix first, rather than a quirk, but it has only been tested on 8EB4. Out of scope: On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers); without it the amplifiers enumerate but no speaker endpoint is created. That is a separate problem that HP may eventually fix in a BIOS update on 8EA4, and has been kept separate from this change. Fixes: f40bb24 ("soundwire: intel_ace2x: configure link PHY") Link: thesofproject#5732 Link: thesofproject#5904 Assisted-by: Claude:claude-opus-5-5
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties, except bit 0 (DACTQE), which it always sets. On at least one board this keeps SoundWire amplifiers from working, and the driver's history suggests the bit is a leftover. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and amplifiers on those links keep failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. A fix proposed for this board in thesofproject/linux PR thesofproject#5904 starts from the assumption that the firmware values are wrong. In the static DSDT every intel-sdw-* property is 1; these appear to be placeholders, which SNDW._INI overwrites with per-board values from NVS before the driver reads them. The PR's experiment starts using all of the placeholder values: ACTMCTL = 0xD0EF (the nine 1s, plus DACTQE), and notes that all four amplifiers work. The experiment then bisects the five fields where that differs from the firmware's 0x117D (DODS, DOAIS, CLDS, DOAISE2 and CLDE), switches each between its firmware value and 1, and checks if all 4 amplifiers still attach and play. In the end, it concludes that only DOAIS and DOAISE2 are incorrect, and forces them to 1 in a DMI quirk, resulting in ACTMCTL = 0x516D (with DACTQE still set). However, the only values tried for any field are the firmware's and the placeholder 1, and DACTQE, set in both, was never varied. DOAIS is two bits wide, so 0 and 2 were never tried. The PR treats the firmware values as a BIOS bug, but the experiments only show that one alternative to them works, not that they are wrong. The opposite theory is that the firmware values are right and the driver adds something wrong. In this case, there is only one possible culprit to test. On 8EB4,ACTMCTL reads 0x003A before Linux writes it, so DACTQE is 0 at that point. Without the thesofproject#5904 patch, leaving DACTQE at that value gives us ACTMCTL = 0x117C, with every other field as the firmware specifies. With this value, all four amplifiers also attach and play. Link 3 on the same system, with a single RT712, works with DACTQE either set or clear - there appears to be no difference. The history of this function supports that the DACTQE variable may be a leftover. The first ACE2.x code, commit f40bb24 ("soundwire: intel_ace2x: configure link PHY"), built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") described DOAIS = 1 as a "copy-pasted value?" and switched it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from the firmware. DACTQE, hard-coded alongside them, was left behind. It is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware, and there is no _DSD property for it. Without hardware documentation, it is impossible to be sure which is the correct fix. Both approaches make 8EB4 work, but this one overrides nothing the firmware specifies; it only stops forcing a bit for which the firmware has no property, and leaves it at its reset value (or whatever the BIOS left). Caveats: This patch was made without quirk gating, so that reviewers could consider it as a bugfix first, but it has only been tested on 8EB4. Out of scope: On 8EB4 the speakers also need a separate SDCA fix (the firmware lacks the function type constant for the amplifiers), which was applied before this test; without it the amplifiers enumerate, but no speaker endpoint is created. That is a separate problem, and has been kept out of scope of this change. Fixes: f40bb24 ("soundwire: intel_ace2x: configure link PHY") Link: thesofproject#5732 Link: thesofproject#5904 Assisted-by: Claude:claude-opus-5-5
intel_shim_vs_init() takes every ACTMCTL timing field from the _DSD properties except bit 0 (DACTQE), which it always sets and for which there is no _DSD property. On at least one board, setting DACTQE keeps the SoundWire amplifiers from working, and the driver's history suggests the bit is a leftover. This showed up while debugging audio on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07). Links 1 and 2 each carry two TI TAS2783 amplifiers. Linux programs ACTMCTL = 0x117D on those links (the firmware's _DSD values, plus DACTQE), and the amplifiers keep failing: "Program SCP Ack not received", parity errors and firmware download failures, tens of thousands of log lines per boot. thesofproject/linux PR thesofproject#5904 proposes a fix for this board that treats the firmware values as wrong. The static DSDT sets all nine ACTMCTL properties to 1. These look like placeholders: SNDW._INI overwrites them with per-board values from NVS before the driver reads them. The PR found that ACTMCTL = 0xD0EF (all nine fields 1, plus DACTQE) makes all four amplifiers work. It then bisected the five fields where that differs from 0x117D (DODS, DOAIS, CLDS, DOAISE2 and CLDE), concluded that only DOAIS and DOAISE2 are wrong, and forces both to 1 with a DMI quirk, giving ACTMCTL = 0x516D (DACTQE still set). The published results only cover each field at its firmware value and at 1. DOAIS is two bits wide, so 0 and 2 were not covered, and DACTQE was set in every configuration. That shows one alternative to the firmware values works, not that the firmware values are wrong. The other possibility is that the firmware values are right and the driver adds something wrong. The only thing it adds is DACTQE. On 8EB4, ACTMCTL reads 0x003A before Linux writes it: the hardware default that sdw_master_read_intel_prop() assumes, with DACTQE clear. Leaving DACTQE clear, without the thesofproject#5904 patch, gives ACTMCTL = 0x117C with every other field as the firmware specifies, and all four amplifiers attach and play. Link 3 on the same machine (a single RT712) works with DACTQE set or clear. The driver's history fits DACTQE being a leftover. Commit f40bb24 ("soundwire: intel_ace2x: configure link PHY") built ACTMCTL from zero with three hard-coded values: DOAIS = 1, DODS = 1 and DACTQE = 1. Commit b513429 ("soundwire: intel_ace2x: fix AC timing setting for ACE2.x") switched to read-modify-write, because building from zero cleared DOAISE and broke the SDA waveform, but kept forcing DACTQE. Commit 8096248 ("soundwire: intel_ace2x: cleanup DOAIS/DODS settings") called DOAIS = 1 a "copy-pasted value?" and moved it to the hardware default, and commit 3b0b441 ("soundwire: intel_ace2x: use DOAIS and DODS settings from firmware") then took DOAIS and DODS from firmware. DACTQE was left behind, and is now the only ACTMCTL bit the driver forces regardless of hardware default or firmware. Without hardware documentation there is no way to be sure which fix is correct. Both make 8EB4 work, but this one overrides nothing the firmware specifies. Stop setting DACTQE, and leave it at its reset value (or whatever the BIOS left). This is deliberately not quirk-gated, so that it can be reviewed as a bug fix, but it has only been tested on 8EB4. 8EB4 also needs a separate SDCA fix before a speaker endpoint is created (patch 1 of thesofproject#5904: the firmware does not provide the amplifiers' function type). That fix was applied for this testing and is out of scope here. Fixes: f40bb24 ("soundwire: intel_ace2x: configure link PHY") Link: thesofproject#5732 Link: thesofproject#5904 Assisted-by: Claude:claude-opus-5-5
Fixes the silent internal speakers on the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, 4x TI TAS2783 on SoundWire links 1/2 + RT712 on link 3). Tracked in #5732 (also #5877, #5802); the SDCA half is the same defect as #5760.
Two independent problems, one patch each — see the commit messages for details:
ASoC: SDCA: fall back to SmartAmp function type for TI TAS2783— the BIOS declares the Function Topology control with access mode 3 and no DC value; upstream deliberately requires a DC value (HP Elitebook X (Panther Lake) - no sound. #5760) and HP fixed the EliteBook X via BIOS, but 8EB4 F.06 (latest) still lacks it. Minimal known-peripheral fallback; I'm fine dropping it if HP commits to a BIOS fix.soundwire: intel: override ACTMCTL DOAIS/DOAISE2 on HP OmniBook Ultra 14—SNDW._INIoverwrites the staticintel-sdw-doais/doaise2 = 1with NVS values 3/0; with those, three of four amps drop off the bus after attaching. Runtime bisect: DOAIS=1 + DOAISE2=1 is necessary and sufficient. DMI-keyed override for links 1 and 2.Tested on 7.2.2 with stock
soundwire-busandsnd-soc-tas2783-sdw, only these two changes: 4/4 amps attach and stay attached, firmware first try, PARITY 0 at boot and after streaming, Speaker PCM present, all four speakers verified individually. checkpatch--strictclean.How this was found: 28 numbered single-change experiments on the machine (most a full instrumented reboot with a captured boot log), finishing with a live runtime bisect of the ACTMCTL fields; experiments 0024–0028 then reverted everything else to prove these two patches alone suffice on pristine v7.2.2 files. The work was AI-assisted (Claude Code); both commits carry
Assisted-by:trailers perDocumentation/process/coding-assistants.rst, and I have reviewed and boot-tested everything here myself. The experiment index is in the repo README linked below.Questions: is
intel_auxdevice.cthe right home for an ACTMCTL override (vsdmi-quirks.cor a machine-driver quirk)? And should the SDCA fallback go in at all, or is 8EB4 strictly a BIOS matter?Supporting material (ACPI dumps, Windows-side comparison, UCM files): https://github.com/kaseyprichard/hp-omnibook-tas2783-sdw