В Срд, 25/07/2007 в 23:31 +0200, Hans Verkuil пишет: 

> > There is two additional chips on the board:
> > 1. philips 74hc4052d Datasheet -
> > http://www.alldatasheet.co.kr/datasheet-pdf/pdf_kor/PHILIPS/74HC4052D
> >.html 2. XWM8739S but I can't find datasheet for this chip ;(
> 
> Ah, the wm8739. There are some other cards that use that one.
> 
> I've make a hg tree available with preliminary support for this card. 
> Get and install the mercurial software from 
> http://www.selenic.com/mercurial/wiki/.
> 
> Then run 'hg clone http://www.linuxtv.org/hg/~hverkuil/mce116'.
> 
> That will checkout a mce116 directory with my modified ivtv driver. 
> Compile (if you want you can run 'make menuconfig' first to select 
> which multimedia drivers you want) and install.
> 
> ivtv should now recognize your card and use the card-specific entry in 
> ivtv-cards.c.
> 
> Let me know what happens, it should at least load the wm8739 driver 
> (check with lsmod).

I'v checked out this tree, compiled and installed. I see following messages in 
startup:

Jul 26 01:40:20 streamer2 Linux video capture interface: v2.00
Jul 26 01:40:20 streamer2 ivtv:  Start initialization, version 1.1.0
Jul 26 01:40:20 streamer2 ivtv0: Initializing card #0
Jul 26 01:40:20 streamer2 ivtv0: Autodetected AVerTV MCE 116 Plus card
(cx23416 based)
Jul 26 01:40:20 streamer2 ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 20
(level, low) -> IRQ 20
Jul 26 01:40:20 streamer2 ivtv0: Loaded v4l-cx2341x-enc.fw firmware
(376836 bytes)
Jul 26 01:40:21 streamer2 ivtv0: Encoder revision: 0x02060039
Jul 26 01:40:21 streamer2 tuner 1-0061: chip found @ 0xc2 (ivtv i2c
driver #0)
Jul 26 01:40:21 streamer2 cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv
i2c driver #0)

Jul 26 01:40:24 streamer2 cx25840 1-0044: loaded v4l-cx25840.fw firmware
(16382 bytes)
Jul 26 01:40:24 streamer2 wm8739 1-001a: chip found @ 0x34 (ivtv i2c
driver #0)
Jul 26 01:40:24 streamer2 tuner 1-0061: type set to 38 (Philips
PAL/SECAM multi (FM1216ME MK3))
Jul 26 01:40:24 streamer2 ivtv0: Registered device video0 for encoder
MPEG (4 MB)
Jul 26 01:40:24 streamer2 ivtv0: Registered device video32 for encoder
YUV (2 MB)
Jul 26 01:40:24 streamer2 ivtv0: Registered device vbi0 for encoder VBI
(1 MB)
Jul 26 01:40:24 streamer2 ivtv0: Registered device video24 for encoder
PCM audio (1 MB)
Jul 26 01:40:24 streamer2 ivtv0: Registered device radio0 for encoder
radio
Jul 26 01:40:24 streamer2 ivtv0: Initialized card #0: AVerTV MCE 116
Plus
Jul 26 01:40:24 streamer2 ivtv:  End initialization

As I see card is auto detected correctly and "wm8739" loaded.

When I start reading from /dev/video0 I see following status:


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

But there is still no sound ;( There is two new strings:
Jul 26 01:41:16 streamer2 wm8739 1-001a: Volume L:  17
Jul 26 01:41:16 streamer2 wm8739 1-001a: Volume R:  17

I'm using VIDIOC_S_AUDIO to set audio input (v4l2_audio.index = 1;) if
it matter.


> It's a bit weird, though, wm8739 and cx25840 on one board. The cx25840 
> basically can do what the wm8739 can.
> 
> The datasheet for the wm8739 is available here:
> 
> http://dl.ivtvdriver.org/datasheets/audio/WM8739.pdf

thx


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

Attachment: signature.asc
Description: Эта часть сообщения подписана цифровой подписью

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