Re: [PATCH 001/001] PCI: PCI quirk for Asus A8V and A8V Deluxe motherboards

From: Måns Rullgård
Date: Sun Mar 19 2006 - 13:36:23 EST


Andras Mantia <amantia@xxxxxxx> writes:

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

It is the BIOS that disables the onboard sound if it detects a PCI
sound card. Chances are other vendors use different BIOS
configurations that do not automatically disable things. I don't know
if messing with those bits might do something bad on another board.

--
Måns Rullgård
mru@xxxxxxxxxxxxx

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