<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: DVB]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?action=weblog_display;category=DVB</link>
<description></description>
<pubDate>Fri, 14 Dec 2018 13:26:45 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Hauppauge Nova-T Stick]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?hauppauge_nova_t_stick</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: DVB, projects, TV</div><hr/><div class="wiki">
<span class="nlw_phrase"><img alt="n516950085_2337724_7335.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/n516950085_2337724_7335.jpg?action=attachments_download;page_name=hauppauge_nova_t_stick;id=20090103172727-0-16120" /><!-- wiki: {image: n516950085_2337724_7335.jpg} --></span><br /><br /><blockquote>
Second try at buying USB TV card that <strong>works</strong> under Linux</blockquote>
<br /><p>
And sure, 22 EUR later (chepest card in the shop which <strong>included</strong> remote) I had working DVB-T under Linux</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#info">Dobrica Pavlinušić's random unstructured stuff (Info)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Info} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#firmware">Dobrica Pavlinušić's random unstructured stuff (Firmware)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Firmware} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#info">Dobrica Pavlinušić's random unstructured stuff (info)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] info} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#zagreb_frequencies">Dobrica Pavlinušić's random unstructured stuff (Zagreb frequencies)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Zagreb frequencies} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#eeepc_as_tv_for_my_mother">Dobrica Pavlinušić's random unstructured stuff (EeePC as TV for my mother)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] EeePC as TV for my mother} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#dmesg">Dobrica Pavlinušić's random unstructured stuff (dmesg)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] dmesg} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#scan">Dobrica Pavlinušić's random unstructured stuff (scan)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] scan} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="info">Info</h1>
<p>
<a target="_blank" title="(external link)" href="http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-Stick">http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-Stick</a></p>
<h1 id="firmware">Firmware</h1>
<pre>
cd /lib/firmware/
wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/linux-dvb-firmware/dvb-usb-dib0700-1.10.fw
</pre>
<br /><h1 id="info">info</h1>
<pre>
dpavlin@t61p:~$ lsusb | grep Nova
Bus 002 Device 003: ID 2040:7070 Hauppauge Nova-T Stick 3
</pre>
<br /><h1 id="zagreb_frequencies">Zagreb frequencies</h1>
<pre>
T 754000000 8MHz 2/3 NONE AUTO 8k 1/8 NONE    # CH27:
T 642000000 8MHz 2/3 NONE AUTO 8k 1/8 NONE    # CH27:
T 690000000 8MHz 2/3 NONE AUTO 8k 1/8 NONE    # CH27:
</pre>
<br /><p>
Feed that file to <tt>scan</tt> from <tt>dvb-apps</tt> to get output for mplayer's <tt>channels.conf</tt></p>
<h1 id="eeepc_as_tv_for_my_mother">EeePC as TV for my mother</h1>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
 <div class="fetchrss_title">
     fetchrss: http://svn.rot13.org/index.cgi/mplayer-eee-tv/rss
 </div>

  </div>
  
<ul class="fetchrss_item">
  <li class="fetchrss_item">
    There was an error: 404 Not Found

  </li>
</ul>

</div>
















