[PATCH] Emtec S810 (1164:2edc) support

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

 



Adds support for Emtec S810 (1164:2edc device id) dvb-t usb stick to
dib0700. Here is there relevant line from lsusb:
Bus 004 Device 003: ID 1164:2edc YUAN High-Tech Development Co., Ltd 
Patch against latest v4l-dvb tree (pulled about half an hour ago).

Signed-off-by: Filippo Argiolas <filippo.argiolas@xxxxxxxxx>

Thanks to Luca Borore (the device owner) for the help and feedback given
on irc while testing the patch.

Best Regards,

Filippo
diff -r 55f8fcf70843 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Thu Oct 30 08:07:44 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Sat Nov 01 15:31:00 2008 +0100
@@ -1256,6 +1256,7 @@
 	{ USB_DEVICE(USB_VID_ASUS,	USB_PID_ASUS_U3000H) },
 /* 40 */{ USB_DEVICE(USB_VID_PINNACLE,  USB_PID_PINNACLE_PCTV801E) },
 	{ USB_DEVICE(USB_VID_PINNACLE,  USB_PID_PINNACLE_PCTV801E_SE) },
+	{ USB_DEVICE(USB_VID_YUAN,      USB_PID_EMTEC_S810) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1450,7 +1451,7 @@
 			},
 		},
 
-		.num_device_descs = 9,
+		.num_device_descs = 10,
 		.devices = {
 			{   "DiBcom STK7070P reference design",
 				{ &dib0700_usb_id_table[15], NULL },
@@ -1488,6 +1489,11 @@
 				{ &dib0700_usb_id_table[33], NULL },
 				{ NULL },
 			},
+			{   "Emtec S810",
+				{ &dib0700_usb_id_table[42], NULL },
+				{ NULL },
+			},
+
 		},
 
 		.rc_interval      = DEFAULT_RC_INTERVAL,
diff -r 55f8fcf70843 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Thu Oct 30 08:07:44 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Sat Nov 01 15:31:00 2008 +0100
@@ -229,6 +229,7 @@
 #define USB_PID_ASUS_U3100				0x173f
 #define USB_PID_YUAN_EC372S				0x1edc
 #define USB_PID_YUAN_STK7700PH				0x1f08
+#define USB_PID_EMTEC_S810     			0x2edc
 #define USB_PID_DW2102					0x2102
 #define USB_PID_XTENSIONS_XD_380			0x0381
 #define USB_PID_TELESTAR_STARSTICK_2			0x8000
diff -r 55f8fcf70843 linux/drivers/media/dvb/dvb-usb/dvb-usb.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb.h	Thu Oct 30 08:07:44 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb.h	Sat Nov 01 15:31:00 2008 +0100
@@ -224,7 +224,7 @@
 	int generic_bulk_ctrl_endpoint;
 
 	int num_device_descs;
-	struct dvb_usb_device_description devices[9];
+	struct dvb_usb_device_description devices[10];
 };
 
 /**

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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