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

Ingo Flaschberger if at xip.at
Wed Jan 4 10:06:15 CST 2006


Hi

disable interlacing.

see comments inline.

bye,
 	ingo flaschberger

geschaeftsleitung
crossip communications gmbH
------------------------------
sebastian kneipp gasse 1
a-1020 wien
fix: +43-1-726 15 22-217
fax: +43-1-726 15 22-111
mob: +43-699-105 86 719
www.xip.at
------------------------------
On Wed, 4 Jan 2006, Frans Meulenbroeks wrote:

> Hi Mike, all
>
> Apparently I ran into a problem with the 0101
> snapshot.
> This snapshot for some reason pushes the resolution
> back to 288 lines for me (and records a compressed
> (half height) picture).
> It seems that the communication with v4l is not
> correct.
>
> See the dmesg log below (and especially the last few
> lines).
> Note that I did not change other things apart from
> going from the dec 25 to the jan 01 version. Haven't
> had time yet to try the 02, 02A or 03 versions.
>
> Also the info from sys:
>
> root at NSLU2:/sys/class/pvrusb2/sn-7270128# cat debugcmd
> USB link speed: high
> GPIO state: dir=0xc401 in=0x2020 out=0x8
> Streaming is off
> Subsystems enabled / configured: +ENC_FIRMWARE
> Subsystems disabled / unconfigured: -ENC_CFG -DIG_RUN
> -USB_RUN -ENC_RUN
> Subsystems stopped on stream shutdown: +ENC_CFG
> +DIG_RUN +USB_RUN +ENC_RUN
> root at NSLU2:/sys/class/pvrusb2/sn-7270128# cat
> debuginfo
> big lock free; ctl lock free
> driver flags: initialized ok connected
> Subsystems enabled / configured: +ENC_FIRMWARE
> Subsystems disabled / unconfigured: -ENC_CFG -DIG_RUN
> -USB_RUN -ENC_RUN
> Attached I2C modules:
> LG PAL_BG+FM (TPI8PSB01D) @ 0x61 [v4l2_standard
> v4l2_bcsh v4l2_volume v4l2_freq v4l2_size]
> MSP3415G-B8 @ 0x40 [v4l1_standard v4l1_volume
> v4l1_freq]
> saa7115 @ 0x21
>
> Note that in the past I used to get 720x576 (I'm using
> PAL BG).
>
> Also I noticed that the recording itself has been
> changed:
> file says:
>
> Ned 1 Nederland Helpt Wed Jan  4 14:10:00 2006 1.mpg:
>         MPEG sequence, v1, system multiplex
>
> Does this say this is MPEG v1? I haven't found a way
> to set this.
>
> Ned 1 Swiebertje Tue Jan  3 10:00:00 2006 1.mpg:
>         MPEG sequence, v2, program multiplex
>
> This is recorded a day earlier (presumably with the
> dec 25 driver)
> Note also that file lists this as a program multiplex
> (a program stream?) whereas the newer file is a system
> multiplex (would that be a transport stream?)
>
> Then here the dmesg log.
>
> Best regards, Frans.
>
> usb 1-1.3: new high speed USB device using ehci_hcd
> and address 8
> pvrusb2 pvr2_hdw_create: hdw=c1e9f000
> pvrusb2 Driver unit number is 1, name is pvrusb2_b
> pvrusb2 subsys_stream_mask: 0x3c000
> pvrusb2 pvr_probe(pvr=c09442e0)
> pvrusb2 pvr2_hdw_setup(hdw=c1e9f000) 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=c1e9f000) done, ok=1
> init_ok=0
> pvrusb2 Device firmware (re)load executed; it should
> now reset and reconnect.
> usb 1-1.3: USB disconnect, address 8
> pvrusb2 pvr_disconnect(pvr=c09442e0) BEGIN
> pvrusb2 pvr2_hdw_disconnect(hdw=c1e9f000)
> pvrusb2 pvr2_hdw_remove_usb_stuff: hdw=c1e9f000
> pvrusb2 render_useless
> pvrusb2 pvr2_hdw_destroy: hdw=c1e9f000
> pvrusb2 pvr_disconnect(pvr=c09442e0) DONE
> usb 1-1.3: new high speed USB device using ehci_hcd
> and address 9
> pvrusb2 pvr2_hdw_create: hdw=c1e9f000
> pvrusb2 Driver unit number is 1, name is pvrusb2_b
> pvrusb2 subsys_stream_mask: 0x3c000
> pvrusb2 pvr_probe(pvr=c09443a0)
> pvrusb2 pvr2_hdw_setup(hdw=c1e9f000) begin
> pvrusb2 Performing a device reset...
> usb 1-1.3: reset high speed USB device using ehci_hcd
> and address 9
> pvrusb2 i2c_attach [client=eeprom @ 0x50
> ctxt=c036c600]
> tuner (ivtv): chip found at addr 0xc2 i2c-bus
> pvrusb2_b
> pvrusb2 i2c_attach [client=(tuner unset) @ 0x61
> ctxt=c03d2a80]
> 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  2 200
> 6 18:21:09
> pvrusb2 i2c_attach [client=MSP3415G-B8 @ 0x40
> ctxt=c03d2c00]
> saa7115 2-0021: saa7115 found @ 0x42 (pvrusb2_b)
> pvrusb2 i2c_attach [client=saa7115 @ 0x21
> ctxt=c036cf80]
> tda9887 2-0043: chip found @ 0x86 (pvrusb2_b)
> pvrusb2 i2c_attach [client=tda9887 @ 0x43
> ctxt=c03d27e0]
> 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 = D160,
> serial# = 7770995
> tveeprom: tuner = LG S001D MK3 (idx = 60, 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=9508240
> pvrusb2 serial_number=7770995
> pvrusb2 rev_str=D160
> 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=c036c600 ctl_mask=0x2f eeprom @
> 0x50 [v4l2_standard v4l2_bc
> sh v4l2_volume v4l2_freq v4l2_size]
> pvrusb2 Probed: ctxt=c03d2a80 ctl_mask=0x2f (tuner
> unset) @ 0x61 [v4l2_standard
> v4l2_bcsh v4l2_volume v4l2_freq v4l2_size]
> pvrusb2 Probed: ctxt=c03d2c00 ctl_mask=0x1c0
> MSP3415G-B8 @ 0x40 [v4l1_standard v
> 4l1_volume v4l1_freq]
> pvrusb2 Probed: ctxt=c036cf80 ctl_mask=0x0 saa7115 @
> 0x21
> pvrusb2 Probed: ctxt=c03d27e0 ctl_mask=0x2f tda9887 @
> 0x43 [v4l2_standard v4l2_b
> csh v4l2_volume v4l2_freq v4l2_size]
> pvrusb2 i2c tuner set_type(38)
> tuner: type set to 38 (Philips PAL/SECAM multi
> (FM1216ME MK3)) by pvrusb2_b
> 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(720x480)
> pvrusb2 i2c ivtv set_audio 0
> pvrusb2 i2c demod set_config(0x60)
> 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(720x480)
> 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=c0ef18a0
> pvrusb2 pvr2_hdw_setup: video stream is c0ef18a0
> pvrusb2 pvr2_hdw_setup(hdw=c1e9f000) done, ok=1
> init_ok=1
> pvrusb2 Device initialization completed successfully.
> pvrusb2 Registered pvrusb2 v4l device, minor=1
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22
> (0xffffffea)
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515
> (0xfffffdfd)
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22
> (0xffffffea)
> pvrusb2 /*--TRACE_COMMIT--*/ "Horizontal capture
> resolution" <-- 720 (<integer>)
> pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture
> resolution" <-- 288 (<integer>)
> pvrusb2 /*--TRACE_COMMIT--*/ "Interlace mode" <-- 1
> (<integer>)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
thats your problem.

> pvrusb2 pvr2_decoder_set_size(720x288)
> pvrusb2 i2c v4l2 set_size(720x288)
> pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22
> (0xffffffea)
> (END)
>
>
>
>
> __________________________________________
> Yahoo! DSL – Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>


More information about the pvrusb2 mailing list