[mythtvnz] hdhomerun doesn't connect on restart when connected directly to the lan port

Paulgir paulgir at gmail.com
Wed Apr 24 04:54:26 BST 2013


On Wed, 24 Apr 2013 14:41:06 +1200, Nick Rout <nick.rout at gmail.com> wrote:

>
>
> On Wed, Apr 24, 2013 at 1:16 PM, Paulgir <paulgir at gmail.com> wrote:
>>
>> I'm slowly getting the bugs sorted out. Only two left that I am aware  
>> of.
>> This one is regarding communication with the HDHR.I thought I had it  
>> sorted on Saturday.
>> The only way I could get the HDHR to work on ethernet port was to set  
>> the network connections
>> ipv4 settings to manual , no MAC address and 196.254.1.10 ; 255.255.0.0  
>> ; 0.0.0.0 for the ip netmask and gateway settings.
>> It seemed to be reliable but since a power outage upset things I can  
>> only get it to work in a haphazard fashion.
>>
>> in Mythbackend the capture cards screen is set to use the device IDs:   
>> 11111EB-0 / 11111EB-1
>>
>> I tried the suggestions from Nick Rout in this forum thread :  
>> http://ubuntuforums.org/showthread.php?t=2062279
>>
>> These are the symptoms: (from the forum post)
>>
>> " Nothing records and when you go to watch tv it tries to work then  
>> boots you back to the main menu. Also, the light on >>the hdhomerun  
>> that turns solid when it is connected, instead of being solid,  
>> continues to blink. After running >>hdhomerun_config and restarting  
>> mythtv-backend recording works as does watching live tv and the light  
>> on the hdhomerun >>stays turns solid green and stays that way until the  
>> next time the computer is rebooted."
>>
>> My network indicator says connected and HDHomerun set up talks to the  
>> device.
>>
>> The original poster did not mark the thread solved and Nick's  
>> suggestion won't work for me.
>
> It's quite likely that the network connection between the backend  
> machine and the HDHR is not up when mythbackend is >started. Link local  
> ddresses take a while to acquire as the HDHR will be timing out trying  
> to find a DHCP server first. But >if you provided us with some logs it  
> would be easier to say.
> Basic troubleshooting=logs.
>
> I still haven't figured out why you insist on putting the HDHR on a  
> separate subnet, but if you insist on doing so why don't >you run a dhcp  
> server and give out a real IP address to the HDHR?
>
>
I was running manually set address,Link local is only the last thing I  
tried neither is anymore successful than the other for me.
The reason I run a separate subnet is that the is no antenna cable  
anywhere near my modem router for the HDHR and the myth box is on a  
wireless LAN because I don't want to run cat6 cable through


the ceiling and walls to get to the mythbox.

Here's mythbackend log immediately after boot:

