Skip to contentSkip to conversation

: ice1712 driver -cs8427 SPDIF chip not always set up correctly

ALSA - driver 0001785 [email protected] 1 participant 1 message Jan 27, 2006

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=1785>
======================================================================
Reported By: alanmann
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1785
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             01-26-2006 23:27 CET
Last Modified:              01-27-2006 21:48 CET

======================================================================
Summary: ice1712 driver -cs8427 SPDIF chip not always set up
correctly
Description:
There are regular occasions when SPDIF IN operates spuriously, on Terratec DMX6fire (& presumably others, like delta1010LT?).

At start-up or when changing between non-spdif master clock settings, Digital Input stream has incorrect signal present, real enough to be recorded with audacity. The cause is errors in writing to the cs8427 spdif chip. Will add notes with my findings.
======================================================================

----------------------------------------------------------------------
perex - 01-27-06 14:46
----------------------------------------------------------------------
Ok, I selected the second way. I implemented the initialization for ice1712.c. Could you test it and change the cs8427 code if necessary when rate changes?

My code is in out.txt file attached to this bug.

----------------------------------------------------------------------
nostar - 01-27-06 21:48
----------------------------------------------------------------------
I have a Delta 1010LT with broken SPDIF as well. I tried manually overriding the conditional, and applying the patch. Neither of these mods fix my problem. This test in question, "if ((oval & ICE1712_SPDIF_MASTER) != (inb(ICEMT(ice, RATE)) & ICE1712_SPDIF_MASTER))" seems okay to me. It's only purpose is to test if the old master clock source had changed between SPDIF In and any of the Internal clock settings. By toggling between 48k and 44.1k as in the example given, they are both Internal clock settings and therefore toggling the SPDIF In signal on or off as the master clock source is not necessary.

See my reply to "ice1712 -wordclock and SPDIF" on the alsa-devel list for a description of the behavior I am seeing

Issue History
Date Modified Username Field Change
======================================================================

01-26-06 23:27 alanmann       New Issue                                    
01-26-06 23:41 alanmann       Note Added: 0007795                          
01-26-06 23:50 alanmann       Note Edited: 0007795                         
01-27-06 10:10 alanmann       Note Added: 0007797                          
01-27-06 14:30 perex          File Added: out.txt                          
01-27-06 14:44 perex          File Deleted: out.txt                        
01-27-06 14:44 perex          File Added: out.txt                          
01-27-06 14:45 perex          Note Added: 0007801                          
01-27-06 14:46 perex          Note Edited: 0007801                         
01-27-06 21:48 nostar         Note Added: 0007806                          

======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642