system not detecting headphones

So I just resurrected a laptop from a couple of years ago, and have
installed leap 42.3 on it. I am running KDE Plasma 5.

The only thing that is giving me trouble is that I am not getting sound
from the headphones. I have pavucontrol on it, and if I select the
headphones for the output, it always has them listed as “unplugged”,
even when they are plugged in.

I have configured the sound card with yast, and un-muted the headphones
with alsamixer, but I still don’t get anything.

Here is my system, as far as sound goes:


# lspci | grep -i audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset
High Definition Audio Controller (rev 05)

# head -n 1 /proc/asound/card0/codec*
Codec: Intel Haswell HDMI

# systemctl status alsasound
● alsa-restore.service - Save/Restore Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service;
static; vendor preset: disabled)
Active: active (exited) since Fri 2018-06-22 05:45:34 CDT; 8min ago
Process: 15083 ExecStop=/usr/sbin/alsactl store (code=exited,
status=0/SUCCESS)
Process: 15087 ExecStart=/usr/sbin/alsactl restore (code=exited,
status=0/SUCCESS)
Main PID: 15087 (code=exited, status=0/SUCCESS)

Jun 22 05:45:34 tribetrekGlap.site systemd[1]: Starting Save/Restore
Sound Card State...
Jun 22 05:45:34 tribetrekGlap.site alsactl[15087]: /usr/sbin/alsactl:
set_control:1461: Cannot write control '2:0:0:IEC958 Playback Default:0'
: Operation not permitted
Jun 22 05:45:34 tribetrekGlap.site alsactl[15087]: /usr/sbin/alsactl:
set_control:1461: Cannot write control '3:3:0:Playback Channel Map:0' :
Device or resource busy
Jun 22 05:45:34 tribetrekGlap.site systemd[1]: Started Save/Restore
Sound Card State.

# hwinfo --sound
10: PCI 03.0: 0403 Audio device
[Created at pci.378]
Unique ID: 3hqH.bQjzHrSTHK8
SysFS ID: /devices/pci0000:00/0000:00:03.0
SysFS BusID: 0000:00:03.0
Hardware Class: sound
Model: "Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x0c0c "Xeon E3-1200 v3/4th Gen Core Processor HD Audio
Controller"
SubVendor: pci 0x8086 "Intel Corporation"
SubDevice: pci 0x2010
Revision: 0x06
Driver: "snd_hda_intel"
Driver Modules: "snd_hda_intel"
Memory Range: 0xf7a14000-0xf7a17fff (rw,non-prefetchable)
IRQ: 37 (985 events)
Module Alias: "pci:v00008086d00000C0Csv00008086sd00002010bc04sc03i00"
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

14: PCI 1b.0: 0403 Audio device
[Created at pci.378]
Unique ID: u1Nb.Az20qS1hhuB
SysFS ID: /devices/pci0000:00/0000:00:1b.0
SysFS BusID: 0000:00:1b.0
Hardware Class: sound
Model: "Intel 8 Series/C220 Series Chipset High Definition Audio
Controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x8c20 "8 Series/C220 Series Chipset High Definition
Audio Controller"
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x185d
Revision: 0x05
Driver: "snd_hda_intel"
Driver Modules: "snd_hda_intel"
Memory Range: 0xf7a10000-0xf7a13fff (rw,non-prefetchable)
IRQ: 36 (699 events)
Module Alias: "pci:v00008086d00008C20sv00001043sd0000185Dbc04sc03i00"
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


So I ran the alsa-info script, and the information is here:
http://www.alsa-project.org/db/?f=bd352b853052f477373c7179dd80d05a3244b372

Thanks for your help, I have no idea what to do next.


Tribe
Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB
Laptop #1: 42.3 | KDE Plasma 5.8 | AMD FX 7TH GEN | 64 | 32GB
Laptop #2: 42.3 | KDE Plasma 5.8 | Core i5 | 64 | 8GB

Ok, thanks.

I assume these are not USB headphones.

I note two sound devices, HDMI and analog audio, each with a separate instance of the alsa module snd_hda_intel. The HDMI is sound card-0 and the analog audio sound card-1.

Are you using HDMI for speaker output ?

The HDMI is an Intel Haswell HDMI. The analog audio is an ALC668. I note the Kernel is 4.4.138-59-default.

There have been various Ubuntu bug reports written on the ALC668 with a headphone:


options snd-hda-intel model=dell-headset-multi 

Where the above bug reports are all for different versions of the kernel, one for the 4.4 kernel and others for newer kernel versions. I’ve also seen bug reports written against other GNU/Linux versions for the ALC668 and headphones.

Your quickest way to solve this may be to write a bug report on openSUSE: openSUSE:Submitting bug reports - openSUSE Wiki … where you can use your openSUSE forum user name and password to log on to buzilla, and then submit the bug report. Attach a copy of the script diagnostic output to the bug report and don’t bother referencing a forum thread as the openSUSE sound packager who will answer your bug report will not read a forum thread. Note the openSUSE packager is also an alsa sound driver developer - and if anyone can solve this quickly, he can.

I supposed you could also try various options in the 50-sound.conf file, as I see a number under the /usr/src/linux-4.4… /Documentation/sound/alsa/HD-Audio-Models.txt file:


ALC66x/67x/892
==============
  mario            Chromebook mario model fixup
  asus-mode1        ASUS
  asus-mode2        ASUS
  asus-mode3        ASUS
  asus-mode4        ASUS
  asus-mode5        ASUS
  asus-mode6        ASUS
  asus-mode7        ASUS
  asus-mode8        ASUS
  inv-dmic        Inverted internal mic workaround
  dell-headset-multi    Headset jack, which can also be used as mic-in

but the problem there is you have two alsa modules loaded and it can be tricky to ensure the alsa model is applied to the correct alsa module.

I can via ‘hit or miss’ guide you though this if you want, but it will likely take many iterations, and in all due honestly, I suspect the quickest way to get this working is to write the bug report.

Good luck.
.

Thanks. I have submitted the following bug report:
https://bugzilla.opensuse.org/show_bug.cgi?id=1098912

I will let you know how it goes.


Tribe
Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB
Laptop #1: 42.3 | KDE Plasma 5.8 | AMD FX 7TH GEN | 64 | 32GB
Laptop #2: 42.3 | KDE Plasma 5.8 | Core i5 | 64 | 8GB

Thankyou for sharing that link. I’ve been watching the bug report investigations progress, and I see the current alsa developer assessment is that this may be a hardware problem.

One thing you could do, is try a liveCD (bootable CD) or live USB (bootable USB) of another GNU/Linux version, and see if you have the same issue.

Given it was an alsa sound driver developer trying to help you on that openSUSE bug report, my suspicion is you will experience same issue with another GNU/Linux distribution … BUT one never knows - and if you have the time/curiosity, it may be worth testing.