Lee Marzke on 28 Mar 2009 11:02:55 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Using a HDHomeRun with VLC on Linux


Amul,

Wow, thanks for posting this,  it works great on Ubuntu 8.04

To clarify further: here is a summary from my history file of the commands ( showing real values for WCAU-DT 10.1 )

hdhomerun_config 10160FF3 upgrade /home/lmarzke/Desktop/hdhomerun_atsc_firmware_20090305a.bin

hdhomerun_config 10160FF3 scan /tuner0 >hd_t0.txt
more hd_t0.txt
hdhomerun_config 10160FF3 set /tuner0/channel  8vsb:791000000
hdhomerun_config 10160FF3 get /tuner0/status
hdhomerun_config 10160FF3 get /tuner0/streaminfo
hdhomerun_config 10160FF3 set /tuner0/program 3
vlc udp://@:1234
hdhomerun_config 10160FF3 set /tuner0/target 10.24.3.1:1234

Lee

TuskenTower wrote:
This topic came up at the last PLUG West meeting.  Bhaskar asked about
using VLC with the HDHomeRun without using MythTV.

I was going to have a fun time learning this except, the wheel has
already been built.

1) Use apt/synaptic to get the hdhomerun_config utility.
OR you can download and compile it from
http://www.silicondust.com/wiki/downloads

2) Upgrade your firmware, The most recent release is 20090305a (from
the downloads link above).  The forum thread link (below) about
'unknown channelmap 'default' error' is the error that you will get
when the channel map has not been set.  Looking through the minimal
Mac GUI that automates this (there are sources for a GTK GUI, but I
didn't check for it in the repos) I see four options: 'us-bcast',
'us-cable', 'us-hrc' and 'us-irc'.  Set the right one for your use.
http://www.silicondust.com/forum/viewtopic.php?t=6330

3) This older post covers everything else that anyone needs to do to
watch TV via VLC.
http://www.silicondust.com/forum/viewtopic.php?t=1924


This is the help from the HDHR
$ hdhomerun_config FFFFFFFF get help
Supported configuration options:
  /tuner<n>/channel <modulation>:<freq|ch>     Get/set modulation and frequency
  /tuner<n>/channelmap <channel map>           Get/set channel to frequency map
  /tuner<n>/filter 0x<nnnn>-0x<nnnn> [...]     Get/set PID filter
  /tuner<n>/program <program number>           Get/set MPEG program filter
  /tuner<n>/target <ip>:<port>                 Get/set target IP for tuner
  /tuner<n>/status                             Display status of tuner
  /tuner<n>/streaminfo                         Display stream info
  /tuner<n>/debug                              Display debug info for tuner
  /tuner<n>/lockkey                            Set/clear tuner lock
  /ir/target <ip>:<port>                       Get/set target IP for IR
  /lineup/location <countrycode>:<postcode>    Get/set location for lineup
  /lineup/location disabled                    Disable lineup server connection
  /sys/model                                   Display model name
  /sys/features                                Display supported features
  /sys/version                                 Display firmware version
  /sys/copyright                               Display firmware copyright
  /sys/debug                                   Display debug info

I noticed these two help lines are missing from the new firmware:
  Supported modulation types: 8vsb qam qam64 qam256
  Supported channel maps: default us-bcast us-cable us-irc us-hrc

Ah, I see its in the /sys/features
$ hdhomerun_config 1014350D get /sys/features
channelmap: us-bcast us-cable us-hrc us-irc
modulation: 8vsb qam256 qam64
auto-modulation: auto auto6t auto6c qam

The HDHR Dev Guide (see
http://www.silicondust.com/hdhomerun/instructions) covers the use of
the utilities.  You can use the tools to capture an MPEG stream too.

Neat stuff,
Amul
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug


--

Lee Marzke,  lee@marzke.net   http://marzke.net/lee/
IT Consultant, VMware, VCenter, SAN storage, infrastructure, SW CM
+1 800-393-5217  office         +1 484-348-2230               fax
+1 610-564-4932  cell           sip://8003935217@4aero.com    VOIP



begin:vcard
fn:Lee Marzke
n:Marzke;Lee
org:;VMware, SAN, infrastructure, SW CM
adr:;;;Collegeville,;PA;19426;USA
email;internet:lee@marzke.net
title:IT Consultant
tel;work:+1 800 393 5217
tel;fax:+1 484 348 2230
tel;cell:+1 610 564 4932
url:http://4aero.com
version:2.1
end:vcard

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug