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

Elimar Riesebieter riesebie at lxtec.de
Thu May 21 06:47:12 UTC 2015


* peter at easthope.ca <peter at easthope.ca> [2015-05-20 20:43 -0700]:

> From:	Elimar Riesebieter <riesebie at lxtec.de>
> Date:	Wed, 20 May 2015 16:01:16 +0200
> > Please post the output of:
> > 
> > $ lsmod | grep snd
> > $ groups #as $USER
> > # alsactl init
> > $ aplay -l
> > $ aplay -L
> 
> Not sure about 
>   $ groups #as $USER
>   # alsactl init
> but the following should help.
> 
> peter at dalton:~$ lsmod | grep snd
> snd_usb_audio          71436  0 
> snd_usbmidi_lib        18801  1 snd_usb_audio
> snd_rawmidi            22472  1 snd_usbmidi_lib
> snd_hwdep              12943  1 snd_usb_audio
> snd_seq_device         13016  1 snd_rawmidi
> snd_intel8x0           22372  0 
> snd_ac97_codec         84236  1 snd_intel8x0
> snd_pcm                53461  3 snd_ac97_codec,snd_intel8x0,snd_usb_audio
> snd_page_alloc         12867  2 snd_pcm,snd_intel8x0
> snd_timer              22356  1 snd_pcm
> snd                    42761  9 snd_timer,snd_pcm,snd_ac97_codec,snd_intel8x0,snd_seq_device,snd_hwdep,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio
> soundcore              12921  1 snd
> ac97_bus               12462  1 snd_ac97_codec
> usbcore               104555  8 ehci_hcd,ohci_hcd,usb_storage,usbhid,pegasus,snd_usbmidi_lib,snd_usb_audio
> 
> peter at dalton:~$ groups
> peter adm mail cdrom floppy sudo audio dip video plugdev staff Debian-exim lpadmin scanner netdev
> 
> root at dalton:/home/peter# alsactl init
> Found hardware: "ICH" "Realtek ALC655 rev 0" "AC97a:414c4760" "0x105b" "0x0c56"
> Hardware is initialized using a generic method
> root at dalton:/home/peter# 
> 
> peter at dalton:~$ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 2: Device [C-Media USB Audio Device], device 0: USB Audio [USB Audio]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0

So your sound should work. You must see card 0 as the default sound
device in alsamixer.

> peter at dalton:~$ aplay -L
> null
>     Discard all samples (playback) or generate zero samples (capture)
> pulse
>     PulseAudio Sound Server
> sysdefault:CARD=SI7012
>     SiS SI7012, SiS SI7012
>     Default Audio Device
> front:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     Front speakers
> surround21:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     2.1 Surround output to Front and Subwoofer speakers
> surround40:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     4.0 Surround output to Front and Rear speakers
> surround41:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> iec958:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     IEC958 (S/PDIF) Digital Audio Output
> dmix:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     Direct sample mixing device
> dsnoop:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     Direct sample snooping device
> hw:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     Direct hardware device without any conversions
> plughw:CARD=SI7012,DEV=0
>     SiS SI7012, SiS SI7012
>     Hardware device with all software conversions
> sysdefault:CARD=Set
>     C-Media USB Headphone Set, USB Audio
>     Default Audio Device
> front:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     Front speakers
> surround21:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     2.1 Surround output to Front and Subwoofer speakers
> surround40:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     4.0 Surround output to Front and Rear speakers
> surround41:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     IEC958 (S/PDIF) Digital Audio Output
> dmix:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     Direct sample mixing device
> dsnoop:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     Direct sample snooping device
> hw:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     Direct hardware device without any conversions
> plughw:CARD=Set,DEV=0
>     C-Media USB Headphone Set, USB Audio
>     Hardware device with all software conversions
> sysdefault:CARD=Device
>     C-Media USB Audio Device, USB Audio
>     Default Audio Device
> front:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     Front speakers
> surround21:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     2.1 Surround output to Front and Subwoofer speakers
> surround40:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     4.0 Surround output to Front and Rear speakers
> surround41:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     IEC958 (S/PDIF) Digital Audio Output
> dmix:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     Direct sample mixing device
> dsnoop:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     Direct sample snooping device
> hw:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     Direct hardware device without any conversions
> plughw:CARD=Device,DEV=0
>     C-Media USB Audio Device, USB Audio
>     Hardware device with all software conversions

You can run 

# alsactl store

to save these settings.

Elimar
-- 
 Experience is something you don't get until
  just after you need it!



More information about the Pkg-alsa-devel mailing list