No soundcard in system after alsa-utils upgrade to 1.1.7-1

Getting your soundcard to work, using Debian on non-i386 hardware, etc

No soundcard in system after alsa-utils upgrade to 1.1.7-1

Postby athmoss » 2018-11-03 15:57

Hello all,

I'm running Debian Sid with MATE as my desktop environment. This morning when upgrading, among other things, alsa-utils got upgraded from 1.1.6-1 to 1.1.7-1. As there was also a kernel upgrade, I rebooted my laptop. Before the reboot I had sound, since the reboot I have no sound and in MATE sound configuration there is no device for sound input/output, only a "dummy device". Alsa seems to complain about missing config files:

Code: Select all
$ alsamixer
ALSA lib conf.c:3639:(config_file_open) cannot access file /etc/alsa/conf.d/10-rate-lav.conf
ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing configuration


Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3639:(config_file_open) cannot access file /etc/alsa/conf.d/10-rate-lav.conf
ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:281: control open (0): No such file or directory
ALSA lib conf.c:3639:(config_file_open) cannot access file /etc/alsa/conf.d/10-rate-lav.conf
ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:281: control open (1): No such file or directory


Code: Select all
$ ls -la /etc/alsa/conf.d/
total 12
drwxr-xr-x 2 root root 4096 Nov  3 11:34 .
drwxr-xr-x 3 root root 4096 Nov  3 11:34 ..
lrwxrwxrwx 1 root root   44 Nov  3 00:35 10-rate-lav.conf -> /usr/share/alsa/alsa.conf.d/10-rate-lav.conf
lrwxrwxrwx 1 root root   46 Nov  3 00:35 10-samplerate.conf -> /usr/share/alsa/alsa.conf.d/10-samplerate.conf
lrwxrwxrwx 1 root root   45 Nov  3 00:35 10-speexrate.conf -> /usr/share/alsa/alsa.conf.d/10-speexrate.conf
lrwxrwxrwx 1 root root   48 Nov  3 00:35 50-arcam-av-ctl.conf -> /usr/share/alsa/alsa.conf.d/50-arcam-av-ctl.conf
lrwxrwxrwx 1 root root   40 Nov  3 00:35 50-jack.conf -> /usr/share/alsa/alsa.conf.d/50-jack.conf
lrwxrwxrwx 1 root root   39 Nov  3 00:35 50-oss.conf -> /usr/share/alsa/alsa.conf.d/50-oss.conf
lrwxrwxrwx 1 root root   46 Nov  3 00:35 50-pulseaudio.conf -> /usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
lrwxrwxrwx 1 root root   47 Nov  3 00:35 60-a52-encoder.conf -> /usr/share/alsa/alsa.conf.d/60-a52-encoder.conf
lrwxrwxrwx 1 root root   41 Nov  3 00:35 60-upmix.conf -> /usr/share/alsa/alsa.conf.d/60-upmix.conf
lrwxrwxrwx 1 root root   44 Nov  3 00:35 60-vdownmix.conf -> /usr/share/alsa/alsa.conf.d/60-vdownmix.conf
lrwxrwxrwx 1 root root   46 Nov  3 00:35 98-usb-stream.conf -> /usr/share/alsa/alsa.conf.d/98-usb-stream.conf
-rw-r--r-- 1 root root  201 Nov  3 00:35 99-pulseaudio-default.conf.example


Which seem to be really missing:

Code: Select all
$ ls -la /usr/share/alsa/alsa.conf.d/
total 12
drwxr-xr-x 2 root root 4096 Nov  2 18:33 .
drwxr-xr-x 9 root root 4096 Nov  3 12:11 ..
-rw-r--r-- 1 root root  376 Sep 15 01:16 pulse.conf


Code: Select all
$ lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)


Code: Select all
$ lspci -nnk | grep -A2 Audio
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
   Subsystem: Lenovo Sunrise Point-LP HD Audio [17aa:504a]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel, snd_soc_skl


Code: Select all
$ lsmod | grep snd_hda_intel
snd_hda_intel          45056  0
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           94208  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
snd_pcm               118784  8 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core
snd                    94208  15 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi


So far I have tried reinstalling alsa-utils, reloading alsa, initializing it, rebooting the laptop, rebooting to Windows to see if the sound cards works (it does).

Code: Select all
pulseaudio -k && sudo alsa force-reload
sudo: alsa: command not found


Code: Select all
$ sudo alsactl init
ALSA lib conf.c:3639:(config_file_open) cannot access file /etc/alsa/conf.d/10-rate-lav.conf
ALSA lib conf.c:3559:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4013:(snd_config_update_r) hooks failed, removing configuration


Googling for the error does not give much results either. That is why I'm turning to you for help. Thank you for any idea or hint what to try next!

Regards,
athmoss
athmoss
 
Posts: 7
Joined: 2018-06-08 15:41

Re: No soundcard in system after alsa-utils upgrade to 1.1.7

Postby stevepusser » 2018-11-03 16:06

Any clue from apt-listbugs?

Can you report the bug to Debian?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10126
Joined: 2009-10-06 05:53

Re: No soundcard in system after alsa-utils upgrade to 1.1.7

Postby athmoss » 2018-11-03 16:23

I could not find a similar bug so far. Should I report it?
athmoss
 
Posts: 7
Joined: 2018-06-08 15:41

Re: No soundcard in system after alsa-utils upgrade to 1.1.7

Postby bw123 » 2018-11-03 16:28

Since the links in /etc/alsa/conf.d point to nothing, do you think it might help to remove them or move them to another place? or create empty (or valid) files in /usr/share/alsa/alsa.conf.d I don;t know what is supposed to go in them, I have read about them occasionally though. I think other distros use this conf.d setup.

It looks like one of the versions in sid decided to use a conf.d for a time, and now they have changed their mind again?
https://wiki.debian.org/DebianUnstable

found this in a websearch for "alsa.conf.d"
https://alsa-project.org/main/index.php ... 1.6_v1.1.7

maybe instead of reinstall, try purge and install?
User avatar
bw123
 
Posts: 3522
Joined: 2011-05-09 06:02
Location: TN_USA

Re: No soundcard in system after alsa-utils upgrade to 1.1.7

Postby piper » 2018-11-03 17:10

User avatar
piper
 
Posts: 62
Joined: 2005-07-03 08:29

Re: No soundcard in system after alsa-utils upgrade to 1.1.7

Postby athmoss » 2018-11-03 18:27

So there's indeed a bugreport and I've identified the problematic package incorrectly. Thanks for your post, piper!
athmoss
 
Posts: 7
Joined: 2018-06-08 15:41

Re: No soundcard in system after alsa-utils upgrade to 1.1.7

Postby piper » 2018-11-03 21:35

Just beware if choosing the downgrade path and using multiarch especially with wine/winehq


Downgrade Path
Code: Select all
apt update; apt install -t testing libasound2/testing libasound2-plugins/testing libasound2-data/testing


It will remove

Code: Select all
libasound2:i386 libasound2-plugins:i386 libopenal1:i386 libsdl2-2.0-0:i386 libsndio7.0:i386 winetricks wine-staging wine-staging-i386:i386 winehq-staging
User avatar
piper
 
Posts: 62
Joined: 2005-07-03 08:29


Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable