LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-24-2009, 09:50 AM   #1
OrangeShoes
LQ Newbie
 
Registered: Jun 2009
Location: Saint Paul, MN
Distribution: Ubuntu, Mint
Posts: 26

Rep: Reputation: 1
Digital Output is Not Working


A buddy and I are both running 64 bit Ubuntu 9.04. (He's trying to set up a Mythbuntu machine.) We're both using Gigabyte GA-MA770 motherboards (his is -DS3P, mine UD3) and the analog outputs are working fine. However, when hooking up the optical digital output (mine to Logitech Z-5500, his to a AV receiver) we get nothing. We're both using GNOME. From what I understand, there's an ALSA manager for configuring the sound driver. I think we have the Realtek Azalia sound chip. That's a common sound device, so Linux support's likely. Where do we go from here?
 
Old 10-27-2009, 08:08 AM   #2
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Does "aplay -D plug:spdif something.wav" work?

Are there any mixer controls that might enable the digital output?
(show the output of "amixer scontents")
 
Old 10-28-2009, 12:15 AM   #3
OrangeShoes
LQ Newbie
 
Registered: Jun 2009
Location: Saint Paul, MN
Distribution: Ubuntu, Mint
Posts: 26

Original Poster
Rep: Reputation: 1
Unhappy Mixer Controls Worked

The mixer settings were discovered and adjusted and it got stereo working via S/PDIF, but there's an odd result. The AV receiver will do a simulated surround sound from other stereo sources fed in with an optical digital coupling, but a CD played on the Myth box doesn't get the same treatment. For whatever reason the receiver only outputs to the main speakers and the sub. As I understand it, S/PDIF only transmits a stereo signal anyway, but why would the A/V receiver treat the signal from the computer differently than from any other source? Does it have anything to do with ALSA, or how we've set it up, or is this outside anything Mythbuntu/Linux is doing? Are we going to see the same effect when the TV tuner's finally working on ClearQAM? (subject for another thread) Maybe we should abandon the S/PDIF and just hook up via the analog jacks. I'm puzzled because I thought the only reason S/PDIF worked for multi-channel DVDs was by means of Dolby Digital or DTS decoding the multichannel information from the stereo digital signal, and might have expected a CD to play in stereo only. But in this case it's seems the receiver has a default simulated matrix surround, and that's being over-ridden or bypassed somehow in the isolated case of the source being the computer - kicking in when any other source is used.
 
Old 10-29-2009, 06:26 AM   #4
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
i have a funny feeling that alsa is outputtng a full surround sound signal in your case but with nothing on the rear channels, so your AV box dosent know to upscale
 
Old 11-01-2009, 09:58 AM   #5
OrangeShoes
LQ Newbie
 
Registered: Jun 2009
Location: Saint Paul, MN
Distribution: Ubuntu, Mint
Posts: 26

Original Poster
Rep: Reputation: 1
Lightbulb You make sense.

I see what you mean. In a way, the computer is overriding things. That makes sense. I suppose we could try getting adapters (1/8th in. plug to RCA) and try the analog outputs, but I'd be surprised to see that bypass ALSA and its purist output info. The only thing I'm curious of now is why ALSA would send a full 5.1 (7.1?) signal from a purely 2 channel source like a CD. Too bad no one ever marketed SACD-ROM drives for computers. (;or developed the software for DVD-ROM drives to decode them, if that's possible. I'm a million miles from being capable of hammering out the code to do so, but if that were possible and the skilled developers out there who generously give us Linux distros ever did it, that would be a major incentive for owners of SACDs to abandon Windows for Linux machines. Might breathe new life into a format that needs and deserves it too.)
 
  


Reply

Tags
alsa, audio, azalia, digital, sound, spdif



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audigy 2 digital output is no longer working for regular use Newb_Linux_Geek Linux - Hardware 2 04-04-2009 05:22 PM
Aureon 5.1 Fun Soundcard under opensuse 10.3. Digital optical output not working rod_thomson Linux - Hardware 0 10-13-2007 06:38 PM
Analog output stopped working after first time playing digital sound in FC6/Audigy sippykup Linux - General 1 01-28-2007 02:35 AM
Enable digital output for digital speakers? alphster Linux - Hardware 5 12-26-2004 10:56 PM
Digital Sound Output Xilimyth Linux - Hardware 0 06-07-2002 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration