public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Wolf <daniel.wolf@2moove.de>
To: video4linux-list@redhat.com
Subject: [PATCH] Support for DVB-T USB Device Emtec S810
Date: Tue, 04 Mar 2008 21:47:49 +0100	[thread overview]
Message-ID: <47CDB575.1080706@2moove.de> (raw)

Description:

This Patch is for supporting the DVB-T USB Device "Emtec S810". Probably 
it also support the "Intuix S810" device because it appears to be the 
same. But i can´t guarantee it because i don´t have this device physically.

lsusb gives:
Bus 005 Device 002: ID 1164:2edc YUAN High-Tech Development Co., Ltd
------------------------------------------------------

Patch 1:

--- linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h    2008-03-04 
21:24:05.000000000 +0100
+++ linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h_patched    2008-03-04 
21:23:31.000000000 +0100
@@ -46,6 +46,7 @@
 #define USB_VID_ULTIMA_ELECTRONIC        0x05d8
 #define USB_VID_UNIWILL                0x1584
 #define USB_VID_WIDEVIEW            0x14aa
+#define USB_VID_YUANRD           0x1164
 /* dom : pour gigabyte u7000 */
 #define USB_VID_GIGABYTE            0x1044
 
@@ -187,5 +188,6 @@
 #define USB_PID_GIGABYTE_U7000                0x7001
 #define USB_PID_ASUS_U3000                0x171f
 #define USB_PID_ASUS_U3100                0x173f
+#define USB_PID_YUANRD_STK7700D     0x2edc
 
 #endif
--------------------------------------------------------

Patch 2:

--- linux/drivers/media/dvb/dvb-usb/dib0700_devices.c    2008-03-04 
21:24:05.000000000 +0100
+++ linux/drivers/media/dvb/dvb-usb/dib0700_devices.c_patched    
2008-03-04 21:23:05.000000000 +0100
@@ -905,6 +905,7 @@ struct usb_device_id dib0700_usb_id_tabl
         { 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_YUANRD, USB_PID_YUANRD_STK7700D) },
         { 0 }        /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1123,6 +1124,28 @@ struct dvb_usb_device_properties dib0700
         .rc_key_map_size  = ARRAY_SIZE(dib0700_rc_keys),
         .rc_query         = dib0700_rc_query
 
+    },  { DIB0700_DEFAULT_DEVICE_PROPERTIES,
+
+        .num_adapters = 1,
+        .adapter = {
+            {
+                .frontend_attach  = stk7070p_frontend_attach,
+                .tuner_attach     = dib7070p_tuner_attach,
+
+                DIB0700_DEFAULT_STREAMING_CONFIG(0x02),
+
+                .size_of_priv     = sizeof(struct dib0700_adapter_state),
+            },
+        },
+
+        .num_device_descs = 1,
+        .devices = {
+            {   "Emtec S810",
+                { &dib0700_usb_id_table[27], NULL },
+                { NULL },
+            },
+        },
+
     }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
 
         .num_adapters = 2,
--------------------------------------------------------------

Signed-off-by: Daniel Wolf <daniel.wolf@2moove.de>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

                 reply	other threads:[~2008-03-04 20:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47CDB575.1080706@2moove.de \
    --to=daniel.wolf@2moove.de \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox