Re: New TV Tuner for solve BUG in saa7134 radio

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

 



This patch solved problems with muted radio on Lifeview FlyTV Trio. So can anyone commit it to git? It is based on latest patch from mrec repository http://mcentral.de/hg/~mrec/v4l-dvb-experimental/summary

Mirek Slugen

Mirek Slugen( napsal(a):
I would like to offer TV Tuner Lifeview FlyTV Trio (DVB-T, DVB-S, Analog TV, Analog FM) anyone who can solve BUG in saa7134 radio support.

I am using those tuners in one project for streaming DVB-T and analog FM together. If I am streaming only DVB-T everything works without problems, but when I try to stream FM radio strange things happens.

In dmesg it is "dsp access error", but there are other issues, like no sound from some cards (there are 3 cards in one PC), on every cold boot it differs (for example: first boot - radio tuner 1 works, second boot - radio tuner 3 works). I think the main problem is related to this issue: http://lists.zerezo.com/video4linux/msg17820.html

I am using actual git tree from linuxtv.org

I can give you root ssh access to the PC, or If you are from Czech Republic I can borrow you one card.

For my project I tried those cards:

     * Lifeview FlyDVB Trio - with problem above
     * Pinnacle PCTV Hybrid PRO PCI 310i - same problem like FlyDVB Trio
* Leadtek WinFast DTV2000 H - there are some issues with DVB-T and radio is not supported yet
     * Hauppauge WinTV HVR1300 - radio is not supported yet

If you know about other TV hybrid tuner with working DVB-T and FM radio at the same time, please send me model name.

Mirek Slugen

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

diff -Naur v4l-dvb-e57736b60075.old/linux/drivers/media/video/saa7134/saa7134-reg.h v4l-dvb-e57736b60075/linux/drivers/media/video/saa7134/saa7134-reg.h
--- v4l-dvb-e57736b60075.old/linux/drivers/media/video/saa7134/saa7134-reg.h	2008-01-02 16:50:02.000000000 +0100
+++ v4l-dvb-e57736b60075/linux/drivers/media/video/saa7134/saa7134-reg.h	2008-01-05 09:41:56.000000000 +0100
@@ -364,6 +364,7 @@
 #define SAA7135_DSP_RWSTATE_IDA                 (1 << 2)
 #define SAA7135_DSP_RWSTATE_RDB                 (1 << 1)
 #define SAA7135_DSP_RWSTATE_WRR                 (1 << 0)
+#define SAA7135_DSP_WRERR			0x586
 
 /* ------------------------------------------------------------------ */
 /*
diff -Naur v4l-dvb-e57736b60075.old/linux/drivers/media/video/saa7134/saa7134-tvaudio.c v4l-dvb-e57736b60075/linux/drivers/media/video/saa7134/saa7134-tvaudio.c
--- v4l-dvb-e57736b60075.old/linux/drivers/media/video/saa7134/saa7134-tvaudio.c	2008-01-02 16:50:02.000000000 +0100
+++ v4l-dvb-e57736b60075/linux/drivers/media/video/saa7134/saa7134-tvaudio.c	2008-01-05 09:41:07.000000000 +0100
@@ -689,7 +689,8 @@
 	state = saa_readb(SAA7135_DSP_RWSTATE);
 	if (unlikely(state & SAA7135_DSP_RWSTATE_ERR)) {
 		printk("%s: dsp access error\n",dev->name);
-		/* FIXME: send ack ... */
+		/* reset err bit */
+		saa_writeb(SAA7135_DSP_WRERR, 0x01);
 		return -EIO;
 	}
 	while (0 == (state & bit)) {
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux