Skip to contentSkip to conversation

: xbox parameter sets AC97_SCAP_DETECT_BY_VENDOR wrongly

ALSA - firmware 0000778 [email protected] 1 participant 1 message Jan 3, 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=778>
======================================================================
Reported By: julian
Assigned To:
======================================================================

Project:                    ALSA - firmware
Issue ID:                   778
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-02-2005 18:53 CET
Last Modified:              01-03-2005 16:58 CET

======================================================================
Summary: xbox parameter sets AC97_SCAP_DETECT_BY_VENDOR
wrongly
Description:
the xbox parameter was designed to avoid failed detection of the AC97 codec.
according to the header file AC97_SCAP_DETECT_BY_VENDOR is a flag to ALLOW detection. Therefore AC97_SCAP_DETECT_BY_VENDOR should be set in scaps if the xbox
parameter is false, not true.

The logic in ac97-codec is not consistent either.

To avoid bad AC97 probes, either AC97_SCAP_AUDIO or AC97_SCAP_SKIP_AUDIO should be set if the xbox parameter is set.
======================================================================

----------------------------------------------------------------------
julian - 01-02-05 20:21
----------------------------------------------------------------------
ignore the patch for ac97-codec.c for now - it loads OK but crashes my xbox when I try to play something with xine.

The bug and the intel8x0.c points are valid.

Julian

----------------------------------------------------------------------
julian - 01-03-05 16:58
----------------------------------------------------------------------
OK - I'm starting to understand - xboxes HAVE readble vendor registers but not readable other registers, so the sense of the original code was correct. I think t he comments could be improved but please close/delete this bug. I'll raise something more sensible if I get to the point of knowing what I'm on about and have something useful to contribute.

Julian

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

01-02-05 18:53 julian         New Issue                                    
01-02-05 18:53 julian         File Added: x                                
01-02-05 18:56 julian         Issue Monitored: julian                      
01-02-05 20:21 julian         Note Added: 0003047                          
01-03-05 16:58 julian         Note Added: 0003069                          

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

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt