[pvrusb2] firmware problems it seems

Jeff Sadowski jeff_sadowski at yahoo.com
Sun Apr 9 20:39:20 CDT 2006


Ok it got further heres what dmesg looks like now before I start xawtv
look below for what happens when I start xawtv I tryed mplayer also

usb 4-2: new high speed USB device using ehci_hcd and address 3
usb 4-2: configuration #1 chosen from 1 choice
Linux video capture interface: v1.00
pvrusb2: pvr_init
pvrusb2: pvr2_hdw_create: hdw=ec9ef000, type "WinTV PVR USB2 Model Category 29xxxx"
pvrusb2: Driver unit number is 0, name is pvrusb2_a
pvrusb2: subsys_stream_mask: 0x1e
pvrusb2: pvr_probe(pvr=f5e9c780)
pvrusb2: pvr2_hdw_setup(hdw=ec9ef000) begin
pvrusb2: USB endpoint config looks strange; possibly firmware needs to be loaded
pvrusb2: pvr2_upload_firmware1
usbcore: registered new driver pvrusb2
/root/pvrusb2-mci-20060329/driver/pvrusb2-main.c: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : 20060329 (from www.isely.net)
/root/pvrusb2-mci-20060329/driver/pvrusb2-main.c: Debug mask is 16834943 (0x100e17f)
pvrusb2: Located fx2 controller firmware: v4l-pvrusb2-29xxx-01.fw; uploading...
pvrusb2: cpureset_assert(1)
pvrusb2: Upload done, releasing device's CPU
pvrusb2: cpureset_assert(0)
pvrusb2: Upload done (8192 bytes sent)
pvrusb2: pvr2_hdw_setup(hdw=ec9ef000) done, ok=1 init_ok=0
pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
pvrusb2: pvr2_hdw_setup(hdw=ec9ef000) end
usb 4-2: USB disconnect, address 3
pvrusb2: pvr_disconnect(pvr=f5e9c780) BEGIN
pvrusb2: pvr2_hdw_disconnect(hdw=ec9ef000)
pvrusb2: pvr2_hdw_remove_usb_stuff: hdw=ec9ef000
pvrusb2: render_useless
pvrusb2: pvr2_hdw_destroy: hdw=ec9ef000
pvrusb2: pvr_disconnect(pvr=f5e9c780) DONE
usb 4-2: new high speed USB device using ehci_hcd and address 4
usb 4-2: configuration #1 chosen from 1 choice
pvrusb2: pvr2_hdw_create: hdw=eb6aa000, type "WinTV PVR USB2 Model Category 29xxxx"
pvrusb2: Driver unit number is 0, name is pvrusb2_a
pvrusb2: subsys_stream_mask: 0x1e
pvrusb2: pvr_probe(pvr=f5e9cc80)
pvrusb2: pvr2_hdw_setup(hdw=eb6aa000) begin
pvrusb2: Probe of device endpoint 1 succeeded
pvrusb2: Performing a device reset...
usb 4-2: reset high speed USB device using ehci_hcd and address 4
pvrusb2: Requesting powerup
pvrusb2: pvr2_upload_firmware2
pvrusb2: Located encoder firmware: v4l-cx2341x-enc.fw; uploading...
pvrusb2: Requesting uproc hard reset
pvrusb2: upload of v4l-cx2341x-enc.fw : 262144 / 262144
pvrusb2: i2c_attach [client=tveeprom @ 0x50 ctxt=f211efa0]
msp3400 1-0040: MSP3445G-B8 found @ 0x80 (pvrusb2_a)
msp3400 1-0040: MSP3445G-B8 supports radio, mode is autodetect and autoselect
pvrusb2: i2c_attach [client=MSP3445G-B8 @ 0x40 ctxt=ebd34480]
saa7115 1-0021: saa7115 found @ 0x42 (pvrusb2_a)
pvrusb2: i2c_attach [client=saa7115 @ 0x21 ctxt=ebd342a0]
tuner 1-0061: chip found @ 0xc2 (pvrusb2_a)
pvrusb2: i2c_attach [client=(tuner unset) @ 0x61 ctxt=ebd34fa0]
tda9887 1-0043: chip found @ 0x86 (pvrusb2_a)
pvrusb2: i2c_attach [client=tda9887 @ 0x43 ctxt=ebd34e80]
pvrusb2: Value for eeprom addr from controller was 0x50
pvrusb2: Examining 256 byte eeprom at location 0x50 using 8 bit addressing
tveeprom 1-0050: Hauppauge model 29032, rev D1A3, serial# 8123316
tveeprom 1-0050: tuner model is TCL MFNM05-4 (idx 103, type 43)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: audio processor is MSP3445 (idx 12)
tveeprom 1-0050: decoder processor is SAA7115 (idx 19)
tveeprom 1-0050: has radio, has IR remote
pvrusb2: eeprom detected v4l tveeprom module
pvrusb2: eeprom direct call results:
pvrusb2: has_radio=1
pvrusb2: tuner_type=43
pvrusb2: tuner_formats=0x1000
pvrusb2: audio_processor=10
pvrusb2: model=29032
pvrusb2: revision=9508947
pvrusb2: serial_number=8123316
pvrusb2: rev_str=D1A3
pvrusb2: Detected video standard NTSC-M (from eeprom)
pvrusb2: Setting initial video standard to NTSC-M (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" <-- 0 (NTSC-M)
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--*/ "Signal Present" <-- 4 (<integer>)
pvrusb2: /*--TRACE_COMMIT--*/ "Subsystem stream mask" <-- 6 (<integer>)
pvrusb2: Probed: ctxt=f211efa0 ctl_mask=0x22f tveeprom @ 0x50 [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
pvrusb2: i2c 0x40 msp3400 V4L2 handler set up
pvrusb2: Probed: ctxt=ebd34480 ctl_mask=0x22f MSP3445G-B8 @ 0x40 (handler: pvrusb2-audio (old routing) v4l2) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size
 v4l2_log]
pvrusb2: i2c 0x21 saa711x V4L2 handler set up
pvrusb2: Probed: ctxt=ebd342a0 ctl_mask=0x22f saa7115 @ 0x21 (handler: pvrusb2-video-v4l (old routing)) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2
_log]
pvrusb2: i2c 0x61 tuner handler set up
pvrusb2: Probed: ctxt=ebd34fa0 ctl_mask=0x22f (tuner unset) @ 0x61 (handler: pvrusb2-tuner) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
pvrusb2: i2c 0x43 tda9887 V4L2 handler set up
pvrusb2: Probed: ctxt=ebd34e80 ctl_mask=0x22f tda9887 @ 0x43 (handler: pvrusb2-demod) [v4l2_standard v4l2_bcsh v4l2_volume v4l2_freq v4l2_size v4l2_log]
pvrusb2: i2c msp3400 v4l2 set_stereo
pvrusb2: i2c v4l2 set_input(0)
pvrusb2: i2c v4l2 set_audio 0
pvrusb2: i2c tuner set_type(43)
tuner 1-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
pvrusb2: i2c demod set_config(0x60)
pvrusb2: i2c v4l2 set_standard(0)
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(720x480)
pvrusb2: i2c v4l2 do_log()
msp3400 1-0040: MSP3445G-B8 rev1 = 0x0207 rev2 = 0x2d48
msp3400 1-0040: Audio:    volume 65535
msp3400 1-0040: Audio:    balance 0 bass 0 treble 0 loudness off
msp3400 1-0040: Mode:     unknown
msp3400 1-0040: Standard: could not detect sound standard (mono)
msp3400 1-0040: ACB:      0x0c00
saa7115 1-0021: Audio frequency: 48000 Hz
saa7115 1-0021: Input:           Composite 4
saa7115 1-0021: Video signal:    bad
saa7115 1-0021: Frequency:       50 Hz
saa7115 1-0021: Detected format: BW/No color
tuner 1-0061: Tuner mode:      analog TV
tuner 1-0061: Frequency:       175.25 MHz
tuner 1-0061: Standard:        0x00001000
tda9887 1-0043: Data bytes: b=0x14 c=0x30 e=0x44
pvrusb2: pvr2_stream_create: sp=f5e9c980
pvrusb2: pvr2_hdw_setup: video stream is f5e9c980
pvrusb2: pvr2_hdw_setup(hdw=eb6aa000) done, ok=1 init_ok=1
pvrusb2: Device initialization completed successfully.
pvrusb2: pvr2_hdw_setup(hdw=eb6aa000) end
pvrusb2: registered device video0 [mpeg]

that was before xawtv. After I start xawtv it looks like so

pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_ENUMSTD, dir=rw (0xc0405619)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-515 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_G_PARM, dir=rw (0xc0cc5615)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
.....
pvrusb2_a: v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
.
pvrusb2_a: v4l2 ioctl VIDIOC_ENUMSTD, dir=rw (0xc0405619)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:

pvrusb2_a: v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-515 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_G_PARM, dir=rw (0xc0cc5615)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
pvrusb2_a: v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624)
pvrusb2: pvr2_v4l2_do_ioctl failure, ret=-22 command was:
..........
application xawtv uses obsolete OSS audio interface
pvrusb2: /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 55250000 (<integer>)
pvrusb2: i2c v4l2 set_freq(55250000)
pvrusb2: /*--TRACE_COMMIT--*/ "Audio Mode" <-- 0 (Mono)
pvrusb2: i2c msp3400 v4l2 set_stereo
pvrusb2: /*--TRACE_COMMIT--*/ "Audio Mode" <-- 1 (Stereo)
pvrusb2: i2c msp3400 v4l2 set_stereo
pvrusb2: /*--TRACE_COMMIT--*/ "Audio Bitrate" <-- 0 (384kb/s)
pvrusb2: /*--TRACE_COMMIT--*/ "Audio Bitrate" <-- 3 (224kb/s)
pvrusb2: /*--TRACE_COMMIT--*/ "Audio Mode" <-- 0 (Mono)
pvrusb2: i2c msp3400 v4l2 set_stereo
pvrusb2: /*--TRACE_COMMIT--*/ "Audio Mode" <-- 1 (Stereo)
pvrusb2: i2c msp3400 v4l2 set_stereo
pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_setup (setup) id=e74e1180
pvrusb2: /*--TRACE_STREAM--*/ enable
pvrusb2: subsys mask changing 0x1f:0xffffffff from 0x1 to 0x1f
pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_configure
pvrusb2: /*---TRACE_CTL----*/ decoder enable
pvrusb2: i2c v4l2 decoder_enable(1)
pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(1)
pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_start
pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_start id=e74e1180
pvrusb2: /*--TRACE_STREAM--*/ disable
pvrusb2: subsys mask changing 0x1e:0x0 from 0x1f to 0x1
pvrusb2: /*---TRACE_CTL----*/ pvr2_encoder_stop
pvrusb2: /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(0)
pvrusb2: /*---TRACE_CTL----*/ decoder disable
pvrusb2: i2c v4l2 decoder_enable(0)
pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_setup (tear-down) id=e74e1180
pvrusb2: /*---TRACE_READ---*/ pvr2_ioread_stop id=e74e1180
pvrusb2: /*--TRACE_COMMIT--*/ "Mute" <-- 1 (<integer>)
pvrusb2: i2c v4l2 set_volume(vol=65535 bal=0 bas=0 treb=0 mute=1)

Mike Isely <isely at isely.net> wrote: 
Firmware loading went fine here.

Your problem is that you got bit by a bug since fixed in the 20060329 
snapshot.  Update to the later snapshot.

FYI, that bug has been there basically since the beginning of time.  For 
some reason it didn't become malignant until recently.  The bug caused a 
bad race condition - I guess we've been lucky all along.  The change 
history (http://www.isely.net/pvrusb2-history.html) has more detail about 
this bug.

   -Mike



-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |
_______________________________________________
pvrusb2 mailing list
pvrusb2 at isely.net
http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2


			
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.


More information about the pvrusb2 mailing list