From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Courtier-Dutton Subject: Re: optical SPDIF output on Abit NF7 nforce2 main board. Date: Mon, 01 Sep 2003 14:42:56 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <3F534CE0.7050505@superbug.demon.co.uk> References: <3F532D5E.6040300@icem.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Takashi Iwai Cc: Carsten Koch , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Takashi Iwai wrote: > At Mon, 01 Sep 2003 13:28:30 +0200, > Carsten Koch wrote: > >>Hi, >> >>I have an Abit NF7 nforce2 main board, which has an optical SPDIF output >>controlled by the on-board sound. >> >>With nvida's "nvsound" driver, the optical output works. >> >>With alsa, I have been unable to get any sound out of it so far. >>I tried the alsa-0.9.0.cvs20030217-23 alsa drivers that came with >>my SuSE 8.2 system, the release 0.9.6 drivers and last Friday's CVS. >> >>lspci reports the device as: >> >>00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1) >> Subsystem: ABIT Computer Corp.: Unknown device 1c02 >> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- >> Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- > Latency: 0 (500ns min, 1250ns max) >> Interrupt: pin A routed to IRQ 5 >> Region 0: I/O ports at d800 [size=256] >> Region 1: I/O ports at dc00 [size=128] >> Region 2: Memory at ef001000 (32-bit, non-prefetchable) [size=4K] >> Capabilities: [44] Power Management version 2 >> Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) >> Status: D0 PME-Enable- DSel=0 DScale=0 PME- >> >>Alsamixer says "Card: NVidia nForce2", "Chip: Realtek ALC650 rev 3" and offers >>these four IEC958 items: "Item: IEC958" (on/off), "Item: IEC958 Input Monitor" (on/off), >>"Item: IEC958 Playback AC97-SPSA" (3 level control), "Analog to IEC958 Output" (on/off). >> >>I was expecting that "Item: IEC958" would turn the optical SPDIF output on/off, >>but the light is always on and the sound is always off, no matter how I set >>that switch. > > > how did you test spdif out? you need to choose the PCM "spdif" (aka > "iec958") for the proper output over SPDIF. > > >>I was also expecting that "Item: IEC958 Input Monitor" would route the SPDIF >>sound from my DVB card (whose output I have connected to the SPDIF input on >>the main board) to the optical SPDIF output when I set that switch to on, but >>again toggling that switch does nothing: the light is always on and the sound >>is always off. > > > spdif input on ALC650 didn't work until this morning. i applied the > patch from James to cvs, so now it should work (as long as sf's > anon-cvs repository is properly mirrored). > > > Takashi > > Also, do NOT use alsamixer to test this. I have found that alsamixergui works ok. alsamixer has some bugs, e.g. Muting the IEC958 output actually enables output, and un-muting disables output, but alsamixergui gets everything right. Also, alsamixer cannot handle all the different toggle switches correctly. Cheers James ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf