<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I managed to get things working.<br>
<br>
It seems that because I have manually added the only channel I was
trying and got the frequency wrong, this caused the problem (though it
should not have seg faulted).<br>
I deleted the channel, and changed to frequency range to Finland and
re-scanned and it found all the New Zealand channels.<br>
Then I was able to manually insert only the Choose channel (the only
un-encrypted one) and viola! it works.<br>
<br>
Cheers<br>
Douglas.<br>
<br>
Mark de Reeper wrote:
<blockquote
 cite="mid:f9a802be0911051844r3496e049g99aac6a06890382@mail.gmail.com"
 type="cite"><br>
  <div class="gmail_quote">On Fri, Nov 6, 2009 at 9:42 AM, Douglas
Pearless <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:Douglas.Pearless@pearless.co.nz">Douglas.Pearless@pearless.co.nz</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <p>Hi,</p>
    <p>I have decided to try my HDHomeRun on DVB-C (telstraclear).</p>
    <p>I have configure it and I can watch channel 68 "Choose" by
manually tuning it using HDHomerun config program and piping the stream
to VLC as it is unencrypted.</p>
    <p>I added it to mythtv and note that I have the very latest build
from the avenard repo (0.22) and mythbackend segfaults.</p>
    <p>running the backend with -v all to capture the debug messages I
get:</p>
    <p>&nbsp;2009-11-06 11:14:46.034 HDHRSH(172.22.0.124-0): Successfully
connected to device<br>
2009-11-06 11:14:46.034 HDHRSH: Creating new stream handler
172.22.0.124-0 for 172.22.0.124-0<br>
2009-11-06 11:14:46.035 MSqlQuery::exec() "SELECT cardinputid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
inputname,&nbsp;&nbsp; startchan,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tunechan,&nbsp;&nbsp;&nbsp; externalcommand,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
sourceid FROM cardinput WHERE cardid = '7'"<br>
2009-11-06 11:14:46.035 MSqlQuery::exec() "SELECT channum, callsign,
channel.chanid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; atsc_major_chan, atsc_minor_chan,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name,
icon, mplexid, visible FROM channel WHERE sourceid='4' "<br>
2009-11-06 11:14:46.035 ChannelBase(7): Input #7: 'MPEG2TS' schan(68)
sourceid(4) ccid(7)<br>
2009-11-06 11:14:46.035 ChannelBase(7): Current Input #7: 'MPEG2TS'<br>
2009-11-06 11:14:46.036 MSqlQuery::exec() "SELECT inputgroupid FROM
inputgroup WHERE cardinputid = '7' ORDER BY inputgroupid, cardinputid,
inputgroupname"<br>
2009-11-06 11:14:46.036 HDHRChan(172.22.0.124-0): SetChannelByString(68)<br>
2009-11-06 11:14:46.036 HDHRChan(172.22.0.124-0): Opening HDHR channel<br>
2009-11-06 11:14:46.036 MSqlQuery::exec() "SELECT channel.chanid FROM
channel, capturecard, cardinput WHERE channel.channum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
'68'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channel.sourceid&nbsp;&nbsp;&nbsp;&nbsp; = cardinput.sourceid
AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cardinput.inputname&nbsp; = 'MPEG2TS'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cardinput.cardid&nbsp;&nbsp;&nbsp;&nbsp; = capturecard.cardid AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
capturecard.cardid&nbsp;&nbsp; = '7'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capturecard.hostname =
'mythtv'"<br>
2009-11-06 11:14:46.037 MSqlQuery::exec() "SELECT inputgroupid FROM
inputgroup WHERE cardinputid = '7' ORDER BY inputgroupid, cardinputid,
inputgroupname"<br>
2009-11-06 11:14:46.038 MSqlQuery::exec() "SELECT finetune, freqid,
tvformat, freqtable,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; commmethod, mplexid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
atsc_major_chan, atsc_minor_chan, serviceid FROM channel, videosource
WHERE videosource.sourceid = channel.sourceid AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
channum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = '68'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channel.sourceid&nbsp;&nbsp;&nbsp;&nbsp; =
'4'"<br>
2009-11-06 11:14:46.038 HDHRChan(172.22.0.124-0): Tuning to :114643968<br>
2009-11-06 11:14:46.038 HDHRSH(172.22.0.124-0): Tuning channel
:114643968 (was none)<br>
Segmentation fault<br>
    </p>
    <p>I note that channel 68 is 610000000 Hz, and program 401.</p>
    <p>Has anyone got this working or am I on the bleeding edge?</p>
  </blockquote>
  <div>I had a similar experience a couple of weekends ago (HDHomerun
doing DVB-T) and ended up having to go back to a rev of .22 that was
working for me. Of course I had removed the packages and updated to the
latest from the repo only to find this issue. It had been long enough
the rev I was using was no longer around so I was forced to download
the specific rev (21866) of the src and compile it myself.<br>
  <br>
Looks like it is happening in the same spot, here a snip of my log:<br>
  <br>
2009-10-25 16:56:26.807 MSqlQuery::exec() "SELECT channel.chanid FROM
channel, capturecard, cardinput WHERE channel.channum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
'10'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channel.sourceid&nbsp;&nbsp;&nbsp;&nbsp; = cardinput.sourceid
AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cardinput.inputname&nbsp; = 'MPEG2TS'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cardinput.cardid&nbsp;&nbsp;&nbsp;&nbsp; = capturecard.cardid AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
capturecard.cardid&nbsp;&nbsp; = '7'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capturecard.hostname =
'mythtv'"<br>
2009-10-25 16:56:26.819 MSqlQuery::exec() "SELECT inputgroupid FROM
inputgroup WHERE cardinputid = '3' ORDER BY inputgroupid, cardinputid,
inputgroupname"<br>
2009-10-25 16:56:26.832 MSqlQuery::exec() "SELECT finetune, freqid,
tvformat, freqtable,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; commmethod, mplexid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
atsc_major_chan, atsc_minor_chan, serviceid FROM channel, videosource
WHERE videosource.sourceid = channel.sourceid AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
channum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = '10'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channel.sourceid&nbsp;&nbsp;&nbsp;&nbsp; =
'1'"<br>
2009-10-25 16:56:26.844 MSqlQuery::exec() "SELECT transportid,
networkid, frequency, modulation, sistandard FROM dtv_multiplex WHERE
mplexid = '6'"<br>
2009-10-25 16:56:26.855 HDHRChan(12104329-1): Tuning to :778000000<br>
2009-10-25 16:56:26.867 HDHRSH(12104329-1): Tuning channel :778000000
(was none)<br>
  <br>
Not had a chance to revisit this problem yet (in AU on work at the mo)
so don't have a lot of advice for you except to say to are not alone :-)<br>
  <br>
Mark<br>
  </div>
  </div>
</blockquote>
</body>
</html>