LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-13-2008, 07:24 AM   #1
Tamaros
LQ Newbie
 
Registered: May 2008
Posts: 12

Rep: Reputation: 0
Realtek HD Audio Optical Out


I have an EVGA 590 SLI AMD mainboard with onboard Realtek HD Audio.

The headset works great but if there is support for the optical output I can't find it. This would be a real Linux killer for me if I couldn't pipe my music out to my reciever.
 
Old 05-13-2008, 07:52 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Interesting post. Sorry I haven't got the answer (yet) but your post made me curious, because I have a similar motherboard, by MSI, with the Intel HDA also on it. Mine claims to have 'automatic jack detection' which apparently detects when stuff is plugged into the sound ports.
I don't know how they might detect if something is connected to the optical output, but:

If you go into alsamixer, do you see any slider or control in there relating to the optical port? Do you see a slider (a control) for ALL of your audio ports?
Now, if you or I were to go ahead and connect some other stuff to the audio ports, I wonder if the alsamixer panel would show anything different?

Probably not, but who knows. Either way, my interest is piqued, and if I find anything useful on the subject, I'll be sure to post it. You'll have to test it though as I only have your standard issue desktop speaker set!

Sasha
 
Old 05-13-2008, 08:07 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
UPDATE: The optical output is apparently the IEC958 control in alsamixer, which I do see on my alsamixer panel. I can enable and disable it, but again, have no way of testing whether it does anything.

http://ubuntuforums.org/showthread.php?t=712813

http://www.linuxquestions.org/questi...al-out-631414/

These two links seem to have the info you are looking for.

SVA
 
Old 05-13-2008, 02:10 PM   #4
Tamaros
LQ Newbie
 
Registered: May 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs down

I installed the Linux package off the realtek site to see what sort of functinality it would provide and now my ubuntu install won't boot. Or rather when I log in as user I get kicked back out to the log in screen. The error message lists a *.so file (don't recall the exact name) that was easily identified as a sound component even to a novice like me.

When I get home from work I'll get it back to the original Alsa files and look at your info then post the results.

Last edited by Tamaros; 05-13-2008 at 02:17 PM. Reason: typo
 
Old 05-14-2008, 02:40 AM   #5
Tamaros
LQ Newbie
 
Registered: May 2008
Posts: 12

Original Poster
Rep: Reputation: 0
I was able to locate my iec958 output by running alsamixer at the command line and unmute it. It wasn't visible from the volume control available from the system tray (or w/e its called in gnome).

The next step is to enable PCM passthrough. When playing music from windows my reciever registers a dolby signal and with these settings prologic is coming on so the surround is being synthesized by the reciever not passed through.

1 step closer!

also I found this page which seems to have a lot of good info
http://alsa.opensrc.org/DigitalOut

Its unfortunately sketchy on the PCM passthrough.
 
Old 05-14-2008, 05:56 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Never compile and install software from Realtek for Linux. It will not work well.

A few commands to try.

mplayer -ao alsa:device=iec958

mplayer -ao alsa:device=spdif

mplayer -ao alsa:device=hw=0.1

For old programs that uses OSS, you may have to use /dev/adsp.

For DVD movies, use the following command

mplayer -ao alsa:device=iec958 -ac hwac3

Outputting to digital will take some time and it will not be as reliable as analog.

Always use alsamixer to change the volume. To see more controls in alsamixer, type alsamixer -V all.

FYI, Linux does not process stereo or mono for surround, so you have to select it in your amplifier. For music, it is best to use two channels.

BTW, I do not have a digital to analog converter box to test out digital from my Audiotrak Prodigy 7.1.
 
  


Reply



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
Realtek AC'97 Audio Help PaiinKiilla Linux - Hardware 3 06-17-2006 12:29 PM
Realtek HD Audio Jacks magnosantos Linux - Hardware 3 09-03-2005 08:14 PM
realtek audio driver alsa spariggio82 Linux - Software 4 08-07-2005 01:09 PM
Realtek HD audio on Fedora jenkinsMcTipsy Fedora 8 05-30-2005 07:12 AM
realtek VT8233 audio not working in mandrake 10 PCfixinman2025 Mandriva 1 06-05-2004 07:54 PM

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

All times are GMT -5. The time now is 08:44 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