Re: saa7134 FM radio problems

[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 Slugeň napsal(a):
Hi, Is my problem with saa7134 and FM radio related to this
mailing-list? If not, can someone point me to correct mailing-list?

I have two LifeView FlyDVB-T trio PCI cards, and I have some serious
problems with FM radio tuner.

I am using kernel 2.6.21.3 SMP, but same problem is with kernel 2.6.20.X
and even with latest CVS tree from linux.tv (17.6.2007)

Sometimes (very often) one or both cards are just frozen, I can't tune
radio (hear nothing).

After restart, situation sometimes change.

 From log:

+ I am getting many dsp acces error on problematic card:
saa7133[0]: dsp access error
saa7133[0]: dsp access error
saa7133[0]: dsp access error
saa7133[0]: dsp access error
saa7133[0]: dsp access error
saa7133[0]: dsp access error
saa7133[0]: dsp access error

+ Problem is related to this message from dmesg
aa7133[0]/audio: tvaudio thread status: 0x100000 [no standard detected]

If you are developer I can give you full ssh access to this station.

Has someone similar issue, is there any working solution?

I am sending dmes log as attachment...

Mirek Slugen

PS: Sorry for my poor english

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