[mythtv-users] HD PVR Device Error Detected
Angela Schmid
angela.schmid at wolke7.net
Sat Apr 7 12:46:43 UTC 2012
On 4/2/2012 3:14 PM, Paul Siegel wrote:
Been bashing my head against this one for a couple days now, was hoping someone on this list might be able to help. Bought myself
an HD PVR, running on an Ubuntu 11.04 back-end, and custom-built the drivers per this page:
http://www.mythtv.org/wiki/Hauppauge_HD-PVR#HD-PVR_Driver_Compilation_Howto
Using 'cat /dev/video0 > test.ts' works great, the file plays fine with vlc. However, when I tried to set it up to work within
myth, I get errors. I ran my back-end using '-v all' in hopes of finding something more useful in the output, but I'm not seeing
anything obvious. Here it is:
2012-04-01 22:50:18.948 DevRdB(/dev/video0): buffer size 9400 KB
2012-04-01 22:50:18.948 MPEGRec(/dev/video0): DRB ready
2012-04-01 22:50:18.948 MPEGRec(/dev/video0): HandleSingleProgramPAT(NULL)
2012-04-01 22:50:18.948 MPEGRec(/dev/video0): Initial startup of recorder
2012-04-01 22:50:18.948 MPEGRec(/dev/video0): Checking Resolution
2012-04-01 22:50:18.949 TVRec(1): SetFlags(RecorderRunning,RingBufferReady,) ->
FrontendReady,RunMainLoop,CancelNextRecording,NeedToStartRecorder,RecorderRunning,RingBufferReady,
2012-04-01 22:50:18.949 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
FrontendReady,RunMainLoop,CancelNextRecording,RecorderRunning,RingBufferReady,
2012-04-01 22:50:18.949 MPEGRec(/dev/video0): Got Resolution 1920x1080
2012-04-01 22:50:18.949 MPEGRec(/dev/video0): StartEncoding
2012-04-01 22:50:18.950 MSqlQuery::exec(DBManager1) UPDATE cardinput SET startchan = '4' WHERE cardinputid = '1'
2012-04-01 22:50:18.951 MSqlQuery::exec(DBManager2) UPDATE capturecard SET defaultinput = 'Component' WHERE cardid = '1'
2012-04-01 22:50:18.964 MPEGRec(/dev/video0): Encoding started
2012-04-01 22:50:21.467 DevRdB(/dev/video0) Error: Poll giving up
2012-04-01 22:50:21.467 DevRdB(/dev/video0): fill_ringbuffer: error state
2012-04-01 22:50:21.467 MPEGRec(/dev/video0) Error: Device error detected
2012-04-01 22:50:21.467 MPEGRec(/dev/video0): RestartEncoding
2012-04-01 22:50:21.468 MPEGRec(/dev/video0): StopEncoding
2012-04-01 22:50:21.641 MPEGRec(/dev/video0): Encoding stopped
2012-04-01 22:50:21.641 MPEGRec(/dev/video0): Checking Resolution
2012-04-01 22:50:21.642 MPEGRec(/dev/video0): Got Resolution 1920x1080
2012-04-01 22:50:21.642 MPEGRec(/dev/video0): StartEncoding
2012-04-01 22:50:21.657 MPEGRec(/dev/video0): Encoding started
2012-04-01 22:50:24.167 DevRdB(/dev/video0) Error: Poll giving up
2012-04-01 22:50:24.168 DevRdB(/dev/video0): fill_ringbuffer: error state
2012-04-01 22:50:24.172 MPEGRec(/dev/video0) Error: Device error detected
2012-04-01 22:50:24.172 MPEGRec(/dev/video0): RestartEncoding
2012-04-01 22:50:24.172 MPEGRec(/dev/video0): StopEncoding
2012-04-01 22:50:24.351 MPEGRec(/dev/video0): Encoding stopped
Looks like it tries a couple more times before completely giving up. Given that catting /dev/video0 works fine, I'm inclined to
think this problem is on the myth end, and not the driver, cables, etc. That said I've run the gamut of trying different usb ports,
cables, turning off legacy usb support in the bios, etc. I'm always stuck with this same problem.
--
Hi Paul
The link you provided explains how to update to the latest linux-media. I did the same 3 days ago and got these messages too.
Search for " DVB ioctl FE_GET_EVENT behaviour broken in 3.3" on the linux-media list, they are reversing/adapting the latest
changes.
Angela
More information about the mythtv-users
mailing list