Leadtek WinFast DTV Dongle Gold: Difference between revisions
(Why the list of devices here) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
A [[DVB-T]] [[DVB-T USB Devices|USB device]] from [[Leadtek]]. |
A [[DVB-T]] [[DVB-T USB Devices|USB device]] from [[Leadtek]]. |
||
{{Device_List_Medium_Detail/Header |
|||
| content = |
|||
{{USB_Device_Data |
|||
|renderwith=Device_List_Medium_Detail/Row |
|||
|selatt1=did |
|||
|selval1=leadtek-dtv-gold |
|||
}} |
|||
}} |
|||
==Overview/Features== |
==Overview/Features== |
||
Line 108: | Line 99: | ||
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: |
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: |
||
http://www.linuxtv.org/wiki/index.php/Leadtek_WinFast_DTV2000DS |
|||
==Remote== |
==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: |
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: http://kuc.cz/egoz8c |
||
[http://nickschicht.wordpress.com/2010/05/13/installing-a-leadtek-dtv-dongle-gold-usb-tuner/] |
|||
open "/etc/modprobe.d/usbhid.conf" |
open "/etc/modprobe.d/usbhid.conf" |
||
add " |
add "options usbhid quirks=0x0413:0x6029:0x04" |
||
run "sudo depmod -ae" |
run "sudo depmod -ae" |
||
run "sudo update-initramfs -u" |
run "sudo update-initramfs -u" |
||
Line 123: | Line 112: | ||
The faulty usbhid driver is now disabled. Next step is to add the remote via lirc as outline here: |
The faulty usbhid driver is now disabled. Next step is to add the remote via lirc as outline here: |
||
http://www.linuxtv.org/wiki/index.php/Leadtek_WinFast_DTV2000DS |
|||
This will enable your remote which you can test by running "irw" |
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. |
To link the remote commands you still need to map them to mythtv commands. |
||
http://cafuego.net/2009/12/13/leadtek-y04g0051 |
|||
==Remote - alternative key binding== |
|||
I learned how to this on XMBC site: |
|||
[http://forum.xbmc.org/showthread.php?tid=101151] |
|||
You can use Y04G0051 without lirc, so purge '''lirc''' and install '''ir-keytable''', next commands are for Ubuntu. Also, you need '''linux-firmware-nonfree''' |
|||
sudo aptitude purge lirc |
|||
sudo aptitude install ir-keytable |
|||
Then you neet to copy file '''rc6_mce''' which i uploaded, into /etc/rc_keymaps/ like so: |
|||
cd /etc/rc_keymaps/ |
|||
wget http://dl.dropboxusercontent.com/u/12063254/dulezite/rc6_mce |
|||
You can change functions of any button open it with editor of your choice (nano, gedit, kate...): |
|||
sudo kate /etc/rc_keymaps/rc6_mce |
|||
You will probably want too cause Gnome doesnt support many buttons from our remote, list of all posible key-codes is here: |
|||
[http://dl.dropboxusercontent.com/u/12063254/dulezite/KEY_CODES] |
|||
Then, you just run this: |
|||
sudo /usr/bin/ir-keytable -p NEC,RC6 -w /etc/rc_keymaps/rc6_mce |
|||
And everything should work now. |
|||
==Troubleshooting== |
==Troubleshooting== |
Latest revision as of 09:03, 11 January 2015
A DVB-T USB device from Leadtek.
Overview/Features
- Supplied with a remote control and antenna.
Components Used
- Afatech AF9015 demodulator and USB bridge
- NXP/Philips TDA18271 tuner
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: http://www.linuxtv.org/wiki/index.php/Leadtek_WinFast_DTV2000DS
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: http://kuc.cz/egoz8c
open "/etc/modprobe.d/usbhid.conf" add "options 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: http://www.linuxtv.org/wiki/index.php/Leadtek_WinFast_DTV2000DS
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. http://cafuego.net/2009/12/13/leadtek-y04g0051
Remote - alternative key binding
I learned how to this on XMBC site: [1]
You can use Y04G0051 without lirc, so purge lirc and install ir-keytable, next commands are for Ubuntu. Also, you need linux-firmware-nonfree
sudo aptitude purge lirc sudo aptitude install ir-keytable
Then you neet to copy file rc6_mce which i uploaded, into /etc/rc_keymaps/ like so:
cd /etc/rc_keymaps/ wget http://dl.dropboxusercontent.com/u/12063254/dulezite/rc6_mce
You can change functions of any button open it with editor of your choice (nano, gedit, kate...):
sudo kate /etc/rc_keymaps/rc6_mce
You will probably want too cause Gnome doesnt support many buttons from our remote, list of all posible key-codes is here: [2]
Then, you just run this:
sudo /usr/bin/ir-keytable -p NEC,RC6 -w /etc/rc_keymaps/rc6_mce
And everything should work now.
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.