<!-- wiki: {fetchrss: http://svn.rot13.org/index.cgi/mplayer-=eee-=tv/rss full}
--></div><br /><br /><h1 id="dmesg">dmesg</h1>
<pre>
[352538.540055] usb 3-1.1: new high-speed USB device number 32 using ehci-pci
[352538.648944] usb 3-1.1: New USB device found, idVendor=2040, idProduct=7070, bcdDevice= 1.00
[352538.648951] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[352538.648956] usb 3-1.1: Product: Nova-T Stick
[352538.648960] usb 3-1.1: Manufacturer: Hauppauge
[352538.648964] usb 3-1.1: SerialNumber: 4032258708
[352538.682065] dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware
[352538.682869] usb 3-1.1: firmware: direct-loading firmware dvb-usb-dib0700-1.20.fw
[352538.885559] dib0700: firmware started successfully.
[352539.420241] dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state.
[352539.420476] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[352539.420571] dvbdev: DVB: registering new adapter (Hauppauge Nova-T Stick)
[352539.664695] usb 3-1.1: DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...
[352539.903507] dib0070: DiB0070: successfully identified
[352539.936061] Registered IR keymap rc-dib0700-rc5
[352539.936410] rc rc0: Hauppauge Nova-T Stick as /devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1.1/rc/rc0
[352539.936486] input: Hauppauge Nova-T Stick as /devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1.1/rc/rc0/input13
[352539.936674] rc rc0: lirc_dev: driver dib0700 registered at minor = 0, scancode receiver, no transmitter
[352539.936678] dvb-usb: schedule remote query interval to 50 msecs.
[352539.936682] dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected.
[352539.936876] usbcore: registered new interface driver dvb_usb_dib0700


</pre>
<br /><h1 id="scan">scan</h1>
<ul>
<li><a target="_blank" title="(external link)" href="https://www.linuxtv.org/wiki/index.php/Scan">https://www.linuxtv.org/wiki/index.php/Scan</a></li>
<li><a target="_blank" title="(external link)" href="https://www.linuxtv.org/wiki/index.php/Testing_your_DVB_device">https://www.linuxtv.org/wiki/index.php/Testing_your_DVB_device</a></li>
</ul>
<pre>

dpavlin@klin:~$ mkdir ~/.{a,c,s,t}zap


dpavlin@klin:~$ scan -v /usr/share/dvb/dvb-legacy/dvb-t/hr-All &gt; .tzap/channels.conf

dumping lists (4 services)
[0015]:690000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2011:2012:21
[0016]:690000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2021:2022:22
[0017]:690000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2031:2032:23
[0018]:690000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2041:2042:24

dpavlin@klin:~$ /usr/bin/tzap -r -c ~/.tzap/channels.conf &quot;[0018]&quot;
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/dpavlin/.tzap/channels.conf'
Version: 5.11    FE_CAN { DVB-T }
tuning to 690000000 Hz
video pid 0x07f9, audio pid 0x07fa
status 0f | signal 9dca | snr 00ad | ber 001fffff | unc 00000000 | 
status 1f | signal 9cd0 | snr 00bc | ber 000060a0 | unc 00000000 | FE_HAS_LOCK

dpavlin@klin:~$ mplayer /dev/dvb/adapter0/dvr0

</pre>
</div>
<hr/><div>Attachments: n516950085_2337724_7335.jpg</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>DVB, projects, TV</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?hauppauge_nova_t_stick</guid>
<pubDate>Fri, 14 Dec 2018 13:26:45 -0000</pubDate>
</item>
<item>
<title><![CDATA[Hauppauge HVR 900]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?hauppauge_hvr_900</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: DVB, TV</div><hr/><div class="wiki">
<p>
I wanted a DVB-T USB stick (which I will probably want to plug in <a href="https://saturn.ffzg.hr/rot13/index.cgi?dsm_g600" title="(225 months) Collection of some hints about Debian installation on my D-Link DSM-G600 toc Resources wiki at http ...">DSM-G600</a> and have network TV in later phase) with ability to receive both analog and DVB-T signal, so I bought <a target="_blank" title="(external link)" href="http://www.hauppauge.co.uk/pages/products/data_hvr900.html">Hauppauge HVR 900<!-- wiki-renamed-hyperlink "Hauppauge HVR 900"<http://www.hauppauge.co.uk/pages/products/data_hvr900.html> --></a> while my UK visit.</p>
<pre>
$ lsusb | grep Hauppauge
Bus 005 Device 004: ID 2040:6502 Hauppauge
</pre>
<br /><p>
Alternative approach from <a target="_blank" title="(external link)" href="http://mcentral.de/pipermail/em28xx/2007-August/000746.html">mailing list<!-- wiki-renamed-hyperlink "mailing list"<http://mcentral.de/pipermail/em28xx/2007=-August/000746.html> --></a> modified to work out-of-the-box on recent Debian box:</p>
<p>
Insall kernel source and symlink <tt>source</tt> directory which drivers need:</p>
<pre>
sudo ln -s /usr/src/linux /lib/modules/`uname -r`/source
</pre>
<br /><p>
Checkout source of userspace tuner and compile it</p>
<pre>
hg clone http://mcentral.de/hg/~mrec/userspace-tuner/
cd userspace-tuner
sudo ./build.sh
cd ..
hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2/
cd em28xx-userspace2
make
modprobe em28xx.ko // this will load the videodev modules
rmmod em28xx.ko
insmod em28xx.ko
</pre>
<br /><p>
<strong>This instructions still doesn't work</strong></p>
<hr />
<p>
Following older instructions are slight modification of <a target="_blank" title="(external link)" href="http://blog.ikasweb.de/2007/05/07/hauppauge-hvr-900-mit-ubuntu-704/">blog post in German<!-- wiki-renamed-hyperlink "blog post in German"<http://blog.ikasweb.de/2007/05/07/hauppauge=-hvr=-900=-mit=-ubuntu=-704/> --></a> which I used with a bit of <a target="_blank" title="(external link)" href="http://translate.google.com/translate?hl=en&amp;sl=de&amp;u=http://blog.ikasweb.de/2007/05/07/hauppauge-hvr-900-mit-ubuntu-704/&amp;sa=X&amp;oi=translate&amp;resnum=1&amp;ct=result&amp;prev=/search%3Fq%3D2040:6502%2Blinux%26num%3D100%26hl%3Den%26client%3Diceweasel-a%26rls%3Dorg.debian:en-US:unofficial%26sa%3DG">Google translate<!-- wiki-renamed-hyperlink "Google translate"<http://translate.google.com/translate?hl=en&sl=de&u=http://blog.ikasweb.de/2007/05/07/hauppauge=-hvr=-900=-mit=-ubuntu=-704/&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3D2040:6502%2Blinux%26num%3D100%26hl%3Den%26client%3Diceweasel=-a%26rls%3Dorg.debian:en=-US:unofficial%26sa%3DG> --></a> to make it work on Debian unstable. I will assume that you already have kernel source and build tools, because you <strong>are</strong> running unstable :-)</p>
<ul>
<li>dmesg output after plugging in the card: <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/Hauppage_WinTV_HVR_Rev._1.2.dmesg?action=attachments_download;page_name=hauppauge_hvr_900;id=20070715021528-0-20257">Hauppage_WinTV_HVR_Rev._1.2.dmesg</a><!-- wiki: {file: Hauppage_WinTV_HVR_Rev._1.2.dmesg} --></span></li>
<li><a target="_blank" title="(external link)" href="http://mcentral.de/wiki/index.php/Em2880">upstream driver<!-- wiki-renamed-hyperlink "upstream driver"<http://mcentral.de/wiki/index.php/Em2880> --></a></li>
</ul>
<p>
This instructions are based on <a target="_blank" title="(external link)" href="http://treboada.net/caligari/ubuntu_tdt">spanish ones<!-- wiki-renamed-hyperlink "spanish ones"<http://treboada.net/caligari/ubuntu_tdt> --></a> with updated urls</p>
<h1 id="fetch_drivers">Fetch drivers</h1>
<pre>
mkdir hvr900
cd hvr900/
wget 'http://supportde.terratec.net/modules.php?op=modload&amp;name=Downloads&amp;file=index&amp;req=getit&amp;lid=1049'
unzip Cinergy_T_USB_XE_Drv_Vista_XP_6.11.23.01.exe
cp Cinergy\ T\ USB\ XE/BDA\ Driver\ 6.11.23.01/Windows\ Vista\ \(32Bit\)/AF05BDA.sys .

</pre>
<br /><h1 id="install_development_tools">Install development tools</h1>
<pre>
sudo apt-get install mercurial make gcc libc6-dev kaffeine
</pre>
<br /><h1 id="checkout_latest_source">Checkout latest source</h1>
<pre>
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental

</pre>
<br /><h1 id="extract_firmware">Extract firmware</h1>
<pre>
cd v4l_experimental/xc3028/
gcc -o convert convert.c

</pre>
</div>
<hr/><div>Attachments: Hauppage_WinTV_HVR_Rev._1.2.dmesg</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>DVB, TV</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?hauppauge_hvr_900</guid>
<pubDate>Fri, 02 Jan 2009 13:30:39 -0000</pubDate>
</item>
</channel>
</rss>