Posts: 5
.-083
Joined: 06 Mar 2017
#1
I've just switched from antiX 16.2 to antiX 17 (did a fresh install) and everything works fine, except sound. I have no sound of any kind...

Code: Select all

$ cat /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xf2400000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf2310000 irq 19
After restarting the control center several times, the option"Set Default Sound Card" showed up in Hardware tab (it wasn't there beofre).
It shows me two options:"SB: HDA-Intel - HDA ATI SB" and"HDMI: HDA-Intel - HDA ATI HDMI"

But if select the correct card ("SB: HDA-Intel - HDA ATI SB"), when testing if the sound works, it says:"test failed, could not connect to the selected device"

In VLC the sound works if I select the corret audio device:

Image

How can I fix the sound system-wide?

Edit: solved the issue replacing contents of /etc/asound.conf with:

Code: Select all

defaults.pcm.!card SB
defaults.ctl.!card SB
defaults.pcm.!device 0
defaults.ctl.!device 0
Posts: 1,028
SamK
Joined: 21 Aug 2011
#2
.-083 wrote:How can I fix the sound system-wide?

Edit: solved the issue replacing contents of /etc/asound.conf with:

Code: Select all

defaults.pcm.!card SB
defaults.ctl.!card SB
defaults.pcm.!device 0
defaults.ctl.!device 0
Did you notice the guidance at the head of the shipped asound.conf?

Code: Select all

cat /etc/asound.conf
# Audio card/chip and device to use
# In most cases these settings should remain commented (#)
# When commented card and device 0 are usually automatically selected
# When uncommented the item corresponding to the number is selected
#defaults.pcm.card 0
#defaults.pcm.device 0
...
It points towards doing the same as your edit in a less drastic way.

You might try reverting to the shipped file and modify only the lines at head of the file to include your values. It might restore the operation of the system wide equalizer (see Control Centre-->Alsamixer Equalizer)

Code: Select all

cat /etc/asound.conf
# Audio card/chip and device to use
# In most cases these settings should remain commented (#)
# When commented card and device 0 are usually automatically selected
# When uncommented the item corresponding to the number is selected
#defaults.pcm.card 0
#defaults.pcm.device 0
defaults.pcm.!card SB
defaults.ctl.!card SB
defaults.pcm.!device 0
defaults.ctl.!device 0
...
Also you might edit out a pair (i.e. so the default card and device refer to either SB or 0 rather than both) to confirm whether only 2 entries are required rather than 4.

A reboot will ensure your changes are used, (you might try manually stopping and resrtarting the alsa service).
Posts: 5
.-083
Joined: 06 Mar 2017
#3
Thanks for your reply

Default configuration with the two default lines uncommented doesn't fix it
Your suggested configuration also works, but AlsaMixer Equalizer doesn't work (as with my other drastic config)

In the end I restored the original config file, just changing"default" for"SB" on line 9, and"plug" for"hw" on line 10

Code: Select all

# Audio card/chip and device to use
# In most cases these settings should remain commented (#)
# When commented card and device 0 are usually automatically selected
# When uncommented the item corresponding to the number is selected
#defaults.pcm.card 0
#defaults.pcm.device 0

# Re-set up default device
pcm.!SB {
   type hw

   # Point output to device named equalizer
   slave.pcm equalizer
}

# Set up a control interface named equalizer
ctl.equalizer {
   type equal
}

# Set up a device named equalizer
pcm.equalizer {
   type equal

   # Point output to device named duplex
   slave.pcm duplex
}
# Set up a device named duplex
pcm.duplex {
   type asym

   # Point playback output to use dmix
   playback.pcm plug:dmix

   # Point capture record to use dsnoop
   capture.pcm plug:dsnoop
}
This config also works, but AlsaMixer Equalizer still doesn't work, although I don't care that much about that anyways