Re: APM suspend system lockup under 2.4.2 and 2.4.2ac1

John Fremlin (chief@bandits.org)
01 Mar 2001 20:00:47 +0000


Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > the sound card is a yamaha YMF-744B. i hadn't been
> > compiling with sound support (i dont care about sound
> > on my laptop), but when i got 2.4.2 i decided to try,
> > and now i'm pretty sure that was the problem.
>
> The Yamaha sound driver doesnt handle the case where the bios fails
> to restore the chip status and expects a windows driver to do its
> dirty work. That requires on resume that the device is completely
> reloaded.
>
> A workaround is to make it a module, unload it before suspend and
> reload it after resume but thats pretty umm uggly.

Why not use kernel/pm.c:pm_register? Then you can either refuse
suspend or have a proper workaround.

-- 

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