Skip to contentSkip to conversation

New PC-Speaker driver

ANNOUNCE Stas Sergeev 2 participants 2 messages Aug 14, 2002 – Aug 15, 2002

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 5 lines · Andrew Rodland

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:)

Quoted 1 line

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.

#1 lore raw
Quoted 4 lines · Stas Sergeev

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.

And if that's the case, he's broken for a lot more reasons than the speaker sound driver. We've just discovered a new use for this
driver: detecting interrupt-disable borkness that needs to be hunted down and killed.

Signature · 1 line
Daniel