* sof-soundwire: cs42l45 has no Line Out device, jack silent with amps/aux cables
[not found] <18ecce142fb06e00-webhooks-bot@alsa-project.org>
@ 2026-11-30 11:09 ` GitHub issues - opened
0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2026-11-30 11:09 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-ucm-conf issue #934 was opened from xsi-dbachmann:
Hardware: Dell XPS 14 (DMI DellInc.-XPS14DA14260-0TVXV7, SSID 10280db9), cs42l45 on SoundWire link 0 (UAJ function via the SDCA class driver), cs35l57 amps.
Software: kernel 7.3.7, alsa-ucm-conf 1.2.16.1, alsa-lib 1.2.16.1, PipeWire 1.6.12, WirePlumber 0.5.19 (Arch based).
Plugged an aux cable to an amplifier into the 3.5 mm jack and got no sound. The codec detects it fine, just as line out:
```
cs42l45 GE 35 Detected Mode = 5 (LineOut Stereo)
cs42l45 OT 44 LineOut Stereo Jack = on
cs42l45 OT 43 Headphone Jack = off
```
`ucm2/sof-soundwire/cs42l45.conf` only has a Headphones device with `JackControl "cs42l45 OT 43 Headphone Jack"`, so the port stays "not available" and PipeWire never routes to it. Forcing `GE 35 Selected Mode` to Headphone doesn't stick, the codec puts it back to 5.
Unmuting `cs42l45 Headphone Playback Switch` (FU 41) by hand and playing to hw:X,0 does come out of the amp, so the output path is shared. Adding this device fixes it here:
```
SectionDevice."Line1" {
Comment "Line Out"
Value {
PlaybackPriority 150
PlaybackPCM "hw:${CardId},0"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "cs42l45 Headphone"
JackControl "cs42l45 OT 44 LineOut Stereo Jack"
}
}
```
With it, PipeWire shows a "Line Out" port as available when the amp is plugged in, WirePlumber picks the HiFi profile with Line, and audio plays. Since Headphones and Line1 share the PCM, ACP puts them in separate profiles, which works but maybe there is a nicer way to express it.
Didn't test LineIn (IT 32) or a headset with mic in the same session. Happy to test a proper patch.
Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/934
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
^ permalink raw reply [flat|nested] only message in thread