From: bugtrack@alsa-project.org Subject: [ALSA - firmware 0000778]: xbox parameter sets AC97_SCAP_DETECT_BY_VENDOR wrongly Date: Mon, 3 Jan 2005 16:58:55 +0100 Message-ID: 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 C0D8B2CB for ; Mon, 3 Jan 2005 16:58:55 +0100 (MET) 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: 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