Hi Andy,

I tried to do the following test.

> As another test, you may also want to try this with v4l2-dbg with a
> staticy sounding station tuned.  It will switch the CX23418 to use the
> mono audio out directly from the analog tuner through the CS5345 audio
> chip, much like the audio line-in for Svideo or compsitie video-in.  If
> the static goes away, I'll know it's a CX23418 digitizer front-end
> problem:
> 
> # v4l2-dbg -c host0 -g 0x2c72014
> ioctl: VIDIOC_DBG_G_REGISTER
> Register 0x02c72014 = 325h (805d  00000011 00100101b)

But the above get register command failed with:
ioctl: VIDIOC_DBG_G_REGISTER
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x2c72014

And dmesg didn't show anything.

> # v4l2-dbg -c host0 -s 0x2c72014 0xb05
> Register 0x02c72014 set to 0xb05

And even though I couldn't get the current register value, I still tried
the set. It also failed with:
Failed to set register 0x02c72014 value 0xb05

I was root, and I was using the newest utility I compiled. Also tried the
one installed with the ivtv-utils package and got a usage message. So I
assume I haven't changed the tuner to use mono audio out. I did try
playing a couple of "really annoying" channels. Two out of three were
still really annoying (27 & 41), one (34) had improved to "slight".
FWIW, here's the output from v4l2-ctl --log-status while 41 was tuned in
and mplayer was going:

Status Log:

    [135949.888147] cx18-0: =================  START STATUS CARD #0  
=================
    [135949.888151] cx18-0: Version: 1.1.0  Card: Hauppauge HVR-1600
    [135949.925592] tveeprom 0-0050: Hauppauge model 74041, rev C6B2, serial# 
5405623
    [135949.925594] tveeprom 0-0050: MAC address is 00-0D-FE-52-7B-B7
    [135949.925596] tveeprom 0-0050: tuner model is TCL M2523_5N_E (idx 112, 
type 50)
    [135949.925598] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
    [135949.925600] tveeprom 0-0050: audio processor is CX23418 (idx 38)
    [135949.925602] tveeprom 0-0050: decoder processor is CX23418 (idx 31)
    [135949.925603] tveeprom 0-0050: has no radio, has IR receiver, has IR 
transmitter
    [135949.925609] cx18-0 843: Video signal:              present
    [135949.925610] cx18-0 843: Detected format:           NTSC-M
    [135949.925612] cx18-0 843: Specified standard:        NTSC-M
    [135949.925613] cx18-0 843: Specified video input:     Composite 7
    [135949.925614] cx18-0 843: Specified audioclock freq: 48000 Hz
    [135949.925624] cx18-0 843: Detected audio mode:       stereo
    [135949.925625] cx18-0 843: Detected audio standard:   BTSC
    [135949.925627] cx18-0 843: Audio muted:               no
    [135949.925628] cx18-0 843: Audio microcontroller:     running
    [135949.925629] cx18-0 843: Configured audio standard: automatic detection
    [135949.925631] cx18-0 843: Configured audio system:   BTSC
    [135949.925633] cx18-0 843: Specified audio input:     Tuner (In8)
    [135949.925634] cx18-0 843: Preferred audio mode:      stereo
    [135949.927610] cx18-0 gpio-reset-ctrl: GPIO:  direction 0x00003001, value 
0x00003001
    [135949.927613] tuner 1-0061: Tuner mode:      analog TV
    [135949.927615] tuner 1-0061: Frequency:       325.25 MHz
    [135949.927616] tuner 1-0061: Standard:        0x00001000
    [135949.929842] cs5345 0-004c: Input:  1
    [135949.929844] cs5345 0-004c: Volume: 0 dB
    [135949.929845] cx18-0: Video Input: Tuner 1
    [135949.929847] cx18-0: Audio Input: Tuner 1
    [135949.929848] cx18-0: GPIO:  direction 0x00003001, value 0x00003001
    [135949.929849] cx18-0: Tuner: TV
    [135949.929851] cx18-0: Stream: MPEG-2 Program Stream
    [135949.929853] cx18-0: VBI Format: No VBI
    [135949.929855] cx18-0: Video:  720x480, 30 fps
    [135949.929857] cx18-0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, 
Peak 8000000
    [135949.929859] cx18-0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
    [135949.929861] cx18-0: Audio:  48 kHz, MPEG-1/2 Layer II, 224 kbps, 
Stereo, No Emphasis, No CRC
    [135949.929864] cx18-0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 
1D Horizontal, 0
    [135949.929866] cx18-0: Temporal Filter: Manual, 8
    [135949.929867] cx18-0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
    [135949.929869] cx18-0: Status flags: 0x00200001
    [135949.929871] cx18-0: Stream encoder MPEG: status 0x0118, 0% of 2048 KiB 
(64 buffers) in use
    [135949.929873] cx18-0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB 
(16 buffers) in use
    [135949.929875] cx18-0: Stream encoder VBI: status 0x0000, 0% of 1015 KiB 
(20 buffers) in use
    [135949.929877] cx18-0: Stream encoder PCM audio: status 0x0000, 0% of 1024 
KiB (256 buffers) in use
    [135949.929879] cx18-0: Read MPEG/VBI: 24463360/0 bytes
    [135949.929881] cx18-0: ==================  END STATUS CARD #0  
==================

Any thoughts on why v4l2-dbg can't get/set that register?

FYI, I scanned all the channels on my old computer with the PVR-150.
No problems with static. However, when I got to channel 60, the video lost
color, although the audio was still clean. After rebooting, I continued
scanning. This time, I lost sound on channel 87, which follows some
channels that have white noise (both audio & video, and on any TV). I
tried unloading and reloading ivtv, which didn't restore the audio.
Rebooting did the trick. All but one of the remaining channels have white
noise, but when I did get to that one last channel, a test pattern with no
sound, there was no static.

Regards,
Helen


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to