Re: [2.4]ALi M5451 sound hangs on init; workaround

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Dec 11 2002 - 11:48:18 EST


On Wed, 2002-12-11 at 15:15, Fedor Karpelevitch wrote:
> I have ALi M5451 souncard in my laptop (Compaq Presario 900z for those
> searching) and it hangs the machine with any kernel I tried
> (currently 2.4.20-ac1 + hirofumi patch). I traced it down to the line
> where it hangs - that is drivers/sound/trident.c:3379 which says:
> pci_write_config_byte(pci_dev, 0xB8, ~temp);

Looking at the docs it looks like the code Matt Wu added may have
been meant to do

        pci_read_config_byte(pci_dev, 0x59, temp)
        temp &= ~0x80
        pci_write...

and similarly for the other port

(Ditto with fixing setup_multi_cannnels)

Does it work sanely with those fixd ?

-
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/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:21 EST