aha/sound/pci
Steve Soule f74890277a ALSA: ac97_codec - increase timeout for analog sections to 5 second
I have a Soundblaster 16PCI. For many years, alsa has had a bug where
not all of the card's controls are detected (many alsa versions,
many kernel versions). In particular, Master Playback Volume is
usually not detected, and so I get no sound or extremely faint sound.
The problem has always been inconsistent: sometimes all of the controls
are detected correctly, and sometimes a partial set is detected. It works
correctly about 10% of the time.

Finally, I got around to tracking down the problem. When the driver
fails, it prints the kernel message "AC'97 0 analog subsections not
ready". This message is generated from the function snd_ac97_mixer()
in ac97_codec.c. The message indicates that the card failed to come
back after reset within the time limit. The time limit is
120 milliseconds.

I tried increasing the time limit to 1 second, and found that this
made the driver work about 70% of the time. I tried increasing it
to 5 seconds, and it now seems to work 100% of the time.

I expect that this change would be completely harmless for
existing cards that work, and would only introduce additional
delay for cards that do not work.

ALSA bug#4032.

Signed-off-by: Steve Soule <sts11dbxr@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2009-12-15 09:31:31 +01:00
..
ac97 ALSA: ac97_codec - increase timeout for analog sections to 5 second 2009-12-15 09:31:31 +01:00
ali5451 ALSA: sound: Move dereference after NULL test and drop unnecessary NULL tests 2009-10-30 12:01:27 +01:00
au88x0
aw2
ca0106 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
cs46xx tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
cs5535audio
ctxfi Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
echoaudio
emu10k1 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
hda Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-12-12 11:40:50 -08:00
ice1712 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-12-09 19:52:13 -08:00
korg1212
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652 tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c ALSA: rename "PC Speaker" and "PC Beep" controls to "Beep" 2009-11-05 09:00:18 +01:00
azt3328.h
bt87x.c ALSA: bt87x - Add a whitelist for Pinnacle PCTV (11bd:0012) 2009-10-13 09:34:28 +02:00
cmipci.c ALSA: rename "PC Speaker" and "PC Beep" controls to "Beep" 2009-11-05 09:00:18 +01:00
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c ALSA: rename "PC Speaker" and "PC Beep" controls to "Beep" 2009-11-05 09:00:18 +01:00
es1968.c
fm801.c snd-fm801: autodetect SF64-PCR (tuner-only) card 2009-12-03 18:25:40 +01:00
intel8x0.c ALSA: intel8x0: Mute External Amplifier by default for Gateway 4525GZ 2009-11-25 10:01:20 +01:00
intel8x0m.c
Kconfig ALSA: ice1712: Use bitrev8 2009-11-13 08:30:22 +01:00
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c sound: via82xx: deactivate DXS controls of inactive streams 2009-10-30 12:39:22 +01:00
via82xx_modem.c