From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000573]: no SPDIF output with vt82xx/ICEnsemble VT1616i Date: Sat, 9 Apr 2005 16:17:08 +0200 Message-ID: <2821168ed7c5da2d3cae0580aa347817@bugtrack.alsa-project.org> 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 BB48924F for ; Sat, 9 Apr 2005 16:17:08 +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 A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: vladimir Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 573 Category: PCI - via82xx Reproducibility: always Severity: major Priority: normal Status: new Distribution: Fedora Core 3 test 2 Kernel Version: 2.6.8-1.541, as shipped with FC3t2 ====================================================================== Date Submitted: 10-09-2004 00:59 CEST Last Modified: 04-09-2005 16:17 CEST ====================================================================== Summary: no SPDIF output with vt82xx/ICEnsemble VT1616i Description: With alsa 1.0.6 (in kernel), 1.0.7rc1, or CVS, I'm unable to reliably get SPDIF output to work -- it might work once out of a dozen or so times. The attached patch improves things -- ignoring the cached values in ac97_read_cache gives me working spdif playbac. The values I see printed with the printk added in ac97_read_cache by the patch are: AC97_read_cache: register 0x002a has real value 0x01f1 cached 0x05f1 AC97_read_cache: register 0x002a has real value 0x05f1 cached 0x01f1 which indicates a change in the read-only SPCV bit. Perhaps registers with read-only status bits shouldn't be cached? I'm not sure if that's the fix, or if there's a deeper issue here. ====================================================================== ---------------------------------------------------------------------- tiwai - 10-13-04 11:16 ---------------------------------------------------------------------- A good cactch. At least, the attached patch fixes the cache mismatch in the original comments. I don't expect that this will fix your problem, though... Do you have any datasheet for this ac97 chip? ---------------------------------------------------------------------- jdthood - 04-09-05 16:17 ---------------------------------------------------------------------- tiwai wrote: > the attached patch fixes the cache mismatch > in the original comments. Submitter: What are the remaining problems after application of that patch? Issue History Date Modified Username Field Change ====================================================================== 10-09-04 00:59 vladimir New Issue 10-09-04 00:59 vladimir File Added: ac97_codec-no-readcache.patch 10-09-04 00:59 vladimir Distribution => Fedora Core 3 test 2 10-09-04 00:59 vladimir Kernel Version => 2.6.8-1.541, as shipped with FC3t2 10-11-04 08:21 vladimir Note Added: 0002070 10-11-04 12:54 tiwai Note Added: 0002076 10-11-04 19:46 vladimir Note Added: 0002083 10-12-04 14:31 tiwai Note Added: 0002092 10-12-04 14:31 tiwai File Added: ac97-spcv-debug.diff 10-12-04 19:44 vladimir Note Added: 0002107 10-13-04 11:16 tiwai Note Added: 0002118 10-13-04 11:17 tiwai File Added: ac97-ea-fix.diff 04-09-05 16:17 jdthood Note Added: 0004409 ====================================================================== ------------------------------------------------------- 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