个人工具

UbuntuHelp:HDHomeRun

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(MythTV/Header)>>

Silicon Dust HDHomeRun

The HDHomeRun is a networked digital television receiver with two tuners. It can tune QAM64, QAM256, or 8VSB television streams. It is most useful in the United States where QAM is very commonly used for cable transmission and 8VSB (ATSC) for Over The Air television transmission. The device can be used with MythTV, VLC, or SageTV for viewing. Currently, the only application with native channel scanning and device management is MythTV. Using VLC or SageTV will require that the command line utility hdhomerun_config is used to configure and manage the device.

Requirements

The only requirement for recording is a 100Mbps ethernet network with a DHCP server running. The computers that will be receiving the digital streams from the HDHomeRun will have to be on the same subnet as the HDHomeRun. It will not function across multiple routers or gateways.

Hooking up the HDHomeRun

Unfortunately, the HDHomeRun isn't adequately labeled as to which input is which on the back or which LED corresponds to what on the front. This isn't a big deal if you will be using both tuner inputs as the same type (both QAM or both ATSC). However, if you will be mixing and matching inputs or only using one input, it is important to attach it correctly.

HDHomeRun?action=AttachFile&do=get&target=front.png Here is the front.
HDHomeRun?action=AttachFile&do=get&target=back.png Here is the rear.

Upgrading the firmware

Silicon Dust regularly releases firmware updates that enhance the functionality and performance of the HDHomeRun. Before getting started, its a very good idea to upgrade the firmware to the latest release to rule these problems out.

Install hdhomerun_config

hdhomerun_config is used for command line management of the device. It can be used for firmware updates, querying device information, or setting configuration options.

sudo apt-get install hdhomerun-config
  • Ubuntu Hardy users will be able to download directly from the Ubuntu archive.
sudo apt-get install hdhomerun-config

Download firmware

The latest firmware is available from the Silicon Dust website. At the time of writing the latest firmware release is 04/27/2008. Here is a link directly to the firmware: http://download.silicondust.com/hdhomerun/hdhomerun_firmware_20080427.bin

Discover your device

In order to verify that your device is responding as well as to locate it on your network, you can use hdhomerun_config to discover its location. The device's current IP address and device ID will be returned. Note that this device ID can also be obtained from looking on the bottom of your HDHomeRun.

hdhomerun_config discover

Here is an example of the output from the device used to write this page:

supermario@portablemario:~$ hdhomerun_config discover
hdhomerun device 1010C032 found at 192.168.4.220

Upgrade your firmware

In the previous step, you discovered the device ID in use by your HDHomeRun. You will now use this ID to perform the firmware upgrade.

hdhomerun_config ID upgrade FILE
  • ID is the device ID discovered previously
  • FILE is the filename of the firmware upgrade

Here is an exmaple of the output from the device used to write this page:

supermario@portablemario:~$ hdhomerun_config 1010C032 upgrade ~/Desktop/hdhomerun_firmware_20070512.bin 
WARNING: firmware upgrade needed for all operations to function
upgrade complete

Setting up MythTV

MythTV provides full support for the HDHomeRun's QAM and OTA support natively.

  • Ubuntu Edgy (6.10) has full support for OTA tuning. Upgrading to Ubuntu Feisty is recommended for QAM tuning.
  • Ubuntu Feisty (7.04) has all required support.
  • Ubuntu Gutsy (7.10) has all required support.

1) Open mythtv-setup.

mythtv-setup

2) Setup the General page to your liking. 3) Choose Capture Cards.

HDHomeRun?action=AttachFile&do=get&target=capture_1.png Card type: HDHomeRun DTV tuner box
Device ID:
Tuner: 0
Finish:
Shortcut - if there is only one HDHomeRun on the local network you can use the wildcard FFFFFFFF device ID.

Repeat adding second capture card for tuner 1

HDHomeRun?action=AttachFile&do=get&target=capture_return_1.png Card type: HDHomeRun DTV tuner box
Device ID:
Tuner: 1
Finish:

OTA (Digital Antenna)

4) Choose video sources

HDHomeRun?action=AttachFile&do=get&target=video_1.png Video source name: Digital Antenna
Listings grabber: No grabber (will come back and change this later)
Channel frequency table: us-bcast

