Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

From: Takashi Iwai
Date: Tue Jan 08 2008 - 02:24:31 EST


At Mon, 07 Jan 2008 20:53:33 +0100,
Harald Dunkel wrote:
>
> Hi folks,
>
> Upgrading from 2.6.24-rc6 to rc7 Alsa stopped working for me. I still
> can access /dev/dsp, change the volume and so on, but the speakers
> are quiet. Moving back to rc6 there is no such problem.
>
> Of course the config files are the same (except for some new
> CONFIG_SLABINFO variable).
>
>
> lspci says:
>
> 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
> 00:1b.0 0403: 8086:284b (rev 02)
>
> % aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
>
>
> The only difference between rc6 and rc7 in sound/pci/hda/hda_intel.c is
> this:
>
> diff -ur linux-2.6.24-rc6/sound/pci/hda/hda_intel.c linux-2.6.24-rc7/sound/pci/hda/hda_intel.c
> --- linux-2.6.24-rc6/sound/pci/hda/hda_intel.c 2007-12-21 02:25:48.000000000 +0100
> +++ linux-2.6.24-rc7/sound/pci/hda/hda_intel.c 2008-01-06 22:45:38.000000000 +0100
> @@ -555,7 +555,8 @@
> }
> if (!chip->rirb.cmds)
> return chip->rirb.res; /* the last value */
> - schedule_timeout_uninterruptible(1);
> + udelay(10);
> + cond_resched();
> } while (time_after_eq(timeout, jiffies));
>
> if (chip->msi) {
>
>
> Do you think this could be related to the problem?

Could you revert it and check whether the problem still exists?

I hardly believe it's the culprit, but if this is the only change in
the sound subsystem...


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/