Apr 24 15:39:44 myth mythbackend[1820]: C thread_unknown  
mythcommandlineparser.cpp:2534 (ConfigureLogging) mythbackend version:  
fixes/0.25 [v0.25.2-15-g46cab93] www.mythtv.org
Apr 24 15:39:44 myth mythbackend[1820]: C thread_unknown  
mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: compile:  
4.8.1, runtime: 4.8.1
Apr 24 15:39:44 myth mythbackend[1820]: N thread_unknown  
mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose msgs:  
general
Apr 24 15:39:44 myth mythbackend[1820]: N thread_unknown logging.cpp:1176  
(logStart) Setting Log Level to LOG_INFO
Apr 24 15:39:44 myth mythbackend[1820]: I thread_unknown logging.cpp:229  
(FileLogger) Added logging to the console
Apr 24 15:39:44 myth mythbackend[1820]: I thread_unknown logging.cpp:369  
(SyslogLogger) Added syslogging to facility local7
Apr 24 15:39:44 myth mythbackend[1820]: I thread_unknown logging.cpp:425  
(DatabaseLogger) Added database logging to table logging
Apr 24 15:39:44 myth mythbackend[1820]: N thread_unknown logging.cpp:1215  
(logStart) Setting up SIGHUP handler
Apr 24 15:39:44 myth mythbackend[1820]: N thread_unknown mythdirs.cpp:51  
(InitializeMythDirs) Using runtime prefix = /usr
Apr 24 15:39:44 myth mythbackend[1820]: N thread_unknown mythdirs.cpp:64  
(InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Apr 24 15:39:44 myth mythbackend[1820]: I CoreContext  
mythcorecontext.cpp:227 (Init) Assumed character encoding: en_NZ.UTF-8
Apr 24 15:39:44 myth mythbackend[1820]: N CoreContext mythcontext.cpp:477  
(LoadDatabaseSettings) Empty LocalHostName.
Apr 24 15:39:44 myth mythbackend[1820]: I CoreContext mythcontext.cpp:481  
(LoadDatabaseSettings) Using localhost value of myth
Apr 24 15:39:45 myth mythbackend[1820]: N CoreContext  
mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to en_US
Apr 24 15:39:45 myth mythbackend[1820]: I CoreContext  
mythcorecontext.cpp:1303 (SaveLocaleDefaults) Current locale en_US
Apr 24 15:39:45 myth mythbackend[1820]: N CoreContext mythlocale.cpp:121  
(LoadDefaultsFromXML) Reading locale defaults from  
/usr/share/mythtv//locales/en_us.xml
Apr 24 15:39:45 myth mythbackend[1820]: I CoreContext schemawizard.cpp:117  
(Compare) Current MythTV Schema Version (DBSchemaVer): 1299
Apr 24 15:39:45 myth mythbackend[1820]: I CoreContext  
mythtranslation.cpp:66 (load) Loading en_gb translation for module  
mythfrontend
Apr 24 15:39:45 myth mythbackend[1820]: N CoreContext main_helpers.cpp:556  
(run_backend) MythBackend: Starting up as the master server.
Apr 24 15:39:45 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:342 (Connect) HDHRSH(11111EB6-0): Unable to connect  
to device
Apr 24 15:39:45 myth mythbackend[1820]: E CoreContext dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:39:45 myth mythbackend[1820]: E CoreContext dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-0): SetChannelByString(1): Failed to  
initialize multiplex options
Apr 24 15:39:46 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:385 (TunerGet) HDHRSH(11111EB6-0): Get request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:46 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:424 (TunerSet) HDHRSH(11111EB6-0): Set request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:46 myth mythbackend[1820]: E CoreContext dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:39:46 myth mythbackend[1820]: E CoreContext dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-0): SetChannelByString(1): Failed to  
initialize multiplex options
Apr 24 15:39:47 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:385 (TunerGet) HDHRSH(11111EB6-0): Get request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:47 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:424 (TunerSet) HDHRSH(11111EB6-0): Set request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:47 myth mythbackend[1820]: E CoreContext dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:39:47 myth mythbackend[1820]: E CoreContext dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-0): SetChannelByString(1): Failed to  
initialize multiplex options
Apr 24 15:39:47 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:385 (TunerGet) HDHRSH(11111EB6-0): Get request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:48 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:424 (TunerSet) HDHRSH(11111EB6-0): Set request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:48 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:342 (Connect) HDHRSH(11111EB6-1): Unable to connect  
to device
Apr 24 15:39:48 myth mythbackend[1820]: E CoreContext dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:39:48 myth mythbackend[1820]: E CoreContext dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-1): SetChannelByString(1): Failed to  
initialize multiplex options
Apr 24 15:39:49 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:385 (TunerGet) HDHRSH(11111EB6-1): Get request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:49 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:424 (TunerSet) HDHRSH(11111EB6-1): Set request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:49 myth mythbackend[1820]: E CoreContext dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:39:49 myth mythbackend[1820]: E CoreContext dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-1): SetChannelByString(1): Failed to  
initialize multiplex options
Apr 24 15:39:49 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:385 (TunerGet) HDHRSH(11111EB6-1): Get request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:50 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:424 (TunerSet) HDHRSH(11111EB6-1): Set request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:50 myth mythbackend[1820]: E CoreContext dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:39:50 myth mythbackend[1820]: E CoreContext dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-1): SetChannelByString(1): Failed to  
initialize multiplex options
Apr 24 15:39:50 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:385 (TunerGet) HDHRSH(11111EB6-1): Get request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:39:51 myth mythbackend[1820]: E CoreContext  
hdhrstreamhandler.cpp:424 (TunerSet) HDHRSH(11111EB6-1): Set request  
failed#012#011#011#011eno: Resource temporarily unavailable (11)
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext programinfo.cpp:2052  
(CheckProgramIDAuthorities) Found 1 distinct programid authorities
Apr 24 15:40:00 myth mythbackend[1820]: I Scheduler mythdbcon.cpp:422  
(getStaticCon) New static DB connectionSchedCon
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP 127.0.0.1:6544
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP 169.254.10.170:6544
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP [::1]:6544
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP [fe80::16da:e9ff:fedc:51a1%eth0]:6544
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP [fe80::fad1:11ff:fe10:e676%wlan2]:6544
Apr 24 15:40:00 myth mythbackend[1820]: N CoreContext mediaserver.cpp:169  
(Init) MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext main_helpers.cpp:626  
(run_backend) Main::Registering HttpStatus Extension
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP 127.0.0.1:6543
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP 169.254.10.170:6543
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP [::1]:6543
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP [fe80::16da:e9ff:fedc:51a1%eth0]:6543
Apr 24 15:40:00 myth mythbackend[1820]: I CoreContext serverpool.cpp:395  
(listen) Listening on TCP [fe80::fad1:11ff:fe10:e676%wlan2]:6543
Apr 24 15:40:00 myth mythbackend[1820]: N CoreContext autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB  
w/freq: 15 min
Apr 24 15:40:03 myth mythbackend[1820]: I Scheduler scheduler.cpp:2033  
(HandleReschedule) Reschedule requested for id -1.
Apr 24 15:40:03 myth mythbackend[1820]: I Scheduler scheduler.cpp:2093  
(HandleReschedule) Scheduled 31 items in 0.2 = 0.06 match + 0.09 place
Apr 24 15:40:03 myth mythbackend[1820]: I Scheduler scheduler.cpp:2160  
(HandleRunSchedulerStartup) Scheduler: Seem to be woken up by USER
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1475 (HandleAnnounce) MainServer::HandleAnnounce  
FileTransfer
Apr 24 15:40:06 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1477 (HandleAnnounce) adding: myth as a remote file transfer
Apr 24 15:40:08 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
Apr 24 15:40:08 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 24 15:40:08 myth mythbackend[1820]: I TVRecEvent tv_rec.cpp:1029  
(HandleStateChange) TVRec(11): Changing from None to WatchingLiveTV
Apr 24 15:40:08 myth mythbackend[1820]: I TVRecEvent tv_rec.cpp:3495  
(TuningCheckForHWChange) TVRec(11): HW Tuner: 11->11
Apr 24 15:40:08 myth mythbackend[1820]: E TVRecEvent dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:40:08 myth mythbackend[1820]: E TVRecEvent dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-0): SetChannelByString(2): Failed to  
initialize multiplex options
Apr 24 15:40:08 myth mythbackend[1820]: E TVRecEvent tv_rec.cpp:3681  
(TuningFrequency) TVRec(11): Failed to set channel to 2. Reverting to  
kState_None
Apr 24 15:40:08 myth mythbackend[1820]: I TVRecEvent tv_rec.cpp:1029  
(HandleStateChange) TVRec(11): Changing from WatchingLiveTV to None
Apr 24 15:40:09 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
Apr 24 15:40:09 myth mythbackend[1820]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 24 15:40:09 myth mythbackend[1820]: I TVRecEvent tv_rec.cpp:1029  
(HandleStateChange) TVRec(11): Changing from None to WatchingLiveTV
Apr 24 15:40:09 myth mythbackend[1820]: I TVRecEvent tv_rec.cpp:3495  
(TuningCheckForHWChange) TVRec(11): HW Tuner: 11->11
Apr 24 15:40:09 myth mythbackend[1820]: E TVRecEvent dtvmultiplex.cpp:325  
(ParseTuningParams) DTVMux: ParseTuningParams -- Unknown tuner type =  
0xffffffff80000000
Apr 24 15:40:09 myth mythbackend[1820]: E TVRecEvent dtvchannel.cpp:308  
(SetChannelByString) DTVChan(11111EB6-0): SetChannelByString(2): Failed to  
initialize multiplex options
Apr 24 15:40:09 myth mythbackend[1820]: E TVRecEvent tv_rec.cpp:3681  
(TuningFrequency) TVRec(11): Failed to set channel to 2. Reverting to  
kState_None
Apr 24 15:40:09 myth mythbackend[1820]: I TVRecEvent tv_rec.cpp:1029  
(HandleStateChange) TVRec(11): Changing from WatchingLiveTV to None
Apr 24 15:40:10 myth mythbackend[1820]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Apr 24 15:40:19 myth mythbackend[1820]: N Expire autoexpire.cpp:640  
(SendDeleteMessages) Expiring 0 MB for 1002 at 2013-04-24T14:47:17 => .
Apr 24 15:40:19 myth mythbackend[1820]: N Expire autoexpire.cpp:640  
(SendDeleteMessages) Expiring 7 MB for 1002 at 2013-04-24T14:47:18 => .
Apr 24 15:41:19 myth mythbackend[1820]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB  
w/freq: 15 min
Apr 24 15:45:15 myth mythbackend[1820]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread


-Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20130424/9c724f24/attachment-0001.html>


More information about the mythtvnz mailing list