Hi! On Friday 06 December 2002 16:10, x545 wrote: > do (took me 1 year to find out):
Sorry, but I have forgotten to inform the list that I have the issue solved.
I have contacted the ALi support people, and asked about the workaround they
are using in their Windows driver.
And got the next reply:
----------------
Below is the workaround we add in our driver:
1. scan all devices located at bus 0
2. if device class code (PCI config offset 0xb~0xa) is 0x400, do
2a. set latency timer (offset 0xd) of matched device to 0xa
2b. set offset 0x40 bit 1 of matched device to 1
----------------
You can do the above using setpci and I have the next lines in my
/etc/modules.conf:
pre-install bttv setpci -s 00:0b.0 0x40.b=2 latency_timer=0xa
post-install bttv setpci -s 00:0b.0 latency_timer=0xa
The post-install is necessary because the bttv driver sets the latency timer
to 32 on its own. I think this is fixed in the 8.x versions (where you can
specify the latency value)
Alan Cox has already applied the above workaround to his 2.4.20-ac series, and
said that he will take care that the patch is applied to the mainstream
kernel.
So with this workaround you can use your tvcard in overlay mode. I'm also
attaching a script that applies the workaround - which determines
automatically to what card should be the workaround applied. (I have got the
script from Peter Samuelson as a reply to my query on linux-kernel@vger)
>From the steps you write down below I only have 2. and 3. applied. But I'm not
100% sure if they are necessary. AFAIK 2. is only needed if you have a SB
Live (read that in a FAQ on the Net).
Before applying the above workaround I could watch tv when xawtv was run in
grabdisplay (instead of overlay) mode.
I'm also using 2.4.20 but with bttv-0.7.xx.
But I have CONFIG_IDEPCI_SHARE_IRQ set to Y. Do you think that this is a
problem? In the kernel config help it writes that it is safe to say Y here.
Regards
Zsolt
> Hardware:
> 1.plug the PCTV-beast into a PCI slot with no IRQ-Sharing (lock into
> Interrupt Request Table for this Mainboard)
>
> BIOS:
> 2.set Delayed Transaction to on
> 3.set PCI 2.1 Latency Compliat to on
> 4.Give PCI-Slot with PCTV-beast a free usable IRQ (lock into Standard
> Interrupt Assignments)
> 5.in PCI IRQ Resource Exclusion set the IRQ to [Yes]
>
> with Athlon:
> 6.use newest Kernel or
> use kernel-parameter:
> mem=nopentium
>
> 7.compile newest 2.4 kernel with
> CONFIG_IDEPCI_SHARE_IRQ = N
> CONFIG_IDEDMA_PCI_AUTO = Y
>
> 8.compile and install newest bttv-0.8.xxx
>
> 9.in /etc/modules.conf (deb: /etc/modutils/aliases, don't forget
> update-modules):
> alias char-major-81 bttv
> options bttv card=52 radio=1
> post-install bttv modprobe -k msp3400 ; modprobe -k tuner ; v4lctl
> capture grabdisplay
> post-remove bttv rmmod tuner ; rmmod msp3400 ; rmmod tvaudio ; rmmod
> vidoedev ;
> rmmod i2c-algo-bit
>
> 10.be happy
>
>
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/video4linux-list
fixtvcard
Description: application/shellscript
