Page 1 of 1

Sound Issues?

PostPosted: Tue Apr 22, 2014 9:28 pm
by TheeMahn
An admin / beta tester on this board and close personal friend of mine Finetuch, has managed to wrangle an issue with his s/pdif, iec958 chipset, optical audio out. I thought I would come in here and plaugise the fix.

Everything basically worked ... except 5.1 surround sound to work. All I kept getting was stereo.

Getting it to work as 5.1 surround was not too actually hard, once I pieced all the details together.

Here is the step by step.

First we install the ''a52'' module:


Code: Select all
sudo apt-get install libasound2-plugins-extra
sudo apt-get install liba52-0.7.4


(technically I think only one of the above is needed, but it's working now).

Then create an /etc/asound.conf with the following contents:


Code: Select all
# /etc/asound.conf
# alsa plugin a52
# speaker-test -c 6 -l 1 -D pcm.a52:[CARD]
pcm.a52 {
  @args [CARD]
  @args.CARD {
    type string
  }
  type rate
  slave {
    pcm {
      type a52
      bitrate 640 # 448 is max for most
      channels 6
      card $CARD
    }
  rate 48000
  }
}


Now, kill the pulseaudio server and the reload the alsa modules:


Code: Select all
killall pulseaudio
sudo /sbin/alsa force-reload


Last you will need to install the pulse audio control:
Code: Select all
sudo apt-get install pavucontrol


This last one is critical since the gnome volume control doesn't permit you to see and set the Digital 5.1 output. So once it is installed run pavucontrol from the terminal or via the menus. Click on the ''Configuration'' tab and select ''Digital Surround 5.1 ...."