The Dell XPS 13 DX13260 drives its two CS35L56 sidecar speaker amplifiers through a quirk that Linux only gains in 7.2, so until Arch ships that kernel the machine plays through one amplifier with no bass. The dell-xps13-sidecar-amps package selects the same driver path with a module override; this installs it on that exact machine and nowhere else. The detector requires both the DX13260 product name and SKU 0E53, because the override forces a quirk value rather than merging into one, and a machine that gets it wrong loses whatever quirk the kernel would have chosen for itself. Pacman registers a package even when its post_install scriptlet fails, so the leaf calls dell-xps13-sidecar-amps-apply itself instead of trusting the install to have applied: a failed cleanup or boot-image rebuild has to reach the caller rather than hide behind a package pacman considers installed. That is also why the migration marks reboot-required only after the apply succeeds — a migration that exits non-zero keeps no completion marker and retries the apply on the next run, even though pacman already has the package. The leaf runs after intel/ptl-kernel.sh rather than beside the other Dell leaf at the top of install/hardware/all.sh, so its boot-image rebuild sees the Panther Lake kernel that step swaps in rather than the stock one it removes. Co-authored-by: Codex XHigh <codex@openai.com>
11 lines
474 B
Bash
11 lines
474 B
Bash
# Enable the temporary sidecar amplifier workaround on the exact Dell XPS 13 model that needs it.
|
|
#
|
|
# Pacman registers a package even when its post_install scriptlet fails, so the
|
|
# apply command runs explicitly here: a failed cleanup or boot-image rebuild has
|
|
# to reach the caller rather than hide behind a successfully registered package.
|
|
|
|
if omarchy-hw-dell-xps13-sidecar-amps; then
|
|
omarchy-pkg-add dell-xps13-sidecar-amps &&
|
|
sudo dell-xps13-sidecar-amps-apply
|
|
fi
|