[pvrusb2] New driver snapshot: pvrusb2-mci-20060103

Wim Bakker w.bakker32 at chello.nl
Thu Jan 5 12:14:45 CST 2006


On Wednesday 04 January 2006 07:09, Mike Isely wrote:
> This driver snapshot fixes the 2.6.15 compilation problem that was
> detected shortly after the previous 20060102A snapshot.  No other changes.
>
> And yes, I test-compiled this one successfully under 2.6.10.11, 2.6.12.3,
> 2.6.14.3, and 2.6.15 :-)

But still no correct video,
the 20051208 snapshot is the last snapshot that produced 
correct video on my system, it seems , the later snapshots
are not capable of tuning the tuner.
I tried 20060101 and 20060103 but to no avail , only 20051208
works, : 

usbcore: deregistering driver pvrusb2
pvrusb2 pvr_disconnect(pvr=f7b632c0) BEGIN
pvrusb2 pvr2_hdw_disconnect(hdw=f74fa000)
pvrusb2 pvr2_hdw_remove_usb_stuff: hdw=f74fa000
pvrusb2 render_useless
pvrusb2 Unregistering v4l video device (mpeg, minor=0)
pvrusb2 pvr2_hdw_destroy: hdw=f74fa000
pvrusb2 pvr2_stream_destroy: sp=ee6eec40
pvrusb2 Attempted to execute control transfer when device not ok
msp3400: chip reset failed
pvrusb2 pvr2_i2c_detach [client=MSP3415G-B8 @ 0x40 ctxt=f779bb80]
pvrusb2 pvr2_i2c_detach [client=saa7115 @ 0x21 ctxt=f7d97d20]
pvrusb2 pvr2_i2c_detach [client=tveeprom @ 0x50 ctxt=f77883c0]
pvrusb2 pvr2_i2c_detach [client=Philips PAL/SECAM multi (FM1216ME MK3) @ 0x61 
ctxt=f7788260]
pvrusb2 pvr_disconnect(pvr=f7b632c0) DONE
Linux video capture interface: v1.00
pvrusb2 pvr_init
pvrusb2 pvr2_hdw_create: hdw=ed1ad000
pvrusb2 Driver unit number is 0, name is pvrusb2_a
pvrusb2 subsys_stream_mask: 0x7800
pvrusb2 pvr2_hdw_setup(hdw=ed1ad000) begin
pvrusb2 Performing a device reset...
pvrusb2 pvr_probe(pvr=ee6ee740)
usbcore: registered new driver pvrusb2
/install/PVR/pvrusb2-mci-20051208/driver/pvrusb2-main.c: Hauppauge 
WinTV-PVR-USB2 MPEG2 Encoder/Tuner : 20051208 (from www.isely.net)
/install/PVR/pvrusb2-mci-20051208/driver/pvrusb2-main.c: Debug mask is 4214975 
(0x4050bf)
usb 1-3: reset high speed USB device using ehci_hcd and address 4
msp34xx: ivtv version
msp34xx: init: chip=MSP3415G-B8, has NICAM support, simple (D) mode, simpler 
(G) no-thread mode
msp34xx: $Id: msp3400.c 649 2005-11-09 02:22:02Z isely $ compiled on: Jan  3 
2006 19:20:10
pvrusb2 i2c_attach [client=MSP3415G-B8 @ 0x40 id=0x1]
pvrusb2 attaching msp3400 I2C client
saa7115 1-0021: saa7115 found @ 0x42 (pvrusb2_a)
pvrusb2 i2c_attach [client=saa7115 @ 0x21 id=0xf1]
pvrusb2 attaching saa7115 I2C client
tveeprom: Encountered bad packet header [c2]. Corrupt or not a Hauppauge 
eeprom.
pvrusb2 i2c_attach [client=tveeprom @ 0x50 id=0x44]
pvrusb2 attaching tveeprom I2C client
tuner (ivtv): chip found at addr 0xc2 i2c-bus pvrusb2_a
pvrusb2 i2c_attach [client=(tuner unset) @ 0x61 id=0x2]
pvrusb2 attaching tuner I2C client
pvrusb2 pvr2_upload_firmware2
pvrusb2 Requesting uproc soft reset
pvrusb2 Requesting uproc hard reset
pvrusb2 upload of pvrusb2.f2 : 262144 / 262144
pvrusb2 Probing for v4l video decoder driver
pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
pvrusb2 Probing for ivtv video decoder driver
pvrusb2 Using ivtv video decoder driver
tveeprom: ivtv version
tveeprom: Hauppauge: model = 29039, rev = D157, serial# = 7727958
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, 
v4l2 = 0x00400e17)
tveeprom: audio processor = MSP3415 (type = 6)
tveeprom: decoder processor = SAA7115 (type = 13)
pvrusb2 eeprom detected ivtv tveeprom module
pvrusb2 eeprom direct call results:
pvrusb2 has_radio=1
pvrusb2 tuner_type=38
pvrusb2 tuner_formats=0x400e17
pvrusb2 audio_processor=6
pvrusb2 model=29039
pvrusb2 revision=9508183
pvrusb2 serial_number=7727958
pvrusb2 rev_str=D157
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by pvrusb2_a
pvrusb2 Detected video standard SECAM-L (from eeprom)
pvrusb2 Detected video standard PAL-BG (from eeprom)
pvrusb2 Detected video standard PAL-I (from eeprom)
pvrusb2 Setting initial video standard to SECAM-L (detected from eeprom)
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 128 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 68 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 64 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Volume" <-- 65535 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Balance" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Bass" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Treble" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Mute" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Sample rate" <-- 0 (48KHz)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Bitrate" <-- 3 (224kb/s)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio CRC" <-- 1 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Emphasis" <-- 0 (None)
pvrusb2 /*--TRACE_COMMIT--*/ "Variable video bitrate" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Average video bitrate" <-- 6000000 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Peak video bitrate" <-- 6000000 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 1 (SECAM-L)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Source" <-- 0 (television)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Mode" <-- 1 (Stereo)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 175250000 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Horizontal capture resolution" <-- 720 
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 480 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Interlace mode" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Layer" <-- 2 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Channel" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Channel Program ID" <-- 0 (<integer>)
pvrusb2 pvr2_stream_create: sp=ee6ee840
pvrusb2 pvr2_hdw_setup: video stream is ee6ee840
pvrusb2 pvr2_hdw_setup(hdw=ed1ad000) done, ok=1 init_ok=1
pvrusb2 Device initialization completed successfully.
pvrusb2 Registered pvrusb2 v4l device, minor=0
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 102 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 55 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Volume" <-- 61500 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 2 (PAL-BG)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 576 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 272000000 (<integer>)
pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_setup (setup) id=e9880680
pvrusb2 /*--TRACE_STREAM--*/ enable
pvrusb2 subsys mask changing 0x7fff:0xffffffff from 0x1 to 0x7fff
pvrusb2 /*---TRACE_CTL----*/ pvr2_tuner_set_standard
pvrusb2 /*---TRACE_CTL----*/ pvr2_tuner_set_freq
pvrusb2 /*---TRACE_CTL----*/ pvr2_audio_set_standard
pvrusb2 /*---TRACE_CTL----*/ pvr2_audio_set_stereo
pvrusb2 /*---TRACE_CTL----*/ pvr2_audio_setvolume
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_norm
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_input
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_size
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_audio
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
pvrusb2 newer saa7115 sensed
pvrusb2 /*---TRACE_CTL----*/ pvr2_encoder_configure
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_enable_output
pvrusb2 /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(1)
pvrusb2 /*---TRACE_CTL----*/ pvr2_encoder_start
pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_start id=e9880680

