On Sun, 2009-02-08 at 14:39 -0600, Ben Nemec wrote:
> Hi,
> 
> I've been using an HVR-1600 card for a while now and it was working great up 
> until a couple of days ago.  There was a power outage here that forced my 
> Myth box to reboot, and when it came back up I could get nothing but 
> intermittent static sound from my HVR-1600 analog input even though the video 
> seems to be working correctly (the ATSC tuner is fine as well).  I've tried a 
> number of things that I found including setting mmio_ndelay (even though 
> that's not supposed to be necessary anymore) but nothing I've tried has made 
> any difference.
> 
> Here's the output from v4l2-ctl --log-status:
> $v4l2-ctl -d1 --log-status
> 
> Status Log:
> 
>    [ 1963.189818] cx18-0: =================  START STATUS CARD #0  
> =================
>    [ 1963.189833] cx18-0: Version: 1.0.4  Card: Hauppauge HVR-1600
>    [ 1963.235187] tveeprom 3-0050: Hauppauge model 74041, rev C6B2, serial# 
> 931134
>    [ 1963.235193] tveeprom 3-0050: MAC address is 00-0D-FE-0E-35-3E
>    [ 1963.235196] tveeprom 3-0050: tuner model is TCL M2523_5N_E (idx 112, 
> type 50)
>    [ 1963.235199] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
>    [ 1963.235202] tveeprom 3-0050: audio processor is CX23418 (idx 38)
>    [ 1963.235204] tveeprom 3-0050: decoder processor is CX23418 (idx 31)
>    [ 1963.235207] tveeprom 3-0050: has no radio, has IR receiver, has IR 
> transmitter
>    [ 1963.235215] cx18-0: Video signal:              present
>    [ 1963.235217] cx18-0: Detected format:           NTSC-M
>    [ 1963.235219] cx18-0: Specified standard:        NTSC-M
>    [ 1963.235221] cx18-0: Specified video input:     Composite 7
>    [ 1963.235223] cx18-0: Specified audioclock freq: 48000 Hz
>    [ 1963.235236] cx18-0: Detected audio mode:       mono
>    [ 1963.235238] cx18-0: Detected audio standard:   BTSC
>    [ 1963.235240] cx18-0: Audio muted:               yes
>    [ 1963.235242] cx18-0: Audio microcontroller:     running
>    [ 1963.235244] cx18-0: Configured audio standard: automatic detection
>    [ 1963.235247] cx18-0: Configured audio system:   BTSC
>    [ 1963.235249] cx18-0: Specified audio input:     Tuner (In8)
>    [ 1963.235251] cx18-0: Preferred audio mode:      stereo
>    [ 1963.240544] cs5345 3-004c: Input:  1
>    [ 1963.240550] cs5345 3-004c: Volume: 0 dB
>    [ 1963.240558] tuner 4-0061: Tuner mode:      analog TV
>    [ 1963.240560] tuner 4-0061: Frequency:       241.25 MHz
>    [ 1963.240563] tuner 4-0061: Standard:        0x0000b000
>    [ 1963.240566] cx18-0: Video Input: Tuner 1
>    [ 1963.240568] cx18-0: Audio Input: Tuner 1
>    [ 1963.243551] cx18-0: GPIO:  direction 0x00003001, value 0x00003001
>    [ 1963.243556] cx18-0: Tuner: TV
>    [ 1963.243559] cx18-0: Stream: MPEG-2 Program Stream
>    [ 1963.243562] cx18-0: VBI Format: No VBI
>    [ 1963.243565] cx18-0: Video:  640x480, 30 fps
>    [ 1963.243568] cx18-0: Video:  MPEG-2, 4x3, Variable Bitrate, 4500000, 
> Peak 
> 6000000
>    [ 1963.243572] cx18-0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
>    [ 1963.243575] cx18-0: Audio:  48 kHz, MPEG-1/2 Layer II, 384 kbps, 
> Stereo, 
> No Emphasis, No CRC
>    [ 1963.243579] cx18-0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 
> 1D Horizontal, 0
>    [ 1963.243582] cx18-0: Temporal Filter: Manual, 0
>    [ 1963.243585] cx18-0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
>    [ 1963.243587] cx18-0: Status flags: 0x00200001
>    [ 1963.243591] cx18-0: Stream encoder MPEG: status 0x0000, 0% of 2048 KiB 
> (64 buffers) in use
>    [ 1963.243594] cx18-0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB 
> (16 buffers) in use
>    [ 1963.243598] cx18-0: Stream encoder VBI: status 0x0000, 0% of 1015 KiB 
> (60 buffers) in use
>    [ 1963.243601] cx18-0: Stream encoder PCM audio: status 0x0000, 0% of 1024 
> KiB (256 buffers) in use
>    [ 1963.243604] cx18-0: Read MPEG/VBI: 2422784/0 bytes
>    [ 1963.243606] cx18-0: ==================  END STATUS CARD #0  
> ==================
> 
> and dmesg output for cx18:
> [   13.434567] cx18:  Start initialization, version 1.0.4
> [   13.698678] cx18-0: Initializing card #0
> [   13.698684] cx18-0: Autodetected Hauppauge card
> [   13.724308] cx18 0000:01:08.0: PCI INT A -> Link[APC1] -> GSI 16 (level, 
> high) -> IRQ 16
> [   13.724320] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)
> [   13.726730] cx18-0: cx23418 revision 01010000 (B)
> [   13.965268] cx18-0: Autodetected Hauppauge HVR-1600
> [   13.965271] cx18-0: Raw VBI supported; Sliced VBI is not yet supported
> [   14.134433] tuner 4-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
> [   14.134459] cs5345 3-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
> [   14.138106] cx18-0: Registered device video1 for encoder MPEG (64 x 32 kB)
> [   14.138110] DVB: registering new adapter (cx18)
> [   14.320416] cx18-0: DVB Frontend registered
> [   14.320419] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
> [   14.320465] cx18-0: Registered device video33 for encoder YUV (16 x 128 kB)
> [   14.320503] cx18-0: Registered device vbi1 for encoder VBI (60 x 17328 
> bytes)
> [   14.320541] cx18-0: Registered device video25 for encoder PCM audio (256 x 
> 4 kB)
> [   14.320545] cx18-0: Initialized card #0: Hauppauge HVR-1600
> [   14.322254] cx18:  End initialization
> [   58.214147] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
> [   58.372590] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 
> bytes)
> [   58.378919] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
> [   59.270781] cx18-0: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
> 
> I do see that the audio is muted and I tried unmuting it, but as soon as I do 
> a capture it gets muted again.  I found another mailing list thread with 
> those symptoms, but supposedly the problem was fixed.  Plus the workaround 
> there didn't help.

