Leadtek WinFast DTV Dongle Gold

From LinuxTVWiki
Jump to navigation Jump to search

A DVB-T USB device from Leadtek.


Vendor
Device/Model
Supported ID on
Interface
Hardware Firmware Comment / Pictures URL E
Leadtek WinFast DTV Dongle Gold Yes, in kernel since 2.6.28 0413:6029 USB2.0 Afatech AF9015, NXP/Philips TDA18271 dvb-usb-af9015.fw Leadtek gold.jpg [1] Jump to the place where you can edit this entry

Overview/Features

  • Supplied with a remote control and antenna.

Components Used

Identification

There is only one variant of this device. The USB ID is:

  • 0413:6029

Driver Installation

By default on Ubuntu 8.04 or any 2.6.24 kernel the driver for the TV tuner is not supplied and must be installed separately. If you plug in the TV tuner without the driver installed only the IR sensor for the remote will be detected. dmesg output:

input: Leadtek WinFast DTV Dongle Gold as /devices/pci0000:00/0000:00:13.5/usb6/6-7/6-7:1.1/input/input7
input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast DTV Dongle Gold] on usb-0000:00:13.5-7

To install the driver you will need your kernel headers and mercurial installed, kernel headers and mercurial can be installed under Ubuntu by running :

sudo apt-get install linux-headers-generic mercurial linux-headers-$(uname -r) build-essential

"update", The af9015 is now supported under the v4l-dvb master driver (see here http://linuxtv.org/repo/ ).

To install the driver enter the following commands into a terminal:

1) hg clone http://linuxtv.org/hg/v4l-dvb
2) cd v4l-dvb/
3) make
4) sudo make install
5) cd /lib/firmware/
6) sudo wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw 

Your TV tuner's driver is installed now, to load the driver either run sudo modprobe dvb_usb_af9015 or reconnect you TV tuner. You can check that the driver is loaded correctly by running dmesg in a terminal, your out put should be similar to this:

input: Leadtek WinFast DTV Dongle Gold as /devices/pci0000:00/0000:00:13.5/usb6/6-7/6-7:1.1/input/input11
input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast DTV Dongle Gold] on usb-0000:00:13.5-7
af9015_usb_probe: interface:0
af9015_identify_state: reply:01
dvb-usb: found a 'Leadtek WinFast DTV Dongle Gold' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
af9015_download_firmware:
usbcore: registered new interface driver dvb_usb_af9015
usb 6-7: USB disconnect, address 36
dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
usb 6-7: new high speed USB device using ehci_hcd and address 37
usb 6-7: configuration #1 chosen from 1 choice
af9015_usb_probe: interface:0
af9015_identify_state: reply:02
dvb-usb: found a 'Leadtek WinFast DTV Dongle Gold' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Leadtek WinFast DTV Dongle Gold)
af9015_eeprom_dump:
00: 31 c2 bb 0b 00 00 00 00 13 04 29 60 00 02 01 02 
10: 00 80 00 fa fa 10 40 ef 01 30 31 30 31 30 32 30 
20: 35 30 35 30 30 30 30 31 ff ff ff ff ff ff ff ff 
30: 00 00 3a 01 00 08 02 00 cc 10 00 00 9c ff ff ff 
40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff 
50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 4c 00 
60: 65 00 61 00 64 00 74 00 65 00 6b 00 30 03 57 00 
70: 69 00 6e 00 46 00 61 00 73 00 74 00 20 00 44 00 
80: 54 00 56 00 20 00 44 00 6f 00 6e 00 67 00 6c 00 
90: 65 00 20 00 47 00 6f 00 6c 00 64 00 20 03 30 00 
a0: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00 
b0: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff 
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
af9015_read_config: TS mode:0
af9015_read_config: xtal:2 set adc_clock:28000
af9015_read_config: IF1:4300
af9015_read_config: MT2060 IF1:0
af9015_read_config: tuner id1:156
af9015_read_config: spectral inversion:0
af9013: firmware version:4.95.0
DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
af9015_tuner_attach: 
tda18271 7-00c0: creating new instance
TDA18271HD/C1 detected @ 7-00c0
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Leadtek WinFast DTV Dongle Gold)
dvb-usb: no frontend was attached by 'Leadtek WinFast DTV Dongle Gold'
dvb-usb: Leadtek WinFast DTV Dongle Gold successfully initialized and connected.
af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:
input: Leadtek WinFast DTV Dongle Gold as /devices/pci0000:00/0000:00:13.5/usb6/6-7/6-7:1.1/input/input12
input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast DTV Dongle Gold] on usb-0000:00:13.5-7

Also if you run ls /dev/dvb/ in a terminal you should see a new dvb adapter.

Firmware Versions

The above instructions work with 4.65 firmware. With the 4.95 firmware channels will not lock. This can be fixed with a couple of minor code changes/text edits and recompiling the code. Instructions are here: [2]

Remote

This dongle comes with the Y04G0051 remote. Newer versions of this remote don't work out of the box. While they are recognized when pressing a key it repeats until another key is pressed - which makes this remote unusable. There is a solution here:

[3]

open "/etc/modprobe.d/usbhid.conf" add "option usbhid quirks=0x0413:0x6029:0x04" run "sudo depmod -ae" run "sudo update-initramfs -u" restart

The faulty usbhid driver is now disabled. Next step is to add the remote via lirc as outline here: [4]

This will enable your remote which you can test by running "irw"

To link the remote commands you still need to map them to mythtv commands. [5]

Troubleshooting

  • Problem: You have followed the step's above but when you run ls /dev/dvb/ there is no new adapter and your dmesg output is similar to this:
usb 6-7: new high speed USB device using ehci_hcd and address 31
usb 6-7: configuration #1 chosen from 1 choice
input: Leadtek WinFast DTV Dongle Gold as /devices/pci0000:00/0000:00:13.5/usb6/6-7/6-7:1.1/input/input8
input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast DTV Dongle Gold] on usb-0000:00:13.5-7
af9015_usb_probe: interface:0
af9015_identify_state: reply:01
dvb-usb: found a 'Leadtek WinFast DTV Dongle Gold' in cold state, will try to load a firmware
dvb-usb: did not find the firmware file. (dvb-usb-af9015.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
dvb_usb_af9015: probe of 6-7:1.0 failed with error -2
usbcore: registered new interface driver dvb_usb_af9015
  • Solution: You have not installed the firmware correctly, please rerun steps 5 and 6 of the installation procedure, if the firmware is unavailable you may have to retrieve a copy from another location.

External Links