[Pkg-alsa-devel] Bug#487719: Bug#487719: alsamixer: function snd_ctl_open failed for default: No such device

Elimar Riesebieter riesebie at lxtec.de
Wed May 20 14:01:16 UTC 2015


* peter at easthope.ca <peter at easthope.ca> [2015-05-19 18:33 -0700]:

> This machine has an audio chip on the mainboard and two 
> USB audio adapters.
> 
> peter at dalton:~$ ls /dev/audio
> ls: cannot access /dev/audio: No such file or directory
> peter at dalton:~$ ls /dev/snd
> by-id    controlC0  controlC2  pcmC0D0p  pcmC1D0c  pcmC2D0c  seq
> by-path  controlC1  pcmC0D0c   pcmC0D1c  pcmC1D0p  pcmC2D0p  timer
> 
> peter at dalton:~$ alsamixer
> cannot open mixer: No such device
> peter at dalton:~$ alsamixergui
> Dialgue window shows, "alsamixer: function snd_ctl_open failed for default: No such device".
> Ie. the message which started this thread.

Please post the output of:

$ lsmod | grep snd
$ groups #as $USER
# alsactl init
$ aplay -l
$ aplay -L

> 
> I expect the problem is in detection or identification of sound devices. 
> Here, any PCI bus machine with more than one sound device has 
> always manifested unreliable identification of sound devices.  
> Similar to the problem of identifying multiple ethernet adapters 
> before udev could sort them.  Order of appearance at boot up is 
> just not a reliable means of identifying devices.
> 
> If anyone has a promising suggestion or question, I'm happy to work on 
> troubleshooting.

If you want an usb driven device as default card you can define it
in an user specific .asoundrc:

http://alsa.opensrc.org/MultipleCards

Elimar
-- 
  Do you smell something burning or is it me?



More information about the Pkg-alsa-devel mailing list