[linux-dvb] New Leadtek Winfast DTV Dongle working - with mods but no RC

Keith Bannister keith.bannister at gmail.com
Tue Dec 18 06:28:26 CET 2007


Hi,

I just bought a new Leadtek Winfast DTV Dongle. It works with mods to the
driver but the remote only allows one keypress.

First, the dvb subsystem didn't even recognise it. My /var/log/messages only
had
Dec 17 23:17:37 oscar kernel: [ 1123.396057] usb 5-3: USB disconnect,
address 7
Dec 17 23:17:40 oscar kernel: [ 1127.025373] usb 5-3: new high speed USB
device using ehci_hcd and address 8
Dec 17 23:17:40 oscar kernel: [ 1127.158401] usb 5-3: configuration #1
chosen from 1 choice

when I connected the stick.

I hopped onto the IRC channel and crope` (thanks mate) advised me to change
dvb-usb-ids.h to

#define USB_PID_WINFAST_DTV_DONGLE_STK7700P        0x6f01

_ds_ recommended this firmware
http://www.wi-bw.tfh-wildau.de/~pboettch/home/linux-dvb-firmware/dvb-usb-dib0700-1.10.fw
<http://www.wi-bw.tfh-wildau.de/%7Epboettch/home/linux-dvb-firmware/dvb-usb-dib0700-1.10.fw>

Which works much better and I get a log that looks like

   1. Dec 18 02:16:13 oscar kernel: [11829.495158] usb 5-3: USB
   disconnect, address 26
   2. Dec 18 02:16:16 oscar kernel: [11833.050232 ] usb 5-3: new high
   speed USB device using ehci_hcd and address 27
   3. Dec 18 02:16:17 oscar kernel: [11833.183117] usb 5-3: configuration
   #1 chosen from 1 choice
   4. Dec 18 02 :16:17 oscar kernel: [11833.183361] dvb-usb: found a
   'Leadtek Winfast DTV Dongle (STK7700P based)' in cold state, will try
   to load a firmware
   5. Dec 18 02:16 :17 oscar kernel: [11833.188944] dvb-usb: downloading
   firmware from file 'dvb-usb-dib0700-1.10 .fw'
   6. Dec 18 02:16:17 oscar kernel: [ 11833.392443] dib0700: firmware
   started successfully.
   7. Dec 18 02:16: 17 oscar kernel: [11833.893458] dvb-usb: found a
   'Leadtek Winfast DTV Dongle (STK7700P based )' in warm state.
   8. Dec 18 02:16:17 oscar kernel: [ 11833.893544] dvb-usb: will pass
   the complete MPEG2 transport stream to the software demuxer.
   9. Dec 18 02:16:17 oscar kernel: [11833.893776] DVB: registering new
   adapter (Leadtek Winfast DTV Dongle (STK7700P based))
   10. Dec 18 02:16:18 oscar kernel: [11834.238046] DVB: registering
   frontend 0 (DiBcom 7000PC)...
   11. Dec 18 02:16:18 oscar kernel: [11834.241796] MT2060: successfully
   identified (IF1 = 1220 )
   12. Dec 18 02:16:18 oscar kernel: [ 11834.720027] input: IR-receiver
   inside an USB DVB receiver as /class/input/input12
   13. Dec 18 02: 16:18 oscar kernel: [11834.720063] dvb-usb: schedule
   remote query interval to 150 msecs.
   14. Dec 18 02:16:18 oscar kernel: [11834.720067 ] dvb-usb: Leadtek
   Winfast DTV Dongle (STK7700P based) successfully initialized and
   connected.


I'm able to scan and get video & audio so I assume that side of everything
is working.

Advised again by _ds_ I checked out the remote control. Which doesn't work
that well. It only registers one keypress. Any subsequent keypresses appear
to be ignored. If I disconnect/reconnect I get one more keypress.

/proc/bus/input/devices contains

I: Bus=0003 Vendor=0413 Product=6f01 Version=0002
N: Name="IR-receiver inside an USB DVB receiver"
P: Phys=usb-0000:00:10.4-3/ir0
S: Sysfs=/class/input/input19
U: Uniq=
H: Handlers=kbd event10
B: EV=3
B: KEY=14afc336 284284d 0 0 0 4 80058000 2190 40000801 9e96c0 0 900200 ffd

Evtest shows the following, if I press "1" but doesn't display anything
after the initial keypress

root at oscar:/home/keith/dvb/linuxtv-dvb-apps-1.1.1/util/av7110_loadkeys#
./evtest /dev/input/event10
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x413 product 0x6f01 version 0x2
Input device name: "IR-receiver inside an USB DVB receiver"
Supported events:
  Event type 0 (Reset)
    Event code 0 (Reset)
    Event code 1 (Key)
  Event type 1 (Key)
    Event code 0 (Reserved)
    Event code 2 (1)
    Event code 3 (2)
    Event code 4 (3)
    Event code 5 (4)
    Event code 6 (5)
    Event code 7 (6)
    Event code 8 (7)
    Event code 9 (8)
    Event code 10 (9)
    Event code 11 (0)
    Event code 41 (Grave)
    Event code 52 (Dot)
    Event code 55 (KPAsterisk)
    Event code 102 (Home)
    Event code 103 (Up)
    Event code 105 (Left)
    Event code 106 (Right)
    Event code 108 (Down)
    Event code 111 (Delete)
    Event code 113 (Mute)
    Event code 114 (VolumeDown)
    Event code 115 (VolumeUp)
    Event code 116 (Power)
    Event code 119 (Pause)
    Event code 128 (Stop)
    Event code 139 (Menu)
    Event code 158 (Back)
    Event code 164 (PlayPause)
    Event code 167 (Record)
    Event code 168 (Rewind)
    Event code 173 (Refresh)
    Event code 207 (?)
    Event code 208 (?)
    Event code 210 (?)
    Event code 223 (?)
    Event code 226 (?)
    Event code 352 (Ok)
    Event code 354 (Goto)
    Event code 355 (Clear)
    Event code 358 (Info)
    Event code 363 (Channel)
    Event code 365 (EPG)
    Event code 370 (Subtitle)
    Event code 375 (Screen)
    Event code 377 (TV)
    Event code 385 (Radio)
    Event code 386 (Tuner)
    Event code 388 (Text)
    Event code 389 (DVD)
    Event code 392 (Audio)
    Event code 393 (Video)
    Event code 398 (Red)
    Event code 399 (Green)
    Event code 400 (Yellow)
    Event code 401 (Blue)
    Event code 402 (ChannelUp)
    Event code 403 (ChannelDown)
    Event code 405 (Last)
    Event code 407 (Play)
    Event code 410 (Shuffle)
    Event code 412 (Previous)
Testing ... (interrupt to exit)
Event: time 1197906239.257060, type 1 (Key), code 2 (1), value 1
Event: time 1197906239.257063, type 1 (Key), code 2 (1), value 0
Event: time 1197906239.257064, type 0 (Reset), code 0 (Reset), value 0
1


I'm running drivers downloaded using mercurial according to the wiki
instructions. I'm running Ubuntu 7.10 (Gutsy)

Here's some more info:

# uname -a
Linux oscar 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
GNU/Linux


root at oscar:/home/keith/dvb# lsusb -v -d 0413:6f01

Bus 005 Device 024: ID 0413:6f01 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          0x6f01
  bcdDevice            0.02
  iManufacturer           1 Leadtek
  iProduct                2 DTV Dongle
  iSerial                 3 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      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               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
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      1
Device Status:     0x0000
  (Bus Powered)


Photos are here:
http://picasaweb.google.com/keith.bannister/LeatekWinfastDTVDongle

The stick appears to have an MT2060F and DiBcom 7700C1-ACXXa-G.

The windows XP drivers downloaded from
ftp://ftp.leadtek.com.tw/tv_tuner/DTV_Dongle/20071019/DIB7700_v3900_32.zip
has only a single .sys file ( mod7700.sys) and the relevant inf file
"6025(DIB7700).inf" treats the original 6F00 ID with exactly same parameters
as the new 6F01 ID.

The only hint I could find is that the 6F01 is commented as DIB7700C1
whereas the 6F00 is commented as DIB7700B.

Cheers,

-- 
Keith Bannister
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20071218/7461a6d4/attachment-0001.htm 


More information about the linux-dvb mailing list