<br><br><div class="gmail_quote">On Sun, Jan 25, 2009 at 3:15 PM, Nick Rout <span dir="ltr">&lt;<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</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;">
<div><div></div><div class="Wj3C7c">On Mon, Jan 26, 2009 at 8:49 AM, Eppo Eppleston &lt;<a href="mailto:eppo120@gmail.com">eppo120@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Jan 25, 2009 at 12:32 PM, John P Poet &lt;<a href="mailto:jppoet@gmail.com">jppoet@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jan 24, 2009 at 6:03 PM, Eppo Eppleston &lt;<a href="mailto:eppo120@gmail.com">eppo120@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; when i try to record a program with my hdpvr it says its recording it<br>
&gt;&gt; &gt; creates the file, but the file contains no data.<br>
&gt;&gt; &gt; here is a copy of the backend logs:<br>
&gt;&gt; &gt; 2009-01-24 20:00:00.215 TVRec(1): Changing from RecordingOnly to None<br>
&gt;&gt; &gt; 2009-01-24 20:00:00.327 Finished recording New Jersey Nets Pregame:<br>
&gt;&gt; &gt; channel<br>
&gt;&gt; &gt; 2715<br>
&gt;&gt; &gt; 2009-01-24 20:00:03.953 Finished recording New Jersey Nets Pregame:<br>
&gt;&gt; &gt; channel<br>
&gt;&gt; &gt; 2715<br>
&gt;&gt; &gt; 2009-01-24 20:00:03.982 mythbackend version: trunk [19811]<br>
&gt;&gt; &gt; <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
&gt;&gt; &gt; 2009-01-24 20:00:04.014 TVRec(1): Changing from None to RecordingOnly<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.015 Using runtime prefix = /usr/local<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.028 TVRec(1): HW Tuner: 1-&gt;1<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.050 Empty LocalHostName.<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.069 Using localhost value of<br>
&gt;&gt; &gt; <a href="http://ubuntuserver.homelinux.org" target="_blank">ubuntuserver.homelinux.org</a><br>
&gt;&gt; &gt; 2009-01-24 20:00:04.073 New DB connection, total: 1<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.076 Connected to database &#39;mythconverg&#39; at host:<br>
&gt;&gt; &gt; localhost<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.077 Closing DB connection named &#39;DBManager0&#39;<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.078 Connected to database &#39;mythconverg&#39; at host:<br>
&gt;&gt; &gt; localhost<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.081 Current Schema Version: 1228<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.082 New DB connection, total: 2<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.083 Connected to database &#39;mythconverg&#39; at host:<br>
&gt;&gt; &gt; localhost<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.088 Preview Error: Previewer file<br>
&gt;&gt; &gt; &#39;/home/ataraid/Mythtv/2715_20090124194000.mpg&#39; is not valid.<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.089 Preview Error: Run() file not local:<br>
&gt;&gt; &gt; &#39;/home/ataraid/Mythtv/2715_20090124194000.mpg&#39;<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.093 Preview Error: Preview process not ok.<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileinfo(/home/ataraid/Mythtv/2715_20090124194000.mpg.png)<br>
&gt;&gt; &gt; exists: 0 readable: 0 size: 0<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.491 ret_pid(29515) child(29515) status(0x0)<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.500 External Tuning program exited with no error<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.673 AutoExpire: CalcParams(): Max required Free<br>
&gt;&gt; &gt; Space:<br>
&gt;&gt; &gt; 3.0 GB w/freq: 15 min<br>
&gt;&gt; &gt; 2009-01-24 20:00:04.677 Started recording: Cops: channel 2705 on cardid<br>
&gt;&gt; &gt; 1,<br>
&gt;&gt; &gt; sourceid 2<br>
&gt;&gt; &gt; 2009-01-24 20:00:05.681 Reschedule requested for id 0.<br>
&gt;&gt; &gt; 2009-01-24 20:00:05.707 Scheduled 21 items in 0.0 = 0.00 match + 0.02<br>
&gt;&gt; &gt; place<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; any ideas?<br>
&gt;&gt; &gt; when i cat /dev/video0 i get video, so i dont think its the driver<br>
&gt;&gt;<br>
&gt;&gt; Unfortunately, that log does have much useful information in it. &nbsp;You<br>
&gt;&gt; can adjust which categories mythbackend puts in the log by doing &quot;-v<br>
&gt;&gt; &lt;category&gt;&quot;. &nbsp;To find out what categories are available, try<br>
&gt;&gt; &quot;mythbackend -v help&quot;. &nbsp;Avoid the &quot;all&quot; and &quot;timestamp&quot; categories,<br>
&gt;&gt; because they slows myth down so much that it causes it&#39;s own set of<br>
&gt;&gt; problems.<br>
&gt;&gt;<br>
&gt;&gt; If you want to find out what kind of information is generated for each<br>
&gt;&gt; category, take a look at the source code. &nbsp;For example, the HD-PVR<br>
&gt;&gt; recorder code can (partially) be found in mpegrecorder.cpp<br>
&gt;&gt;<br>
&gt;&gt; Once you get more useful information in the log, it may be obvious<br>
&gt;&gt; what your problem is.<br>
&gt;&gt;<br>
&gt;&gt; BTW, has this every worked for you? &nbsp;If it has never worked, you<br>
&gt;&gt; probably don&#39;t have the capture device setup correctly in<br>
&gt;&gt; mythtv-setup.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; John<br>
&gt;<br>
&gt; &nbsp;yes it did, would create empty files randomly. now they are all empty. one<br>
&gt; time i got it to record like a sec or two, then it stopped. i noticed this<br>
&gt; in dmesg:<br>
&gt; hdpvr: read: copy_to_user failed<br>
&gt; over and over again,when it it attempting to record. &nbsp;i went on the driver<br>
&gt; .irc channel and was told you get that when the driver is giving info to a<br>
&gt; program, but the program isnt answering.<br>
<br>
</div></div>does the user running mythbackend have permissions to create and write<br>
files in your storage directory(ies)?</blockquote><div><br>yes, even ran as root to make sure.<br></div></div>