Re: [linux-dvb] Re : Gigabyte u7000 usb dvb-t support ?

2007-11-10 Thread Patrick Boettcher
Merci, committed.

Patrick.

On Tue, 6 Nov 2007, dominik wrote:

 Sorry for spamming and replying in the wrong place,
 I did forget the attached file
 
 @+
 dom
 
 

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


[linux-dvb] Re : Gigabyte u7000 usb dvb-t support ?

2007-11-06 Thread dominik
Thanks to Olivier,

I was trying to get it working but I did a mistake putting the cards in
the generic section. Putting it in stk section did it :-)
I got it to work. I attached the hg diff.

Using dvb-apps from hg gives me a Unable to query frontend status.
For scanning, I'm using gentoo ebuild named
media-tv/linuxtv-dvb-apps-1.1.1.20070924 together with the file fr-Paris
from hg dvb-apps worked.

I am able to watch tv through mplayer using :
mplayer dvb://France 4 -vf pp=lbreset



@+
dom

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


[linux-dvb] Re : Gigabyte u7000 usb dvb-t support ?

2007-11-06 Thread dominik
Sorry for spamming and replying in the wrong place,
I did forget the attached file

@+
dom

diff -r a4122c9c5a5d linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Thu Nov 01 22:52:58 2007 -0200
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Tue Nov 06 13:05:17 2007 +0100
@@ -821,6 +821,7 @@ struct usb_device_id dib0700_usb_id_tabl
 		{ USB_DEVICE(USB_VID_PINNACLE,  USB_PID_PINNACLE_PCTV_DUAL_DIVERSITY_DVB_T) },
 		{ USB_DEVICE(USB_VID_COMPRO,USB_PID_COMPRO_VIDEOMATE_U500_PC) },
 /* 20 */{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_EXPRESS) },
+/* 21 */{ USB_DEVICE(USB_VID_GIGABYTE, USB_PID_GIGABYTE_U7000) },
 		{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -862,7 +863,7 @@ struct dvb_usb_device_properties dib0700
 			},
 		},
 
-		.num_device_descs = 7,
+		.num_device_descs = 8,
 		.devices = {
 			{   DiBcom STK7700P reference design,
 { dib0700_usb_id_table[0], dib0700_usb_id_table[1] },
@@ -890,6 +891,11 @@ struct dvb_usb_device_properties dib0700
 			},
 			{   AVerMedia AVerTV DVB-T Express,
 { dib0700_usb_id_table[20] },
+{ NULL },
+			},
+			/* dom : pour Gigabyte U7000 */
+			{   Gigabyte U7000,
+{ dib0700_usb_id_table[21], NULL },
 { NULL },
 			}
 		},
@@ -961,7 +967,7 @@ struct dvb_usb_device_properties dib0700
 			{   DiBcom STK7700D reference design,
 { dib0700_usb_id_table[14], NULL },
 { NULL },
-			},
+			}
 		},
 
 		.rc_interval  = DEFAULT_RC_INTERVAL,
@@ -1024,7 +1030,7 @@ struct dvb_usb_device_properties dib0700
 			{   Pinnacle PCTV Dual DVB-T Diversity Stick,
 { dib0700_usb_id_table[18], NULL },
 { NULL },
-			},
+			}
 		}
 	},
 };
diff -r a4122c9c5a5d linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Thu Nov 01 22:52:58 2007 -0200
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Tue Nov 06 12:58:14 2007 +0100
@@ -44,6 +44,9 @@
 #define USB_VID_ULTIMA_ELECTRONIC		0x05d8
 #define USB_VID_UNIWILL0x1584
 #define USB_VID_WIDEVIEW			0x14aa
+/* dom : pour gigabyte u7000 */
+#define USB_VID_GIGABYTE			0x1044
+
 
 /* Product IDs */
 #define USB_PID_ADSTECH_USB2_COLD			0xa333
@@ -69,6 +72,7 @@
 #define USB_PID_DIBCOM_STK7700P0x1e14
 #define USB_PID_DIBCOM_STK7700P_PC			0x1e78
 #define USB_PID_DIBCOM_STK7700D0x1ef0
+#define USB_PID_DIBCOM_STK7700_U7000			0x7001
 #define USB_PID_DIBCOM_STK7070P0x1ebc
 #define USB_PID_DIBCOM_STK7070PD			0x1ebe
 #define USB_PID_DIBCOM_ANCHOR_2135_COLD			0x2131
@@ -170,6 +174,7 @@
 #define USB_PID_OPERA1_WARM0x3829
 #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_COLD		0x0514
 #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_WARM		0x0513
-
+/* dom pour gigabyte u7000 */
+#define USB_PID_GIGABYTE_U70000x7001
 
 #endif
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb