[pvrusb2] Fuzzy Video using Hauppauge WinTV PVR USB2
cardboil
cardboil at gmail.com
Fri Dec 23 01:14:32 CST 2005
Mike:
I tried a couple of settings based on some instructions from
http://ivtvdriver.org/viewcvs/ivtv/trunk/doc/README.tda9887?rev=2685)
Here is what my ivtv section in modprobe.conf looks like:
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv ivtv_std=2 tda9887=0 tuner=38
options tda9887 pal=b port1=0 port2=0
options tuner pal=b
But, this didn't do me any good. My current symptoms are crackling or no
audio on some channels and bad picture quality on other. Of course, there
are some channels which have perfectly good video and audio.
I'm also attaching the relevant section of my dmesg output:
pvrusb2 pvr2_hdw_create: hdw=f70c1000
pvrusb2 Driver unit number is 0, name is pvrusb2_a
pvrusb2 subsys_stream_mask: 0x7800
pvrusb2 pvr_probe(pvr=f726acc0)
pvrusb2 pvr2_hdw_setup(hdw=f70c1000) begin
pvrusb2 Performing a device reset...
usbcore: registered new driver pvrusb2
/home/mythtv/pvrusb2-mci-20051126/driver/pvrusb2-main.c: Hauppauge WinTV-PV
R-USB2 MPEG2 Encoder/Tuner : 20051126 (from www.isely.net)
/home/mythtv/pvrusb2-mci-20051126/driver/pvrusb2-main.c: Debug mask is 4214
975 (0x4050bf)
usb 1-5: reset high speed USB device using ehci_hcd and address 3
pvrusb2 i2c_attach [client=tveeprom @ 0x50 id=0xf2]
pvrusb2 attaching tveeprom I2C client
tuner 1-0061: chip found @ 0xc2 (pvrusb2_a)
pvrusb2 i2c_attach [client=(tuner unset) @ 0x61 id=0x2]
pvrusb2 attaching tuner I2C client
cdrom: open failed.
msp34xx: init: chip=MSP3415G-B8 +nicam +simple +simpler +radio mode=simpler
msp34xxg: daemon started
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
pvrusb2 pvr2_upload_firmware2
pvrusb2 Requesting uproc soft reset
pvrusb2 Requesting uproc hard reset
pvrusb2 upload of pvrusb2.f2 : 262144 / 262144
pvrusb2 Using ivtv video decoder driver
tveeprom 1-0050: Hauppauge model 29039, rev D160, serial# 8039721
tveeprom 1-0050: tuner model is LG S001D MK3 (idx 60, type 38)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom
0x74)
tveeprom 1-0050: audio processor is MSP3415 (idx 6)
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=38
pvrusb2 tuner_formats=0x400e17
pvrusb2 audio_processor=6
pvrusb2 model=29039
pvrusb2 revision=9508240
pvrusb2 serial_number=8039721
pvrusb2 rev_str=D160
tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
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 (<inte
ger>)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 480 (<intege
r>)
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=f726a940
pvrusb2 pvr2_hdw_setup: video stream is f726a940
pvrusb2 pvr2_hdw_setup(hdw=f70c1000) done, ok=1 init_ok=1
pvrusb2 Device initialization completed successfully.
pvrusb2 Registered pvrusb2 v4l device, minor=0
tda9885/6/7: chip found @ 0x86
pvrusb2 i2c_attach [client=tda9887 @ 0x43 id=0xffffffff]
pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22 (0xffffffea)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Source" <-- 1 (s-video)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 2 (PAL-BG)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Source" <-- 0 (television)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 2 (PAL-BG)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 63 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 63 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 127 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 210250000 (<integer
>)
pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22 (0xffffffea)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Source" <-- 0 (television)
pvrusb2 /*--TRACE_COMMIT--*/ "Video Standard" <-- 2 (PAL-BG)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 63 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 63 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 127 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 210250000 (<integer
>)
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 127 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 63 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 63 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Horizontal capture resolution" <-- 720 (<inte
ger>)
pvrusb2 /*--TRACE_COMMIT--*/ "Vertical capture resolution" <-- 576 (<intege
r>)
pvrusb2 /*--TRACE_COMMIT--*/ "Interlace mode" <-- 0 (<integer>)
pvrusb2 /*--TRACE_COMMIT--*/ "Volume" <-- 58950 (<integer>)
pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_setup (setup) id=f64d5c80
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=f64d5c80
application mythfrontend uses obsolete OSS audio interface
pvrusb2 /*--TRACE_COMMIT--*/ "Contrast" <-- 63 (<integer>)
pvrusb2 subsys mask changing 0x400:0x0 from 0x7fff to 0x7bff
pvrusb2 subsys mask changing 0x7fff:0x7fff from 0x7bff to 0x7fff
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
pvrusb2 /*--TRACE_COMMIT--*/ "Saturation" <-- 63 (<integer>)
pvrusb2 subsys mask changing 0x400:0x0 from 0x7fff to 0x7bff
pvrusb2 subsys mask changing 0x7fff:0x7fff from 0x7bff to 0x7fff
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
pvrusb2 /*--TRACE_COMMIT--*/ "Brightness" <-- 127 (<integer>)
pvrusb2 subsys mask changing 0x400:0x0 from 0x7fff to 0x7bff
pvrusb2 subsys mask changing 0x7fff:0x7fff from 0x7bff to 0x7fff
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
pvrusb2 /*--TRACE_COMMIT--*/ "Hue" <-- 0 (<integer>)
pvrusb2 subsys mask changing 0x400:0x0 from 0x7fff to 0x7bff
pvrusb2 subsys mask changing 0x7fff:0x7fff from 0x7bff to 0x7fff
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_set_bcsh
pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515 (0xfffffdfd)
pvrusb2 /*--TRACE_COMMIT--*/ "Tuner Frequency (Hz)" <-- 415250000 (<integer
>)
pvrusb2 subsys mask changing 0x4:0x0 from 0x7fff to 0x7ffb
pvrusb2 subsys mask changing 0x7fff:0x7fff from 0x7ffb to 0x7fff
pvrusb2 /*---TRACE_CTL----*/ pvr2_tuner_set_freq
pvrusb2 /*--TRACE_STREAM--*/ disable
pvrusb2 subsys mask changing 0x7800:0x0 from 0x7fff to 0x7ff
pvrusb2 /*---TRACE_CTL----*/ pvr2_encoder_stop
pvrusb2 /*---TRACE_CTL----*/ pvr2_hdw_cmd_usbstream(0)
pvrusb2 /*---TRACE_CTL----*/ pvr2_decoder_disable_output
pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_setup (tear-down) id=f64d5c80
pvrusb2 /*---TRACE_READ---*/ pvr2_ioread_stop id=f64d5c80
I'd greatly appreciate it if you could take a look at the output above and
let me know if anything looks fishy.
On 12/21/05, Mike Isely <isely at isely.net> wrote:
>
> On Wed, 21 Dec 2005, cardboil wrote:
>
> > Thanks Roger. Actually, it turns out that my problem with video
> fuzziness
> > (esp. with fast moving objects) was due to issues with my video card
> driver
> > settings, not pvrusb2. After some research, I found the right option to
> use
> > in my xorg.conf (to enable xvideo support for TV playback) and that took
> > care of the problem.
> >
> > Now, things are OK, except that my signal reception from the tuner is
> poor.
> > Let me explain.
> >
> > My cable connection carries both analog cable signals as well as
> encrypted
> > signals for use with digital STBs. The channel reception is good
> > (non-grainy) both with the analog cable coax connected directly to the
> TV or
> > digital through the STB. However, when I run the coax thru the WinTV
> PVR
> > USB2 tuner, the reception is not very good. I've checked that my
> > frequencies are correct (did auto-tuning using Hauppage's Win TV
> application
> > on a Windows machine to obtain the frequencies). But, for some
> inexplicable
> > reason, the picture captured by the tuner is rather grainy. Sometimes,
> the
> > signal is so bad that there is a hissing in the audio and sometimes even
> no
> > audio at all on certain channels. Note, when I use the tuner with a
> > Hauppage's windows driver and viewer application, the reception/picture
> > quality is very good. So, it leads me to believe that may be my
> settings
> > for the pvrusb2 driver are not right.
> >
> > Any ideas or pointers would be greatly appreciated.
>
> I just went through some old messages from you and I see that tda9887 is
> attaching itself to your device. This is a good thing, but I've been
> seeing some issues here still with tda9887 support. I can't yet nail it
> down. I spent half of last weekend trying to understand this. Sometimes
> it tunes correctly; other times it isn't quite right. One time I just
> power cycled the device and then it started working correctly.
>
> The tda9887 module is a chip driver for a part of the PVR USB2 device that
> involves demodulation. If it isn't working correctly it will look like
> bad tuning. I'm still learning how this part works and it seems that this
> module driver is not always needed (which is why I only stumbled onto this
> problem recently and added support for it).
>
> The tda9887 module is part of the v4l core. Supposedly it "just works",
> however there might be some module options you may have to add.
> Generally anything you learn about configuring tda9887 in the context of
> other video devices will likely apply here as well. For example, I
> understand that for PAL tuning, you probably likely will need "port2=0" as
> a module option. Try reloading tda9887 with that option set and see if
> that helps. I'm not convinced it will help unfortunately because in my
> testing last weekend, it didn't do me any good. Admittedly the pvrusb2
> web page needs to be updated with this information but I haven't yet
> because from where I sit things still are not behaving the way I would
> have expected.
>
> -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
>
More information about the pvrusb2
mailing list