Skip to contentSkip to conversation

Loud POP from sound system during module init w/ 2.6.19

DISCUSSION Ian E. Morgan 3 participants 6 messages Dec 8, 2006 – Dec 19, 2006

lore
Share & tools
lore
#0 lore raw

Since upgrading to 2.6.19, two of my boxes (one workstation, one notebook) started making a very loud (and scary) POP from the sound system when the alsa modules are loaded. Unloading and reloading the modules will generate another pop.

I have removed any fiddling of mixer settings during module load/unload; same results.

I have complied the kernel both with and without
CONFIG_SND_AC97_POWER_SAVE; same results.

The workstation uses snd_emu10k1, the notebook snd_intel8x0, so it's affecting more than a single driver.

Anybody else seeing this behaviour and know how to stop it?

Signature · 2 lines
Ian E. Morgan
[email protected]
#1 lore raw
Quoted 1 line · Ian E. Morgan

Subject: Loud POP from sound system during module init w/ 2.6.19

What kernel did you have before?

What you see is the same I am experiencing on every boot - when the sound module is loaded, udev loads the previous volume settings. The volume settings are normal for me, but I guess the instant jump from 0-70% (for Master) and 0-61% (for PCM) is not taken too heartly by the soundcard.

Quoted 7 lines

Since upgrading to 2.6.19, two of my boxes (one workstation, one notebook) started making a very loud (and scary) POP from the sound system when the alsa modules are loaded. Unloading and reloading the modules will generate another pop.

Anybody else seeing this behaviour and know how to stop it?

	-`J'
#2 lore raw

Previous kernel was 2.6.18.3, which did not exhibit the problem. I was aware of udev setting the mixer at module load time, but I disabled that and the problem still exists.

Signature · 2 lines
Ian E. Morgan
[email protected]
Quoted 17 lines · Jan Engelhardt
Quoted 1 line · Ian E. Morgan

Subject: Loud POP from sound system during module init w/ 2.6.19

What kernel did you have before?

What you see is the same I am experiencing on every boot - when the sound module is loaded, udev loads the previous volume settings. The volume settings are normal for me, but I guess the instant jump from 0-70% (for Master) and 0-61% (for PCM) is not taken too heartly by the soundcard.

Quoted 6 lines

Since upgrading to 2.6.19, two of my boxes (one workstation, one notebook) started making a very loud (and scary) POP from the sound system when the alsa modules are loaded. Unloading and reloading the modules will generate another pop.

Anybody else seeing this behaviour and know how to stop it?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#3 lore raw
Quoted 4 lines · Ian E. Morgan

Previous kernel was 2.6.18.3, which did not exhibit the problem. I was aware of udev setting the mixer at module load time, but I disabled that and the problem still exists.

Another reason might be that the sound driver sets the initial volume (even before udev can act) to 100%. That's probably Not So Good. I'd suggest to take a diff between 2.6.18.3's sound tree and the 2.6.19 one, and see if the driver for your card changed.

	-`J'
#4 lore raw
In reply to Ian E. Morgan
Quoted 4 lines · Ian E. Morgan

Previous kernel was 2.6.18.3, which did not exhibit the problem. I was aware of udev setting the mixer at module load time, but I disabled that and the problem still exists.

Another reason might be that the sound driver sets the initial volume (even before udev can act) to 100%. That's probably Not So Good. I'd suggest to take a diff between 2.6.18.3's sound tree and the 2.6.19 one, and see if the driver for your card changed.

	-`J'
Signature · 5 lines
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#5 lore raw
In reply to Ian E. Morgan

At Fri, 8 Dec 2006 13:53:46 -0500,

Quoted 9 lines · Ian E. Morgan

Since upgrading to 2.6.19, two of my boxes (one workstation, one notebook) started making a very loud (and scary) POP from the sound system when the alsa modules are loaded. Unloading and reloading the modules will generate another pop.

I have removed any fiddling of mixer settings during module load/unload; same results.

Quoted 7 lines

I have complied the kernel both with and without
CONFIG_SND_AC97_POWER_SAVE; same results.

The workstation uses snd_emu10k1, the notebook snd_intel8x0, so it's affecting more than a single driver.

Anybody else seeing this behaviour and know how to stop it?

Hm, interesting. I thought this should be avoided by disabling CONFIG_SND_AC97_POWER_SAVE Kconfig.

Do you get the noise at unloading or at loading time? If it's at unloading time, it's likely in some part of snd_ac97_powerdown(), handling of AC97_POWERDOWN bits, I guess.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV