Over-the-Air Digital TV with Linux
Pinnacle's PCTV HD Pro Stick is a USB 2.0 tuner card that supports both digital (ATSC) as well as analog (NTSC) TV signals. This tuner card comes with a portable telescopic antenna, a mini-remote control with batteries, a USB extender cable and an A/V adapter cable with inputs for S-Video, composite video (RCA) and stereo audio (1/8" jack). An integrated infra-red (IR) receiver on the device supports the remote control. This tuner card is slightly bigger than a typical USB thumbdrive and has a coaxial TV antenna input on one end and a USB connector on the other. When plugged in to my system, the tuner's width blocked adjacent USB ports. However, using the USB extender cable that came with the tuner card circumvented this problem. The portable antenna that comes with this card is good enough for viewing nearby HDTV channels, but it always helps to have an amplified antenna.
Out of the box, this card is not supported under Linux. To get this card to work with Linux, I had to download and compile its driver. I discovered that this tuner is based on an Empiatech EM2880 chipset, whose support has been added to the latest development version of the Video for Linux Digital Video Broadcasting (v4l-dvb) Project. I downloaded the v4l-dvb development source code and compiled the necessary modules for the running kernel (see the Building Device Drivers for Pinnacle PCTV HD Pro Stick and Hauppauge WinTV-HVR-950 on Ubuntu 7.10 sidebar). Compiling the kernel modules went through without a hitch, and after a system reboot, the Pinnacle PCTV HD Pro Stick was recognized by the system. Its digital (ATSC) tuner was registered as a DVB front end (/dev/dvb/adapter0), and its analog (NTSC) tuner was accessible as a v4l video device (/dev/video0).
Building Device Drivers for Pinnacle PCTV HD Pro Stick and Hauppauge WinTV-HVR-950 on Ubuntu 7.10
First, enable universe and multiverse package repositories by selecting System→Administration→Software Sources from the GNOME desktop menu. Click on the tab labeled Ubuntu Software, and make sure the boxes are checked for Community-maintained Open Source software (universe) and Software restricted by copyright or legal issues (multiverse). Click Close.
Next, apply all latest updates from Ubuntu by selecting System→Administration→Update Manager from the GNOME desktop menu, apply all system updates, and reboot the system.
Then, in a terminal, do sudo su to become the root user. Install the necessary packages to build em28xx kernel modules:
aptitude install mercurial build-essential linux-source
Download firmware version 4, necessary for USB tuner cards:
wget -q http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz ↪-O /usr/local/src/firmware_v4.tgz
Unpack the firmware files into /lib/firmware:
tar xzf /usr/local/src/firmware_v4.tgz -C /lib/firmware
Grab the latest copy of the V4L DVB source code from mcentral.de:
cd /usr/local/src hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
Compile the V4L DVB drivers:
cd /usr/local/src/v4l-dvb-kernel make make install
And, finally, reboot the system.
After configuring the tuner as a “DVB DTV capture card (v3.x)” in MythTV, I was able to tune into standard-definition and high-definition programs. Picture quality for HD programs was fantastic, with astonishing crispness and clarity compared to SD programs. The viewing experience for this USB device was excellent.
I used tvtime to evaluate the analog TV performance. The picture quality was significantly better for stations with transmission towers that were geographically closer. Initially, sound did not work in tvtime. Using sox to route audio from tvtime to the default ALSA sound device solved the problem. Research on the Web indicated that many others have faced this same issue when using tvtime.
The Hauppauge WinTV-HVR-950 is a USB 2.0 HDTV tuner card, which is very similar to the Pinnacle PCTV HD Pro Stick, except the Hauppauge device does not come with a remote control. Like the Pinnacle PCTV HD Pro Stick, it supports digital (ATSC), analog (NTSC) as well as unencrypted cable TV signals. This card comes with a portable telescopic antenna, USB extender cable and A/V adapter cable with inputs for S-Video, composite video and stereo audio. I found that the antenna provided with this card was not as good as the one supplied with the Pinnacle PCTV HD Pro Stick. In fact, I had to use a better indoor amplified antenna or an outdoor antenna instead. This card also blocked adjacent USB ports when plugged in to my system.
Hauppauge does not officially support Linux for this product. But, this tuner card also is based on the Empiatech EM2880 chipset (same as Pinnacle's PCTV HD Pro Stick). Hence the same kernel modules built for the HD Pro Stick worked with this tuner. Follow the steps in the Building Device Drivers for Pinnacle PCTV HD Pro Stick and Hauppauge WinTV-HVR-950 on Ubuntu 7.10 sidebar to build the driver.
The viewing experience for both SD and HD programs and analog TV was similar to that provided by the Pinnacle PCTV HD Pro Stick.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Validate an E-Mail Address with PHP, the Right Way
- Why Python?
- Tech Tip: Really Simple HTTP Server with Python
- Build a Skype Server for Your Home Phone System
- Linux Systems Administrator
- Reply to comment | Linux Journal
58 min 14 sec ago - Reply to comment | Linux Journal
1 hour 48 min ago - Not free anymore
5 hours 50 min ago - Great
9 hours 37 min ago - Reply to comment | Linux Journal
9 hours 45 min ago - Understanding the Linux Kernel
12 hours 13 sec ago - General
14 hours 29 min ago - Kernel Problem
1 day 32 min ago - BASH script to log IPs on public web server
1 day 4 hours ago - DynDNS
1 day 8 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
I still prefer to watch TV
I still prefer to watch TV on classic TV screens rather than on my laptop
very interesting post though
Matt