This device is currently not officially supported by Linux, however it is possible to get this device working using a slightly patched version of the AF9035 driver as used in [[EzCap_DVB_T_Stick]].

+

* Supplied with a remote control and antenna.

−

== Instruction how to get the stick working ==

+

===Components used===

+

* [[Afatech AF9035]] demodulator and USB bridge

+

* Dual ITE Tech IT9135 tuners

−

Follow the instruction to get the AF903x source code archive '''AF903x.tar.gz''' in [[EzCap_DVB_T_Stick]].

+

===Identification===

−

I run kernel 3.0.1 and therefore I needed a few patched just to get the source code compiled (you may not need all of them, but they shouldn't hurt either):

+

The USB ID is:

+

* <tt>0413:6a05</tt>

+

+

==Driver Installation==

−

--- a/src/af903x.h 2009-08-14 16:17:10.000000000 +0200

+

===Afatech AF9035 demodulator and USB bridge===

−

+++ b/src/af903x.h 2011-08-13 16:49:49.799506005 +0200

+

By default the firmware driver for the Afatech AF9035 demodulator and USB bridge is not supported in the kernel and must be installed separately.

−

@@ -9,7 +9,6 @@

+

−

#include <linux/slab.h>

+

−

#include <linux/module.h>

+

−

#include <linux/kref.h>

+

−

-#include <linux/smp_lock.h>

+

−

#include <linux/usb.h>

+

−

#include <asm/uaccess.h>

+

−

#include "dvb-usb.h"

+

−

--- a/src/userdef.h 2009-08-14 16:17:10.000000000 +0200

+

−

+++ b/src/userdef.h 2011-08-01 22:56:02.626583791 +0200

+

−

@@ -8,7 +8,9 @@

+

−

typedef int INT; // 4 bytes

+

−

//typedef void * HANDLE;

+

−

+

−

+#ifndef NULL

+

−

#define NULL 0

+

−

+#endif

+

−

+

−

#ifdef IN

+

−

#undef IN

+

−

--- a/api/type.h 2009-08-14 16:17:10.000000000 +0200

+

−

+++ b/api/type.h 2011-08-01 22:54:38.197342415 +0200

+

−

@@ -3,6 +3,15 @@

+

−

+

−

#include "userdef.h"// for Linux

+

−

+

−

+#ifdef IN

+

−

+#undef IN

+

−

+#endif

+

−

+#ifdef OUT

+

−

+#undef OUT

+

−

+#endif

+

−

+#ifdef INOUT

+

−

+#undef INOUT

+

−

+#endif

+

−

#define IN

+

−

#define OUT

+

−

#define INOUT

+

−

--- a/api/usb2impl.c 2011-02-15 11:12:59.000000000 +0100

+

−

+++ b/api/usb2impl.c 2011-08-01 21:59:17.635389432 +0200

+

−

@@ -6,7 +6,6 @@

+

−

#include <linux/slab.h>

+

−

#include <linux/module.h>

+

−

#include <linux/kref.h>

+

−

-#include <linux/smp_lock.h>

+

−

#include <linux/usb.h>

+

−

#include <asm/uaccess.h>

+

−

#include <linux/device.h>

+

−

Then, here are some bug fixes to prevent deadlocks of the mutexes:

+

To install the driver you will need your kernel headers and other software requirements installed, as listed [http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Software_Requirements here]

−

--- a/src/af903x-drv.c 2009-08-14 16:17:10.000000000 +0200

+

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

Your TV tuner's demodulator and USB Bridge firmware driver is installed. The next step is to install the driver for the dual ITE Tech IT9135 tuners.

−

[[Category:DVB-T USB Devices]]

+

===Dual ITE Tech IT9135 tuners===

−

== CAPTURES USB VC-211A AND TERRATEC CINERGY 200 ==

+

To install the tuner firmware driver, enter the following commands into a terminal:

−

The devices USB Model VC-211A, which can be found with the logos of ACTionMaster, Digitus or LinXcel, were added as card = 74 in cardlist of the em28xx driver at November 26, 2009, by the developer Mauro Chehab. These devices are erroneously recognized by the command "lsusb" as:

But they are simpler.Besides not having audio processor, are devoid of tuner and EEPROM. And why not have EEPROM, the driver v4l2 needs editing a file *. conf to recognize it and set it up correctly as CARD = 74 (VC-211A - ACTionMaster, or LinXcel Digitus). This can be done in the console as follows:

+

===Patching V4L-DVB to support the Leadtek WinFast DTV Dongle Dual===

+

Next, we need to obtain, patch and build the latest V4L-DVB source code to recognise the Leadtek WinFast DTV Dongle Dual. To do this, we adapt the [http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Retrieving_and_Building.2FCompiling_the_Latest_V4L-DVB_Source_Code "Basic" build Approach], following the instructions in the "README.patches" file that we obtain along with the rest of the V4L source code, via git.

Then, we obtain the patch by Antti Palosaari to get the device recognised. [http://git.linuxtv.org/anttip/media_tree.git/commitdiff/a5b75af3b2edf1e745417f0a35843e707a95208d?hp=b05fdd2c9a56b3aadb250916f01b5474505c28e6 View the patch commit] and paste the patch contents into a newly created "winfast-dual.patch" file, inside the "backports" directory, as below.

−

Obviously, until that amendment to em28xx kernel is integrated into the various Linux distributions that use v4l2, the user that have a VC-211A should download the tree v4l2 and compile the driver as guides on page How_to_Obtain, _Build_and_Install_V4L-DVB_Device_Drivers.

Before this change, the resolution of 720x480 required by v4l2 version 0.1.2 was not compatible with the captors VC-211A and older ones, since they only work with 640x480. This error generated a loss of data causing the captured image does not exceed the maximum of 360x240. This whole problem has been corrected by the master Mauro Chehab, which is worthy of respect and gratitude of the entire Linux community and especially the fans for the video capture.

+

Save the file.

−

We take this opportunity to give our thanks to all those who have worked directly or indirectly in the developed project video4linux.

+

We need to also edit "backports.txt" as instructed by the "README.patches" file, so that the build script knows to apply the patch.

−

This is a linux supported dvb t2 dual stick.

+

The backports.txt file should be modified to included an entry, like so:

−

By Raymond Eduvirgens

+

[YOUR KERNEL VERSION GOES HERE - FIND IT WITH THE "uname -r" COMMAND]

+

add winfast_dual.patch # Winfast Dual Dongle patch

+

Once the file is edited and saved, from within the "dvb-git" folder. Execute the command

This will begin building the firmware drivers (if all is as it should be - with the patch included). Watch the terminal output to ensure the af9035.c file is patched correctly, before going any further. If the version number or the name of the .patch file is wrong in the backports.txt file, it won't apply.

−

==Overview/Features==

+

To install the compiled patched firmware drivers, execute:

−

* USB 2 interface

+

$ sudo make install

−

* Inputs: Antenna (Composite), Remote (untested)

+

−

===Components Used===

+

{{Note|If your system uses compressed kernel modules, after running the "make install" command of the V4L-DVB installation process, you could end up with a mixture of new modules (*.ko) and their older compressed version (*.ko.gz) installed. If the system attempts to concurrently load both sets into memory, you are bound to run into modprobe insertion errors (eg. unknown symbol or unknown parameter). All conflicting *.ko.gz files must be removed. The following command line can help you locate/remove these conflicting files in all your installed kernels:

−

''List the hardware ICs and modules used by the device here. For example:''<br>

+

−

* [[E4000]] (tuner)

+

−

* [[RTL2832U ]]

+

−

===Other Images===

+

$ for file in `find /lib/modules -name "*.ko"`; do if [[ -e $file.gz ]]; then echo "$file.gz should be removed"; fi; done

−

''Use the included code to insert other images if necessary. Add as many high resolution pictures as you can i.e the card, the original box, the remote and, when uploading the files to the wiki, give them detailed specific names. Note: only use images taken by yourself or those 3rd party images for which you have received express written consent (such as from a vendor) that permits their usage. For example:''<br>

It won't find any channel with the included antenna, but when connected to

+

−

the aerial outlet (building antenna) it works fine with occassional square noise

+

−

or very short cuts (maybe more often in HD channels ???).

+

−

Can't test very often, because it's at a friend's, not mine.

+

===Verifying the driver installation===

+

Once that's done, restart your computer. Once it reboots check the output of the "dmesg" command. "The Leadtek WinFast DTV Dongle Dual" should be recognised and initialised successfully. During testing, a final restart was required to get MythTV to use the tuner once it was setup in mythtv-setup.

−

I haven't found an email address to tell Ambrosa and I don't have

+

Sample successful "dmesg" output is below:

−

a GitHub account, maybe someone who has can send a link to the GitHub forum?

+

−

The system I tested is a Debian squeeze, with a custom compiled linux-libre 3.2.1.

+

[ 10.274829] WARNING: You are using an experimental version of the media stack.

Patching V4L-DVB to support the Leadtek WinFast DTV Dongle Dual

Next, we need to obtain, patch and build the latest V4L-DVB source code to recognise the Leadtek WinFast DTV Dongle Dual. To do this, we adapt the "Basic" build Approach, following the instructions in the "README.patches" file that we obtain along with the rest of the V4L source code, via git.

Then, we obtain the patch by Antti Palosaari to get the device recognised. View the patch commit and paste the patch contents into a newly created "winfast-dual.patch" file, inside the "backports" directory, as below.

Once the file is edited and saved, from within the "dvb-git" folder. Execute the command

$ ./build

This will begin building the firmware drivers (if all is as it should be - with the patch included). Watch the terminal output to ensure the af9035.c file is patched correctly, before going any further. If the version number or the name of the .patch file is wrong in the backports.txt file, it won't apply.

To install the compiled patched firmware drivers, execute:

$ sudo make install

Note: If your system uses compressed kernel modules, after running the "make install" command of the V4L-DVB installation process, you could end up with a mixture of new modules (*.ko) and their older compressed version (*.ko.gz) installed. If the system attempts to concurrently load both sets into memory, you are bound to run into modprobe insertion errors (eg. unknown symbol or unknown parameter). All conflicting *.ko.gz files must be removed. The following command line can help you locate/remove these conflicting files in all your installed kernels:

$ for file in `find /lib/modules -name "*.ko"`; do if -e $file.gz ; then echo "$file.gz should be removed"; fi; done

If you're happy to automate the removal proccess of any detected conflicting modules, run the following command at your own risk:

Verifying the driver installation

Once that's done, restart your computer. Once it reboots check the output of the "dmesg" command. "The Leadtek WinFast DTV Dongle Dual" should be recognised and initialised successfully. During testing, a final restart was required to get MythTV to use the tuner once it was setup in mythtv-setup.