Your dual ITE Tech IT9135 tuners are installed now! 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.

+

Your dual ITE Tech IT9135 tuners are installed now!

+

+

===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.

First, we obtain the source code unpatched.

First, we obtain the source code unpatched.

Line 53:

Line 47:

$ git clone git://linuxtv.org/media_build.git

$ git clone git://linuxtv.org/media_build.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, in the "backports" directory.

+

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.

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.

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.

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.