Skip to contentSkip to conversation

High pitched sound with 2.6.15-ck1 -- Update info

DISCUSSION Vasileios Gkanis 2 participants 4 messages Jan 27, 2006 – Jan 30, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I had some free time and I was switching from one C-state to another to check when I hear this high pitched sound, I discover the following:

When the system is in the C4-state I hear this high pitched sound only when the USB-mouse is plugged in! If I unplug the mouse, the sound is not audible anymore. If I plug in the USB-stick the sound is not audible! I did some experiments and I found that when the system is in the C3 or C4-state, I hear the sound only when the USB-mouse is plugged in. On the other hand, in the C1 or C2-state the sound is not audible regardless of whether the USB-mouse is plugged in or not.
I see a similar behavior in windows, but the only difference is that the sound is not audible when the USB-stick and the USB-mouse are both plugged in!

Does anybody have any idea why this is happening?

Thank you,
Vasilis

#1 lore raw
Quoted 8 lines · Vasileios Gkanis

Hi,

I had some free time and I was switching from one C-state to another to check when I hear this high pitched sound, I discover the following:

When the system is in the C4-state I hear this high pitched sound only when the USB-mouse is plugged in! If I unplug the mouse, the sound is not audible anymore. If I plug in the USB-stick the sound is not audible! I did some experiments and I found that when the system is in the C3 or C4-state, I hear the sound only when the USB-mouse is plugged in. On the other hand, in the C1 or C2-state the sound is not audible regardless of whether the USB-mouse is plugged in or not. I see a similar behavior in windows, but the only difference is that the sound is not audible when the USB-stick and the USB-mouse are both plugged in!

Does anybody have any idea why this is happening?

Jep,
this happens because your power converters starts "singing". If you switch the C-State, you need a different amount of power. So if you have a kernel frequency of 1000 herz, your power converter has to adjust the amount of power 1000 times per second. And because of that it starts "singing". By the way, you can also modulate the sound by scaling your CPU frequency up or down. (Perhaps you could also write a programm, that can play some melody based on this phaenomenon ;-) )

Janosch

#2 lore raw
Quoted 10 lines

Jep,
this happens because your power converters starts "singing". If you switch the C-State, you need a different amount of power. So if you have a kernel frequency of 1000 herz, your power converter has to adjust the amount of power 1000 times per second. And because of that it starts "singing". By the way, you can also modulate the sound by scaling your CPU frequency up or down. (Perhaps you could also write a programm, that can play some melody based on this phaenomenon ;-) )

Janosch

What you said is correct. But, do you know why this happens when I plug in the USB-mouse and not when I plug in the USB-stick?

Vasilis

#3 lore raw
Quoted 9 lines · Vasileios Gkanis
Quoted 9 lines

Jep,
this happens because your power converters starts "singing". If you switch the C-State, you need a different amount of power. So if you have a kernel frequency of 1000 herz, your power converter has to adjust the amount of power 1000 times per second. And because of that it starts "singing". By the way, you can also modulate the sound by scaling your CPU frequency up or down. (Perhaps you could also write a programm, that can play some melody based on this phaenomenon ;-) )

Quoted 4 lines
Quoted 1 line

Janosch

What you said is correct. But, do you know why this happens when I plug in the USB-mouse and not when I plug in the USB-stick?

I would guess that the mouse has a higher power consumption as the stick. Try to put in some other usb-devices, that needs a lot of power (one of this usb-harddrives without external AC for example) and test it
;-)
Janosch