Hello !

I have successfully running video on this card but can't obtain the
sound. Output of "v4l2-ctl --log-status --device=/dev/video0" command
is:

Status Log:

   ivtv0: =================  START STATUS CARD #0  =================
   tuner 1-0061: Tuner mode:      analog TV
   tuner 1-0061: Frequency:       400.00 MHz
   tuner 1-0061: Standard:        0x00000007
   cx25840 1-0044: Video signal:              present
   cx25840 1-0044: Detected format:           PAL-BDGHI
   cx25840 1-0044: Specified standard:        PAL-BDGHI
   cx25840 1-0044: Specified video input:     S-Video (Luma In3, Chroma
In7)
   cx25840 1-0044: Specified audioclock freq: 48000 Hz
   cx25840 1-0044: Detected audio mode:       forced mode
   cx25840 1-0044: Detected audio standard:   no detected audio standard
   cx25840 1-0044: Audio muted:               no
   cx25840 1-0044: Audio microcontroller:     stopped
   cx25840 1-0044: Configured audio standard: automatic detection
   cx25840 1-0044: Configured audio system:   automatic standard and
mode detection
   cx25840 1-0044: Specified audio input:     External
   cx25840 1-0044: Preferred audio mode:      stereo
   cx25840 1-0044: Selected 65 MHz format:    autodetect
   cx25840 1-0044: Selected 45 MHz format:    chroma
   ivtv0: Video Input: S-Video 1
   ivtv0: Audio Input: Line In 1
   ivtv0: Tuner: TV
   ivtv0: Stream: MPEG-2 Program Stream
   ivtv0: VBI Format: No VBI
   ivtv0: Video:  720x576, 25 fps
   ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 2000000, Peak 2500000
   ivtv0: Video:  GOP Size 12, 2 B-Frames, GOP Closure
   ivtv0: Audio:  48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No
CRC
   ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D
Horizontal, 0
   ivtv0: Temporal Filter: Manual, 8
   ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
   ivtv0: Status flags: 0x00000000
   ivtv0: Stream encoder MPEG: status 0x0118, 1% of 4096 KiB (128
buffers) in use
   ivtv0: Stream encoder YUV: status 0x0000, 0% of 2037 KiB (161
buffers) in use
   ivtv0: Stream encoder VBI: status 0x0000, 0% of 1023 KiB (40 buffers)
in use
   ivtv0: Stream encoder PCM audio: status 0x0000, 0% of 1021 KiB (227
buffers) in use
   ivtv0: Read MPEG/VBI: 150026176/0 bytes
   ivtv0: ==================  END STATUS CARD #0  ==================


As I understand the card can't detect audio system:
   cx25840 1-0044: Detected audio standard:   no detected audio standard
   cx25840 1-0044: Audio muted:               no

But when I'm rading from /dev/video0 I see the audio PES packets (0xc0
PID). It's looks like this packets is "fake" or "silence". This is first
64 bytes dump of this packets:
0x0 0 1 c0 7 ec 80 80 9 21 10 43 64 a9 ff ff ff ff ff fd b4 0 bb 11 11
11 11 11 11 dd 11 11 11 24 92 49 24 92 51 0 0 35 0 e aa aa aa aa aa aa
aa aa aa aa a1 86 cf 3c 30 c3 b 6d aa aa

And of course there is silence in headphones.

I'v trying to get registers with command "v4l2-dbg -R
type=i2cdrv,chip=cx25840,min=0x805,max=0x809 -d /dev/video0" and I'v get
following error messages:
ioctl: VIDIOC_DBG_G_REGISTER

          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x805
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x806
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x807
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x808
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x809
00000800:

and following messages in dmesg:
Jul 23 02:01:38 streamer2 ivtv0: i2c ID 0x00000000 (gpio) not found for
command 0xc0185650!
Jul 23 02:01:38 streamer2 ivtv0: i2c ID 0x00000000 (gpio) not found for
command 0xc0185650!
Jul 23 02:01:38 streamer2 ivtv0: i2c ID 0x00000000 (gpio) not found for
command 0xc0185650!
Jul 23 02:01:38 streamer2 ivtv0: i2c ID 0x00000000 (gpio) not found for
command 0xc0185650!
Jul 23 02:01:38 streamer2 ivtv0: i2c ID 0x00000000 (gpio) not found for
command 0xc0185650!

I'v trying to change audio_conf with following command "./v4l2-dbg -r
chip=cx25840,reg=0x808,val=0x1f -d /dev/video0". This command completed
successfully but nothing is changed.
Please, help to solve this problem.
Thanks !

-- 
Abylai Ospan <[EMAIL PROTECTED]>
NetUP Inc.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to