From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001372]: Intel HD audio module timeout and xine audio output abnormal Date: Fri, 26 Aug 2005 05:10:46 +0200 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.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 7ADF4196 for ; Fri, 26 Aug 2005 05:10:46 +0200 (MEST) 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 The following issue has been SUBMITTED. ====================================================================== ====================================================================== Reported By: KamMing Assigned To: tiwai ====================================================================== Project: ALSA - driver Issue ID: 1372 Category: PCI - hda-intel Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Kernel Version: 2.6.13-rc6 ====================================================================== Date Submitted: 08-26-2005 05:10 CEST Last Modified: 08-26-2005 05:10 CEST ====================================================================== Summary: Intel HD audio module timeout and xine audio output abnormal Description: As loading snd-hd-intel.ko , the system shows following message ceaselessly: " azx_get_response timeout " After replace function azx_get_response() by : { azx_t *chip = codec->bus->private_data; unsigned int wp, corbwp; int timeout = 2; corbwp = azx_readb(chip, CORBWP); while ((wp = azx_readb(chip, RIRBWP)) != corbwp) { if (! --timeout) { snd_printk(KERN_ERR "azx_get_response timeout\n"); break; } msleep(1); } wp <<= 1; /* an RIRB entry is 8-bytes */ /* read the low value only */ return le32_to_cpu(chip->rirb.buf[wp]); } timeout problem fixed. This code comes from alsa-1.0.8a which is modified by Intel and can be downloaded from Intel website. After fixed timeout problem, xine's audio output abnormal. As playing VCD/DVD , the audio output just repeat a piece of sound ceaslessly. And sometimes the xine hang with a few minutes. I encountered this problem on alsa-1.0.8a and alsa-1.0.10rc1(replaced function azx_get_response()). ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 08-26-05 05:10 KamMing New Issue 08-26-05 05:10 KamMing Kernel Version => 2.6.13-rc6 ====================================================================== ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf