Hello,
At first, many thanks to Petter, I applied your patch and
now I have video and sound ! :-)
But capture freeze after some seconds... :-(
channel setup:
--------------
teloche:/etc/modutils# ptune-ui.pl
Channel changed to SE11, freq = '231250'
capture:
--------
cat /dev/video0 > capture4.mpg
File grow regularly:
....................
teloche:~# du -sh capture4.mpg
9,8M capture4.mpg
...
teloche:~# du -sh capture4.mpg
64M capture4.mpg
teloche:~# du -sh capture4.mpg
64M capture4.mpg
teloche:~#
And block after 60MB ...
However the process "cat" is still running:
-------------------------------------------
root 5223 4813 0 21:49 pts/1 00:00:00 cat /dev/video0
If I try with mplayer, I have video and sound during environ
15 seconds and video and sound freeze.
teloche:~# mplayer /dev/video0
After that I need to reboot. If I try to unload and reload modules, that
don't work... (hardware reset needed ?)
My settings:
------------
teloche:~# cat /etc/modutils/ivtv
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options msp3400 once=1 simple=1 debug=2
options cx25840 i2c_enable=1,1 no_black_magic=1 debug=2
options tda9887 debug=2
options tveeprom debug=2
options saa7127 i2c_enable=-1,-1
options ivtv ivtv_dynbuf=0 tda9887=0 tuner=52,52 ivtv_debug=2
add below ivtv msp3400 tda9887 saa7115 tuner
teloche:~#
teloche:~# cat card-setup.sh
#!/bin/sh
# modprobe tda9887
modprobe ivtv
ivtvctl -d /dev/video0 -u 1 -f width=720,height=576 -p 6
ivtvctl -d /dev/video1 -u 1 -f width=720,height=576 -p 6
teloche:~#
(I can use -p 6 or -p 7 option)
Loading modules:
----------------
teloche:~# ./card-setup.sh
ioctl: VIDIOC_S_FMT
Before:
Type : Video Capture
Width : 720
Height : 576
After:
Type : Video Capture
Width : 720
Height : 576
ioctl VIDIOC_S_STD ok
Standard set to 00000001
ioctl VIDIOC_S_INPUT ok
Video input set to 6
ioctl: VIDIOC_S_FMT
Before:
Type : Video Capture
Width : 720
Height : 576
After:
Type : Video Capture
Width : 720
Height : 576
ioctl VIDIOC_S_STD ok
Standard set to 00000001
ioctl VIDIOC_S_INPUT ok
Video input set to 6
teloche:~#
And what about this message ?
-----------------------------
Jul 23 22:19:20 teloche kernel: tuner: Ignoring new-style parameters in presence
of obsolete ones
One more problem: I cannot play with my second tuner :-(
-----------------
teloche:~# ptune-ui.pl
input now Tuner 1, #7
Channel changed to SE11, freq = '231250'
Give black screen with snow and mixed colors ...
However, In a first time if I can use only my first tuner, that ok...
Do you have an idea what is cause my frozen captures ?
Thanks to everyone for your help !
Jean
/var/log/messages output:
-------------------------
Jul 23 21:45:45 teloche kernel: Linux video capture interface: v1.00
Jul 23 21:45:45 teloche kernel: ivtv:
==================== START INIT IVTV ====================
Jul 23 21:45:45 teloche kernel: ivtv: version 0.3.6 (z) loading
Jul 23 21:45:45 teloche kernel: ivtv: Linux version: 2.6.11-23juilletv2 preempt
K8 gcc-3.3
Jul 23 21:45:45 teloche kernel: ivtv: In case of problems please include
the debug info
Jul 23 21:45:45 teloche kernel: ivtv: between the START INIT IVTV and END
INIT IVTV lines when
Jul 23 21:45:45 teloche kernel: ivtv: mailing the ivtv-devel mailinglist.
Jul 23 21:45:45 teloche kernel: ivtv: Autodetected WinTV PVR 150 card
Jul 23 21:45:45 teloche kernel: ivtv: Found an iTVC16 based chip
Jul 23 21:45:45 teloche kernel: ivtv: XXX PCI device: 0x00e1 vendor: 0x10de
Jul 23 21:45:45 teloche kernel: tveeprom: Hauppauge: model = 23559, rev =
D591, serial# = 8201302
Jul 23 21:45:45 teloche kernel: tveeprom: tuner = Philips FQ1216AME MK4 (idx
= 91, type = 56)
Jul 23 21:45:45 teloche kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L)
PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Jul 23 21:45:45 teloche kernel: tveeprom: audio_processor = MSP3410D (type
= 5)
Jul 23 21:45:45 teloche kernel: ivtv: i2c attach [client=tveeprom[50],ok]
Jul 23 21:45:45 teloche kernel: ivtv: Tuner Type 56, Tuner formats 0x00400e17,
Radio: yes, Model 0x00915651, Revision 0x00000000
Jul 23 21:45:45 teloche kernel: ivtv: PAL tuner detected
Jul 23 21:45:45 teloche kernel: ivtv: Radio detected
Jul 23 21:45:45 teloche kernel: tuner: Ignoring new-style parameters in presence
of obsolete ones
Jul 23 21:45:45 teloche kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #0
Jul 23 21:45:45 teloche kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jul 23 21:45:46 teloche kernel: cx25840: requesting /lib/modules/HcwMakoA.ROM
Jul 23 21:45:47 teloche kernel: cx25840: firmware loaded
Jul 23 21:45:47 teloche kernel: ivtv: i2c attach [client=cx25840[50],ok]
Jul 23 21:45:47 teloche kernel: ivtv: i2c attach [client=wm8775[50],ok]
Jul 23 21:45:47 teloche kernel: tda9885/6/7: chip found @ 0x86
Jul 23 21:45:47 teloche kernel: ivtv: i2c attach [client=tda9887,ok]
Jul 23 21:45:48 teloche kernel: ivtv: Encoder revision: 0x02050032
Jul 23 21:45:48 teloche kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jul 23 21:45:48 teloche kernel: ivtv: Configuring WinTV PVR 150 card with
5 streams
Jul 23 21:45:48 teloche kernel: ivtv: Registered v4l2 device for encoder
MPEG minor 0
Jul 23 21:45:48 teloche kernel: ivtv: Create DMA encoder MPEG stream: 0 x
32768 buffers (0KB total)
Jul 23 21:45:48 teloche kernel: ivtv: Registered v4l2 device for encoder
YUV minor 32
Jul 23 21:45:48 teloche kernel: ivtv: Create DMA encoder YUV stream: 0 x
12960 buffers (0KB total)
Jul 23 21:45:48 teloche kernel: ivtv: Registered v4l2 device for encoder
VBI minor 224Jul 23 21:45:48 teloche kernel: ivtv: Create DMA encoder VBI
stream: 0 x 12740 buffers (0KB total)
Jul 23 21:45:48 teloche kernel: ivtv: Registered v4l2 device for encoder
PCM audio minor 24
Jul 23 21:45:48 teloche kernel: ivtv: Create DMA encoder PCM audio stream:
0 x 4608 buffers (0KB total)
Jul 23 21:45:48 teloche kernel: ivtv: Registered v4l2 device for encoder
radio minor 64
Jul 23 21:45:48 teloche kernel: ivtv: Create encoder radio stream
Jul 23 21:45:48 teloche kernel: ivtv: Setting Tuner 56
Jul 23 21:45:48 teloche kernel: tuner: type set to 56 (Philips PAL/SECAM
multi (FQ1216AME MK4)) by ivtv i2c driver #0
Jul 23 21:45:48 teloche kernel: ivtv: ivtv_enc_thread: pid = 5038, itv =
0xf8ad6ea0
Jul 23 21:45:48 teloche kernel: ivtv: ivtv_enc_vbi_thread: pid = 5039, itv
= 0xf8ad6ea0
Jul 23 21:45:48 teloche kernel: ivtv: Switching standard to PAL.
Jul 23 21:45:48 teloche kernel: ivtv: Initialized WinTV PVR 150, card #0
Jul 23 21:45:48 teloche kernel: ivtv: Autodetected WinTV PVR 150 card
Jul 23 21:45:48 teloche kernel: ivtv: Found an iTVC16 based chip
Jul 23 21:45:48 teloche kernel: ivtv: XXX PCI device: 0x00e1 vendor: 0x10de
Jul 23 21:45:48 teloche kernel: tveeprom: Hauppauge: model = 23559, rev =
D591, serial# = 8201302
Jul 23 21:45:48 teloche kernel: tveeprom: tuner = Philips FQ1216AME MK4 (idx
= 91, type = 56)
Jul 23 21:45:48 teloche kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L)
PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Jul 23 21:45:48 teloche kernel: tveeprom: audio_processor = MSP3410D (type
= 5)
Jul 23 21:45:48 teloche kernel: ivtv: i2c attach [client=tveeprom[50],ok]
Jul 23 21:45:48 teloche kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #1
Jul 23 21:45:48 teloche kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jul 23 21:45:48 teloche kernel: cx25840: requesting /lib/modules/HcwMakoA.ROM
Jul 23 21:45:49 teloche kernel: cx25840: firmware loaded
Jul 23 21:45:49 teloche kernel: ivtv: i2c attach [client=cx25840[50],ok]
Jul 23 21:45:49 teloche kernel: ivtv: i2c attach [client=wm8775[50],ok]
Jul 23 21:45:49 teloche kernel: tda9885/6/7: chip found @ 0x86
Jul 23 21:45:49 teloche kernel: ivtv: i2c attach [client=tda9887,ok]
Jul 23 21:45:50 teloche kernel: ivtv: Tuner Type 56, Tuner formats 0x00400e17,
Radio: yes, Model 0x00915651, Revision 0x00000000
Jul 23 21:45:50 teloche kernel: ivtv: Radio detected
Jul 23 21:45:50 teloche kernel: ivtv: Encoder revision: 0x02050032
Jul 23 21:45:50 teloche kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jul 23 21:45:50 teloche kernel: ivtv: Configuring WinTV PVR 150 card with
5 streams
Jul 23 21:45:50 teloche kernel: ivtv: Registered v4l2 device for encoder
MPEG minor 1
Jul 23 21:45:50 teloche kernel: ivtv: Create DMA encoder MPEG stream: 0 x
32768 buffers (0KB total)
Jul 23 21:45:50 teloche kernel: ivtv: Registered v4l2 device for encoder
YUV minor 33
Jul 23 21:45:50 teloche kernel: ivtv: Create DMA encoder YUV stream: 0 x
12960 buffers (0KB total)
Jul 23 21:45:50 teloche kernel: ivtv: Registered v4l2 device for encoder
VBI minor 225Jul 23 21:45:50 teloche kernel: ivtv: Create DMA encoder VBI
stream: 0 x 12740 buffers (0KB total)
Jul 23 21:45:50 teloche kernel: ivtv: Registered v4l2 device for encoder
PCM audio minor 25
Jul 23 21:45:50 teloche kernel: ivtv: Create DMA encoder PCM audio stream:
0 x 4608 buffers (0KB total)
Jul 23 21:45:50 teloche kernel: ivtv: Registered v4l2 device for encoder
radio minor 65
Jul 23 21:45:50 teloche kernel: ivtv: Create encoder radio stream
Jul 23 21:45:50 teloche kernel: ivtv: Setting Tuner 56
Jul 23 21:45:50 teloche kernel: tuner: type set to 56 (Philips PAL/SECAM
multi (FQ1216AME MK4)) by ivtv i2c driver #1
Jul 23 21:45:50 teloche kernel: ivtv: ivtv_enc_thread: pid = 5145, itv =
0xf8afa1a4
Jul 23 21:45:50 teloche kernel: ivtv: ivtv_enc_vbi_thread: pid = 5146, itv
= 0xf8afa1a4
Jul 23 21:45:51 teloche kernel: ivtv: Switching standard to PAL.
Jul 23 21:45:51 teloche kernel: ivtv: Initialized WinTV PVR 150, card #1
Jul 23 21:45:51 teloche kernel: ivtv:
==================== END INIT IVTV ====================
>-- Message original --
>From: Petter Gundersen <[EMAIL PROTECTED]>
>To: [email protected]
>Subject: Re: [ivtv-devel] PVR-500, capture ok but no sound...
>Reply-To: [email protected]
>Date: Fri, 22 Jul 2005 00:14:53 +0200
>
>
>Line 3 is supposed to be separated over two lines. To make things
>easier here's the patch as an attachment.
>
>Regards,
>Petter
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel