Måns Rullgård wrote: > OK, I just used the simpler (and newer) of the two versions that were > posted, and modified as suggested by someone. Does my version work on > your machine? I did not try it, but because of the code and the outputs I got when I tried to find the problem I'm sure it would work. >> Anyway, my suggestion remains, that the >> + if (dev->subsystem_vendor != PCI_VENDOR_ID_ASUSTEK) >> + return; >> + if (dev->device != PCI_DEVICE_ID_VIA_8237) >> + return; >> >> might be not needed at all as it is not ASUS specific. > > Doesn't it depend on the BIOS? My BIOS lets me choose between > "automatic" and "disabled" for the onboard sound. I don't see how that setting could change the device ID or the vendor ID. As I understood the above code will simply not try to enable the sound device if: a) the vendor is not ASUSTEK b) the device is not ID is not PCI_DEVICE_ID_VIA_8237 For a) it means that an MSI/Epox/whatever board with the same VIA chipset and the same problem will not be handled. For b) see my previous comment (and your concerns). Well, it would be nice if a kernel developer could comment on it, or simply include the right version in some upcoming release. ;-) Andras -- Quanta Plus developer - http://quanta.kdewebdev.org K Desktop Environment - http://www.kde.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- References:
- [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: bjd <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Jan-Benedict Glaw <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Jan-Benedict Glaw <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Andras Mantia <[email protected]>
- Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- From: Måns Rullgård <[email protected]>
- [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- Prev by Date: Re: Question regarding to store file system metadata in database
- Next by Date: Re: Question regarding to store file system metadata in database
- Previous by thread: Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- Next by thread: Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards
- Index(es):