[mythtv-users] HD-PVR giving up

mark markhsa at gmail.com
Thu Oct 29 21:30:04 UTC 2009


Marius Schrecker wrote:
> Hi all,
>   
> Having sorted my SG's and channels, I'm a small step closer to getting liveTV working.
>
> 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.
>
> Audio is in through s/pdiff, and video is component at 720p, both set as device defaults using module parameters.
>
> I'm not using vdpau yet as I wanted to get one thing sorted at a time so stickin to the default CPU+
>
> Channel change script is set to /bin /true for the moment.
>
> 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.
>
> System is dual core opteron running at 2.4 GHz per core, 2 GB RAM
>
> Using mythbuntu karmic installed from daily build a few days ago and fully dist-upgraded including Jean-Yves testing repo.
>
> Here's what my backend log says:
>
>
> TVRec(1): Changing from None to Watching WatchingLiveTV                                                  
> 2009-10-29 21:25:59.329 TVRec(1): HW Tuner: 1->1                                                                                 
> 2009-10-29 21:25:59.424 ret_pid(5005) child(5005) status(0x0)                                                                    
> 2009-10-29 21:25:59.448 External Tuning program exited with no error                                                             
> 2009-10-29 21:25:59.756 AutoExpire: CalcParams(): Max required Free Space: 12.0 GB w/freq: 15 min                                
> 2009-10-29 21:26:05.106 RecBase(1:/dev/video0): GetKeyframePositions(1,9223372036854775807,#0) out of 1                          
> 2009-10-29 21:26:08.993 DevRdB(/dev/video0) Error: Poll giving up                                                                
> 2009-10-29 21:26:09.045 MPEGRec(/dev/video0) Error: Device error detected                                                        
> 2009-10-29 21:26:09.082 DevRdB(/dev/video0): Stop(): Not running.                                                                
> 2009-10-29 21:26:16.751 DevRdB(/dev/video0) Error: Poll giving up                                                                
> 2009-10-29 21:26:16.808 MPEGRec(/dev/video0) Error: Device error detected                                                        
> 2009-10-29 21:26:16.846 DevRdB(/dev/video0): Stop(): Not running.                                                                
> 2009-10-29 21:26:19.506 New DB DataDirect connection                                                                             
> 2009-10-29 21:26:19.545 Connected to database 'mythconverg' at host: 192.168.253.239                                             
> 2009-10-29 21:26:19.571 Scheduler, Warning: Listings source '' is defined, but is not attached to a card input.                  
> 2009-10-29 21:26:19.649 Speculative scheduled 0 items in 0.1 = 0.00 match + 0.05 place                                           
> 2009-10-29 21:26:22.605 DevRdB(/dev/video0) Error: Poll giving up                                                                
> 2009-10-29 21:26:22.648 MPEGRec(/dev/video0) Error: Device error detected                                                        
> 2009-10-29 21:26:22.681 DevRdB(/dev/video0): Stop(): Not running.                                                                
> 2009-10-29 21:26:28.830 DevRdB(/dev/video0) Error: Poll giving up                                                                
> 2009-10-29 21:26:28.856 MPEGRec(/dev/video0) Error: Device error detected                                                        
> 2009-10-29 21:26:28.894 DevRdB(/dev/video0): Stop(): Not running.                                                                
> 2009-10-29 21:26:35.029 DevRdB(/dev/video0) Error: Poll giving up                                                                
> 2009-10-29 21:26:35.067 MPEGRec(/dev/video0) Error: Device error detected
> ...
> ...
> ...
> 009-10-29 21:29:05.702 DevRdB(/dev/video0): Stop(): Not running.
> 2009-10-29 21:29:06.605 MPEGRec(/dev/video0) Error: StartEncoding failed
>                         eno: Resource temporarily unavailable (11)
> 2009-10-29 21:29:06.649 MPEGRec(/dev/video0) Error: Can't open video device.
>                         eno: No such file or directory (2)
> 2009-10-29 21:29:06.680 MPEGRec(/dev/video0) Error: StopEncoding failed
>                         eno: Bad file descriptor (9)
> 2009-10-29 21:29:07.434 TVRec(1): Changing from Watching WatchingLiveTV to None
> 2009-10-29 21:29:07.489 Recording designated 720p because width was 1280
> 2009-10-29 21:29:07.590 MainServer::ANN Playback
> 2009-10-29 21:29:07.612 adding: mythbox as a client (events: 0)
> 2009-10-29 21:29:07.640 TVRec(1): Changing from None to Watching WatchingLiveTV
> 2009-10-29 21:29:07.684 TVRec(1): HW Tuner: 1->1
> 2009-10-29 21:29:07.706 Channel(/dev/video0)::Open(): Can't open video device, error "No such file or directory"
> 2009-10-29 21:29:07.733 Channel(/dev/video0) Error: SetInputAndFormat(1, PAL)
>                         while setting input (v4l v2)
>                         eno: Bad file descriptor (9)
> 2009-10-29 21:29:07.755 Channel(/dev/video0) Error: SetInputAndFormat(1, PAL)
>                         while setting format (v4l v2)
>                         eno: Bad file descriptor (9)
> 2009-10-29 21:29:07.780 Channel(/dev/video0): SetInputAndFormat() failed
> 2009-10-29 21:29:07.805 TVRec(1) Error: Failed to set channel to 1. Reverting to kState_None
> 2009-10-29 21:29:07.830 TVRec(1): Changing from Watching WatchingLiveTV to None
>
>
> Can anyone say what I'm doing wrong?
>
>
> Cheers!
>
> Marius
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
I have a Motorola 6200 box, and capture HD and SD flawlessly.  I had 
some very strange results at first, like you. 
You HAVE to ensure this is done:
Set the box to only output 720.
Also:
For Motorola STBs, it is also important to set the "4:3 Override" option 
to Off or Stretch. For some Motorola STBs, both the aspect ratio 
settings and output resolution controls can be found by powering down 
the STB and then pressing the Menu button.

This will make a huge difference if you have not already done this.

I use firewire channel changing 6200ch which is also flawless, and 
capture sound via rca cables.

Mark


More information about the mythtv-users mailing list