Re: STK7700-PH ( dib7700 + ConexantCX25842 + Xceive XC3028 )

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

 



Okey, I finally got this up and running.

I used patrick's repository at http://linuxtv.org/hg/~pb/v4l-dvb/ with the
attached patch, and it alsmost worked directly :).

I found out that the standard dibcom0700 firmware, didn't work properly. By
using that it failed to load the Xceive firmware later. By however using
the code posted earlier on this list with a utility for extracting the
dibcom firmware (dibextract.c) from the windows drivers things started
working.

The utility found two firmwares in the file.  The first one failed to work
even worse, the second one however worked better (even if the utility
complained about it not matching what it expected).

Maybe it's a later version of the dibcom drivers. If anybody is interested
let me know where to upload them.

Regards
Joakim
diff -r 3d252c252869 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Sat Mar 22 23:19:38 2008 +0100
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Tue Mar 25 23:05:46 2008 +0100
@@ -1115,6 +1115,7 @@ struct usb_device_id dib0700_usb_id_tabl
 	{ USB_DEVICE(USB_VID_YUAN,	USB_PID_YUAN_EC372S) },
 	{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_HT_EXPRESS) },
 	{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_T_XXS) },
+	{ USB_DEVICE(USB_VID_YUAN, 	USB_PID_YUAN_MC770A) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1415,6 +1416,29 @@ struct dvb_usb_device_properties dib0700
 		.rc_key_map       = dib0700_rc_keys,
 		.rc_key_map_size  = ARRAY_SIZE(dib0700_rc_keys),
 		.rc_query         = dib0700_rc_query
+	}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
+
+		.num_adapters = 1,
+		.adapter = {
+			{
+				.frontend_attach  = stk7700ph_frontend_attach,
+				.tuner_attach     = stk7700ph_tuner_attach,
+
+				DIB0700_DEFAULT_STREAMING_CONFIG(0x02),
+
+				.size_of_priv = sizeof(struct
+						dib0700_adapter_state),
+			},
+		},
+
+		.num_device_descs = 1,
+		.devices = {
+			{   "Yuan MC770A",
+				{ &dib0700_usb_id_table[34], NULL },
+				{ NULL },
+			},
+		},
+		.rc_interval      = DEFAULT_RC_INTERVAL,
 	},
 };
 
diff -r 3d252c252869 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Sat Mar 22 23:19:38 2008 +0100
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Tue Mar 25 23:05:46 2008 +0100
@@ -195,5 +195,6 @@
 #define USB_PID_ASUS_U3000				0x171f
 #define USB_PID_ASUS_U3100				0x173f
 #define USB_PID_YUAN_EC372S				0x1edc
+#define USB_PID_YUAN_MC770A				0x1f08
 
 #endif
_______________________________________________
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