After upgrade from 42.1, apparent snd_hda_intel driver issue with Intel 82801JI Audio Controller

Sound was working fine on 42.1. Now after booting up, sound does not work.

I found that originally, in YaST2->Sound, the sound card was not configured. An attempt to configure it produced an error saying something about the sound driver and invalid arguments or IRQ conflict. I was able to get the sound card configured after disabling the on-board audio device in BIOS, rebooting, then re-enabling it in BIOS.

The card stays configured and I can successfully “Play Test Sound” in YaST, but the card does not show up in System Settings -> Multimedia -> Audio and Video -> Audio Hardware Setup (tab).

If I do:

service sound stop
rmmod snd_hda_intel
modprobe snd-hda-intel
service sound start

the card will then show up in Audio Hardware Setup, and I can successfully test both left and right speakers.

This seems to my sound-system-ignorant self to be a sound module configuration issue. Just guessing.

I don’t know if any of the following may be applicable, but here goes:

# lspci|grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
# dmesg|grep -i -e 'snd\|hda'
   16.256040] snd_hda_intel 0000:00:1b.0: azx_get_response timeout, switching to polling mode: last cmd=0x100f0000
   17.260032] snd_hda_intel 0000:00:1b.0: No response from codec, disabling MSI: last cmd=0x100f0000
   18.268027] snd_hda_intel 0000:00:1b.0: Codec #1 probe error; disabling it...
   18.566007] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC662 rev1: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
   18.566010] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
   18.566011] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
   18.566012] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
   18.566015] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
   18.566016] snd_hda_codec_realtek hdaudioC0D0:    inputs:
   18.566018] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
   18.566020] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
   18.566021] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
   18.578279] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
   18.578348] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
   18.578407] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
   18.578466] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
   18.578525] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
# cat /etc/modprobe.d/50-alsa.conf
install snd /sbin/install-snd-module snd $CMDLINE_OPTS
install snd-pcm /sbin/install-snd-module snd-pcm $CMDLINE_OPTS
install snd-seq /sbin/install-snd-module snd-seq $CMDLINE_OPTS
# cat /etc/modprobe.d/50-sound.conf
options snd slots=snd-hda-intel
# u1Nb.cSWqKGZzfjB:82801JI (ICH10 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
# lsmod|grep snd
snd_hda_codec_realtek    94208  1 
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_hda_intel          40960  0 
snd_hda_codec         147456  3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           73728  4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               135168  3 snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              36864  1 snd_pcm
snd                    90112  7 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              16384  1 snd
# cat /proc/asound/card0/codec#0|grep -i codec
Codec: Realtek ALC662 rev1

And finally:
Before stopping sound, reloading the module, and restarting sound:

# aplay -l
aplay: device_list:268: no soundcards found...

And then after:

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Do I need to change a configuration file? Or something else?

While trying to diagnose this, I accidentally discovered that:
From a root terminal session, ‘aplay -l’ properly showed my sound card.
From a regular user terminal session, ‘aplay -l’ said no cards were available.

Aha. It’s a permissions issue.

Adding the regular user to the ‘audio’ group solved the problem.

I have no clue why upgrading to 42.2 would cause this issue, since it was working fine in 42.1.