[mythtv] [mythtv-commits] Ticket #1648: Firewire Recorder missing signal monitor (get's stuck)
Jim Westfall
jwestfall at surrealistic.net
Sat Dec 9 21:53:59 UTC 2006
seems this is the problem
2006-12-09 13:48:54.983 TVRec(1): Request: Program(no) channel() input() flags(LiveTV,)
2006-12-09 13:48:54.983 TVRec(1): HW Tuner: 1->1
2006-12-09 13:48:54.983 TVRec(1): ClearFlags(PENDINGACTIONS,) -> RunMainLoop,AskAllowRecording,
2006-12-09 13:48:55.000 ChannelBase(1): Input #1: 'MPEG2TS' schan(111) sourceid(1) ccid(1)
2006-12-09 13:48:55.000 ChannelBase(1): Current Input #1: 'MPEG2TS'
2006-12-09 13:48:55.000 FireDev(0:0): Requesting STB Power State (cmd: 0x1ffb27f)
2006-12-09 13:48:55.002 FireDev(0:0): STB Power State: Off (0xcffb260)
2006-12-09 13:48:55.002 FireChan(0:0), Warning: STB is turned off, must be on to set channel.
This causes LinuxFirewireChannel to short circuit and never call
SetSIStandard("mpeg");
SetCachedATSCInfo(QString("%1-1").arg(channel));
jim
Jim Westfall <jwestfall at surrealistic.net> wrote [12.09.06]:
> I tried it out. Only issue I have run into is the power-on parts.
>
> If the stb is off and I enter livetv it will do the following.
>
> 2006-12-09 13:16:50.826 Chain: Appended at 0 '1111_20061209131650'
> 2006-12-09 13:16:50.828 TVRec(1): Starting Signal Monitor
> 2006-12-09 13:16:50.828 TVRec(1): SetupSignalMonitor(1, 1)
> 2006-12-09 13:16:50.846 ChannelBase(1): Input #1: 'MPEG2TS' schan(111) sourceid(1) ccid(1)
> 2006-12-09 13:16:50.846 ChannelBase(1): Current Input #1: 'MPEG2TS'
> 2006-12-09 13:16:50.846 FireSM(0:0): ctor
> 2006-12-09 13:16:50.846 SM(0:0)::AddFlags: Seen() Match() Wait(Sig,)
> 2006-12-09 13:16:50.846 FireDev(0:0): Requesting STB Power State (cmd: 0x1ffb27f)
> 2006-12-09 13:16:50.847 FireDev(0:0): STB Power State: Off (0xcffb260)
> 2006-12-09 13:16:50.848 TVRec(1): Signal monitor successfully created
> 2006-12-09 13:16:50.848 TVRec(1): Setting up table monitoring.
> 2006-12-09 13:16:50.848 TVRec(1) Error: No valid DTV info, ATSC maj(0) min(0), MPEG pn(-1)
> 2006-12-09 13:16:50.848 TVRec(1) Error: Failed to setup digital signal monitoring
> 2006-12-09 13:16:50.848 TVRec(1) Error: Failed to setup signal monitor
> 2006-12-09 13:16:50.848 FireSM(0:0): Stop() -- begin
> 2006-12-09 13:16:50.848 SM(0:0)::Stop: begin
> 2006-12-09 13:16:50.849 SM(0:0)::Stop: end
> 2006-12-09 13:16:50.849 FireSM(0:0): Stop() -- end
> 2006-12-09 13:16:50.849 TVRec(1): SetFlags(SignalMonitorRunning,) -> RunMainLoop,AskAllowRecording,SignalMoni
>
> There also needs to be ~3 second sleep after issuing a power-on command.
> The stb will say its powered on but wont accept channel change commands
> for a few seconds.
>
> jim
>
> MythTV <mythtv at cvs.mythtv.org> wrote [12.08.06]:
> > #1648: Firewire Recorder missing signal monitor (get's stuck)
> > --------------------+-------------------------------------------------------
> > Reporter: xris | Owner: jwestfall
> > Type: defect | Status: new
> > Priority: minor | Milestone: 0.21
> > Component: mythtv | Version: head
> > Severity: medium | Resolution:
> > --------------------+-------------------------------------------------------
> > Comment (by danielk):
> >
> > The "firewire-sm-v10.patch" patch still has some problems.
> >
> > 1/ To deal with internal buffering in the STB we pause for 5 seconds
> > before trying to check the data we are getting. I haven't found a way to
> > reset my STB reliably, but I'm still testing potential solutions for this
> > problem.
> >
> > 2/ If the firewire bus needs resetting this version of the patch does not
> > perform the reset. I need to add some safety checks to this code and make
> > it optional. The point of the reset is to be able to leave encrypted
> > channels if we accidentally change to one (important durning a channel
> > scan).
> >
> > 3/ I haven't added any channel scan capability using the firewire signal
> > monitor. But the plan is to add this so that firewire setup is a little
> > more automatic for users where some of the channels are encrypted.
> >
> > 4/ So far this is Linux only, I'm working getting a Mac development
> > environment working so that I can add support for OS X as well.
> >
> > 5/ The firewire recorders really need some refactoring after adding signal
> > monitoring, I plan to do this after I get that Mac development environment
> > up and running.
> >
> > Otherwise I've been running a version of this patch for a couple weeks and
> > it seems to work ok other than the longer channel switching time.
> >
> > --
> > Ticket URL: <http://svn.mythtv.org/trac/ticket/1648#comment:9>
> > MythTV <http://www.mythtv.org/>
> > MythTV
> > _______________________________________________
> > mythtv-commits mailing list
> > mythtv-commits at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list