<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mythtv-users-bounces@mythtv.org [mailto:mythtv-users-bounces@mythtv.org] <b>On Behalf Of </b>Daryl McDonald<br><b>Sent:</b> Monday, 15 September 2014 7:06 AM<br><b>To:</b> Discussion about MythTV<br><b>Subject:</b> Re: [mythtv-users] Zero Byte Recordings<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Sun, Sep 14, 2014 at 4:45 PM, Andrew Potter &lt;<a href="mailto:andrew@potter.id.au" target="_blank">andrew@potter.id.au</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br><br>-----Original Message-----<br>From: <a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a><br>[mailto:<a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a>] On Behalf Of Mike Bibbings<br>Sent: Monday, 15 September 2014 2:37 AM<br>To: Discussion about MythTV<br>Subject: Re: [mythtv-users] Zero Byte Recordings<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>On 14/09/14 13:59, Andrew Potter wrote:<br>&gt; Hi All,<br>&gt;<br>&gt;<br>&gt;<br>&gt; I have been using Myth TV for about 2 ½ years or so with not many<br>&gt; issues at all, it is a credit to the devs.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Recently in an attempt to reduce power consumption I followed the ACPI<br>&gt; wakeup/Sleep instructions and have run into an issue with Zero Byte<br>&gt; Recordings.<br>&gt;<br>&gt;<br>&gt;<br>&gt; The backend is set to shutdown. It is most often one or two of the<br>&gt; first scheduled recordings after a restart that seem to fail.<br>&gt;<br>&gt;<br>&gt;<br>&gt; I have three separate PlayTV tuners ( 6 tuners in total) and a<br>&gt; HVR-2200 PCI tuner board. The three play tv units are added first, then<br>the HVR unit.<br>&gt; Recording is set to use tuners 1 onwards with Live TV as the last<br>&gt; tuner backwards.<br>&gt;<br>&gt;<br>&gt;<br>&gt; I have tried to get the playtv tuners to turn off when the computer is<br>&gt; off but have not had any success. The motherboard is a ASUS board and<br>&gt; I have played with the ERP settings and can now see that the optical<br>&gt; mouse does turn off but the red light on the playtv tuners stays on. I<br>&gt; suppose I am guessing the tuners do not always come up correctly.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Any pointers as to where I can go next is appreciated. I have listed<br>&gt; some details below including a backend log.<br>&gt;<br>&gt;<br>&gt;<br>&gt; I am running mythbuntu 12.04 64-bit on the backend.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Myth Version<br>&gt;<br>&gt; MythTV Version : v0.27.3-159-g2d4a7c9<br>&gt;<br>&gt; MythTV Branch : fixes/0.27<br>&gt;<br>&gt; Network Protocol : 77<br>&gt;<br>&gt; Library API : 0.27.20140719-1<br>&gt;<br>&gt; QT Version : 4.8.1<br>&gt;<br>&gt; Options compiled in:<br>&gt;<br>&gt; linux profile use_hidesyms using_alsa using_oss using_pulse<br>&gt; using_pulseoutput using_backend using_bindings_perl<br>&gt; using_bindings_python using_bindings_php using_crystalhd using_dvb<br>&gt; using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr<br>&gt; using_ivtv using_joystick_menu using_libcec using_libcrypto<br>&gt; using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg<br>&gt; using_opengl using_opengl_video using_qtwebkit using_qtscript<br>&gt; using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr<br>&gt; using_xv using_profiletype using_bindings_perl using_bindings_python<br>&gt; using_bindings_php using_mythtranscode using_opengl using_vaapi<br>&gt; using_vdpau using_ffmpeg_threads using_mheg using_libass<br>&gt; using_libxml2<br>&gt;<br>&gt;<br>&gt;<br>&gt; I have added the mythbackend log ( a truncated version) to pastebin at<br>&gt; <a href="http://paste.ubuntu.com/8342641/" target="_blank">http://paste.ubuntu.com/8342641/</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; There are zero byte recordings started at<br>&gt;<br>&gt; 1:55pm on 12/9<br>&gt;<br>&gt; 5:55pm on 12/9<br>&gt;<br>&gt; 6:55pm on 12/9<br>&gt;<br>&gt; 6:55pm on 12/9<br>&gt;<br>&gt;<br>&gt;<br>&gt; Then at 6:56pm on 12/9 the recording is successful.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Also see times 10:55am on the 13/9 for a zero byte and 3:25pm on 13/9<br>&gt; for a successful recording.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Thanks Andrew<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>&gt; <a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>&gt; MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>Andrew,<br><br>First thing that comes to mind is that order of you tuners maybe changing<br>between reboots.<br>I presume that you have either used udev rules or an options.conf file in<br>/etc/modprobe.d<br><br>Please post the result of dmesg|grep -i frontend<br><br><br>Mike<br><br><o:p></o:p></p></div></div><p class=MsoNormal>Here is the dmesg info you asked for<br><br>....~$ dmesg|grep -i frontend<br>[&nbsp; &nbsp; 6.062211] DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...<br>[&nbsp; &nbsp; 6.417992] DVB: registering adapter 1 frontend 0 (DiBcom 7000PC)...<br>[&nbsp; &nbsp; 7.053497] DVB: registering adapter 2 frontend 0 (DiBcom 7000PC)...<br>[&nbsp; &nbsp; 7.405153] DVB: registering adapter 3 frontend 0 (DiBcom 7000PC)...<br>[&nbsp; &nbsp; 7.840602] DVB: registering adapter 4 frontend 0 (DiBcom 7000PC)...<br>[&nbsp; &nbsp; 8.192008] DVB: registering adapter 5 frontend 0 (DiBcom 7000PC)...<br>[&nbsp; &nbsp;17.452372] DVB: registering adapter 6 frontend 0 (NXP TDA10048HN<br>DVB-T)...<br>[&nbsp; &nbsp;20.095633] DVB: registering adapter 7 frontend 0 (NXP TDA10048HN<br>DVB-T)...<o:p></o:p></p><div><div><p class=MsoNormal><br><br><br>Andrew<br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br><a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div><div><p class=MsoNormal>If it is a case of tuners being numbered differently, this will be evident in upcoming recordings IIRC, red borders and an &quot;F&quot; indicating the tuner is &quot;off line&quot; Udev rules are the solution, or rule out this problem.<o:p></o:p></p></div></div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Backend has come up with the next recording scheduled at 5:55pm the upcoming recordings screen shows tuner 1 to be used and all looks fine states “Will Record”. Will see what happens. Do upcoming recording is showing in red or with an F.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As for the tuners they are coming up from warm state rather than cold.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>......:~$ dmesg | grep dvb<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    6.590971] dvb-usb: found a 'Sony PlayTV' in warm state.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    6.591005] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    7.024780] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    7.429650] dvb-usb: schedule remote query interval to 50 msecs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    7.429653] dvb-usb: Sony PlayTV successfully initialized and connected.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    7.429973] dvb-usb: found a 'Sony PlayTV' in warm state.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    7.430002] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    7.863681] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    8.215579] dvb-usb: schedule remote query interval to 50 msecs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    8.215581] dvb-usb: Sony PlayTV successfully initialized and connected.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    8.215956] dvb-usb: found a 'Sony PlayTV' in warm state.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    8.215985] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    8.666891] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    9.018918] dvb-usb: schedule remote query interval to 50 msecs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    9.018920] dvb-usb: Sony PlayTV successfully initialized and connected.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[    9.019185] usbcore: registered new interface driver dvb_usb_dib0700<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[   40.106164] tda10048_firmware_upload: waiting for firmware upload (dvb-fe-tda10048-1.0.fw)...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[   48.454689] tda10048_firmware_upload: waiting for firmware upload (dvb-fe-tda10048-1.0.fw)...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Looks like the HVR got some firmware but not the Playtvs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Will the udev changes fix this, I am thinking no, but I will look at implementing this anyway, do not expect it can hurt too much.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Andrew<o:p></o:p></span></p></div></div></div></body></html>