<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On Sun, Dec 6, 2015 at 2:06 PM Chris Porter <<a href="mailto:hoodlum7@gmail.com">hoodlum7@gmail.com</a>> wrote:<br>
<br>
> I recently upgraded from Kernel 3.10.17 to 4.1.13 and I have encountered<br>
> an issue recording analog. When on the kernel 4.1.13 I get the following<br>
> errors in the MythTV backend log<br>
><br>
> 2015-12-06 00:39:16.684538 D [7969/8965] ProcessRequest livetvchain.cpp:32<br>
> (LiveTVChain) - LiveTVChain(): ctor<br>
> 2015-12-06 00:39:16.685764 I [7969/7985] TVRecEvent tv_rec.cpp:1051<br>
> (HandleStateChange) - TVRec[8]: Changing from None to<br>
>  WatchingLiveTV<br>
> 2015-12-06 00:39:16.688534 I [7969/7985] TVRecEvent tv_rec.cpp:3604<br>
> (TuningCheckForHWChange) - TVRec[8]: HW Tuner: 8->8<br>
> 2015-12-06 00:39:16.698083 I [7969/7985] TVRecEvent<br>
> recorders/v4lchannel.cpp:558 (SetInputAndFormat) - V4LChannel[8](/dev<br>
> /video-cx18-0): SetInputAndFormat(4, NTSC) (v4l v2) input_switch: 0<br>
> mode_switch: 1<br>
> 2015-12-06 00:39:16.698105 E [7969/7985] TVRecEvent<br>
> recorders/v4lchannel.cpp:570 (SetInputAndFormat) - V4LChannel[8](/dev<br>
> /video-cx18-0): SetInputAndFormat(4, NTSC)<br>
>                         while disabling streaming (v4l v2)<br>
>                         eno: Invalid argument (22)<br>
> 2015-12-06 00:39:16.698857 I [7969/7985] TVRecEvent<br>
> recorders/v4lchannel.cpp:558 (SetInputAndFormat) - V4LChannel[8](/dev<br>
> /video-cx18-0): SetInputAndFormat(4, NTSC) (v4l v2) input_switch: 0<br>
> mode_switch: 1<br>
> 2015-12-06 00:39:16.698875 E [7969/7985] TVRecEvent<br>
> recorders/v4lchannel.cpp:570 (SetInputAndFormat) - V4LChannel[8](/dev<br>
> /video-cx18-0): SetInputAndFormat(4, NTSC)<br>
>                         while disabling streaming (v4l v2)<br>
>                         eno: Invalid argument (22)<br>
> 2015-12-06 00:39:16.698883 E [7969/7985] TVRecEvent<br>
> recorders/v4lchannel.cpp:652 (SwitchToInput) - V4LChannel[8](/dev/vid<br>
> eo-cx18-0): SetInputAndFormat() failed<br>
> 2015-12-06 00:39:16.698890 E [7969/7985] TVRecEvent tv_rec.cpp:3793<br>
> (TuningFrequency) - TVRec[8]: Failed to set channel t<br>
> o 10. Reverting to kState_None<br>
> 2015-12-06 00:39:16.698907 I [7969/7985] TVRecEvent tv_rec.cpp:1051<br>
> (HandleStateChange) - TVRec[8]: Changing from Watchin<br>
> gLiveTV to None<br>
><br>
><br>
> However, when I switch back to 3.10.17 it works normally.<br>
><br>
> 2015-12-06 11:32:03.500783 I [1311/1337] TVRecEvent tv_rec.cpp:1051<br>
> (HandleStateChange) - TVRec[8]: Changing from None to<br>
>  WatchingLiveTV<br>
> 2015-12-06 11:32:03.502609 I [1311/1337] TVRecEvent tv_rec.cpp:3604<br>
> (TuningCheckForHWChange) - TVRec[8]: HW Tuner: 8->8<br>
> 2015-12-06 11:32:03.507942 I [1311/1337] TVRecEvent<br>
> recorders/v4lchannel.cpp:558 (SetInputAndFormat) - V4LChannel[8](/dev<br>
> /video-cx18-0): SetInputAndFormat(4, NTSC) (v4l v2) input_switch: 0<br>
> mode_switch: 0<br>
> 2015-12-06 11:32:03.515234 N [1311/1311] CoreContext autoexpire.cpp:264<br>
> (CalcParams) - AutoExpire: CalcParams(): Max requ<br>
> ired Free Space: 2.0 GB w/freq: 15 min<br>
> 2015-12-06 11:32:03.692293 N [1311/1311] CoreContext autoexpire.cpp:264<br>
> (CalcParams) - AutoExpire: CalcParams(): Max requ<br>
> ired Free Space: 2.0 GB w/freq: 15 min<br>
> 2015-12-06 11:32:03.777436 E [1311/1337] TVRecEvent recordinginfo.cpp:928<br>
> (InsertProgram) - RecordingInfo::InsertProgram(<br>
> ProgramInfo(4191_20151206193203.mpg): channame(KGTV) startts(Sun Dec 6<br>
> 19:30:00 2015) endts(Sun Dec 6 20:00:00 2015)<br>
>              recstartts(Sun Dec 6 19:32:03 2015) recendts(Sun Dec 6<br>
> 20:00:00 2015)<br>
>              title(Sea Rescue)): recording already exists...<br>
><br>
><br>
> The problem seems to stem around the attempt to disable streaming which<br>
> does not appear to happen when on the 3.10.17 kernel. Has anyone see this<br>
> issue and if so have they found a work around? <<a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a>><br>
><br>
<br>
Take a look at <a href="https://code.mythtv.org/trac/ticket/12522" rel="noreferrer" target="_blank">https://code.mythtv.org/trac/ticket/12522</a><br>
If you are in a position to compile from source, you could try the patch<br>
attached to that ticket.<br>
<br>
John</blockquote></div><br></div><div class="gmail_extra">Thanks John. I will try compiling the source with the patch. I typically do a git pull every time just before I build. I do see the patch is slated for 0.27.6 release. I will do my usual pull and check to see if the patch is included. If it is not, I will patch and try. Thank you for the reply.<br></div></div>