On Wed, Aug 18, 2010 at 4:25 AM, Gustaf Johansson <gustaf.j@xxxxxxxxx> wrote: > I get no audio when using digital out from my Nvidia nf4 CK804 ALC850 chip. > The card is listed as 2 devices, analog using the first and digital the second. > However i never get audio when playing using the second device. > > Ports spdif and iec958 is using the 2nd device (Hardware PCM card 0 > 'NVidia CK804' device 2 subdevice 0), resulting in no audio. > > If i play using <aplay -D plughw:0,0 -vv Noise.wav> or <aplay -D > hw:0,0 -vv ac3.wav> i get audio though. > > Is this a driver bug? It might be a bug combined with a motherboard bug ( ? ). I solved a similar problem on an NVidia based mobo by ASUS. The SPDIF header on the motherboard was getting the output sent to device, rather than the toslink port at the back of the computer, which remained dark, perhaps because ALSA was treating it as an input. Your situation could be that, or that you're talking to the HDMI audio device (?). Perhaps this is relevant (see links). #mythtv 2/5/10 (08:49:26 PM) npm: does anybody know how to light up the optical SPDIF output on Nvidia sound included w/ ASUS e.g. M2N68-VM & M3N78-VM. Device shows up as card 1: NVidia [HDA NVidia], device 1: VT1708B Digital [VT1708B Digital]" and you can output to the device, but no light comes out the optical port. Others seem to have same problem on other distros: http://ubuntuforums.org/archive/index.php/t-983458.html "Optical S/PDIF does not light up" (and yes i've unmuted the spdif outs in alsamixer). (08:51:54 PM) bonelifer: Uhmm, not sure, but did you try to set the audio in the BIOS to HD Audio, think I remember seeing that for some ASUS board. (08:55:26 PM) J-e-f-f-A: npm: I had the same problem on my M3N78-VM board - didn't figure it out... was trying to get Spdif working at a friend's house - but I had never done it before, so I chalked it up to 'user error'... (08:56:03 PM) J-e-f-f-A: And IIRC, I had the bios set for HD audio... LSPCI saw it, etc... (08:56:16 PM) bonelifer: Unmuted in ALSAmixer? (08:56:26 PM) J-e-f-f-A: bonelifer: Yep, did that too. (08:56:42 PM) bonelifer: Well then a bad board then. (08:56:42 PM) npm: yes to all of above too. (08:56:47 PM) npm: seems to be a bug actually (08:56:49 PM) npm: upstream (08:56:53 PM) npm: see the link (08:57:21 PM) npm: the output seems to be configured as an input. something in windows allows it to be switched but not linux (08:58:34 PM) npm: note that other boards, like ASUS_M4A78T-E have optical out that is on by default (08:59:24 PM) J-e-f-f-A: npm: Reading that thread, it seems there's a switch to flip between HDMI audio and SPDIF audio - and that it works via HDMI in Linux, but apparently not SPDIF... (09:00:27 PM) npm: thus bug, but was wondering if anybody knows if or when fixed since the a/v community might be using those boards for mythtv (09:04:54 PM) J-e-f-f-A: npm - seems Win7 had the same problem until Asus/Via released an updated driver: "For anybody else with this problem be sure to use the VIA control panel, SPDIF cannot be enabled in Windows." (09:06:53 PM) J-e-f-f-A: npm: I'm reading this thread now - seems very relevant: http://xbmc.org/forum/showthread.php?t=46545 (09:10:27 PM) J-e-f-f-A: npm: So far I'm seeing that people have gotten spdif working from the motherboard spdif connector, but not the back panel... (09:11:12 PM) npm: aha, i was wondering why they had an extra spdif connector header on the mobo (09:12:25 PM) bonelifer: just need to purchase the module. luckily it comes with optical and coax connectors. at least the one I bought did. (09:13:04 PM) bonelifer: Thinks about purchasing the COM port module as well. Not sure yet. (09:13:14 PM) npm: i guess i need to buy one of these http://cgi.ebay.com/ASUS-SPDIF-OPTICAL-COAXIAL-MODULE-BRACKET-NEW_W0QQitemZ220543699636QQcmdZViewItemQQptZMotherboards?hash=item33596dcab4#ht_500wt_1182 (09:13:54 PM) bonelifer: Looks like the one I bought. -- Niels http://nielsmayer.com ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user