--------------------------------------------------------------------
snapshot 20060103 :

pvrusb2 pvr_init
pvrusb2 pvr2_hdw_create: hdw=f7a9d000
pvrusb2 Driver unit number is 0, name is pvrusb2_a
pvrusb2 subsys_stream_mask: 0x3c000
pvrusb2 pvr2_hdw_setup(hdw=f7a9d000) begin
pvrusb2 Performing a device reset...
pvrusb2 pvr_probe(pvr=f77bdb80)
usbcore: registered new driver pvrusb2
/install/PVR/pvrusb2-mci-20060103/driver/pvrusb2-main.c: Hauppauge 
WinTV-PVR-USB2 MPEG2 Encoder/Tuner : 20060103 (from www.isely.net)
/install/PVR/pvrusb2-mci-20060103/driver/pvrusb2-main.c: Debug mask is 8417471 
(0x8070bf)
usb 1-3: reset high speed USB device using ehci_hcd and address 4
msp34xx: ivtv version
msp34xx: init: chip=MSP3415G-B8, has NICAM support, simple (D) mode, simpler 
(G) no-thread mode
msp34xx: $Id: msp3400.c 649 2005-11-09 02:22:02Z isely $ compiled on: Jan  3 
2006 19:20:10
pvrusb2 i2c_attach [client=MSP3415G-B8 @ 0x40 ctxt=ee577600]
saa7115 1-0021: saa7115 found @ 0x42 (pvrusb2_a)
pvrusb2 i2c_attach [client=saa7115 @ 0x21 ctxt=ee5775a0]
tveeprom: Encountered bad packet header [c2]. Corrupt or not a Hauppauge 
eeprom.
pvrusb2 i2c_attach [client=tveeprom @ 0x50 ctxt=ee5772a0]
tuner (ivtv): chip found at addr 0xc2 i2c-bus pvrusb2_a
pvrusb2 i2c_attach [client=(tuner unset) @ 0x61 ctxt=f7788ea0]
pvrusb2 pvr2_upload_firmware2
pvrusb2 Requesting uproc soft reset
pvrusb2 Requesting uproc hard reset
pvrusb2 upload of pvrusb2.f2 : 262144 / 262144
tveeprom: ivtv version
tveeprom: Hauppauge: model = 29039, rev = D157, serial# = 7727958
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, 
v4l2 = 0x00400e17)
tveeprom: audio processor = MSP3415 (type = 6)
tveeprom: decoder processor = SAA7115 (type = 13)
pvrusb2 eeprom detected ivtv tveeprom module
pvrusb2 eeprom direct call results:
pvrusb2 has_radio=1
pvrusb2 tuner_type=38
pvrusb2 tuner_formats=0x400e17
pvrusb2 audio_processor=6
pvrusb2 model=29039
pvrusb2 revision=9508183
pvrusb2 serial_number=7727958
pvrusb2 rev_str=D157
pvrusb2 Detected video standard PAL-BG (from eeprom)
pvrusb2 Detected video standard PAL-I (from eeprom)
pvrusb2 Detected video standard SECAM-L (from eeprom)
pvrusb2 Setting initial video standard to PAL-BG (detected from eeprom)
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 128 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 68 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 64 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Volume" <-- 65535 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Balance" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Bass" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Treble" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Mute" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Sample rate" <-- 0 (48KHz)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Bitrate" <-- 3 (224kb/s)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio CRC" <-- 1 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Emphasis" <-- 0 (None)
pvrusb2 /*--TRACE_COMMIT--*/ "Variable video bitrate" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Average video bitrate" <-- 6000000 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Peak video bitrate" <-- 6000000 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 1 (PAL-BG)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Source" <-- 0 (television)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Mode" <-- 1 (Stereo)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 175250000 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Horizontal capture resolution" <-- 720 
(<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 480 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Interlace mode" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Audio Layer" <-- 2 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Channel" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Channel Program ID" <-- 0 (<integer>)
pvrusb2 Probed: ctxt=ee577600 ctl_mask=0x1c0 MSP3415G-B8 @ 0x40 [v4l1_standard 
v4l1_volume v4l1_freq]
pvrusb2 Probed: ctxt=ee5775a0 ctl_mask=0x0 saa7115 @ 0x21
pvrusb2 Probed: ctxt=ee5772a0 ctl_mask=0x2f tveeprom @ 0x50 [v4l2_standard 
v4l2_bcsh v4l2_volume v4l2_freq v4l2_size]
pvrusb2 Probed: ctxt=f7788ea0 ctl_mask=0x2f (tuner unset) @ 0x61 
[v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size]
pvrusb2 i2c msp3400 set_stereo
pvrusb2 i2c ivtv set_bcsh b=128 c=68 s=64 h=0
pvrusb2 newer saa7115 sensed
pvrusb2 i2c ivtv set_input(0)
pvrusb2 i2c ivtv set_std 1
pvrusb2 pvr2_decoder_set_size(720x576)
pvrusb2 i2c ivtv set_audio 0
pvrusb2 i2c tuner set_type(38)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by pvrusb2_a
pvrusb2 i2c v4l2 set_standard(1)
pvrusb2 i2c v4l2 set_bcsh b=128 c=68 s=64 h=0
pvrusb2 i2c v4l2 set_volume(vol=65535 bal=0 bas=0 treb=0 mute=0)
pvrusb2 i2c v4l2 set_freq(175250000)
pvrusb2 i2c v4l2 set_size(720x576)
pvrusb2 i2c v4l1 set_standard(1)
pvrusb2 i2c v4l1 set_volume(vol=65535 bal=0 bas=0 treb=0 mute=0)
pvrusb2 i2c v4l1 set_freq(175250000)
pvrusb2 pvr2_stream_create: sp=ee6ee8c0
pvrusb2 pvr2_hdw_setup: video stream is ee6ee8c0
pvrusb2 pvr2_hdw_setup(hdw=f7a9d000) done, ok=1 init_ok=1
pvrusb2 Device initialization completed successfully.
pvrusb2 Registered pvrusb2 v4l device, minor=0
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 102 (<integer>)
pvrusb2 i2c ivtv set_bcsh b=102 c=68 s=64 h=0
pvrusb2 i2c v4l2 set_bcsh b=102 c=68 s=64 h=0
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 55 (<integer>)
pvrusb2 i2c ivtv set_bcsh b=102 c=55 s=64 h=0
pvrusb2 i2c v4l2 set_bcsh b=102 c=55 s=64 h=0
pvrusb2 /*--TRACE_COMMIT--*/ "Volume" <-- 61500 (<integer>)
pvrusb2 i2c v4l2 set_volume(vol=61500 bal=0 bas=0 treb=0 mute=0)
pvrusb2 i2c v4l1 set_volume(vol=61500 bal=0 bas=0 treb=0 mute=0)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 1 (PAL-BG)
pvrusb2 i2c ivtv set_std 1
pvrusb2 i2c v4l2 set_standard(1)
pvrusb2 i2c v4l1 set_standard(1)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 576 (<integer>)
pvrusb2 pvr2_decoder_set_size(720x576)
pvrusb2 i2c v4l2 set_size(720x576)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 272000000 (<integer>)
pvrusb2 i2c v4l2 set_freq(272000000)
pvrusb2 i2c v4l1 set_freq(272000000)


Identical , but with the latest snapshots the tuner definitely is not
set correctly, I only see colored noise with a black background, like
when the mode is set to secam while it's actually pal-bg :
cat /sys/class/pvrusb2/sn-7727958/ctl_video_standard/cur_val
PAL-BG

says it's in the right mode , but I have the impression it's not
telling the truth.


Wim




More information about the pvrusb2 mailing list