Måns Rullgård wrote: > 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. > Yes, this might be a case, but you never know if ASUS engineers realize that they can enable the board even if there is a PCI card and will include in the next bios (as I wrote, they say it is impossible, but you never know). So checking for ASUS will be wrong starting from that BIOS version. When I first saw this bug on my system I searched a lot to see if I made a wrong decision by buying ASUS and not another brand and everywhere on the forums the same issue was described for other brands as well. >From the code I would say that pci_read_config_byte(dev, 0x50, &val); if (val & 0xc0) { is the test if it's enabled by the bios or not, as after trying to enable with pci_write_config_byte(dev, 0x50, val & (~0xc0)); it reads again the same byte and checks if the correct bits are enabled. I see no harm here, but as I said I am not a hardware guy, just a desktop programmer. ;-) 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/
- 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]>
- 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: [PATCH] fix memory leak in mm/slab.c::alloc_kmemlist() (try #2)
- Next by Date: [PATCH] - make sure that EFI variable data size is always 64 bit
- 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):