[mythtv-users] Still tearing my hair out with Myth 0.21 on Fedora 11

Another Sillyname anothersname at googlemail.com
Wed Oct 7 16:56:11 UTC 2009


2009/10/7 Chris Jones <chris at mollingtonconsultants.com>:
>
>> -----Original Message-----
>> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
>> bounces at mythtv.org] On Behalf Of Another Sillyname
>> Sent: 07 October 2009 3:31 PM
>> To: Discussion about mythtv
>> Subject: Re: [mythtv-users] Still tearing my hair out with Myth 0.21 on
>> Fedora 11
>>
>> 2009/10/7 Chris Jones <chris at mollingtonconsultants.com>:
>> >
>> >> -----Original Message-----
>> >> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
>> >> bounces at mythtv.org] On Behalf Of Another Sillyname
>> >> Sent: 07 October 2009 9:44 AM
>> >> To: Discussion about mythtv
>> >> Subject: Re: [mythtv-users] Still tearing my hair out with Myth 0.21
>> on
>> >> Fedora 11
>> >>
>> >> 2009/10/7 Chris Jones <chris at mollingtonconsultants.com>:
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
>> >> >> bounces at mythtv.org] On Behalf Of Another Sillyname
>> >> >> Sent: 07 October 2009 3:43 AM
>> >> >> To: Discussion about mythtv
>> >> >> Subject: Re: [mythtv-users] Still tearing my hair out with Myth
>> 0.21
>> >> on
>> >> >> Fedora 11
>> >> >>
>> >> >
>> >> >
>> >> >> As I haven't read all that's gone before I don't know what you
>> have
>> >> >> and haven't done so if you've already tried this let me know.
>> >> >>
>> >> >> yum install dvb-apps
>> >> >>
>> >> >> open a new terminal session using your 'normal' user account
>> >> >>
>> >> >> in that new session
>> >> >> > mkdir ~/.tzap
>> >> >> > scandvb /usr/local/dvb-apps/dvb-t/uk-WinterHill >
>> >> >> ~/.tzap/channels.conf
>> >> >> > tzap "BBC ONE"
>> >> >>
>> >> >> now tell us what happens, you should replace "BBC ONE" with one
>> >> >> channel from each of the other Mux's to make sure you're getting
>> a
>> >> >> lock on each of them.
>> >> >> _______________________________________________
>> >> >
>> >> > I had already installed dvb-apps, which are in /usr/share rather
>> than
>> >> > /usr/local and also had the .tzap folder.
>> >> >
>> >> > The command (as modified to reflect the slight difference in
>> >> location)
>> >> > resulted in a channels.conf file that listed 141 records which
>> seems
>> >> to
>> >> > comprise all of the freeserve channels that I need.
>> >> >
>> >> > How do I now utilise this information to get the scan done in
>> Mythtv-
>> >> setup?
>> >> >
>> >> > I have tried re-scanning in mythtv-setup using the -v all option
>> and
>> >> > directed logging to another file. The results of this scan (for
>> one
>> >> channel)
>> >> > are:
>> >> > 2009-10-07 08:44:30.208 ChannelBase(1): Input #1: 'DVBInput'
>> schan(1)
>> >> > sourceid(1) ccid(1)
>> >> > 2009-10-07 08:44:30.208 ChannelBase(1): Current Input #1:
>> 'DVBInput'
>> >> > 2009-10-07 08:44:30.211 DVBSM(0): Can measure Signal Strength
>> >> > 2009-10-07 08:44:30.213 DVBSM(0): Can measure S/N
>> >> > 2009-10-07 08:44:30.216 DVBSM(0): Can measure Bit Error Rate
>> >> > 2009-10-07 08:44:30.217 DVBSM(0): Can count Uncorrected Blocks
>> >> > 2009-10-07 08:44:30.217 SM(0)::RemoveFlags: Seen() Match() Wait()
>> >> > 2009-10-07 08:44:30.217 DVBSM(0): DVBSignalMonitor::ctor initial
>> >> flags
>> >> > Seen() Match() Wait(Sig,SNR,BER,UB,)
>> >> > 2009-10-07 08:44:30.217 SIScan(0): Connecting up DTVSignalMonitor
>> >> > 2009-10-07 08:44:30.217 SM(0)::AddFlags: Seen() Match()
>> >> > Wait(MGT,VCT,NIT,SDT,)
>> >> > 2009-10-07 08:44:30.218 MSqlQuery: SELECT freetoaironly FROM
>> >> cardinput WHERE
>> >> > cardid    = 1 AND       inputname = 'DVBInput'
>> >> > 2009-10-07 08:44:30.219 MSqlQuery: SELECT radioservices FROM
>> >> cardinput WHERE
>> >> > cardid    = 1 AND       inputname = 'DVBInput'
>> >> > 2009-10-07 08:44:30.219 SWizScan: HandleTuneComplete()
>> >> > 2009-10-07 08:44:30.219 SIScan(0): Starting SIScanner
>> >> > 2009-10-07 08:44:30.219 SWizScan: ScanTransports(dvbt, ofdm, uk)
>> >> > 2009-10-07 08:44:30.219 SIScan(0): Looked up freq table (dvbt,
>> ofdm,
>> >> uk) w/1
>> >> > entries
>> >> > 2009-10-07 08:44:30.220 MSqlQuery: SELECT mplexid FROM
>> dtv_multiplex
>> >> WHERE
>> >> > sourceid  = 1  AND       frequency = 474000000
>> >> > 2009-10-07 08:44:30.220 MSqlQuery: SELECT mplexid FROM
>> dtv_multiplex
>> >> WHERE
>> >> > sourceid  = 1  AND       frequency = 474166670
>> >> > 2009-10-07 08:44:30.221 MSqlQuery: SELECT mplexid FROM
>> dtv_multiplex
>> >> WHERE
>> >> > sourceid  = 1  AND       frequency = 473833330
>> >> > 2009-10-07 08:44:30.221 SIScan(0): Transport Scan Item '' #0
>> >> >        mplexid(0) standard(dvb) sourceid(1)
>> >> >        UseTimer(0) scanning(0)
>> >> >        timeoutTune(500 msec)
>> >> >        frequency(474000000) constellation(6)
>> >> >          inv(0) bandwidth(0) hp(9) lp(9)
>> >> >          trans_mode(0) guard_int(0) hierarchy(0)
>> >> >         offset[0..2]: 0 166670 -166670
>> >> > 2009-10-07 08:44:30.222 MSqlQuery: SELECT data FROM settings WHERE
>> >> value =
>> >> > 'UseArrowAccels' AND hostname = 'legolas.mollcons.local' ;
>> >> > 2009-10-07 08:44:30.222 MSqlQuery: SELECT mplexid FROM
>> dtv_multiplex
>> >> WHERE
>> >> > sourceid  = 1  AND       frequency = 482000000
>> >> > 2009-10-07 08:44:30.222 MSqlQuery: SELECT mplexid FROM
>> dtv_multiplex
>> >> WHERE
>> >> > sourceid  = 1  AND       frequency = 482166670
>> >> > 2009-10-07 08:44:30.223 MSqlQuery: SELECT data FROM settings WHERE
>> >> value =
>> >> > 'PopupHeightPadding' AND hostname = 'legolas.mollcons.local' ;
>> >> > 2009-10-07 08:44:30.223 MSqlQuery: SELECT mplexid FROM
>> dtv_multiplex
>> >> WHERE
>> >> > sourceid  = 1  AND       frequency = 481833330
>> >> > 2
>> >> >
>> >> > Looking at the sql commands in relation to my mythconverg
>> database, I
>> >> can
>> >> > see why this scan does NOT return any results. The first sql
>> command
>> >> using
>> >> > cardinput table will work, but the second one using dtv_multiplex
>> >> table will
>> >> > not generate ANY result because my dtv_multiplex table is NOT
>> >> populated. Do
>> >> > I have to manually populate the dtv_multiplex table?
>> >> >
>> >>
>> >> Chris
>> >>
>> >> Before you jump on to the mythtv stuff
>> >>
>> >> can you do a tzap "BBC ONE" and let us know the output, and can you
>> >> also do a tzap -r "BBC ONE" /path/to/record/file.mpg
>> >>
>> >> Then try playing back the file using either mplayer or vlc or
>> whatever
>> >> to make sure you've got a decent signal lock.
>> >
>> > [|]
>> > I tried both.
>> >
>> > The first tzap generated the following:
>> > using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
>> > tuning to 754166670 Hz
>> > video pid 0x0258, audio pid 0x0259
>> > status 01 | signal 5050 | snr 8000 | ber 00003fff | unc 00000000 |
>> > status 1f | signal 5353 | snr ffff | ber 00000000 | unc 00000000 |
>> > FE_HAS_LOCK
>> > status 1f | signal 5353 | snr ffff | ber 00000000 | unc 00000000 |
>> > FE_HAS_LOCK
>> > status 1f | signal 5353 | snr ffff | ber 00000000 | unc 00000000 |
>> > FE_HAS_LOCK
>> > status 1f | signal 5353 | snr ffff | ber 00000000 | unc 00000000 |
>> > FE_HAS_LOCK
>> >
>> > When I tried the alternative, all I got was a similar display on the
>> > terminal screen, and NO output file.
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> >
>>
>> Chris I'm assuming that's the tzap for BBC ONE?
>>
>> If it is it's comforting to see you getting a clean lock.
>>
>> The next stage is to get a clean channels.conf.
>>
>> If you look at the format of your uk-WinterHill file it should have
>> either 5 or 6 muxes in the format...
>>
>> T 754167000 8Mhz 3/4 NONE QAM16 2k 1/32 NONE
>>
>> If you look in the channels.conf you created using scan you should see
>> the same date in a different format, together with the channel info.
>>
>> Can you confirm the uk-WinterHill data you have is up to date as
>> compared to the channels.conf you created yourself.
>> _______________________________________________
>
> Thanks for that information. WinterHill has 6 multiplexes. According to
> http://www.dtg.org.uk/industry/dtt_channels.html there are two sets of
> information, pre and post DSO. Is DSO the switchover due in a months time?
>
> The information in the uk-WinterHill file in the dvb-t folder is as
> follows:-
> # UK, Winter Hill
> # Auto-generated from http://www.dtg.org.uk/retailer/dtt_channels.html
> # and http://www.ofcom.org.uk/static/reception_advice/index.asp.html
> # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
> T 754167000 8MHz 3/4 NONE QAM16 2k 1/32 NONE
> T 834167000 8MHz 2/3 NONE QAM64 2k 1/32 NONE
> T 850167000 8MHz 2/3 NONE QAM64 2k 1/32 NONE
> T 842167000 8MHz 3/4 NONE QAM16 2k 1/32 NONE
> T 786167000 8MHz 3/4 NONE QAM16 2k 1/32 NONE
> T 810167000 8MHz 3/4 NONE QAM16 2k 1/32 NONE
> # UK, Winter Hill B
> T 650000000 8MHz 3/4 NONE QAM16 2k 1/32 NONE
> T 626000000 8MHz 3/4 NONE QAM16 2k 1/32 NONE
>
> The freq values are rounded up from the values in my (new) channels.conf
> that I generated this morning. Does this matter? This was dated 20 Feb 2009,
> and I know we have had one refresh a few days ago, to allow Channel 5 to
> move frequency.
>
> If it does not, should I then use the data to populate the dtv_multiplex
> table? Or am I jumping too quickly?
> --
> Chris Jones
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Doesn't matter about the rounding up, as long as they're pretty close.

OK Now here we go.....

Firstly shut down your mythbackend

Keeping the data from the scan to hand....in a 'normal user' session
run mythtv-setup

option 5 -->  Channel Editor

Delete ALL the channels currently in the system

Click Transport Editor and see if the values from the scan file match
the values for the Mux's here.

If they do....

Just do a normal full scan

if they don't

delete the mux's where the values are wrong

if you end up deleting ALL the muxs jump to option2 below.

option1 - Assuming you haven't deleted all the Mux's then do a full
scan and keep an eye on where you get channel locks, if you compare
those channels with the frequencies you got from your scan earlier
they should match.

option2 - If you've deleted ALL the Mux's do the following.

Choose --> Channel Scanner --> Scan Type: Full Scan (Tuned) --> Now
enter a valid data set from your scan file and repeat for all the
other Mux's from your scan.

That's it hopefully, let us know what happens now.


More information about the mythtv-users mailing list