BTTV + KT600 + KT880 hang
- From: Mauro Carvalho Chehab <mauro_chehab (at) yahoo.com.br>
- Date: Fri, 10 Mar 2006 10:40:13 -0300
Daniel,
Em Qui, 2006-03-09 às 21:33 +0100, Daniel Smolik escreveu:
> Mauro Carvalho Chehab napsal(a):
> > Daniel,
> > May you prepare a blacklist patch and test it? Such patch should be
> > applied against linux/drivers/pci/quirks.c, enabling pcipci_fail for
> > both chipsets. This flag is currently used by bttv-cards.c to disable
> > overlay mode. Of course, saa7134-core should also be patched to handle
> > it and disabling overlay mode when pcipci_fail is not zero.
> I am not good programmer, but I searching for solution I want watch TV
> with overlay :-). A test the same configuration with Atholon64 and it
> works. I have some version of BIOSes and with one system run 30s and
> with another 1s. I mean that problem is in BIOS.
This is very easy to do:
at drivers/pci/quirks.c, you have this:
static void __devinit quirk_nopcipci(struct pci_dev *dev)
{
if ((pci_pci_problems & PCIPCI_FAIL)==0) {
printk(KERN_INFO "Disabling direct PCI/PCI
transfers.\n");
pci_pci_problems |= PCIPCI_FAIL;
}
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_5597,
quirk_nopcipci );
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_496,
quirk_nopcipci );
You just need to add:
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, <kt600 id>,
quirk_nopcipci );
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, <kt880 id>,
quirk_nopcipci );
and, of course, test it on both configurations. The PCI IDs can be
obtained by lspci, and their names are at include/linux/pci_ids.h and
are also available at http://pci-ids.ucw.cz/iii/?i=1106. These IDs are
something like:
#define PCI_VENDOR_ID_VIA 0x1106
#define PCI_DEVICE_ID_VIA_8763_0 0x0198
#define PCI_DEVICE_ID_VIA_8380_0 0x0204
#define PCI_DEVICE_ID_VIA_3238_0 0x0238
#define PCI_DEVICE_ID_VIA_PT880 0x0258
#define PCI_DEVICE_ID_VIA_PX8X0_0 0x0259
#define PCI_DEVICE_ID_VIA_3269_0 0x0269
#define PCI_DEVICE_ID_VIA_K8T800PRO_0 0x0282
#define PCI_DEVICE_ID_VIA_8363_0 0x0305
#define PCI_DEVICE_ID_VIA_P4M800CE 0x0314
so, you need to add something like:
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,PCI_DEVICE_ID_VIA_PT880,quirk_nopcipi);
currently, only bttv honors this, but I can prepare such a patch also
for saa7134.
Cheers,
Mauro
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list