PATCH Yuan EC372S support added

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

 



Hi, here is a patch which adds support for Yuan EC372S card. According to Michel, it works perfectly, according to Antti it gives timeouts.
Please olivier sign-off-by this patch since you did most of the work with the stk7700p2 modification.

Signed-off-by: Albert Comerma <albert.comerma@xxxxxxxxx>

Albert
diff -crB v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c v4l-yuan/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
*** v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-03-18 18:49:45.000000000 +0100
--- v4l-yuan/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-03-18 20:14:28.000000000 +0100
***************
*** 905,910 ****
--- 905,911 ----
  		{ USB_DEVICE(USB_VID_ASUS,      USB_PID_ASUS_U3100) },
  /* 25 */	{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_3) },
  		{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_MYTV_T) },
+ 		{ USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_EC372S) },
  		{ 0 }		/* Terminating entry */
  };
  MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
***************
*** 1069,1080 ****
  			},
  		},
  
! 		.num_device_descs = 1,
  		.devices = {
  			{   "ASUS My Cinema U3000 Mini DVBT Tuner",
  				{ &dib0700_usb_id_table[23], NULL },
  				{ NULL },
  			},
  		}
  	}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
  
--- 1070,1085 ----
  			},
  		},
  
! 		.num_device_descs = 2,
  		.devices = {
  			{   "ASUS My Cinema U3000 Mini DVBT Tuner",
  				{ &dib0700_usb_id_table[23], NULL },
  				{ NULL },
  			},
+                         {   "Yuan EC372S",
+                                 { &dib0700_usb_id_table[27], NULL },
+                                 { NULL },
+                         }
  		}
  	}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
  
diff -crB v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h v4l-yuan/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
*** v4l-dvb-orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-03-18 18:49:45.000000000 +0100
--- v4l-yuan/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-03-18 20:10:28.000000000 +0100
***************
*** 46,53 ****
  #define USB_VID_ULTIMA_ELECTRONIC		0x05d8
  #define USB_VID_UNIWILL				0x1584
  #define USB_VID_WIDEVIEW			0x14aa
- /* dom : pour gigabyte u7000 */
  #define USB_VID_GIGABYTE			0x1044
  
  
  /* Product IDs */
--- 46,54 ----
  #define USB_VID_ULTIMA_ELECTRONIC		0x05d8
  #define USB_VID_UNIWILL				0x1584
  #define USB_VID_WIDEVIEW			0x14aa
  #define USB_VID_GIGABYTE			0x1044
+ #define USB_VID_YUAN                            0x1164
+ 
  
  
  /* Product IDs */
***************
*** 183,191 ****
  #define USB_PID_OPERA1_WARM				0x3829
  #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_U7000				0x7001
  #define USB_PID_ASUS_U3000				0x171f
  #define USB_PID_ASUS_U3100				0x173f
  
  #endif
--- 184,193 ----
  #define USB_PID_OPERA1_WARM				0x3829
  #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_COLD		0x0514
  #define USB_PID_LIFEVIEW_TV_WALKER_TWIN_WARM		0x0513
  #define USB_PID_GIGABYTE_U7000				0x7001
  #define USB_PID_ASUS_U3000				0x171f
  #define USB_PID_ASUS_U3100				0x173f
+ #define USB_PID_YUAN_EC372S                             0x1edc
+ 
  
  #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