Skip to contentSkip to conversation

: no SPDIF output with vt82xx/ICEnsemble VT1616i

ALSA - driver 0000573 [email protected] 1 participant 1 message Apr 9, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=573>
======================================================================
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
----------------------------------------------------------------------

Quoted 2 lines · tiwai

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