: No sound from speakers
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132>
======================================================================
Reported By: bzbarsky
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 2132 Category: PCI - ens1371 Reproducibility: always Severity: block Priority: normal Status: new Distribution: Fedora Core 4 Kernel Version: 2.6.15 ====================================================================== Date Submitted: 05-17-2006 19:54 CEST Last Modified: 06-11-2006 22:38 CEST
======================================================================
Summary: No sound from speakers
Description:
Alsa seems to detect the sound card, but when I try to actually play something there is no sound from the speakers.
======================================================================
----------------------------------------------------------------------
Raymond - 06-11-06 05:29
----------------------------------------------------------------------
It seem that snd_es1371_codec_read() cannot read the correct value.
The first thing is to trace the read/write of codec registers by adding printk statement.
static void snd_es1371_codec_write(struct snd_ac97 *ac97,
unsigned short reg, unsigned short val)
{
struct ensoniq *ensoniq = ac97->private_data;
unsigned int t, x;
+ printk(KERN_INFO "codec write %.2x = %.4x\n",reg,val);
mutex_lock(&ensoniq->src_mutex);
for (t = 0; t < POLL_COUNT; t++) {
for (t = 0; t < POLL_COUNT; t++) {
if ((x = inl(ES_REG(ensoniq, 1371_CODEC))) & ES_1371_CODEC_RDY) {
mutex_unlock(&ensoniq->src_mutex);
+ printk(KERN_INFO "codec read %.2x : %x\n",reg, x);
return ES_1371_CODEC_READ(x);
}
}----------------------------------------------------------------------
bzbarsky - 06-11-06 22:38
----------------------------------------------------------------------
Attached the new dmesg output with those changes, as well as the same output grepped for "codec".
Issue History
Date Modified Username Field Change
======================================================================
05-17-06 19:54 bzbarsky New Issue 05-17-06 19:54 bzbarsky File Added: lspci.txt 05-17-06 19:54 bzbarsky Distribution => Fedora Core 4 05-17-06 19:54 bzbarsky Kernel Version => 2.6.15 05-17-06 19:55 bzbarsky File Added: lspci-n.txt 05-17-06 19:55 bzbarsky Issue Monitored: bzbarsky 05-17-06 19:56 bzbarsky File Added: scsound.log 05-17-06 19:57 bzbarsky Note Added: 0009857 05-20-06 05:31 Raymond Note Added: 0009882 05-20-06 21:43 bzbarsky Note Added: 0009893 05-21-06 03:41 Raymond Note Added: 0009894 05-21-06 03:48 Raymond Note Edited: 0009894 05-22-06 02:47 bzbarsky File Added: ac97#0-0 05-22-06 02:48 bzbarsky File Added: ac97#0-0+regs 05-22-06 02:53 bzbarsky Note Added: 0009901 05-22-06 04:14 Raymond Note Added: 0009902 05-23-06 09:00 Raymond Note Added: 0009929 05-23-06 09:03 Raymond Note Edited: 0009929 05-23-06 09:07 Raymond Note Edited: 0009929 06-02-06 20:08 bzbarsky Note Added: 0010053 06-02-06 20:09 bzbarsky File Added: scsound-1.0.11.log 06-02-06 20:09 bzbarsky File Added: ac97#0-0-1.0.11 06-02-06 20:10 bzbarsky File Added: ac97#0-0+regs-1.0.11
06-02-06 20:35 bzbarsky Note Added: 0010054 06-03-06 02:44 Raymond Note Added: 0010058 06-05-06 01:29 bzbarsky Note Added: 0010066 06-05-06 03:31 Raymond Note Added: 0010067 06-05-06 03:56 bzbarsky File Added: dmesg 06-05-06 03:57 bzbarsky Note Added: 0010068 06-06-06 06:35 Raymond Note Added: 0010071 06-06-06 06:43 Raymond Note Edited: 0010071 06-06-06 08:59 Raymond Note Edited: 0010071 06-10-06 07:42 bzbarsky Note Added: 0010144 06-11-06 05:24 Raymond Note Added: 0010150 06-11-06 05:29 Raymond Note Edited: 0010150 06-11-06 22:37 bzbarsky File Added: dmesg+kprint 06-11-06 22:37 bzbarsky File Added: codec_lines.txt 06-11-06 22:38 bzbarsky Note Added: 0010154
======================================================================