View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 19 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Nov 30, 2007 9:06 pm 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Hello,

I got a SPDIF adapter for my motherboard a Gigabyte GA-K8N51PVMT-9, but I cannot get digital audio working for DVD, Live TV, music. Well Im not getting any sound at all.

Here is what I get from aplay -l
Code:
card 0: NVidia [HDA NVidia], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


audio output device: /dev/adsp
passthrough output device: ALSA:iec958:{ AES0 0x02 }
Enableed AC3 to SPDIF passthrough
Enabled DTS to SPDIF passthrough
Enable use internal volume conntrols
Mixer Device: /dev/mixer
Mixer Controls: Master

Im running R5F27 recently patched.

Tried everything here http://mysettopbox.tv/phpBB2/viewtopic. ... ight=audio but still didnt help. Im not sure where to go from here.

Thank you.


Last edited by yaplej on Tue Jul 01, 2008 10:41 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: Realtek HD Audio
PostPosted: Sun Dec 30, 2007 4:28 pm 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
yapley
Forget the SPDIF adapter for now. Have you ever had any sound out of your board or you just don't have sound out now? Is HD audio turned on in the bios?
Run
Code:
lsmod | grep snd

and see if snd-hda-intel is in the list.

TVBox

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 13, 2008 1:04 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Sorry for the long delay. Been busy with stuff like fixing up the house, work, oh and having a baby! Very fun stuff. Anyway yes audio has been working with the normal output from the motherboard, and here is the output from "lsmod | grep snd".
Thanks.

Code:
snd_hda_intel          19096  0
snd_hda_codec         159232  1 snd_hda_intel
snd_pcm_oss            42912  0
snd_mixer_oss          18176  1 snd_pcm_oss
snd_pcm                69380  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              22404  1 snd_pcm
snd                    47588  6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              11360  1 snd
snd_page_alloc         11784  2 snd_hda_intel,snd_pcm


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 13, 2008 2:54 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
Well yaplej, life will never be the same again.

The snd_hda_intel means your HD audio module is loaded which is good to hear. Open a X window and run /usr/bin/alsamixer and look for a column called IEC958 which is turned off by default. Use the M key to toggle the mute off.
Quote:
audio output device: /dev/adsp
passthrough output device: ALSA:iec958:{ AES0 0x02 }

You may have to try audio output device: /dev/dsp

IEC958 is the digital sound standard for (S/PDIF), you may have to Google on it.
http://alsa.opensrc.org/DigitalOut
http://www.knoppmythwiki.org/index.php?page=DigitalAudioHowTo
Some of this stuff is old and don't apply.
TVBox

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 13, 2008 11:18 pm 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
I opened up alsamixer, but IEC958 is not one of the options there.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 12:12 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
When you had alsamixer open did you arrow over all the way to the right?

Tab key will change to playback, capture and all.

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 12:21 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
I did arrow over I also tried tab, and still didnt have that setting.

Also here is the output from cat /proc/asound/pcm
00-01: ALC880 Analog : ALC880 Analog : capture 2
00-00: ALC880 Analog : ALC880 Analog : playback 1 : capture 2

Should there be a digital device there?

Output from aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Again no digital device here either.

I was playing around and installed alsa 1.0.15 from source using the wiki http://www.knoppmythwiki.org/index.php? ... AudioHowTo , but it didnt actually change anything so far.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 12:43 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
Is HD audio turned on in the bios?

I have two separate machines both with SPDIF and both have a IEC958 column in alsamixer. Both machines are set with audio output device: /dev/dsp. I think dsp stands for digital and adsp is analog but I am not 100% sure of that. Both of my machines have the passthrough output device set to default

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 12:45 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Audio is set to "Auto" in the BIOS the only other option is "disabled". Currently Im using analog output by selecting /dev/dsp if I try /dev/adsp I get nothing.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 12:54 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
sorry I got nothing at this time. I will post back if I come up with any thing

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 1:04 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Could it be something in my /etc/modules.conf that isnt configured correctly? I have even tried the linux driver from Realtek, but still dont see any digital device.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 14, 2008 3:15 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Just an update. I treid a knoppix live cd, and it failed to detect the digital audio device also. I then tried installing Windows XP Pro. After getting all the drivers installed the SPDIF output worked fine in Windows.

So at least I know the hardware is working correctly just need to figure out how to make it work from Knoppmyth. Getting late gonna give it another try later today.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 15, 2008 3:31 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
I found some info here. http://www.linuxquestions.org/questions ... -6-506308/

I tried the following command, and got the digital device to finally detect.

Code:
rmmod snd-hda-intel;modprobe snd-hda-intel model=6stack-digout


aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC880 Digital [ALC880 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0



After a rebooot the device disapears. How can I make this setting stick? Also the volume controls dont seem to work at all when using the IEC958 output either.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 15, 2008 4:39 pm 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Sorry for the repeated posts. Things have been moving along, and I want to keep the post updated. I was able to get my digital device to "stick" by doing the following.

Code:
to /etc/modprobe.d/aliases add this line
alias snd-card-0 snd-hda-intel

to /etc/modprobe.d/alsa-base add this line
options snd-hda-intel enable=1 index=0 model=6stack-digout


Found this here.
http://www.linuxquestions.org/questions ... ba-585577/
http://www.linuxquestions.org/questions ... -6-506308/
http://ubuntuforums.org/archive/index.php/t-219631.html

Im still having the issue with spdif not working until you run something through the device with it muted, and then unmute. Its described here, but the /etc/rc.local trick does not seem to work in my case.

http://www.mythtv.org/wiki/index.php/In ... tek_ALC88x


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 15, 2008 5:18 pm 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
I got the spdif issue fixed on boot. Turns out the rc.local is not how scripts are ran for Knoppmyth. Here is how I got it working.

Code:
to/etc/init.d/spdif add these lines
amixer set IEC958 mute
aplay -Dplug:iec958 /usr/share/sounds/alsa/test.wav
amixer set IEC958 unmute

make the script executable
chmod +x spdif

to install the spdif script
update-rc.d spdif  defaults

to remove the spdif script
rm /etc/init.d/spdif
update-rc.d spdif remove


http://www.mythtv.org/wiki/index.php/In ... tek_ALC88x
http://www.youtube.com/watch?v=d39izaupvEg


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 73 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu