[ALSA - driver 0002132]: No sound from speakers

bugtrack
2006-06-12T01:41:07Z

Last Modified: 06-12-2006 03:41 CEST
======================================================================
Summary: No sound from speakers
Description:
Alsa seems to detect the sound card, but when I try to actually play
something there is no sound from the speakers.
======================================================================

----------------------------------------------------------------------
Raymond - 06-12-06 03:31
----------------------------------------------------------------------
Successive read of codec registers seem delayed

codec read 7c : 807c4e53
codec read 7e : 807c4e53 <-- 7e4300
codec write 00 = 0000
codec write 3c = 0000
codec read 00 : 80000d50
codec read 7c : 80000d50 <-- 7c4e53
codec read 7e : 807c4e53 <-- 7e4300
codec read 7c : 807e4300 <-- 7c5e53
codec read 7e : 807c4e53 <-- 7e4300
codec read 00 : 807e4300 <-- 000d50
codec read 28 : 80000d50 <-- 280001
codec read 3c : 80280001

What is the purpose of adding cond_resched() in
snd_es1371_wait_src_ready() ?

http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=48487b6ce515;style=gitweb

----------------------------------------------------------------------
rlrevell - 06-12-06 03:41
----------------------------------------------------------------------
Same as any cond_resched() - so that other processes are not excessively
delayed on !PREEMPT kernels.

It seems that the reads need to be throttled. Try replacing cond_resched
with msleep.