From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000411]: IEC958 status non-audio (and others) bits are not updated on iec958 stream Date: Sat, 9 Apr 2005 20:10:17 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id E188425E for ; Sat, 9 Apr 2005 20:10:17 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org The following issue has been ACKNOWLEDGED. ====================================================================== ====================================================================== Reported By: domi Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 411 Category: PCI - intel8x0 Reproducibility: always Severity: major Priority: normal Status: acknowledged Distribution: Debian unstable Kernel Version: 2.6.7 ====================================================================== Date Submitted: 07-28-2004 21:04 CEST Last Modified: 04-09-2005 20:10 CEST ====================================================================== Summary: IEC958 status non-audio (and others) bits are not updated on iec958 stream Description: To investigate a problem where AC3 is not working with my Yamaha amplifer and my Asus a7n8x deluxe board, I've set up a loopback between the rear spdif output (RCA) and the on-board spdif input. Reading the 'SPDIF In Status' status line in the card0/codec97#0/ac97#0-0 file, I've noticed that the status, non-audio or any other information sent through the spdif stream are not sent on the wire. This behavior would explain the problems found in bug 00369 (SPDIF always on) and 00214 (AC3 not working) Note that the 'SPDIF Control' line and ac97#0-0+regs file are updated correctly, only the information sent on the stream are lost. ====================================================================== ---------------------------------------------------------------------- domi - 08-05-04 20:18 ---------------------------------------------------------------------- I've also tried alsa-driver 1.0.6rc1 with kernel 2.6.7 to no avail. The same tests produce the same results. It looks like the SPIF control informations is lost between the driver and the ALC650F registers. According to the status bit found on the captured SPDIF stream, it looks like the ALC650 register MX3A is left to its default value (0x2000). So I guess the ALC register values are cached in the driver. Is there a way to disable the cache (if any) to actually check the ALC650 registers ? ---------------------------------------------------------------------- domi - 08-07-04 18:09 ---------------------------------------------------------------------- I've hacked snd_intel8x0_codec_write and snd_intel8x0_codec_read in intel8x0.c to verify what's written in register 0x3a. I've found nothing suspicious, the register 0x3a is indeed written to: Aug 7 17:43:01 localhost kernel: snd_intel8x0_codec_write:Writing 3a reg with 2a26 [snip] Aug 7 17:43:18 localhost kernel: snd_intel8x0_codec_read:Read 3a reg with 2a26 So at this point, I believe that either my H/W is faulty (very subtle corruption of the SPDIF output controller), or there is a bug in the ALC650 (rev F) chip. Since other people are reporting that AC3 is not working with high end amplifier, I cannot dismiss the possibility of a bug in the ALC650F chip. There's nothing more I can do on this topic. I need other people with the same Hardware (Asus A7N8X deluxe with ALC650F) to loop back the spdif out to an spdif input and to read the SDPIF control bits on input SPDIF stream. Thanks ---------------------------------------------------------------------- tiwai - 08-19-04 19:01 ---------------------------------------------------------------------- I guess the spdif output isn't connected from AC97 but driven directly from the nvidia chip. If so, there should be a register to set up the SPDIF out status in Nvidia chip itself. ---------------------------------------------------------------------- domi - 09-07-04 14:10 ---------------------------------------------------------------------- I've tried the driver from Nvidia (nvsound) whose latest release features [1] : - AC3 passthrough - Added support for SoundStorm And, lo and behold, the ac3 works ! I finally got the AC3 stream recognized by my Yamaha amplifier. Moreover, simple stereo is also converted to AC3 by the SoundStorm stuff (OK, that's not so great for HiFi :-/ ). So my hardware is not faulty. There's no bug in the ALC650. I think tiwai is right, the soundstorm chip gets in the way. ---------------------------------------------------------------------- jdthood - 04-09-05 14:27 ---------------------------------------------------------------------- > So my hardware is not faulty. There's no bug in the ALC650. Can this bug report be closed, or is there something that remains to be done? ---------------------------------------------------------------------- domi - 04-09-05 18:37 ---------------------------------------------------------------------- To solve this bug, the SoundStorm chip must be reverse-engineered. James Courtier Dutton mentioned a while ago that he should be able to solve this problem once he got a Nforce2 hardware. So he asked for a HW donation. I got no more news and did not see anything that suggest that some work was done on this part. I've just tried with kernel 2.6.9 alsa 1.0.6 and it still does not work. Issue History Date Modified Username Field Change ====================================================================== 07-28-04 21:04 domi New Issue 07-28-04 21:04 domi Distribution => Debian unstable 07-28-04 21:04 domi Kernel Version => 2.6.7 08-05-04 20:18 domi Note Added: 0001535 08-07-04 18:09 domi Note Added: 0001544 08-19-04 19:01 tiwai Note Added: 0001590 09-07-04 14:10 domi Note Added: 0001707 04-09-05 14:27 jdthood Note Added: 0004397 04-09-05 14:27 jdthood Status new => feedback 04-09-05 18:37 domi Note Added: 0004426 04-09-05 20:10 jdthood Status feedback => acknowledged ====================================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click