[pvrusb2] read attempt on video device leads to error messages

Mike Isely isely at isely.net
Thu Oct 13 17:53:17 CDT 2005


This is a new symptom I've never seen before.  Looks like control of the
saa7115 chip isn't working.  Is that module loaded?  Try lsmod and see if
it is in the list.

  -Mike

On Thu, 13 Oct 2005, Lars Schillingmann wrote:

> Hi
>
> I am trying to get the driver to work on my system with no success. If i try
> to cat /dev/video0 > somewhere.mpg or do other read attempts on the device it
> does not work. Can anybody give me some hints how to interpret the error
> messages?
>
> Greets
> Lars
>
> usb 4-3: new high speed USB device using ehci_hcd and address 9
> pvrusb2 pvr2_hdw_create: hdw=e2407000
> pvrusb2 Driver unit number is 0, name is pvrusb2_a
> pvrusb2 subsys_stream_mask: 0x7800
> pvrusb2 pvr_probe(pvr=e9abde80)
> pvrusb2 pvr2_hdw_setup(hdw=e2407000) begin
> pvrusb2 pvr2_upload_firmware1
> 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=e2407000) done, ok=1 init_ok=0
> pvrusb2 Device firmware (re)load executed; it should now reset and reconnect.
> usb 4-3: USB disconnect, address 9
> pvrusb2 pvr_disconnect(pvr=e9abde80) BEGIN
> pvrusb2 pvr2_hdw_disconnect(hdw=e2407000)
> pvrusb2 pvr2_hdw_remove_usb_stuff: hdw=e2407000
> pvrusb2 render_useless
> pvrusb2 pvr2_hdw_destroy: hdw=e2407000
> pvrusb2 pvr_disconnect(pvr=e9abde80) DONE
> usb 4-3: new high speed USB device using ehci_hcd and address 10
> pvrusb2 pvr2_hdw_create: hdw=e2407000
> pvrusb2 Driver unit number is 0, name is pvrusb2_a
> pvrusb2 subsys_stream_mask: 0x7800
> pvrusb2 pvr_probe(pvr=e59bb380)
> pvrusb2 pvr2_hdw_setup(hdw=e2407000) begin
> pvrusb2 Performing a device reset...
> usb 4-3: reset high speed USB device using ehci_hcd and address 10
> pvrusb2 i2c_attach [client=pcf8574 @ 0x21 id=0x3fe]
> 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
> msp34xx: ivtv version
> msp34xx: init: chip=MSP3415G-B8, has NICAM support, simple (D) mode, simpler
> (G) no-thread mode
> msp34xx: $Id$ compiled on: Oct 11 2005 16:43:12
> pvrusb2 i2c_attach [client=MSP3415G-B8 @ 0x40 id=0x1]
> pvrusb2 attaching msp3400 I2C client
> pvrusb2 pvr2_upload_firmware2
> pvrusb2 Requesting uproc soft reset
> pvrusb2 Requesting uproc hard reset
> pvrusb2 upload of pvrusb2.f2 : 262144 / 262144
> tveeprom: Hauppauge: model = 29039, rev = C552, serial# = 7440382
> tveeprom: tuner = Microtune 4049 FM5 (idx = 52, type = 45)
> 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 results:
> pvrusb2 has_radio=1
> pvrusb2 tuner_type=45
> pvrusb2 tuner_formats=0x400e17
> pvrusb2 audio_processor=6
> pvrusb2 model=19
> pvrusb2 revision=29039
> pvrusb2 serial_number=9262418
> pvrusb2 rev_str=q
> tuner: type set to 45 (Microtune 4049 FM5) 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=e59bba80
> pvrusb2 pvr2_hdw_setup: video stream is e59bba80
> pvrusb2 pvr2_hdw_setup(hdw=e2407000) done, ok=1 init_ok=1
> pvrusb2 Device initialization completed successfully.
> pvrusb2 Registered pvrusb2 v4l device, minor=0
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
> pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_setup (setup) id=dbffb380
> 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 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_input
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_size
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_audio
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_encoder_configure
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_enable_output(1)
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(1)
> pvrusb2 /*---TRACE_CTL----*/ pvr2_encoder_start
> pvrusb2 Retrying device reconfiguration
> pvrusb2 subsys mask changing 0x7fff:0xffffffff from 0x683f to 0x7fff
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_norm
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_input
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_size
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_audio
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_enable_output(1)
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 Retrying device reconfiguration
> pvrusb2 subsys mask changing 0x7fff:0xffffffff from 0x683f to 0x7fff
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_norm
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_input
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_size
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_audio
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_enable_output(1)
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 Retrying device reconfiguration
> pvrusb2 subsys mask changing 0x7fff:0xffffffff from 0x683f to 0x7fff
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_norm
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_input
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_size
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_audio
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_enable_output(1)
> pvrusb2 pvr2_i2c_saa7115_cmd failed with status -22
> pvrusb2 Too many retries when configuring device; giving up
> pvrusb2 render_useless
> pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_start id=dbffb380
> pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_setup (tear-down) id=dbffb380
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>

-- 
                        |         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
                        |                             |


More information about the pvrusb2 mailing list