I'm running Debian Jessie with kernel 4.1.6 and a while back all was fine. However, something has changed and the Alsa mixer elements are gone (sortof). Alsamixer won't open and Aplay returns an error. However, I can play music properly (MPD, Squeezelite, Shairport). I don't use Pulse. I always directly access the audio/mixer device (hw:0, hw:1), so the setup should not be very complicated).
Below I have the output of some commands and an observation.
Has anyone got an idea on how to fix it without reinstalling my setup?
Thanks in advance, Maarten
When I create a ~/.asoundrc file with the contents below, alsamixer works again. So the mixer elements are still somewhere available.
Code: Select all
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
- Does not exist and should not be necessary. Regardless, I can't create it since 'alsactl store' returns an error:
Code: Select all
root@soekris:/var/lib/alsa# alsactl store
alsactl: get_controls:567: snd_ctl_open error: Invalid argument
- Don't have this file, never needed to have it.
Code: Select all
root@soekris:~# alsamixer
cannot open mixer: Invalid argument
Code: Select all
root@soekris:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
aplay: device_list:277: control open (0): Invalid argument
aplay: device_list:277: control open (1): Invalid argument
Code: Select all
root@soekris:~# cat /proc/asound/cards
0 [AS ]: USB-Audio - Lyngdorf Audio A/S
Lyngdorf Audio A/S Lyngdorf Audio A/S at usb-0000:02:02.3-1, high speed
1 [Dummy ]: Dummy - Dummy
Dummy 1