: xbox parameter sets AC97_SCAP_DETECT_BY_VENDOR wrongly
The issue 0000887 has been set as DUPLICATE OF the following 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: 03-18-2005 11:33 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.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0000887 Sound card not detected on XBox 1.6
======================================================================
----------------------------------------------------------------------
julian - 01-03-05 17:36
----------------------------------------------------------------------
OK - I'm starting to understand - xboxes HAVE readable vendor registers but not readable other registers, so the sense of the original code was correct.
To get the driver to load, I had to make this change to the original intel8x0.c:
if (chip->xbox)
ac97.scaps |= AC97_SCAP_DETECT_BY_VENDOR|AC97_SCAP_AUDIO;Otherwise snd_ac97_mixer in snd-ac97-codec.ko reports -EACCESS and snd-intel8x0.ko fails with this error message:
Intel ICH: probe of 0000:00:06.0 failed with error -13
Now the xbox doesn't have a mixer, or audio inputs, but does have audio outputs - can we decouple these three elements so we don't check for audio by looking at input gains, ... ?
Julian
----------------------------------------------------------------------
tiwai - 01-07-05 18:27
----------------------------------------------------------------------
Could elaborate which elements should be ignored and should be there?
----------------------------------------------------------------------
chrb - 03-18-05 11:33
----------------------------------------------------------------------
There is a bug report for this on gentoo bugzilla
http://bugs.gentoo.org/show_bug.cgi?id=80989
Also discussed on xbox-linux-user
http://sourceforge.net/mailarchive/message.php?msg_id=10500378
Can someone please fix this so we can close all of these bug reports :)
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 01-03-05 17:31 julian Note Deleted: 0003047 01-03-05 17:36 julian Note Edited: 0003069 01-03-05 17:36 julian Note Edited: 0003069 01-07-05 18:27 tiwai Note Added: 0003111 03-18-05 11:33 chrb Note Added: 0003992 03-18-05 11:40 chrb Issue Monitored: chrb 03-22-05 15:16 jdthood Relationship added has duplicate 0000887
======================================================================
-------------------------------------------------------
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