5) Choose input connections

HDHomeRun?action=AttachFile&do=get&target=input_1.png Video source name: Digital Antenna
External channel change command:
Preset tuner to channel:
Scan for channels:

6) Scan for channels page

HDHomeRun?action=AttachFile&do=get&target=scan_1.png Scan type: Full scan
Frequency table: Broadcast
ATSC modulation: Terrestrial (8-VSB)
Channel seperator: Period
Existing channel treatment: Minimal updates
Next:

7) Return to "Connect source to input page":

HDHomeRun?action=AttachFile&do=get&target=input_return_1.png Make sure that starting channel is a valid channel number
Finish

8) Repeat steps 3-6 for for HDHomeRun Port 1. 9) Choose the channel editor

HDHomeRun?action=AttachFile&do=get&target=channel_1.png Note list of channels for source "Digital Antenna"

10) Open up an account with Tribune Media Services Zap2It. Create an account here: http://labs.zap2it.com/ Create a channel lineup and enable/disable channels based on channels listed in the Channel Editor in mythtv-setup. 11) Choose Video sources Change the configuration for Digital Antenna as follows:

HDHomeRun?action=AttachFile&do=get&target=video_return_1.png Listings grabber: North America (DataDirect) (Internal)
User id:
Password:
Retrieve lineups:
Data direct lineup:
Finish

Digital Cable

4) Choose video sources

HDHomeRun?action=AttachFile&do=get&target=video_2.png Video source name: Digital Cable
Listings grabber: No grabber (will come back and change this later)
Channel frequency table: us-cable

5) Choose input connections

HDHomeRun?action=AttachFile&do=get&target=input_2.png Video source name: Digital Cable
External channel change command:
Preset tuner to channel:
Scan for channels:

6) Scan for channels page (QAM-256)

HDHomeRun?action=AttachFile&do=get&target=scan_2.png Scan type: Full scan
Frequency table: Cable
ATSC modulation: QAM-256
Channel seperator: Period
Existing channel treatment: Minimal updates
Next:

7) Return to "Connect source to input page". Choose to scan for channels again. 8) Scan for channels page (QAM-64)

HDHomeRun?action=AttachFile&do=get&target=scan_return_2.png Scan type: Full scan
Frequency table: Cable
ATSC modulation: QAM-64
Channel seperator: Period
Existing channel treatment: Minimal updates
Next:

9) Return to "Connect source to input page":

HDHomeRun?action=AttachFile&do=get&target=input_return_2.png Make sure that starting channel is a valid channel number
Finish

10) Repeat steps 3-6 for for HDHomeRun Port 1. 11) Choose the channel editor

HDHomeRun?action=AttachFile&do=get&target=channel_2.png Note list of channels for source "Digital Cable"

12) Open up an account with Tribune Media Services Zap2It. Create an account here: http://labs.zap2it.com/ Create a channel lineup and enable/disable channels based on channels listed in the Channel Editor in mythtv-setup. Note that MythTV uses the ATSC channel numbering as specified in the transport stream, not the remapped cable channel numbering so you will need to select OTA/Antenna as the source in Zap2it. 13) Choose Video sources Change the configuration for Digital Cable as follows:

HDHomeRun?action=AttachFile&do=get&target=video_return_2.png Listings grabber: North America (DataDirect) (Internal)
User id:
Password:
Retrieve lineups:
Data direct lineup:
Finish

Troubleshooting

Unable to find the HDHomeRun

If you have more than one network interface and MythTV cannot find the HDHomeRun then you need to install a newer MythTV build. The latest MythTV 0.20 build can be installed by using the Mythbuntu repository.

Intermittently dropping connection

You may notice that many packets are being dropped, or your communication is being interrupted. Often, this is supplemented by the network LED on the front of the HDHomeRun flashing. Under normal or idle activity the LED will always be solid green. Try replacing your ethernet cable(s), or removing switches between the connection to the HDHomeRun and the PC(s) using it.

Credits

A lot of this guide is taken from or based upon information gathered at the Silicon Dust website. See this site for more information not mentioned here: http://www.silicondust.com