lkml.org 
[lkml]   [2000]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: No sound (es1371) after test7
Date
In article <20000924012621.A12460@evansoft.uklinux.net>,
Jon Evans <jevans@evansoft.demon.co.uk> wrote:
>On Fri, Sep 22, 2000 at 09:14:23AM -0400, Kernel Related Emails wrote:
>
>> Well everythings working fine in test9-pre5 except for the fact that sound
>> has stopped functioning on my es1371 card. I had no problems with it at
>> all in test7 but since then it doesn't work. On boot it detects normally,
>> pops and crackles for a second, and then just doesn't work. Any
>> ideas? I'm getting no kernel messages or any output that would indicate
>> the problem.
>
>Just as a data point, I have the same problem. /dev/dsp seems to block when opened.

Ehh. One of the differences in the test9-pre kernels is a "trivial
bugfix" that actually makes one of the "schedule_timeout()" calls in
drivers/sound/ac97_codec.c actually _do_ something.

Go into "drivers/sound/ac97_codec.c" to around line 570 or so, and
comment out the line that says

current->state = TASK_UNINTERRUPTIBLE;

and see if that fixes the problem.

Now, removing the above line will basically make the schdule_timeout()
be a no-op, so on the face of it the code has always before been
completely nonsensical. But maybe the nonsensical code works, and the
logical code is broken.

As far as I can tell, no other changes have happened in the sound
drivers, which is why I'd ask people to do this apparently idiotic
reversal of that single line..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.083 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site