Web lists-archives.org

Re: em28xx/xc3028: changeset 7651 breaks analog audio?




Edward,

> I updated to changeset 7673 and reversed 7651, and got a fully working
> driver. These are the firmware loading messages from the working
> driver:
> 
> (insert stick)
> xc2028 1-0061: Loading 80 firmware images from xc3028-v27.fw, type:
> xc2028 firmware, ver 2.7
> xc2028 1-0061: Loading firmware for type=BASE MTS (5), id
> 0000000000000000.
> xc2028 1-0061: Loading firmware for type=MTS (4), id 000000000000b700.
> 
> (start mplayer - missing from first pastebin)
> xc2028 1-0061: Loading firmware for type=BASE F8MHZ MTS (7), id
> 0000000000000000.
> xc2028 1-0061: Loading firmware for type=MTS (4), id 0000000000000010.


I'm enclosing two hacks. please, re-apply 7651, and try first hack1.patch.
Then, revert it and apply hack2.patch.

Please tell me if both hacks work or not, and send me the dmesgs for each case
(after loading mplayer).


Cheers,
Mauro
diff -r dd15a1f1040e linux/drivers/media/video/tuner-xc2028.c
--- a/linux/drivers/media/video/tuner-xc2028.c	Tue Apr 22 12:38:26 2008 -0300
+++ b/linux/drivers/media/video/tuner-xc2028.c	Tue Apr 22 18:34:04 2008 -0300
@@ -616,6 +616,8 @@
 	unsigned char	   *p;
 
 	tuner_dbg("%s called\n", __func__);
+
+	int_freq = 6000;
 
 	if (!int_freq) {
 		pos = seek_firmware(fe, type, id);
diff -r dd15a1f1040e linux/drivers/media/video/tuner-xc2028-types.h
--- a/linux/drivers/media/video/tuner-xc2028-types.h	Tue Apr 22 12:38:26 2008 -0300
+++ b/linux/drivers/media/video/tuner-xc2028-types.h	Tue Apr 22 18:34:55 2008 -0300
@@ -99,7 +99,7 @@
 			 LG60|ATI638|OREN538|OREN36|TOYOTA388|TOYOTA794|     \
 			 DIBCOM52|ZARLINK456|CHINA|F6MHZ|SCODE)
 #else
-#define SCODE_TYPES SCODE
+#define SCODE_TYPES (SCODE | MTS)
 #endif
 
 
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list