linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Idle loop causes speaker whine/buzz (!)
@ 2007-01-23 10:40 Mike Perry
  2007-01-23 12:29 ` Pavel Troller
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Perry @ 2007-01-23 10:40 UTC (permalink / raw)
  To: linux-acpi

Throw this one in the running for strangest bug ever:

For some reason, on 2.6.17-2.6.19(+others?) the acpi_processor_idle
loop enabled by CONFIG_ACPI_PROCESSOR is causing my laptop's speakers
to buzz.. If the option is disabled or built as a module (or if I run
both my CPUs' usage up to 100%), the speakers are silent.

I drilled a little further down, and it seems to have something to do
with the busmastering code. If I hack drivers/acpi/processor_core.c to
always set bm_control = 0, the whine goes away. Of course, disabling
bustmastering disables all C2 to C3 transitions, so maybe it is an
unrelated matter still..

Another datapoint: If I boot into single user mode, I can get an
(almost) silent mode of operation by removing uhci_ocd, or if I turn
off bluetooth via the switch on my laptop. However, other drivers are
involved in the buzz as well because if I do a full boot, killing
USB+bluetooth does not help.

proc is telling me the latency value for C3 is 57. To see if it was
perhaps rapid state transitions, I tried doubling the threshold.count
values for every state. Didn't seem to change the pitch or volume of
the whine...


So, any ideas? Is this a bug in linux-acpi, or my laptop's ACPI
support? Any way to tell? Windows doesn't whine, but Linux in VMware
in Windows does (again, only if the CPU is idle).


-- 
Mike Perry
Mad Computer Scientist
fscked.org evil labs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-01-24  2:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-23 10:40 Idle loop causes speaker whine/buzz (!) Mike Perry
2007-01-23 12:29 ` Pavel Troller
2007-01-23 19:45   ` Mike Perry
2007-01-23 21:00     ` Henrique de Moraes Holschuh
2007-01-23 21:25       ` Len Brown
2007-01-23 21:48         ` Henrique de Moraes Holschuh
2007-01-24  0:33         ` Mike Perry
2007-01-24  2:19           ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).