[pvrusb2] // 0 byte mpegs //

Julian Oliver julian at selectparks.net
Mon May 22 11:05:17 CDT 2006


hi list,

for various reasons i've had to install the pvrusb2 on a second machine.
now if i 'cat /dev/video0 > out.mpeg' the mpeg is 0 bytes. if i simply
play from the device directly with 'mplayer /dev/video0' mplayer happily
sits there playing nothing. i've tried with 'television' and 's-video'
as input with 'v4lctl list' confirming these. 

xawtv also fails with a more interesting error, coming up in a prompt:

		station "0" not found
		mpeg: select: timeout (3 sec)

i'm using kernel 2.6.16 on a Pentium M. here's the output of lsmod |
grep pvrusb2:

		pvrusb2               116120  0 
		v4l1_compat            11396  1 pvrusb2
		tveeprom               12112  1 pvrusb2
		v4l2_common             6336  3 pvrusb2,msp3400,tuner
		videodev                6784  2 pvrusb2,pwc
		firmware_class          7232  3 pvrusb2,pcmcia,ipw2200
		usbcore                96672  8 ub,pvrusb2,usb_storage,pwc,usbhid,uhci_hcd,ehci_hcd
		i2c_core               15312  7 pvrusb2,tveeprom,saa711x,msp3400,tda9887,tuner,i2c_i801		

here's relevant syslog output showing that all looks fine:
		
		[...]
		May 22 18:03:16 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "video_standard" <-- PAL-B/G <enum>
		May 22 18:03:16 localhost kernel: pvrusb2: i2c 0x61 tuner handler set up
		May 22 18:03:16 localhost kernel: pvrusb2: Probed: ctxt=d5998fe0 ctl_mask=0x22f (tuner unset) @ 0x61 (handler: pvrusb2-tuner) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
		May 22 18:03:16 localhost kernel: pvrusb2: i2c 0x43 tda9887 V4L2 handler set up
		May 22 18:03:16 localhost kernel: pvrusb2: Probed: ctxt=df20b760 ctl_mask=0x22f tda9887 @ 0x43 (handler: pvrusb2-demod) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
		May 22 18:03:16 localhost kernel: pvrusb2: i2c tuner set_type(38)
		May 22 18:03:16 localhost kernel: tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
		May 22 18:03:16 localhost kernel: pvrusb2: i2c demod set_config(0x60)
		May 22 18:03:16 localhost kernel: pvrusb2: i2c v4l2 set_standard(0x5)
		May 22 18:03:16 localhost kernel: pvrusb2: i2c v4l2 set_bcsh b=128 c=68 s=64 h=0
		May 22 18:03:16 localhost kernel: pvrusb2: i2c v4l2 set_volume(vol=65535 bal=0 bas=0 treb=0 mute=0)
		May 22 18:03:16 localhost kernel: pvrusb2: i2c v4l2 set_freq(175250000)
		May 22 18:03:16 localhost kernel: pvrusb2: i2c v4l2 set_size(720x576)
		May 22 18:03:16 localhost kernel: pvrusb2: i2c v4l2 do_log()
		May 22 18:03:16 localhost kernel: tuner 1-0061: Tuner mode:      analog TV
		May 22 18:03:16 localhost kernel: tuner 1-0061: Frequency:       175.25 MHz
		May 22 18:03:16 localhost kernel: tuner 1-0061: Standard:        0x00000005
		May 22 18:03:16 localhost kernel: tda9887 1-0043: Data bytes: b=0x14 c=0x74 e=0x49
		May 22 18:03:16 localhost kernel: pvrusb2: pvr2_stream_create: sp=de2a0ac0
		May 22 18:03:16 localhost kernel: pvrusb2: pvr2_hdw_setup: video stream is de2a0ac0
		May 22 18:03:16 localhost kernel: pvrusb2: pvr2_hdw_setup(hdw=c4da6000) done, ok=1 init_ok=1
		May 22 18:03:16 localhost kernel: pvrusb2: Device initialization completed successfully.
		May 22 18:03:16 localhost kernel: pvrusb2: pvr2_hdw_setup(hdw=c4da6000) end
		May 22 18:03:16 localhost kernel: pvrusb2: registered device video0 [mpeg]

thanks again,

julian

-- 
		 _        _                  _
 ___ ___| |___ __| |_ _ __  __ _ _ _| |__ ___
(_-</ -_) / -_) _|  _| '_ \/ _` | '_| / /(_-<
/__/\___|_\___\__|\__| .__/\__,_|_| |_\_\/__/
                     |_http://selectparks.net/~julian



More information about the pvrusb2 mailing list