Sound only partially working on Thinkpad Helix

The helix has four speakers and an headphone jack, two speakers on the tablet itself, two on the detachable keyboard. Running

speaker-test -c2 -l5 -twav

the keyboard speakers work.

Running

speaker-test -c4 -l5 -twav

The tablet speakers also work, but only when the keyboard is attached, and they are recognised as rear left and rear right.
With the tablet detached the speakers do not work at all. The headphone jack does not work at all, and does not mute the speakers when the keyboard is attached. There is also a volume switch on the tablet with does not under any circumstances.


cat /proc/asound/cards

 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf1118000 irq 47
 1 [Audio          ]: USB-Audio - USB Audio
                      Generic USB Audio at usb-0000:00:14.0-3.3, high speed

It is not a hardware problem. All speakers, headphone jack and volume button work under Windows 10.

It does not appear to be a mute problem. Alsamixer shows a master and a capture channel for the USB audio. It also shows three S/PDIF channels for the HDMI card but all are set to 0, not m, but I cannot change any of them (presumably because no hdmi device is plugged in).

I’ve run through http://]https://en.opensuse.org/SDB:Audio_troubleshooting and https://en.opensuse.org/SDB:Intel-HDA_sound_problems but no luck.

Here is the output of

/usr/sbin/alsa-info.sh

http://www.alsa-project.org/db/?f=387f30b9cf3cf226e32422ea23bf1f9174191cd0

and

/usr/sbin/hwinfo --sound 

09: PCI 03.0: 0403 Audio device                                 
  [Created at pci.366]
  Unique ID: 3hqH.Y_VG1v4zElB
  SysFS ID: /devices/pci0000:00/0000:00:03.0
  SysFS BusID: 0000:00:03.0
  Hardware Class: sound
  Model: "Intel Broadwell-U Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x160c "Broadwell-U Audio Controller"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x222b 
  Revision: 0x09
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xf1118000-0xf111bfff (rw,non-prefetchable)
  IRQ: 47 (824 events)
  Module Alias: "pci:v00008086d0000160Csv000017AAsd0000222Bbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown

20: USB 00.0: 0401 Multimedia audio controller
  [Created at usb.122]
  Unique ID: n8KV.M9u7fOU1OY9
  Parent ID: 2UT6.acAEQgOGgM2
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.0
  SysFS BusID: 1-3.3:1.0
  Hardware Class: sound
  Model: "Realtek USB Audio"
  Hotplug: USB
  Vendor: usb 0x0bda "Realtek Semiconductor Corp."
  Device: usb 0x4000 "USB Audio"
  Revision: "0.02"
  Serial ID: "200901010001"
  Driver: "snd-usb-audio"
  Driver Modules: "snd_usb_audio"
  Speed: 480 Mbps
  Module Alias: "usb:v0BDAp4000d0002dc00dsc00dp00ic01isc01ip00in00"
  Driver Info #0:
    Driver Status: snd_usb_audio is active
    Driver Activation Cmd: "modprobe snd_usb_audio"
  Config Status: cfg=yes, avail=yes, need=no, active=unknown
  Attached to: #27 (Hub)


Note that the order of the cards in Yast makes no difference, indeed having both cards as ‘not configured’ makes no difference.

I’m really at a loss as to what is going on. I am beginning to think that it is the USB-Audio which is not properly configured to recognise the tablet speakers properly or the headphone jack. My main concern is to get the headphones working, and the speakers muted when headphones are plugged in.

I’ve been at this for four days now, so any help will be very much appreciated.

Short update. I tried Ubuntu 16.04, and there there are three audio devices recognised, not two, `aplay -l’ gives:


**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 0: System Playback/Capture (*) ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 1: Offload0 Playback (*) ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 2: Offload1 Playback (*) ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


So it seems that the appropriate modules are not available in the Tumbleweed kernel.