<div class="gmail_quote">Hi,<br><br>I&#39;ve recently buyed a Toshiba Qosmio F50-10Q with a Yuan MC770 DVB-T (1164:0871) and I tried to make it work,<br>operation which ended quite satisfactory.<br><br>So i would like to share my patch with your team.<br>

<br>I&#39;m running Linux kernel 2.6.28, using distro Debian Lenny and Kaffeine as a TV viewer.<br><br>I&#39;ve downloaded the actual status of the mercurial at <a href="http://linuxtv.org/hg/v4l-dvb" target="_blank">http://linuxtv.org/hg/v4l-dvb</a> and modified the source to add this device.<br>

<br>So I compiled the drivers and did overwrite (make install) the current kernel modules.<br><br>I placed the firmware files dvb-usb-dib0700-1.20.fw and xc3028-v27.fw in /lib/firmware.<br><br>So now everything is working quite fine.<br>

<br>Best regards,<br><br>Xoan Loureiro (Vigo / Spain)<br><br>diff -r a4843e1304e6 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c<br>--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c    Sun Feb 22 18:00:00 2009 -0000<br>

+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c    Sun Feb 22 18:00:00 2009 +0000<br>@@ -1419,6 +1419,7 @@ struct usb_device_id dib0700_usb_id_tabl<br>    { USB_DEVICE(USB_VID_TERRATEC,    USB_PID_TERRATEC_CINERGY_T_EXPRESS) },<br>

    { USB_DEVICE(USB_VID_TERRATEC,<br>            USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2) },<br>+    { USB_DEVICE(USB_VID_YUAN,    USB_PID_YUAN_MC770) },<br>     { 0 }        /* Terminating entry */<br> };<br> MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);<br>

@@ -1729,7 +1730,7 @@ struct dvb_usb_device_properties dib0700<br>             },<br>         },<br> <br>-        .num_device_descs = 5,<br>+        .num_device_descs = 7,<br>         .devices = {<br>             {   &quot;Terratec Cinergy HT USB XE&quot;,<br>

                 { &amp;dib0700_usb_id_table[27], NULL },<br>@@ -1725,6 +1726,10 @@ struct dvb_usb_device_properties dib0700<br>                 { &amp;dib0700_usb_id_table[39], NULL },<br>                 { NULL },<br>             },<br>

+            {   &quot;YUAN High-Tech MC770&quot;,<br>+                { &amp;dib0700_usb_id_table[44], NULL },<br>+                { NULL },<br>+            },<br>         },<br>         .rc_interval      = DEFAULT_RC_INTERVAL,<br>

         .rc_key_map       = dib0700_rc_keys,<br>diff -r a4843e1304e6 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h<br>--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c    Sun Feb 22 18:00:00 2009 -0000<br>+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h    Sun Feb 22 18:00:00 2009 +0000<br>

@@ -233,6 +232,7 @@<br> #define USB_PID_ASUS_U3100                0x173f<br> #define USB_PID_YUAN_EC372S                0x1edc<br> #define USB_PID_YUAN_STK7700PH                0x1f08<br>+#define USB_PID_YUAN_MC770                0x0871<br>

 #define USB_PID_DW2102                    0x2102<br> #define USB_PID_XTENSIONS_XD_380            0x0381<br> #define USB_PID_TELESTAR_STARSTICK_2            0x8000<br><br>Bus 007 Device 002: ID 1164:0871 YUAN High-Tech Development Co., Ltd <br>

Device Descriptor:                                                   <br>  bLength                18                                          <br>  bDescriptorType         1                                          <br>  bcdUSB               2.00                                          <br>

  bDeviceClass            0 (Defined at Interface level)             <br>  bDeviceSubClass         0                                          <br>  bDeviceProtocol         0                                          <br>  bMaxPacketSize0        64                                          <br>

  idVendor           0x1164 YUAN High-Tech Development Co., Ltd      <br>  idProduct          0x0871                                          <br>  bcdDevice            1.00                                          <br>  iManufacturer           1 YUANRD                                   <br>

  iProduct                2 STK7700D                                 <br>  iSerial                 3 0000000001                               <br>  bNumConfigurations      1                                          <br>  Configuration Descriptor:                                          <br>

    bLength                 9                                        <br>    bDescriptorType         2                                        <br>    wTotalLength           46                                        <br>    bNumInterfaces          1                                        <br>

    bConfigurationValue     1                                        <br>    iConfiguration          0                                        <br>    bmAttributes         0xa0                                        <br>      (Bus Powered)                                                  <br>

      Remote Wakeup                                                  <br>    MaxPower              500mA                                      <br>    Interface Descriptor:                                            <br>      bLength                 9                                      <br>

      bDescriptorType         4                                      <br>      bInterfaceNumber        0                                      <br>      bAlternateSetting       0                                      <br>      bNumEndpoints           4                                      <br>

      bInterfaceClass       255 Vendor Specific Class                <br>      bInterfaceSubClass      0                                      <br>      bInterfaceProtocol      0                                      <br>      iInterface              0                                      <br>

      Endpoint Descriptor:                                           <br>        bLength                 7                                    <br>        bDescriptorType         5                                    <br>        bEndpointAddress     0x01  EP 1 OUT                          <br>

        bmAttributes            2                                    <br>          Transfer Type            Bulk                              <br>          Synch Type               None                              <br>          Usage Type               Data                              <br>

        wMaxPacketSize     0x0200  1x 512 bytes                      <br>        bInterval               1                                    <br>      Endpoint Descriptor:                                           <br>        bLength                 7<br>

        bDescriptorType         5<br>        bEndpointAddress     0x81  EP 1 IN<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>

        wMaxPacketSize     0x0200  1x 512 bytes<br>        bInterval               1<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x82  EP 2 IN<br>

        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0200  1x 512 bytes<br>        bInterval               1<br>

      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x83  EP 3 IN<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>

          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0200  1x 512 bytes<br>        bInterval               1<br>Device Qualifier (for other device speed):<br>
  bLength                10<br>
  bDescriptorType         6<br>  bcdUSB               2.00<br>  bDeviceClass            0 (Defined at Interface level)<br>  bDeviceSubClass         0<br>  bDeviceProtocol         0<br>  bMaxPacketSize0        64<br>  bNumConfigurations      1<br>

Device Status:     0x0000<br>  (Bus Powered)<br><br>
</div><br>