[PATCH] Problems with a WinTV and PAL CableTV signal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 Hello,

 I have been using bttv driver for a while now, it works great, thanks
 for a realy good job.

 bttv version: 0.7.83
 card: Hauppauge WinTV Theater (lspci output attached)
 kernel messages from bttv load are also attached.

 Lately, I had some problem with VIDIOCSYNC ioctl and the signals from
 my cabletv provider which happen to be PAL.  Y also have an NTSC camera
 connected to composite1 which works ok. Programs get stuck when calling
 VIDIOCSYNC.

 The problem happened sudently, for no good reason, maybe the cabletv
 provider changed something on his equipment because I have tryed every
 posible convination, from going back to 2.2 kernel to statily link
 binaries on an older system and everything failed. I have tryed with
 vcr, xawtv, cabletv, xawdecode, streamer, and a little program I wrote.
 xawdecode was the only one that worked because it opens /dev/vbi
 device, in fact executing "sleep 5000 < /dev/vbi" else where makes
 everything go back to normal. 

 I have done some testing, opening and not opening /dev/vbi, with the
 cabletv PAL signal and with NTSC and in overlay mode. Debuging output
 from /proc/kmsg is included for each case.

 And I have also been playing around with the driver, and come up with a
 workaround which I am quite sure is not right, but fixes the problem
 form me.

 If requiered I could try to feed a different TV PAL signal into the
 card, and if we don't find what the hell is going on, could a
 workaround module parameter be added?

 If you need any more information or you need me doing more tests please
 let me know.

 Thanks in advance.

 	ranty
-- 
--- Manuel Estrada Sainz <ranty@xxxxxxxxxx>
			 <ranty@xxxxxxxxx>
------------------------ <ranty@xxxxxxxx> ---------------------------------
God grant us the serenity to accept the things we cannot change, courage to
change the things we can, and wisdom to know the difference.

Attachment: bttv-load.gz
Description: Binary data

00:09.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 11)
	Subsystem: Hauppauge computer works Inc. WinTV/GO
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at e0002000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2

00:09.1 Multimedia controller: Brooktree Corporation Bt878 (rev 11)
	Subsystem: Hauppauge computer works Inc. WinTV/GO
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at e0003000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2

Attachment: lspci-vv.wintv.gz
Description: Binary data

Attachment: vbi-not-opened-NTSC.gz
Description: Binary data

Attachment: vbi-not-opened-PAL-overlay.gz
Description: Binary data

?%kÚ;vbi-not-opened-PALíÑÁj?@?á{?b?mèAT?,??%4´´¡PJj7A5ë*éÛ7IÉÅê¡??ò_???ofv6\,3k{GIaöRÖu9b?6??;É
Û*yMÞ?cyø9?^âǹÈ9?h)U=ýK?<m¤ß?4S²ït§Å???ò??çÞÎÂÉNÁX§Í:?×óAñ£<¶3§âï­M?ý$µ_U®$ë¶[mäø
£m??â?¦µ¥Ö?ÔÕézr@wz@YÝ'?±)?ëJÿê9\?§¼À?¸Að¿ëùÛ_J£P(
?B¡P(
?B¡P(
?B¡P(
?B¡P(
?B¡PW£¾î1fX-

Attachment: vbi-opened-NTSC.gz
Description: Binary data

Attachment: vbi-opened-PAL-overlay.gz
Description: Binary data

Attachment: vbi-opened-PAL.gz
Description: Binary data

--- bttv-driver.orig.c	Sat Oct 27 15:48:17 2001
+++ bttv-driver.c	Sun Oct 28 22:58:08 2001
@@ -2406,6 +2406,10 @@
 			flags |= 0x0c;
 	}
 
+	if ((0 != btv->risc_cap_even) || (0 != btv->risc_cap_odd))
+		flags |= 0x0c;
+
+
 	if (bttv_debug > 1)
 		printk("bttv%d: set_risc_jmp %08lx:",
 		       btv->nr,virt_to_bus(btv->risc_jmp));

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux