[pvrusb2] /dev/video0: Input/output error problem

Wim Bakker w.bakker32 at chello.nl
Thu Jun 29 16:05:44 CDT 2006


Hello ,

For some time now I get annoying I/O errors om my pvr-usb2 :
(kernel 2.6.17.1 with pvrusb2-mci-20060607 pvr driver
and the standard kernel modules)

cat: /dev/video0: Input/output error

The message log shows this at the moment of an I/O error :
I set up the device to watch a program :
--
Jun 29 20:00:00 myhost pvrusb2: /*--TRACE_COMMIT--*/ "frequency" <-- 272000000 
<integer>
Jun 29 20:00:00 myhost pvrusb2: i2c v4l2 set_freq(272000000)
--
Then , 7 minutes later this:
-----------
Jun 29 20:07:43 myhost pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_stop 
id=f2b388c0
Jun 29 20:07:44 myhost pvrusb2: /*--TRACE_STREAM--*/ disable
Jun 29 20:07:44 myhost pvrusb2: subsys mask changing 0x1e:0x0 from 0x1f to 0x1
Jun 29 20:07:44 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_stop
Jun 29 20:07:44 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(0)
Jun 29 20:07:44 myhost pvrusb2: /*---TRACE_CTL----*/ decoder disable
Jun 29 20:07:44 myhost pvrusb2: i2c v4l2 decoder_enable(0)
Jun 29 20:07:44 myhost pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_setup 
(tear-down) id=f2b388c0
---------
An I/O error occurs and in the log I see : pvr2_ioread_stop
What is causing this? 
I setup the device again :
-------------------
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_COMMIT--*/ "input" <-- television 
<enum>
Jun 29 20:08:03 myhost pvrusb2: i2c msp3400 v4l2 set_stereo
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 set_input(0)
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_COMMIT--*/ "brightness" <-- 102 
<integer>
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 set_bcsh b=102 c=55 s=64 h=0
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_COMMIT--*/ "contrast" <-- 55 
<integer>
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 set_bcsh b=102 c=55 s=64 h=0
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_COMMIT--*/ "volume" <-- 61500 
<integer>
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 set_volume(vol=61500 bal=0 bas=0 
treb=0 mute=0)
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_COMMIT--*/ "resolution_ver" <-- 576 
<integer>
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 set_size(720x576)
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_COMMIT--*/ "frequency" <-- 272000000 
<integer>
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 set_freq(272000000)
Jun 29 20:08:03 myhost pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_setup (setup) 
id=f2b38cc0
Jun 29 20:08:03 myhost pvrusb2: /*--TRACE_STREAM--*/ enable
Jun 29 20:08:03 myhost pvrusb2: subsys mask changing 0x1f:0xffffffff from 0x1 
to 0x1f
Jun 29 20:08:03 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_configure
Jun 29 20:08:03 myhost pvrusb2: /*---TRACE_CTL----*/ decoder enable
Jun 29 20:08:03 myhost pvrusb2: i2c v4l2 decoder_enable(1)
Jun 29 20:08:03 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(1)
Jun 29 20:08:03 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_start
Jun 29 20:08:03 myhost pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_start 
id=f2b38cc0
-------------------
And some time later there it goes again :

-----------------------------
Jun 29 21:26:49 myhost pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_stop 
id=f2b38cc0
Jun 29 21:26:49 myhost pvrusb2: /*--TRACE_STREAM--*/ disable
Jun 29 21:26:49 myhost pvrusb2: subsys mask changing 0x1e:0x0 from 0x1f to 0x1
Jun 29 21:26:49 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_stop
Jun 29 21:26:49 myhost pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(0)
Jun 29 21:26:49 myhost pvrusb2: /*---TRACE_CTL----*/ decoder disable
-------------------------------

This was during watching a movie on television , I got 5 times
such pvr2_ioread_stop errors , which is quite annoying.
Is there one way or another by which I can trace the I/O errors?
What are the possible causes?


TIA

Wim Bakker


More information about the pvrusb2 mailing list