Leadtek WinFast DTV Dongle Mini D: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (moved Leadtek Winfast DTV Dongle Mini D to Leadtek WinFast DTV Dongle Mini D: I got the capitalization wrong!)
 
Line 90: Line 90:
==Making it Work==
==Making it Work==


Support for this device is patchy. It does not work out-of-the-box on linux version 3.2.0-32 or 3.5.0-25. However, the current experimental media build works if the device ID is added to linux/drivers/media/usb/dvb-usb-v2/rtl28xxu.c .
This device is supported by the current linuxtv media_build. It does not work out-of-the-box on linux version 3.13.0-24 or earlier. Current linux drivers should work if a patch similar to the following is applied

The following patch should do that for you.


diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h
diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h

Latest revision as of 03:03, 14 April 2014

Leadtek Winfast Mini-D

A DVB-T USB Adapter from Leadtek.

The Winfast DTV Dongle Mini D is supported by various third party driver collections and after certain edits.


Overview/Features

  • USB interface
  • Inputs: MCX (Micro Co-Axial) Antenna Socket
  • Bundle: Supplied with MCX to Belling lee (or other depending on region) adapter.
    • Miniature Aerial.
    • Miniature remote and battery.
    • Short USB extension cable.

Components Used

Other Images

Identification

Bus 001 Device 002: ID 0413:6f0f Leadtek Research, Inc. 
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0 
 bDeviceProtocol         0 
 bMaxPacketSize0        64
 idVendor           0x0413 Leadtek Research, Inc.
 idProduct          0x6f0f 
 bcdDevice            1.00
 iManufacturer           1 realtek
 iProduct                2 WinFast Dongle mini D
 iSerial                 0 
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          4 USB2.0-Bulk&Iso
   bmAttributes         0x80
     (Bus Powered)
   MaxPower              500mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface              5 Bulk-In, Interface
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
Device Qualifier (for other device speed):
 bLength                10
 bDescriptorType         6
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0 
 bDeviceProtocol         0 
 bMaxPacketSize0        64
 bNumConfigurations      2
Device Status:     0x0000
 (Bus Powered)

Making it Work

This device is supported by the current linuxtv media_build. It does not work out-of-the-box on linux version 3.13.0-24 or earlier. Current linux drivers should work if a patch similar to the following is applied

diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h
index 399e104..71de041 100644
--- a/drivers/media/dvb-core/dvb-usb-ids.h
+++ b/drivers/media/dvb-core/dvb-usb-ids.h
@@ -318,6 +318,7 @@
 #define USB_PID_WINFAST_DTV_DONGLE_H                   0x60f6
 #define USB_PID_WINFAST_DTV_DONGLE_STK7700P_2          0x6f01
 #define USB_PID_WINFAST_DTV_DONGLE_GOLD                        0x6029
+#define USB_PID_WINFAST_DTV_DONGLE_MINID               0x6f0f
 #define USB_PID_GENPIX_8PSK_REV_1_COLD                 0x0200
 #define USB_PID_GENPIX_8PSK_REV_1_WARM                 0x0201
 #define USB_PID_GENPIX_8PSK_REV_2                      0x0202
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index d98387a..4a0ff4f 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -1358,6 +1358,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
                &rtl2832u_props, "Dexatek DK DVB-T Dongle", NULL) },
        { DVB_USB_DEVICE(USB_VID_LEADTEK, 0x6680,
                &rtl2832u_props, "DigitalNow Quad DVB-T Receiver", NULL) },
+       { DVB_USB_DEVICE(USB_VID_LEADTEK, USB_PID_WINFAST_DTV_DONGLE_MINID,
+               &rtl2832u_props, "Leadtek Winfast DTV Dongle Mini D", NULL) },
        { DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00d3,
                &rtl2832u_props, "TerraTec Cinergy T Stick RC (Rev. 3)", NULL) },
        { DVB_USB_DEVICE(USB_VID_DEXATEK, 0x1102, 


Firmware

The stock firmware in the default tree works fine for this device.

Drivers

The driver that works with this device is dvb_usb_rtl28xxu, in the experimental media_build tree. Adding the Product ID to recent kernels with this driver has not been tried.

Sample Kernel Output

[ 8961.388767] dvb-usb: found a 'USB DVB-T Device' in warm state.
[ 8961.388773] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 8961.390414] DVB: registering new adapter (USB DVB-T Device)
[ 8961.390450] IR NEC protocol handler initialized
[ 8961.392375] IR RC5(x) protocol handler initialized
[ 8961.393674] IR RC6 protocol handler initialized
[ 8961.394921] IR JVC protocol handler initialized
[ 8961.399346] IR Sony protocol handler initialized
[ 8961.401363] IR MCE Keyboard/mouse protocol handler initialized
[ 8961.402718] lirc_dev: IR Remote Control driver registered, major 250 
[ 8961.402858] IR LIRC bridge handler initialized
[ 8961.407638] RTL2832U usb_init_bulk_setting : USB2.0 HIGH SPEED (480Mb/s)
[ 8961.635010] RTL2832U check_tuner_type : FC0012 tuner on board...
[ 8962.197130] DVB: registering adapter 2 frontend 0 (Realtek DVB-T RTL2832)...
[ 8962.197302] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/input/input11
[ 8962.198130] dvb-usb: schedule remote query interval to 287 msecs.
[ 8962.198135] dvb-usb: USB DVB-T Device successfully initialized and connected.
[ 8962.198174] usbcore: registered new interface driver dvb_usb_rtl2832u

Remote Control Support

Support for the remote control has not been tested.

External Links