[pvrusb2] // tvtime, PAL, s-video and the all pervading blankness //
Julian Oliver
julian at selectparks.net
Mon May 15 19:19:22 CDT 2006
hello pvrusb2 list,
after a bit of a mess trying to find the right firmware i've just installed the pvrusb2
drivers and firmware for a PAL WinTV-PVR USB2 box i bought today.
when trying to run tvtime i get blue output and the error:
$> sudo tvtime
Running tvtime 1.0.1.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/delire/.tvtime/tvtime.xml
xcommon: No window properties found for EWMH.
videoinput: Card failed to allocate capture buffers: Invalid argument
in the tvtime window itself are written the words:
pvrusb2: invalid argument
Cannot open capture device: /dev/video0. no such file or
directory
xawtv seems to see it fine however, as does a raw mplayer /dev/video0
regardless neither mplayer or xawtv will see anything other than noise
for the 'television' input and complete blankness for s-video input.
as far as i can tell tvout should be working perfectly.
out of interest i bought the card strictly for making videos of desktop
content, not to watch tv. i write 3d applications and xvidcap and
istanbul are not suitable for capturing this sort of material.
specs:
kernel 2.6.15
radeon 9600 on fglrx drivers
gcc-4.0
here's the output of lsmod | grep pvrusb2 (excuse any unneccessary
modules:
pvrusb2 121244 0
v4l2_common 4608 2 pvrusb2,em28xx
v4l1_compat 11780 2 pvrusb2,em28xx
videodev 6912 3 pvrusb2,em28xx,pwc
tveeprom 12240 2 pvrusb2,em28xx
firmware_class 7424 4 pvrusb2,cx25840,pcmcia,ipw2200
usbcore 99332 8
pvrusb2,em28xx,usb_storage,pwc,usbhid,ehci_hcd,uhci_hcd
i2c_core 15376 9
pvrusb2,saa7115,msp3400,em28xx,tda9887,tuner,cx25840,tveeprom,i2c_i801
here's the syslog output when i plug in the device:
May 16 02:15:17 localhost kernel: usb 4-3: new high speed USB device using ehci_hcd and address 11
May 16 02:15:17 localhost kernel: pvrusb2: pvr2_hdw_create: hdw=d73b2000, type "WinTV PVR USB2 Model Category 24xxxx"
May 16 02:15:17 localhost kernel: pvrusb2: Driver unit number is 0, name is pvrusb2_a
May 16 02:15:17 localhost kernel: pvrusb2: subsys_stream_mask: 0x1e
May 16 02:15:17 localhost kernel: pvrusb2: pvr_probe(pvr=d48f0840)
May 16 02:15:17 localhost kernel: pvrusb2: pvr2_hdw_setup(hdw=d73b2000) begin
May 16 02:15:17 localhost kernel: pvrusb2: Probe of device endpoint 1 succeeded
May 16 02:15:17 localhost kernel: pvrusb2: Performing a device reset...
May 16 02:15:17 localhost kernel: usb 4-3: reset high speed USB device using ehci_hcd and address 11
May 16 02:15:17 localhost kernel: pvrusb2: Requesting powerup
May 16 02:15:17 localhost kernel: pvrusb2: pvr2_upload_firmware2
May 16 02:15:17 localhost kernel: pvrusb2: Located encoder firmware: v4l-cx2341x-enc.fw; uploading...
May 16 02:15:17 localhost kernel: pvrusb2: Requesting uproc hard reset
May 16 02:15:17 localhost kernel: pvrusb2: upload of v4l-cx2341x-enc.fw : 262144 / 262144
May 16 02:15:17 localhost kernel: pvrusb2: cx25840 appears to be OK.
May 16 02:15:17 localhost kernel: cx25840 1-0044: cx25843-23 found @ 0x88 (pvrusb2_a)
May 16 02:15:18 localhost kernel: cx25840 1-0044: loaded v4l-cx25840.fw firmware (13837 bytes)
May 16 02:15:18 localhost kernel: pvrusb2: i2c_attach [client=cx25840 @ 0x44 ctxt=df4d0e60]
May 16 02:15:18 localhost kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus pvrusb2_a
May 16 02:15:18 localhost kernel: pvrusb2: i2c_attach [client=(tuner unset) @ 0x61 ctxt=df074bc0]
May 16 02:15:18 localhost kernel: tda9887 1-0043: chip found @ 0x86 (pvrusb2_a)
May 16 02:15:18 localhost kernel: pvrusb2: i2c_attach [client=tda9887 @ 0x43 ctxt=d5307d20]
May 16 02:15:18 localhost kernel: pvrusb2: Value for eeprom addr from controller was 0xa2
May 16 02:15:18 localhost kernel: pvrusb2: Examining 4096 byte eeprom at location 0x51 using 16 bit addressing
May 16 02:15:18 localhost kernel: tveeprom 1-00a2: Hauppauge model 24019, rev C289, serial# 8543506
May 16 02:15:18 localhost kernel: tveeprom 1-00a2: tuner model is TCL MFPE05 2 (idx 89, type 38)
May 16 02:15:18 localhost kernel: tveeprom 1-00a2: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom 0x74)
May 16 02:15:18 localhost kernel: tveeprom 1-00a2: audio processor is CX25843 (idx 37)
May 16 02:15:18 localhost kernel: tveeprom 1-00a2: decoder processor is CX25843 (idx 30)
May 16 02:15:18 localhost kernel: tveeprom 1-00a2: has radio, has IR remote
May 16 02:15:18 localhost kernel: pvrusb2: eeprom detected v4l tveeprom module
May 16 02:15:18 localhost kernel: pvrusb2: eeprom direct call results:
May 16 02:15:18 localhost kernel: pvrusb2: has_radio=1
May 16 02:15:18 localhost kernel: pvrusb2: tuner_type=38
May 16 02:15:18 localhost kernel: pvrusb2: tuner_formats=0x400e17
May 16 02:15:18 localhost kernel: pvrusb2: audio_processor=2
May 16 02:15:18 localhost kernel: pvrusb2: model=24019
May 16 02:15:18 localhost kernel: pvrusb2: revision=9250329
May 16 02:15:18 localhost kernel: pvrusb2: serial_number=8543506
May 16 02:15:18 localhost kernel: pvrusb2: rev_str=C289
May 16 02:15:18 localhost kernel: pvrusb2: Supported video standard(s) reported by eeprom: PAL-B/B1/G/I/N/Nc/60;SECAM-L
May 16 02:15:18 localhost kernel: pvrusb2: Based on eeprom list, also supporting: PAL-N/Nc
May 16 02:15:18 localhost kernel: pvrusb2: Mapping standards mask=0x400e17 (PAL-B/B1/G/I/N/Nc/60;SECAM-L)
May 16 02:15:18 localhost kernel: pvrusb2: Setting up 9 unique standard(s)
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=0 name=PAL-B/G
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=1 name=PAL-B
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=2 name=PAL-B1
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=3 name=PAL-G
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=4 name=PAL-I
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=5 name=PAL-N
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=6 name=PAL-Nc
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=7 name=PAL-60
May 16 02:15:18 localhost kernel: pvrusb2: Set up standard idx=8 name=SECAM-L
May 16 02:15:18 localhost kernel: pvrusb2: Initial video standard auto-selected to PAL-B/G
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "brightness" <-- 128 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "contrast" <-- 68 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "saturation" <-- 64 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "hue" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "volume" <-- 65535 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "balance" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "bass" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "treble" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "mute" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "srate" <-- 48KHz <enum>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "audio_bitrate" <-- 224kb/s <enum>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "audio_crc" <-- 1 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "audio_layer" <-- 2 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "audio_emphasis" <-- None <enum>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "interlace" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "vbr" <-- 0 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "video_average_bitrate" <-- 6000000 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "video_peak_bitrate" <-- 6000000 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "input" <-- television <enum>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "audio_mode" <-- Stereo <enum>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "frequency" <-- 175250000 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "resolution_hor" <-- 720 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "resolution_ver" <-- 480 <integer>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "video_standard_mask_active" <-- PAL-B PAL-G <bitmask>
May 16 02:15:18 localhost kernel: pvrusb2: /*--TRACE_COMMIT--*/ "video_standard" <-- PAL-B/G <enum>
May 16 02:15:18 localhost kernel: pvrusb2: i2c 0x44 cx2584x handler set up
May 16 02:15:18 localhost kernel: pvrusb2: Probed: ctxt=df4d0e60 ctl_mask=0x22f cx25840 @ 0x44 (handler: pvrusb2-cx2584x-old) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
May 16 02:15:18 localhost kernel: pvrusb2: i2c 0x61 tuner handler set up
May 16 02:15:18 localhost kernel: pvrusb2: Probed: ctxt=df074bc0 ctl_mask=0x22f (tuner unset) @ 0x61 (handler: pvrusb2-tuner) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
May 16 02:15:18 localhost kernel: pvrusb2: i2c 0x43 tda9887 V4L2 handler set up
May 16 02:15:18 localhost kernel: pvrusb2: Probed: ctxt=d5307d20 ctl_mask=0x22f tda9887 @ 0x43 (handler: pvrusb2-demod) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
May 16 02:15:18 localhost kernel: pvrusb2: i2c cx2584x set_input(0)
May 16 02:15:18 localhost kernel: pvrusb2: i2c cx2584x set_audio 0
May 16 02:15:18 localhost kernel: pvrusb2: i2c tuner set_type(38)
May 16 02:15:18 localhost kernel: tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by pvrusb2_a
May 16 02:15:18 localhost kernel: pvrusb2: i2c demod set_config(0x60)
May 16 02:15:18 localhost kernel: pvrusb2: i2c v4l2 set_standard(0x5)
May 16 02:15:18 localhost kernel: pvrusb2: i2c v4l2 set_bcsh b=128 c=68 s=64 h=0
May 16 02:15:18 localhost kernel: pvrusb2: i2c v4l2 set_volume(vol=65535 bal=0 bas=0 treb=0 mute=0)
May 16 02:15:18 localhost kernel: pvrusb2: i2c v4l2 set_freq(175250000)
May 16 02:15:18 localhost kernel: pvrusb2: i2c v4l2 set_size(720x576)
May 16 02:15:18 localhost kernel: pvrusb2: i2c v4l2 do_log()
May 16 02:15:18 localhost kernel: cx25840 1-0044: Video signal: not present
May 16 02:15:18 localhost kernel: cx25840 1-0044: Detected format: NTSC-M
May 16 02:15:18 localhost kernel: cx25840 1-0044: Detected audio mode: mono
May 16 02:15:18 localhost kernel: cx25840 1-0044: Detected audio standard: no detected audio standard
May 16 02:15:18 localhost kernel: cx25840 1-0044: Audio muted: yes
May 16 02:15:18 localhost kernel: cx25840 1-0044: Audio microcontroller: running
May 16 02:15:18 localhost kernel: cx25840 1-0044: Configured audio standard: automatic detection
May 16 02:15:18 localhost kernel: cx25840 1-0044: Configured audio system: automatic standard and mode detection
May 16 02:15:18 localhost kernel: cx25840 1-0044: Specified standard: PAL-BDGHI
May 16 02:15:18 localhost kernel: cx25840 1-0044: Specified input: Tuner
May 16 02:15:18 localhost kernel: cx25840 1-0044: Specified audio input: Tuner
May 16 02:15:18 localhost kernel: cx25840 1-0044: Specified audioclock freq: 48 kHz
May 16 02:15:18 localhost kernel: cx25840 1-0044: Preferred audio mode: stereo
May 16 02:15:18 localhost kernel: cx25840 1-0044: Selected 65 MHz format: autodetect
May 16 02:15:18 localhost kernel: cx25840 1-0044: Selected 45 MHz format: chroma
May 16 02:15:18 localhost kernel: tda9887 1-0043: Data bytes: b=14 c=70 e=09
May 16 02:15:18 localhost kernel: pvrusb2: pvr2_stream_create: sp=d2ab1640
May 16 02:15:18 localhost kernel: pvrusb2: pvr2_hdw_setup: video stream is d2ab1640
May 16 02:15:18 localhost kernel: pvrusb2: pvr2_hdw_setup(hdw=d73b2000) done, ok=1 init_ok=1
May 16 02:15:18 localhost kernel: pvrusb2: Device initialization completed successfully.
May 16 02:15:18 localhost kernel: pvrusb2: pvr2_hdw_setup(hdw=d73b2000) end
May 16 02:15:18 localhost kernel: pvrusb2: registered device video0 [mpeg]
i've read http://www.isely.net/pvrusb2/faq.html#Q5 and other documents
on the site but after four or five hours at this i feel like i've read
what i should. hopefully i'm wrong!
cheers and thanks,
julian
--
_ _ _
___ ___| |___ __| |_ _ __ __ _ _ _| |__ ___
(_-</ -_) / -_) _| _| '_ \/ _` | '_| / /(_-<
/__/\___|_\___\__|\__| .__/\__,_|_| |_\_\/__/
|_http://selectparks.net/~julian
More information about the pvrusb2
mailing list