Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm a relatively new Ubuntu-user, and I need a bit of help.

I just recently discovered that my laptop (an Acer Aspire 5670), has an optical-spdif output and since it's connected to a 5.1 Yamaha Receiver I bought a special optical cable and connected them properly.

Now, I noticed most people usually find at this point that they cannot configure their sound cards to output an spdif signal, but that is definitely not the problem in my case, since when I made the connection Ubuntu automatically changed the output to spdif (and properly gave me the option to choose between spdif and analog) and I could hear everything just fine (more than fine actually, since the sound was greatly improved!).

However, what did happen was that the spdif signal was set to 2 Channel Stereo and there is no option whatsoever for multichannel sound through the spdif output! (while, there is a 5.1-analogue output option, which I tried while the laptop was connected with the spdif cable and obviously nothing happened) So even though I played video files with multichannel sound (6Channel AC3 and DTS) the audio reached the receiver as 2-Channel PCM. I tried playing the files through different players (Movie Player, VLC, SMplayer) but nothing changed.

So, here's hoping someone could help me figure out whether this is a software/driver problem (and if so, how and if I could possibly fix it) or a hardware problem, for instance that, maybe, my sound card can output spdif but only for 2Ch. Audio (which would be weird but possible I guess) and in which case, I suppose, I can't do much more than accept my defeat!

Thanks in advance to anyone that answers! :)

share|improve this question
add comment

3 Answers 3

Take a look to these links:

http://mattillingworth.wordpress.com/2012/09/25/fix-surround-sound-5-1-in-ubuntu-12-04/

it work fine for me.

share|improve this answer
1  
While this may be an answer please don't just post a link. Summarise the steps involved –  Warren Hill May 1 '13 at 9:57
add comment

I was exactly in the same situation as you are, except it was for my home theater PC. I tried every tricks online to get alsa and/or pulse to output surround sound.

The only working solution I found was by using XBMC as a media player. There are Audio Passthrough options which allow to send the Dolby Surround or AAC signal straight to the SPDIF port, bypassing the default sound system.

The only requirement is that your surround sound system can decode Dolby and AAC. (Most of them do. Mine has some trouble with some AAC signals.)

share|improve this answer
add comment

Take a look to these links: https://help.ubuntu.com/community/DigitalAC-3Pulseaudio http://opennomad.com/content/ubuntu-1210-and-spdif-or-iec958-or-optical-audio-output

Edit: The links (especially the first one) describes how to compile your own .so-modules needed for 5.1-channel S/PDIF output.

I'm in the same situation than you, but I had no time still to check if those solutions are working for me.

Good luck.

share|improve this answer
    
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Aditya Feb 19 '13 at 9:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.