Try my latest stuff at

http://linuxtv.org/hg/~awalls/cx18

There are a few audio related patches there, that haven't been pulled to
the main repo yet.


> I've built the latest cx18 from the v4l repo and re-downloaded the firmware 
> just in case, but neither helped either.

My suggestion would have been that the digitizer firmware file got
corrupted when your machine went down (improbable, I know), but since
you've replaced it, there goes that.

How does line in analog audio sound when you use Composite  or SVideo
in?



> It does seem that my cable company may have made changes that coincided with 
> this power outage because suddenly my cable quality seems to have improved 
> signficantly on my PVR150 that's still working.  Not sure whether that could 
> be related.  I was also running a 2.6.24 kernel previously when this was 
> working but now I'm on 2.6.27 because I did an update to make sure I had the 
> newest versions of everything after it quit working.

The newer kernel do something different with the PCI bus, that can cause
a lot more PCI bus errors to happen at bootup (the bus is busier).  This
in turn can cause some cx18 register settings related to audio to fail.

You really do need to try the AUDIO_ENABLE register related fix I have
at my cx18 repo.

You can also try unloading the cx18 module, or prevent it from loading
at boot up with a blacklist option in modprobe.conf, and load it when
the bus is rather quiet.  If it works in that case, you may want to take
out your PCI cards, blow the dust out of the slots and re-install the
cards (take antistatic discharge precautions of course).  This will
often improve PCI bus signals that have degraded, as the PCI bus relies
on both the incident and reflected voltage wave to reach the proper
signalling level on the lines.


Regards,
Andy

> Any suggestions would be appreciated.  Thanks.
> 
> -Ben
> 
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
> 


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

Reply via email to