Hi,
I’m experiencing audio issues with the headphone jack on a Thinkpad X9 running kernel 6.17.11.
To be more precise:
On kernel 6.17.11, the headphone jack is completely unreliable. Sometimes it works if plugged in at boot, but other times it doesn’t work even when plugged in at boot. I’m not entirely sure about the pattern because it seems completely random, but when it does work and I unplug/replug, audio either stops working or becomes very quiet. Most of the time it’s just not working at all.
I noticed this issue a few hours ago when my Bluetooth headphones died and I started using wired headphones. I started collecting some information, but because from my perspective it’s completely random, I don’t know what exactly would help…
I checked kernel 6.17.7 (the last working kernel before the audio issue with Lunar Lake), and everything works perfectly every time. I can plug/unplug headphones anytime without issues.
The system correctly detects when headphones are plugged/unplugged, but the audio routing seems broken…
-Thinkpad X9 (with Cirrus Logic cs42l43/cs35l56)
-Fedora 43
-Kernel: 6.17.7-300.fc43.x86_64
Boot logs showing cs42l43 (kernel 6.17.11):
I suspect this might be a timing issue during boot:
[ 13.306907] cs42l43 sdw:0:0:01fa:4243:01: supply vdd-p not found, using dummy regulator
[ 13.306947] cs42l43 sdw:0:0:01fa:4243:01: supply vdd-d not found, using dummy regulator
[ 13.306962] cs42l43 sdw:0:0:01fa:4243:01: supply vdd-a not found, using dummy regulator
[ 13.306972] cs42l43 sdw:0:0:01fa:4243:01: supply vdd-io not found, using dummy regulator
[ 13.306982] cs42l43 sdw:0:0:01fa:4243:01: supply vdd-cp not found, using dummy regulator
[ 13.349518] cs42l43 sdw:0:0:01fa:4243:01: Slave 6 state check1: UNATTACHED, status was 1
[ 14.190946] cs42l43-codec cs42l43-codec: supply vdd-amp not found, using dummy regulator
[ 13.323019] sof-audio-pci-intel-lnl 0000:00:1f.3: Topology file: intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-2ch.tplg
Audio devices when jack not working (no sound)
Lunar Lake-M HD Audio Controller Headphones [vol: 0.85]
Lunar Lake-M HD Audio Controller Headset Microphone [vol: 1.00]
Edit, I found also something about ALSA:
fedora alsactl[1784]: /usr/sbin/alsactl: set_control:1521: Cannot write control ‘numid=1,iface=MIXER,name=‘cs42l43 Jack Override’’ : Device or resource busy
fedora alsactl[1784]: /usr/sbin/alsactl: set_control:1521: Cannot write control ‘numid=2,iface=MIXER,name=‘cs42l43 ADC Volume’’ : Invalid argument
fedora alsactl[1784]: /usr/sbin/alsactl: set_control:1521: Cannot write control ‘numid=51,iface=MIXER,name=‘cs42l43 Headphone Digital Volume’’ : Invalid argument
Speakers working without any issue.
Let me know if you want some more info.
Thanks!