Re: [ANNOUNCE] New PC-Speaker driver

Stas Sergeev (stssppnn@yahoo.com)
Thu, 15 Aug 2002 03:28:59 +0400


Hello.

Andrew Rodland wrote:
> I can get some pretty decent sound out of it, but I also get some
> horrible noise. Even if I send the driver a stream of zeroes, as soon
> as it's opened it starts generating some horrible clicks and a
> high-pitched whine.
> Do I blame my motherboard (actually, a laptop)?
Yes because for most people it works pretty
fine:)

> Is there any way to fix this, or at least improve it?
Well, it was reported that CONFIG_APM_CPU_IDLE
causes such noises on some machines and even
CONFIG_APM_ALLOW_INTS doesn't fix the problem.
I have included a workaround that disables idle calls
during a playback. Are you using the latest patch from
my page (for 2.4.19 now)?
Also try disabling APM manually. If this doesn't
help then this is another problem but anyway someone is
disabling interrups for the large periods, (hopefully)
only this can cause such an effect. Make sure that
the hard drive is not active during a playback
because it also distorts sound by disabling interrupts
for too long.

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