Not all speakers working with Thinkpad X1 Yoga (5th Gen)

Dear Users,

I'm a newbie of Manjaro for about 5h now. I installed it on the 5th generation Lenovo Thinkpad X1 Yoga (which was released only a few weeks ago) as dual-boot with Win10.

I was able to handle problems with my sound devices (the current Kernel didn't seem to work, so I downgraded) but now that I can hear something the next problem occurred: Only the front speakers (left and right) of the laptop seem to work. This obviously results in rather poor sound quality.

To give some more information about my setup:

inxi -Fx
System:    Host: yoga Kernel: 5.6.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 
           Distro: Manjaro Linux 
Machine:   Type: Convertible System: LENOVO product: 20UBCTO1WW v: ThinkPad X1 Yoga Gen 5 serial: <root required> 
           Mobo: LENOVO model: 20UBCTO1WW v: SDK0R32862 WIN serial: <root required> UEFI: LENOVO v: N2WET16W (1.06 ) 
           date: 05/10/2020 
Battery:   ID-1: BAT0 charge: 52.8 Wh condition: 52.8/51.0 Wh (104%) model: SMP 5B10W13931 status: Full 
CPU:       Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP arch: Kaby Lake rev: C L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36812 
           Speed: 700 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 700 7: 700 8: 700 
Graphics:  Device-1: Intel UHD Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.8 driver: intel unloaded: modesetting resolution: 3840x2160~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: Intel vendor: Lenovo driver: sof-audio-pci bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.6.15-1-MANJARO 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 
           IF: wlp0s20f3 state: up mac: bc:54:2f:a6:27:5f 
           Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
           IF: enp0s31f6 state: down mac: 00:2b:67:78:50:65 
Drives:    Local Storage: total: 476.94 GiB used: 8.70 GiB (1.8%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L7 size: 476.94 GiB 
Partition: ID-1: / size: 34.20 GiB used: 7.91 GiB (23.1%) fs: ext4 dev: /dev/nvme0n1p7 
           ID-2: /home size: 155.84 GiB used: 810.7 MiB (0.5%) fs: ext4 dev: /dev/nvme0n1p8 
           ID-3: swap-1 size: 20.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p6 
Sensors:   System Temperatures: cpu: 60.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 3563 
Info:      Processes: 247 Uptime: 18m Memory: 15.27 GiB used: 1.92 GiB (12.6%) Init: systemd Compilers: gcc: 10.1.0 
           Shell: bash v: 5.0.17 inxi: 3.0.37 
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

When running the alsamixer, I can set the device sof-hda-dsp but I can only control the master Volume and the volume of the front speakers (left and right) simultaneously with the PGA1 slider.

I installed sof-firmware and edited the files /etc/pulse/ to include

 load-module module-alsa-source device=hw:0,6 channels=4
 load-module module-alsa-sink device=hw:0,0

and /etc/modprobe.d/alsa.conf (I had to create the file):

 options snd slots=,snd_usb_audio

as described in the Thinkpad Yoga Gen 4 Wiki

As I'm an absolute newbie with Manjaro (and only used GNU/Linux in general a few times before) I don't know what to do next and would be glad if you could give me any advice!

There is another link from the wiki you mentioned. See if that helps too

Archwiki has a note for Lenovo ThinkPad X1 Carbon (Gen 7)

The 4-channel audio and microphone work out-of-the-box as of 5.6.7-arch1-1 using SOF Firmware and the latest git version of PulseAudio (version 13.99, soon-to-be released as 14). You can install that version using pulseaudio-git. For the released version of PulseAudio (13 and older), please use the indications below.

the 'indications below' on that page suggests changes similar to those already added here

I installed sof-firmware and edited the files /etc/pulse/ to include

did you add the 2 options for module-alsa-sink and module-alsa-source before the auto-detection module (module-udev-detect) in /etc/pulse/
(if the 2 additional lines were added to end of the file they may not work)

if this laptop has more than 2 speakers
probably need to edit /etc/pulse/ to this:
load-module module-alsa-sink device=hw:0,0 channels=4
for 2nd pair 'rear' speakers

I too have a Lenovo Yoga X1 gen 5, and was battling the same issue, and managed to solve it yesterday evening.

I'm on Kernel 5.7, have the sof-firmware installed and using pulseaudio (not pulseaudio-git).
Instead of modifying /etc/pulse/ I added ~/.config/pulse/ with the following content:

.include /etc/pulse/
load-module module-alsa-sink device=hw:0,0 channels=4
load-module module-alsa-source device=hw:0,7 channels=4
load-module module-switch-on-connect

I also use a bluetooth headset, that's why I use the switch-on-connect.

My /etc/modprobe.d/alsa-base.conf looks like this:

options snd slots=snd_soc_skl_hda_dsp

What I read in another thread which solved it for me was that in alsamixer to get all 4 speakers to work is to set Speakerto 100<>100 and mute it (MM), while have Bass speaker unmuted (00).
If both are unmuted, only treble speakers will be active.
If Speaker is set to 0<>0 and unmuted, only bass speakers will be active.

Hope this helps.

Screenshot from 2020-06-22 14-44-40

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by