On Thu, 2008-11-27 at 06:44 +0100, . . wrote:
> Andy,
> 
> Thanks for replying. First off, I'm pretty sure I'm using revision
> 9755 of cx18-bugfix.
> 
> I tested mplayer on /dev/video0 for ~90 seconds and the "A:" time
> stamp stayed in sync with the "V:" time stamp.
> 
> I run 'cat /dev/video0 > foo0.mpg' at boot init to get around the 1st
> recording with no audio issue and since adding the 2nd HVR-1600 I also
> do 'cat /dev/video1 > foo1.mpg'. I checked out these recordings and
> the /dev/video0 recording has no sound and the /dev/video1 has
> corrupted fast sound (I think this is expected).

Yes.

>  In case you forgot /dev/video1 eventually has sound and in my old
> config with just 1 HVR-1600 /dev/video0 eventually had sound.

OK.

> After boot init and after X is loaded I also verified /dev/video0
> records no audio by doing another 'cat /dev/video0 > foo0.mpg' and
> there wasn't any audio when played back. 

Not good.


> The output (see below) says the audio is muted, am I doing something
> wrong? While waiting for your reply, I'll be looking to see if there
> is a way to manually unmute the audio.  However, please reply if you
> can because I may not be successful in finding a way to manually
> unmute in a persistent (but not across a power-off/power-on cycle) &
> reliable way.


The audio microcontroller firmware that performs audio standard
autodetection will automatically mute when it looses the audio standard
and automatically unmute when it detects one.  Trying to fight against
that manually won't be useful.

1. A simple way to reset that microcontroller is to switch over to line
in (Composite or SVideo) and then back to the tuner.  See if that helps.

2. Also make sure you haven't degraded the signal strength somehow with
new splitters or cables.  I've had a brand new 1 to 4 splitter have a
defective output port out of the package.  I've also had a short run of
coaxial cable that was bad.  Try a test where you keep all the cards in
the machine as configured now, but hook up the signal feed before all
the splits directly into the card in question.  That should eliminate a
signal strength problem.


What concerns me is why is this cropping up for you now.  Hans figured
out a while ago that if the microcontroller firmware
(v4l-cx23418-dig.fw) upload had errors, then the audio microcontroller
wouldn't work.  There is code in cx18-av-firmware.c to check that the
bytes get written properly; so I'm not sure what's going on.


Could you provide the output of

# v4l2-dbg -d /dev/videoN -R type=host

for both cards when both have an analog capture ongoing while tuned to
the same channel?  A little differential analysis might be use to see if
some register is misconfigured due to a PCI bus error that went
undetected by the driver.

Regards,
Andy

> ---
> 
> v4l2-ctl -d /dev/video0 --log-status
> 
> Status Log:
> 
>    cx18-0: =================  START STATUS CARD #0  =================
>    tveeprom 0-0050: Hauppauge model 74041, rev C6B2, serial# XXXXXXX
>    tveeprom 0-0050: MAC address is XX-XX-XX-XX-XX-XX
>    tveeprom 0-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
>    tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
>    tveeprom 0-0050: audio processor is CX23418 (idx 38)
>    tveeprom 0-0050: decoder processor is CX23418 (idx 31)
>    tveeprom 0-0050: has no radio, has IR receiver, has IR transmitter
>    cx18-0: Video signal:              present
>    cx18-0: Detected format:           NTSC-M
>    cx18-0: Specified standard:        NTSC-M
>    cx18-0: Specified video input:     Composite 7
>    cx18-0: Specified audioclock freq: 48000 Hz
>    cx18-0: Detected audio mode:       mono
>    cx18-0: Detected audio standard:   no detected audio standard
>    cx18-0: Audio muted:               yes
>    cx18-0: Audio microcontroller:     running
>    cx18-0: Configured audio standard: automatic detection
>    cx18-0: Configured audio system:   BTSC
>    cx18-0: Specified audio input:     Tuner (In8)
>    cx18-0: Preferred audio mode:      stereo
>    cs5345 0-004c: Input:  1
>    cs5345 0-004c: Volume: 0 dB
>    tuner 1-0061: Tuner mode:      analog TV
>    tuner 1-0061: Frequency:       289.25 MHz
>    tuner 1-0061: Standard:        0x0000b000
>    cx18-0: Video Input: Tuner 1
>    cx18-0: Audio Input: Tuner 1
>    cx18-0: GPIO:  direction 0x00003001, value 0x00003001
>    cx18-0: Tuner: TV
>    cx18-0: Stream: MPEG-2 Program Stream
>    cx18-0: VBI Format: No VBI
>    cx18-0: Video:  720x480, 30 fps
>    cx18-0: Video:  MPEG-2, 4x3, Variable Bitrate, 4500000, Peak 6000000
>    cx18-0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
>    cx18-0: Audio:  48 kHz, MPEG-1/2 Layer II, 384 kbps, Stereo, No Emphasis, 
> No CRC
>    cx18-0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, > 0
>    cx18-0: Temporal Filter: Manual, 8
>    cx18-0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
>    cx18-0: Status flags: 0x00200001
>    cx18-0: Stream encoder MPEG: status 0x0118, 28% of 2016 KiB (63 buffers) 
> in use
>    cx18-0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (16 buffers) in 
> use
>    cx18-0: Stream encoder PCM audio: status 0x0000, 0% of 1008 KiB (63 
> buffers) in use
>    cx18-0: Read MPEG/VBI: 52838400/0 bytes
>    cx18-0: ==================  END STATUS CARD #0  ==================
> 


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

Reply via email to