: Intel HD audio module timeout and xine audio output abnormal
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1372>
======================================================================
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