&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>