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