MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "parse": {
        "title": "LinuxTVWiki:Sandbox",
        "pageid": 1424,
        "revid": 32584,
        "text": {
            "*": "<div class=\"mw-parser-output\"><p>A <a href=\"/wiki/index.php/DVB-T\" title=\"DVB-T\">DVB-T</a> <a href=\"/wiki/index.php/DVB-T_USB_Devices\" title=\"DVB-T USB Devices\">USB device</a> from <a href=\"/wiki/index.php/Leadtek\" title=\"Leadtek\">Leadtek</a>.\n</p>\n<div id=\"toc\" class=\"toc\" role=\"navigation\" aria-labelledby=\"mw-toc-heading\"><input type=\"checkbox\" role=\"button\" id=\"toctogglecheckbox\" class=\"toctogglecheckbox\" style=\"display:none\" /><div class=\"toctitle\" lang=\"en\" dir=\"ltr\"><h2 id=\"mw-toc-heading\">Contents</h2><span class=\"toctogglespan\"><label class=\"toctogglelabel\" for=\"toctogglecheckbox\"></label></span></div>\n<ul>\n<li class=\"toclevel-1 tocsection-1\"><a href=\"#Overview/Features\"><span class=\"tocnumber\">1</span> <span class=\"toctext\">Overview/Features</span></a>\n<ul>\n<li class=\"toclevel-2 tocsection-2\"><a href=\"#Components_used\"><span class=\"tocnumber\">1.1</span> <span class=\"toctext\">Components used</span></a></li>\n<li class=\"toclevel-2 tocsection-3\"><a href=\"#Identification\"><span class=\"tocnumber\">1.2</span> <span class=\"toctext\">Identification</span></a></li>\n</ul>\n</li>\n<li class=\"toclevel-1 tocsection-4\"><a href=\"#Driver_Installation\"><span class=\"tocnumber\">2</span> <span class=\"toctext\">Driver Installation</span></a>\n<ul>\n<li class=\"toclevel-2 tocsection-5\"><a href=\"#Afatech_AF9035_demodulator_and_USB_bridge\"><span class=\"tocnumber\">2.1</span> <span class=\"toctext\">Afatech AF9035 demodulator and USB bridge</span></a></li>\n<li class=\"toclevel-2 tocsection-6\"><a href=\"#Dual_ITE_Tech_IT9135_tuners\"><span class=\"tocnumber\">2.2</span> <span class=\"toctext\">Dual ITE Tech IT9135 tuners</span></a></li>\n<li class=\"toclevel-2 tocsection-7\"><a href=\"#Patching_V4L-DVB_to_support_the_Leadtek_WinFast_DTV_Dongle_Dual\"><span class=\"tocnumber\">2.3</span> <span class=\"toctext\">Patching V4L-DVB to support the Leadtek WinFast DTV Dongle Dual</span></a></li>\n<li class=\"toclevel-2 tocsection-8\"><a href=\"#Verifying_the_driver_installation\"><span class=\"tocnumber\">2.4</span> <span class=\"toctext\">Verifying the driver installation</span></a></li>\n</ul>\n</li>\n<li class=\"toclevel-1 tocsection-9\"><a href=\"#External_Links\"><span class=\"tocnumber\">3</span> <span class=\"toctext\">External Links</span></a></li>\n</ul>\n</div>\n\n<h2><span id=\"Overview.2FFeatures\"></span><span class=\"mw-headline\" id=\"Overview/Features\">Overview/Features</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=1\" title=\"Edit section: Overview/Features\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h2>\n<ul><li>Supplied with a remote control and antenna.</li></ul>\n<h3><span class=\"mw-headline\" id=\"Components_used\">Components used</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=2\" title=\"Edit section: Components used\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h3>\n<ul><li><a href=\"/wiki/index.php/Afatech_AF9035\" title=\"Afatech AF9035\">Afatech AF9035</a> demodulator and USB bridge</li>\n<li>Dual ITE Tech IT9135 tuners</li></ul>\n<h3><span class=\"mw-headline\" id=\"Identification\">Identification</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=3\" title=\"Edit section: Identification\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h3>\n<p>The USB ID is:\n</p>\n<ul><li><tt>0413:6a05</tt></li></ul>\n<h2><span class=\"mw-headline\" id=\"Driver_Installation\">Driver Installation</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=4\" title=\"Edit section: Driver Installation\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h2>\n<h3><span class=\"mw-headline\" id=\"Afatech_AF9035_demodulator_and_USB_bridge\">Afatech AF9035 demodulator and USB bridge</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=5\" title=\"Edit section: Afatech AF9035 demodulator and USB bridge\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h3>\n<p>By default the firmware driver for the Afatech AF9035 demodulator and USB bridge  is not supported in the kernel and must be installed separately.\n</p><p>To install the driver you will need your kernel headers and other software requirements installed, as listed <a rel=\"nofollow\" class=\"external text\" href=\"http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Software_Requirements\">here</a>\n</p><p>To install the firmware driver enter the following commands into a terminal:\n</p>\n<pre>$ su\n# cd /lib/firmware/\n# wget -O dvb-usb-af9035-02.fw <a rel=\"nofollow\" class=\"external free\" href=\"http://palosaari.fi/linux/v4l-dvb/firmware/af9035/dvb-usbaf9035-02.fw_3735d499d945a6bb873a7f3ad5c701fa_12.13.15.0_6.20.15.0\">http://palosaari.fi/linux/v4l-dvb/firmware/af9035/dvb-usbaf9035-02.fw_3735d499d945a6bb873a7f3ad5c701fa_12.13.15.0_6.20.15.0</a>\n</pre>\n<p>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.\n</p>\n<h3><span class=\"mw-headline\" id=\"Dual_ITE_Tech_IT9135_tuners\">Dual ITE Tech IT9135 tuners</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=6\" title=\"Edit section: Dual ITE Tech IT9135 tuners\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h3>\n<p>To install the tuner firmware driver, enter the following commands into a terminal:\n</p>\n<pre> # cd /lib/firmware/\n # wget <a rel=\"nofollow\" class=\"external free\" href=\"https://github.com/OpenELEC/dvb-firmware/raw/master/it9135/dvb-usb-it9135-01.fw\">https://github.com/OpenELEC/dvb-firmware/raw/master/it9135/dvb-usb-it9135-01.fw</a>\n</pre>\n<p>Your dual ITE Tech IT9135 tuners are installed now! \n</p>\n<h3><span class=\"mw-headline\" id=\"Patching_V4L-DVB_to_support_the_Leadtek_WinFast_DTV_Dongle_Dual\">Patching V4L-DVB to support the Leadtek WinFast DTV Dongle Dual</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=7\" title=\"Edit section: Patching V4L-DVB to support the Leadtek WinFast DTV Dongle Dual\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h3>\n<p>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 <a rel=\"nofollow\" class=\"external text\" href=\"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</a>, following the instructions in the \"README.patches\" file that we obtain along with the rest of the V4L source code, via git. \n</p><p>First, we obtain the source code unpatched. \n</p>\n<pre>$ mkdir dvb-git\n$ cd dvb-git\n$ git clone <a rel=\"nofollow\" class=\"external free\" href=\"git://linuxtv.org/media_build.git\">git://linuxtv.org/media_build.git</a>\n</pre>\n<p>Then, we obtain the patch by Antti Palosaari to get the device recognised. <a rel=\"nofollow\" class=\"external text\" href=\"http://git.linuxtv.org/anttip/media_tree.git/commitdiff/a5b75af3b2edf1e745417f0a35843e707a95208d?hp=b05fdd2c9a56b3aadb250916f01b5474505c28e6\">View the patch commit</a> and paste the patch contents into a newly created \"winfast-dual.patch\" file, inside the \"backports\" directory, as below.\n</p>\n<pre>diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c\nindex 1ea17dc..73ce27b 100644\n--- a/drivers/media/usb/dvb-usb-v2/af9035.c\n+++ b/drivers/media/usb/dvb-usb-v2/af9035.c\n@@ -1511,6 +1511,8 @@ static const struct usb_device_id af9035_id_table[] = {\n\t/* XXX: that same ID [0ccd:0099] is used by af9015 driver too */\n\t{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x0099,\n\t\t&amp;af9035_props, \"TerraTec Cinergy T Stick Dual RC (rev. 2)\", NULL) },\n+\t{ DVB_USB_DEVICE(USB_VID_LEADTEK, 0x6a05,\n+\t\t&amp;af9035_props, \"Leadtek WinFast DTV Dongle Dual\", NULL) },\n\t{ }\n};\nMODULE_DEVICE_TABLE(usb, af9035_id_table);\n</pre>\n<p>Save the file.\n</p><p>We need to also edit \"backports.txt\" as instructed by the \"README.patches\" file, so that the build script knows to apply the patch. \n</p><p>The backports.txt file should be modified to included an entry, like so: \n</p>\n<pre>[YOUR KERNEL VERSION GOES HERE - FIND IT WITH THE \"uname -r\" COMMAND] \nadd winfast_dual.patch # Winfast Dual Dongle patch\n</pre>\n<p>Once the file is edited and saved, from within the \"dvb-git\" folder. Execute the command\n</p>\n<pre>$ ./build\n</pre>\n<p>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.\n</p><p>To install the compiled patched firmware drivers, execute: \n</p>\n<pre>$ sudo make install\n</pre>\n<div style=\"padding: 1px 2px 1px 2px; background-color: #ffeaa5; border: solid 1px #ffeaa5; font-size:-1;\"><b>Note:</b> 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: \n<pre>$ for file in `find /lib/modules -name \"*.ko\"`; do if <a href=\"/wiki/index.php?title=-e_$file.gz&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"-e $file.gz (page does not exist)\">-e $file.gz </a>; then echo \"$file.gz should be removed\"; fi; done\n</pre>\n<p>If you're happy to automate the removal proccess of any detected conflicting modules, run the following command at your own risk: \n</p>\n<pre>$ su\n# for file in `find /lib/modules -name \"*.ko\"`; do if <a href=\"/wiki/index.php?title=-e_$file.gz&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"-e $file.gz (page does not exist)\">-e $file.gz </a>; then rm \"$file.gz\"; fi; done\n</pre>\n</div>\n<h3><span class=\"mw-headline\" id=\"Verifying_the_driver_installation\">Verifying the driver installation</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=8\" title=\"Edit section: Verifying the driver installation\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h3>\n<p>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.\n</p><p>Sample successful \"dmesg\" output is below:\n</p>\n<pre>[   10.274829] WARNING: You are using an experimental version of the media stack.\nAs the driver is backported to an older kernel, it doesn't offer\nenough quality for its usage in production.\nUse it with care.\nLatest git patches (needed if you report a bug to linux-media@vger.kernel.org):\n80f93c7b0f4599ffbdac8d964ecd1162b8b618b9 [media] media: st-rc: Add ST remote control driver\n8ab1aa87f3f7381be195efcabf08dbc74626f25d [media] gpio-ir-recv: Include linux/of.h header\nb91670a0e924078521a838b9e707e42012c5e76a [media] tvp7002: Include linux/of.h header\n[   10.389333] usb 8-5: dvb_usb_af9035: prechip_version=83 chip_version=01 chip_type=9135\n[   10.389716] usb 8-5: dvb_usb_v2: found a 'Leadtek WinFast DTV Dongle Dual' in warm state\n[   10.393908] usb 8-5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer\n[   10.393970] DVB: registering new adapter (Leadtek WinFast DTV Dongle Dual)\n[   10.401092] i2c i2c-1: af9033: firmware version: LINK=255.255.255.255 OFDM=2.47.14.0\n[   10.401107] usb 8-5: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...\n[   10.404891] i2c i2c-1: tuner_it913x: ITE Tech IT913X successfully attached\n[   10.404902] usb 8-5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer\n[   10.404963] DVB: registering new adapter (Leadtek WinFast DTV Dongle Dual)\n[   10.418007] i2c i2c-1: af9033: firmware version: LINK=255.255.255.255 OFDM=2.47.14.0\n[   10.418022] usb 8-5: DVB: registering adapter 1 frontend 0 (Afatech AF9033 (DVB-T))...\n[   10.418175] i2c i2c-1: tuner_it913x: ITE Tech IT913X successfully attached\n[   10.431106] Registered IR keymap rc-empty\n[   10.431259] input: Leadtek WinFast DTV Dongle Dual as /devices/pci0000:00/0000:00:13.2/usb8/8-5/rc/rc0/input6\n[   10.431391] rc0: Leadtek WinFast DTV Dongle Dual as /devices/pci0000:00/0000:00:13.2/usb8/8-5/rc/rc0\n[   10.431399] usb 8-5: dvb_usb_v2: schedule remote query interval to 500 msecs\n[   10.431406] usb 8-5: dvb_usb_v2: 'Leadtek WinFast DTV Dongle Dual' successfully initialized and connected\n[   10.431468] usbcore: registered new interface driver dvb_usb_af9035\n</pre>\n<h2><span class=\"mw-headline\" id=\"External_Links\">External Links</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/wiki/index.php?title=LinuxTVWiki:Sandbox&amp;action=edit&amp;section=9\" title=\"Edit section: External Links\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h2>\n<p><a rel=\"nofollow\" class=\"external text\" href=\"http://www.leadtek.com/eng/product/6/622/intro.aspx\">Product page for the Leadtek WinFast DTV Dongle Dual</a>\n</p>\n<!-- \nNewPP limit report\nCached time: 20240419000734\nCache expiry: 86400\nReduced expiry: false\nComplications: [show\u2010toc]\nCPU time usage: 0.012 seconds\nReal time usage: 0.013 seconds\nPreprocessor visited node count: 40/1000000\nPost\u2010expand include size: 1147/2097152 bytes\nTemplate argument size: 921/2097152 bytes\nHighest expansion depth: 3/100\nExpensive parser function count: 0/100\nUnstrip recursion depth: 0/20\nUnstrip post\u2010expand size: 0/5000000 bytes\n-->\n<!--\nTransclusion expansion time report (%,ms,calls,template)\n100.00%    2.122      1 Template:Note\n100.00%    2.122      1 -total\n 43.53%    0.924      1 Template:NoteStyle\n-->\n\n<!-- Saved in parser cache with key linuxtvwikidb:pcache:idhash:1424-0!canonical and timestamp 20240419000734 and revision id 32584.\n -->\n</div>"
        },
        "langlinks": [],
        "categories": [],
        "links": [
            {
                "ns": 0,
                "exists": "",
                "*": "Afatech AF9035"
            },
            {
                "ns": 0,
                "exists": "",
                "*": "DVB-T"
            },
            {
                "ns": 0,
                "exists": "",
                "*": "DVB-T USB Devices"
            },
            {
                "ns": 0,
                "exists": "",
                "*": "Leadtek"
            },
            {
                "ns": 0,
                "*": "-e $file.gz"
            }
        ],
        "templates": [
            {
                "ns": 10,
                "exists": "",
                "*": "Template:Note"
            },
            {
                "ns": 10,
                "exists": "",
                "*": "Template:NoteStyle"
            }
        ],
        "images": [],
        "externallinks": [
            "http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Software_Requirements",
            "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",
            "http://git.linuxtv.org/anttip/media_tree.git/commitdiff/a5b75af3b2edf1e745417f0a35843e707a95208d?hp=b05fdd2c9a56b3aadb250916f01b5474505c28e6",
            "http://www.leadtek.com/eng/product/6/622/intro.aspx",
            "http://palosaari.fi/linux/v4l-dvb/firmware/af9035/dvb-usbaf9035-02.fw_3735d499d945a6bb873a7f3ad5c701fa_12.13.15.0_6.20.15.0",
            "https://github.com/OpenELEC/dvb-firmware/raw/master/it9135/dvb-usb-it9135-01.fw",
            "git://linuxtv.org/media_build.git"
        ],
        "sections": [
            {
                "toclevel": 1,
                "level": "2",
                "line": "Overview/Features",
                "number": "1",
                "index": "1",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 64,
                "anchor": "Overview/Features"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Components used",
                "number": "1.1",
                "index": "2",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 134,
                "anchor": "Components_used"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Identification",
                "number": "1.2",
                "index": "3",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 235,
                "anchor": "Identification"
            },
            {
                "toclevel": 1,
                "level": "2",
                "line": "Driver Installation",
                "number": "2",
                "index": "4",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 296,
                "anchor": "Driver_Installation"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Afatech AF9035 demodulator and USB bridge",
                "number": "2.1",
                "index": "5",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 321,
                "anchor": "Afatech_AF9035_demodulator_and_USB_bridge"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Dual ITE Tech IT9135 tuners",
                "number": "2.2",
                "index": "6",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 1158,
                "anchor": "Dual_ITE_Tech_IT9135_tuners"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Patching V4L-DVB to support the Leadtek WinFast DTV Dongle Dual",
                "number": "2.3",
                "index": "7",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 1444,
                "anchor": "Patching_V4L-DVB_to_support_the_Leadtek_WinFast_DTV_Dongle_Dual"
            },
            {
                "toclevel": 2,
                "level": "3",
                "line": "Verifying the driver installation",
                "number": "2.4",
                "index": "8",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 4872,
                "anchor": "Verifying_the_driver_installation"
            },
            {
                "toclevel": 1,
                "level": "2",
                "line": "External Links",
                "number": "3",
                "index": "9",
                "fromtitle": "LinuxTVWiki:Sandbox",
                "byteoffset": 7420,
                "anchor": "External_Links"
            }
        ],
        "showtoc": "",
        "parsewarnings": [],
        "displaytitle": "<span class=\"mw-page-title-namespace\">LinuxTVWiki</span><span class=\"mw-page-title-separator\">:</span><span class=\"mw-page-title-main\">Sandbox</span>",
        "iwlinks": [],
        "properties": []
    }
}