<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Marius Schrecker wrote:
<blockquote cite="mid:20091030065033.611C43B67E@smtp2.lyse.net"
 type="cite">&gt; On Thu Oct 29 22:31 , mark <markhsa@gmail.com>
wrote:Marius Schrecker wrote:<br>
&gt;&gt; Hi all,<br>
&gt;&gt; <br>
&gt;&gt; Having sorted my SG's and channels, I'm a small step closer to
getting liveTV working.<br>
&gt;&gt;<br>
&gt;&gt; catting /dev/video0 gives perfect results, but playing liveTV
thro myth results in lots of audio static and the HD-PVR going in and
out of recording mode at about 10 second intervals, accompanied by
louder clicks.<br>
&gt;&gt;<br>
&gt;&gt; Audio is in through s/pdiff, and video is component at 720p,
both set as device defaults using module parameters.<br>
&gt;&gt;<br>
&gt;&gt; I'm not using vdpau yet as I wanted to get one thing sorted at
a time so stickin to the default CPU+<br>
&gt;&gt;<br>
&gt;&gt; Channel change script is set to /bin /true for the moment.<br>
&gt;&gt;<br>
&gt;&gt; Motorola IP stb turned on first, then hd-pvr and finally the
pc. I have manually changed channels since starting the pc and loading
the hdpvr module.<br>
&gt;&gt;<br>
&gt;&gt; System is dual core opteron running at 2.4 GHz per core, 2 GB
RAM<br>
&gt;&gt;<br>
&gt;&gt; Using mythbuntu karmic installed from daily build a few days
ago and fully dist-upgraded including Jean-Yves testing repo.<br>
&gt;&gt;<br>
&gt;&gt; Here's what my backend log says:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; TVRec(1): Changing from None to Watching WatchingLiveTV <br>
&gt;&gt; 2009-10-29 21:25:59.329 TVRec(1): HW Tuner: 1-&gt;1 <br>
&gt;&gt; 2009-10-29 21:25:59.424 ret_pid(5005) child(5005) status(0x0) <br>
&gt;&gt; 2009-10-29 21:25:59.448 External Tuning program exited with no
error <br>
&gt;&gt; 2009-10-29 21:25:59.756 AutoExpire: CalcParams(): Max required
Free Space: 12.0 GB w/freq: 15 min <br>
&gt;&gt; 2009-10-29 21:26:05.106 RecBase(1:/dev/video0):
GetKeyframePositions(1,9223372036854775807,#0) out of 1 <br>
&gt;&gt; 2009-10-29 21:26:08.993 DevRdB(/dev/video0) Error: Poll giving
up <br>
&gt;&gt; 2009-10-29 21:26:09.045 MPEGRec(/dev/video0) Error: Device
error detected <br>
&gt;&gt; 2009-10-29 21:26:09.082 DevRdB(/dev/video0): Stop(): Not
running. <br>
&gt;&gt; 2009-10-29 21:26:16.751 DevRdB(/dev/video0) Error: Poll giving
up <br>
&gt;&gt; 2009-10-29 21:26:16.808 MPEGRec(/dev/video0) Error: Device
error detected <br>
&gt;&gt; 2009-10-29 21:26:16.846 DevRdB(/dev/video0): Stop(): Not
running. <br>
&gt;&gt; 2009-10-29 21:26:19.506 New DB DataDirect connection <br>
&gt;&gt; 2009-10-29 21:26:19.545 Connected to database 'mythconverg' at
host: 192.168.253.239 <br>
&gt;&gt; 2009-10-29 21:26:19.571 Scheduler, Warning: Listings source ''
is defined, but is not attached to a card input. <br>
&gt;&gt; 2009-10-29 21:26:19.649 Speculative scheduled 0 items in 0.1 =
0.00 match + 0.05 place <br>
&gt;&gt; 2009-10-29 21:26:22.605 DevRdB(/dev/video0) Error: Poll giving
up <br>
&gt;&gt; 2009-10-29 21:26:22.648 MPEGRec(/dev/video0) Error: Device
error detected <br>
&gt;&gt; 2009-10-29 21:26:22.681 DevRdB(/dev/video0): Stop(): Not
running. <br>
&gt;&gt; 2009-10-29 21:26:28.830 DevRdB(/dev/video0) Error: Poll giving
up <br>
&gt;&gt; 2009-10-29 21:26:28.856 MPEGRec(/dev/video0) Error: Device
error detected <br>
&gt;&gt; 2009-10-29 21:26:28.894 DevRdB(/dev/video0): Stop(): Not
running. <br>
&gt;&gt; 2009-10-29 21:26:35.029 DevRdB(/dev/video0) Error: Poll giving
up <br>
&gt;&gt; 2009-10-29 21:26:35.067 MPEGRec(/dev/video0) Error: Device
error detected<br>
&gt;&gt; ...<br>
&gt;&gt; ...<br>
&gt;&gt; ...<br>
&gt;&gt; 009-10-29 21:29:05.702 DevRdB(/dev/video0): Stop(): Not
running.<br>
&gt;&gt; 2009-10-29 21:29:06.605 MPEGRec(/dev/video0) Error:
StartEncoding failed<br>
&gt;&gt; eno: Resource temporarily unavailable (11)<br>
&gt;&gt; 2009-10-29 21:29:06.649 MPEGRec(/dev/video0) Error: Can't open
video device.<br>
&gt;&gt; eno: No such file or directory (2)<br>
&gt;&gt; 2009-10-29 21:29:06.680 MPEGRec(/dev/video0) Error:
StopEncoding failed<br>
&gt;&gt; eno: Bad file descriptor (9)<br>
&gt;&gt; 2009-10-29 21:29:07.434 TVRec(1): Changing from Watching
WatchingLiveTV to None<br>
&gt;&gt; 2009-10-29 21:29:07.489 Recording designated 720p because
width was 1280<br>
&gt;&gt; 2009-10-29 21:29:07.590 MainServer::ANN Playback<br>
&gt;&gt; 2009-10-29 21:29:07.612 adding: mythbox as a client (events: 0)<br>
&gt;&gt; 2009-10-29 21:29:07.640 TVRec(1): Changing from None to
Watching WatchingLiveTV<br>
&gt;&gt; 2009-10-29 21:29:07.684 TVRec(1): HW Tuner: 1-&gt;1<br>
&gt;&gt; 2009-10-29 21:29:07.706 Channel(/dev/video0)::Open(): Can't
open video device, error "No such file or directory"<br>
&gt;&gt; 2009-10-29 21:29:07.733 Channel(/dev/video0) Error:
SetInputAndFormat(1, PAL)<br>
&gt;&gt; while setting input (v4l v2)<br>
&gt;&gt; eno: Bad file descriptor (9)<br>
&gt;&gt; 2009-10-29 21:29:07.755 Channel(/dev/video0) Error:
SetInputAndFormat(1, PAL)<br>
&gt;&gt; while setting format (v4l v2)<br>
&gt;&gt; eno: Bad file descriptor (9)<br>
&gt;&gt; 2009-10-29 21:29:07.780 Channel(/dev/video0):
SetInputAndFormat() failed<br>
&gt;&gt; 2009-10-29 21:29:07.805 TVRec(1) Error: Failed to set channel
to 1. Reverting to kState_None<br>
&gt;&gt; 2009-10-29 21:29:07.830 TVRec(1): Changing from Watching
WatchingLiveTV to None<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Can anyone say what I'm doing wrong?<br>
&gt;&gt;<br>
  <br>
Mark replied:<br>
  <br>
&gt;Ensure you have permissions on /dev/video as well.<br>
  <br>
Thanks Mark for both your suggestions. I'm prettuy sure the Motorola is
set up properly, using 720p as the output format, and outputting the
original format. The only difference being that I'm currently
outputting sound over s/pdiff (Ill try RCA during testing tho.<br>
  <br>
The /dev/video0 permissions I haven't checked. Good point! Do I need r
or rw permissions from the mythtv group?<br>
  <br>
Will try again this evening, as I only had&nbsp; a few seconds yetserday
before family took over the tv. Will also look more closely at frontend
log, and dmesg. <br>
  <br>
System is combined BE/FE and 64 bit btw.<br>
  <br>
Cheers!<br>
  <br>
Marius<br>
  <br>
  </markhsa@gmail.com><br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
<br>
I am also running combined FE/BE.&nbsp; Also Ubuntu 9.10.&nbsp; I have no issues
at all, so it must be config related.&nbsp; So I am sure we can get your
setup working.<br>
Read only should be fine on /dev/video<br>
</body>
</html>