Search:  
Gentoo Wiki

Hauppauge_WinTV_HVR-1800


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

Introduction

This is a description of how to use the Hauppauge HVR-1800 PCI-Express capture card in Gentoo

Description

This tuner card includes an analog NTSC tuner, ATSC tuner, and FM radio tuner.

Kernel Configuration

Support exists in-kernel for the HVR-1800, let's use it:

Linux Kernel Configuration: 2.6.25
Device Drivers --->
     Multimedia Devices --->
          <M> Video For Linux
          [*]   Video capture adapters  --->
                [*]   Autoselect pertinent encoders/decoders and other helper chips 
                <M>   Conexant cx23885 (2388x successor) support
          [*]   DVB/ATSC adapters  --->

After rebooting check if the tuner was recognized and that all device node were created by udev:

 # dmesg | grep 1800
 CORE cx23885[0]: subsystem: 0070:7801, board: Hauppauge WinTV-HVR1800 [card=2,autodetected]
 # ls /dev/v4l/ /dev/dvb/
 /dev/dvb/:
 adapter0
 /dev/v4l/:
 video0  video1

Antenna and QAM

First, we need to install some tools:

 # emerge linuxtv-dvb-apps

Now make sure you antenna is connected. Hopefully you are close enough to a TV station or are connecting from land-line cable. Also install mplayer with appropriate v4l2 USE flags. There are many places where you can find how to set up mplayer for this.

When everything is set up, run 'dvbscan':

 # ls /usr/share/dvb/atsc/
 us-ATSC-center-frequencies-8VSB                 us-Cable-HRC-center-frequencies-QAM256       us-MA-Boston                     us-PA-Philadelphia
 us-CA-SF-Bay-Area                               us-Cable-IRC-center-frequencies-QAM256       us-MI-Lansing
 us-Cable-EIA-542-HRC-center-frequencies-QAM256  us-Cable-Standard-center-frequencies-QAM256  us-NTSC-center-frequencies-8VSB
 us-Cable-EIA-542-IRC-center_frequencies-QAM256  us-ID-Boise                                  us-NY-TWC-NYC
 # dvbscan /usr/share/dvb/atsc/us-CA-SF-Bay-Area >> /etc/mplayer/channels.conf
 scanning /usr/share/dvb/atsc/us-CA-SF-Bay-Area
 using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
 >>> tune to: 503000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 503000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 >>> tune to: 551000000:8VSB
 service is running. Channel number: 26:1. Name: 'KTSF-D1'
 service is running. Channel number: 26:2. Name: 'KTSF-D2'
 >>> tune to: 563000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 563000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 >>> tune to: 593000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 593000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 >>> tune to: 623000000:8VSB
 service is running. Channel number: 38:1. Name: 'KCNS-DT'
 >>> tune to: 635000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 635000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 >>> tune to: 647000000:8VSB
 service is running. Channel number: 43:1. Name: 'KCSM'
 service is running. Channel number: 43:2. Name: 'KCSMMHz'
 service is running. Channel number: 43:3. Name: 'Jazz-TV'
 >>> tune to: 659000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 659000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 >>> tune to: 683000000:8VSB
 service is running. Channel number: 48:1. Name: 'KSTS-D1'
 service is running. Channel number: 48:2. Name: 'KSTS-D2'
 >>> tune to: 689000000:8VSB
 service is running. Channel number: 54:5. Name: 'V-me'
 service is running. Channel number: 54:3. Name: 'LIFE'
 service is running. Channel number: 54:2. Name: 'KQED'
 service is running. Channel number: 54:4. Name: 'KIDS'
 service is running. Channel number: 54:1. Name: 'KTEH'
 >>> tune to: 701000000:8VSB
 service is running. Channel number: 36:1. Name: 'KICU'
 service is running. Channel number: 36:2. Name: 'KICU'
 >>> tune to: 725000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 725000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 >>> tune to: 731000000:8VSB
 WARNING: >>> tuning failed!!!
 >>> tune to: 731000000:8VSB (tuning failed)
 WARNING: >>> tuning failed!!!
 dumping lists (15 services)

Replace us-CA-SF-Bay-Area with what works for you. You may need to try out different frequency files. In the above output I my antenna received 15 channels. The antenna used for this guided is a cheap uni-directional antenna. If I move it around, I usually get a different set of channels.

Once 'dvbscan' finds some channels, you should be able to view them with mplayer:

 # mplayer dvb://

Press 'h' or 'k' to change channels.

Troubleshooting and Support

It took me about 2 days of fussing around to get this card working, I have an idea of just about all things that can be tried, feel free to email Ma3oxuct <<at>> gmail.com directly if you get stuck. I can't fit two days of troubleshooting and learning in one setting :)

Retrieved from "http://www.gentoo-wiki.info/Hauppauge_WinTV_HVR-1800"

Last modified: Sat, 30 Aug 2008 22:12:00 +0000 Hits: 1,161