<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [mythtv-users] multiple tuners - configuring
capture c</title></head><body>
<blockquote type="cite" cite>I'm pretty sure the pvr-150 is detected
first so that would be video0<br>
and the existing pvr-350 (higher in the PCI chain)&nbsp; would get
bumped<br>
to video1? Like I said, the tv-out on the 350 is still working<br>
<br>
Here's the ivtv section from dmesg. I see some unrecognized
commands<br>
(no_black_magic for instance) so I mustn't be totally configured<br>
properly</blockquote>
<div><br></div>
<div>Ok, I removed the &quot;no_black_magic&quot; line from ivtv
options and it loads cx25840 ok but that broke my pvr-350 output
somehow. The X server log seems to think it should start on the
PVR-150 device</div>
<div><br></div>
<div>(II) LoadModule: &quot;ivtvdev&quot;<br>
(II) Loading /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o<br>
(II) Module ivtv: vendor=&quot;The XFree86 Project&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compiled for 4.3.0, module
version = 0.8.0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ABI class: XFree86 Video
Driver, version 0.6<br>
(II) LoadModule: &quot;mouse&quot;<br>
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o<br>
(II) Module mouse: vendor=&quot;The XFree86 Project&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compiled for 4.3.0.1,
module version = 1.0.0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Module class: XFree86
XInput Driver<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ABI class: XFree86 XInput
driver, version 0.4<br>
(II) v4l driver for Video4Linux<br>
(II) IVTVDEV: driver for framebuffer: PVR-350</div>
<div><font color="#FF0000"><b>(II) Primary Device is: PCI
03:00:0</b></font></div>
<div>(WW) ivtvdev: No matching Device section for instance<font
color="#FF0000"><b> (BusID PCI:1:7:0)</b></font> found<br>
(--) Chipset PVR-350 found<br>
(EE) (null)(0): ivtvHWProvbe failed to do IVTVFB_IOCTL_GET_STATE for
device (null)<br>
(EE) Screen 0 deleted because of no matching config section.<br>
(II) UnloadModule: &quot;ivtvdev&quot;<br>
(EE) Device(s) detected, but none match those in the config file.<br>
</div>
<div>my ivtv file:</div>
<div><br></div>
<div>root@mythtvbox:/etc/mythtv/modules# cat ivtv<br>
<br>
alias char-major-81 videodev<br>
alias char-major-81-0 ivtv<br>
alias char-major-81-1 ivtv</div>
<div>alias char-major-61 lirc_i2c</div>
<div>options saa7127 i2c_enable=-1,1</div>
<div>options cx25840 i2c_enable=1<br>
options msp3400 once=1 simple=1<br>
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400;
/sbin/modprobe saa7115;&nbsp; /sbin/modprobe --ignore-install ivtv;&nbsp;
/sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c<br>
remove ivtv /sbin/modprobe -r --ignore-remove ivtv &amp;&amp;
/sbin/modprobe -r saa7115 &amp;&amp; /sbin/modprobe -r msp3400 &amp;&amp;
/sbin/modprobe -r tuner &amp;&amp; /sbin/modprobe -r ivtv-fb &amp;&amp;
/sbin/modprobe -r lirc_i2c<br>
</div>
<div>and the ivtv section from dmesg:</div>
<div><br></div>
<div>ivtv: ==================== START INIT IVTV
====================<br>
ivtv: version 0.3.6 (y) loading<br>
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3<br>
ivtv: In case of problems please include the debug info<br>
ivtv: between the START INIT IVTV and END INIT IVTV lines when<br>
ivtv: mailing the ivtv-devel mailinglist.<br>
ivtv: Autodetected WinTV PVR 150 card<br>
ivtv: Found an iTVC16 based chip<br>
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 5<br>
ACPI: PCI interrupt 0000:01:07.0[A] -&gt; GSI 5 (level, low) -&gt; IRQ
5<br>
ivtv: Unreasonably low latency timer, setting to 64 (was 32)<br>
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de<br>
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8002732<br>
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)<br>
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)<br>
tveeprom: audio_processor = TDA9850 (type = 3)<br>
ivtv: i2c attach [client=tveeprom[50],ok]<br>
ivtv: i2c attach [client=(tuner unset),ok]<br>
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)<br>
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)<br>
ivtv: Tuner Type 50, Tuner formats 0x00001000, Radio: yes, Model
0x008d1659, Revision 0x00000000<br>
ivtv: NTSC tuner detected<br>
ivtv: Radio detected<br>
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)<br>
cx25840: detecting cx25840 client on address 0x88<br>
cx25840: cx25841-23 found. Initializing...<br>
cx25840: requesting /lib/modules/HcwMakoA.ROM<br>
cx25840: firmware loaded<br>
ivtv: i2c attach [client=cx25840[50],ok]<br>
ivtv: i2c attach [client=wm8775[50],ok]<br>
ivtv: Encoder revision: 0x02040011<br>
ivtv: Configuring WinTV PVR 150 card with 5 streams<br>
ivtv: Registered v4l2 device for encoder MPEG minor 0<br>
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB
total)<br>
ivtv: Registered v4l2 device for encoder YUV minor 32</div>
<div>ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB
total)<br>
ivtv: Registered v4l2 device for encoder VBI minor 224<br>
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)<br>
ivtv: Registered v4l2 device for encoder PCM audio minor 24<br>
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB
total)<br>
ivtv: Registered v4l2 device for encoder radio minor 64<br>
ivtv: Create encoder radio stream<br>
ivtv: Setting Tuner 50<br>
tuner 2-0061: type set to 50 (TCL 2002N)<br>
cx25840: decoder set norm NTSC<br>
cx25840: decoder set input (6)<br>
cx25840: now setting Tuner input<br>
cx25840: set audio input (0)<br>
ivtv: ivtv_enc_thread: pid = 2197, itv = 0xf91f9620<br>
ivtv: ivtv_enc_vbi_thread: pid = 2198, itv = 0xf91f9620<br>
ivtv: Switching standard to NTSC.<br>
cx25840: decoder set norm NTSC<br>
ivtv: Initialized WinTV PVR 150, card #0<br>
ivtv: Autodetected WinTV PVR 350 card<br>
ivtv: Found an iTVC15 based chip<br>
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11<br>
ACPI: PCI interrupt 0000:01:08.0[A] -&gt; GSI 11 (level, low) -&gt;
IRQ 11<br>
ivtv: Unreasonably low latency timer, setting to 64 (was 32)<br>
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de<br>
tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 2947528<br>
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)<br>
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)<br>
tveeprom: audio_processor = MSP3440 (type = 11)<br>
ivtv: i2c attach [client=tveeprom[50],ok]<br>
ivtv: i2c attach [client=(tuner unset),ok]<br>
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)<br>
msp34xx: ivtv version<br>
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode<br>
msp34xx: $Id$ compiled on: Jul 10 2005 12:26:39<br>
ivtv: i2c attach [client=MSP3448W-A2,ok]<br>
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)<br>
saa7115: detecting saa7115 client on address 0x42<br>
saa7115: writing init values<br>
ivtv: i2c attach [client=saa7115[50],ok]<br>
saa7115: status: (1E) 0x00, (1F) 0x40<br>
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)<br>
cx25840: detecting cx25840 client on address 0x88<br>
cx25840: cx25840 not found<br>
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00ad1598, Revision 0x00000001<br>
ivtv: Radio detected<br>
saa7127: Ignoring new-style parameters in presence of obsolete
ones<br>
saa7127: video encoder driver version V 0.3 loaded<br>
saa7127: detecting saa7127 client on address 0x88<br>
saa7127: saa7127 client id: saa7127_i2c_id 0, skipped<br>
ivtv: Encoder revision: 0x02040011<br>
ivtv: Decoder revision: 0x02020023<br>
ivtv: Configuring WinTV PVR 350 card with 10 streams<br>
ivtv: Registered v4l2 device for encoder MPEG minor 1<br>
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB
total)<br>
ivtv: Registered v4l2 device for encoder YUV minor 33<br>
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)<br>
ivtv: Registered v4l2 device for encoder VBI minor 225<br>
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)<br>
ivtv: Registered v4l2 device for encoder PCM audio minor 25<br>
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB
total)<br>
ivtv: Registered v4l2 device for encoder radio minor 65<br>
ivtv: Create encoder radio stream<br>
ivtv: Registered v4l2 device for decoder MPEG minor 17<br>
ivtv: Create DMA decoder MPEG stream: 0 x 65536 buffers (0KB
total)<br>
ivtv: Registered v4l2 device for decoder VBI minor 229<br>
ivtv: Create DMA decoder VBI stream: 0 x 2048 buffers (0KB total)<br>
ivtv: Registered v4l2 device for decoder VOUT minor 233<br>
ivtv: Create decoder VOUT stream<br>
ivtv: Registered v4l2 device for decoder YUV minor 49<br>
ivtv: Create DMA decoder YUV stream: 0 x 43200 buffers (0KB total)<br>
ivtv: Create DMA decoder OSD stream: 0 x 65536 buffers (0KB total)<br>
ivtv: Setting Tuner 47<br>
tuner 3-0061: type set to 47 (LG NTSC (TAPE series))<br>
saa7115: decoder set norm NTSC<br>
saa7115: set audio: 0x01<br>
saa7115: decoder set input (4)<br>
saa7115: now setting Composite input<br>
ivtv: Setting audio matrix to input 3, output 1<br>
ivtv: Switching standard to NTSC.<br>
ivtv: ivtv_enc_thread: pid = 2292, itv = 0xf921ca1c<br>
ivtv: ivtv_enc_vbi_thread: pid = 2293, itv = 0xf921ca1c<br>
ivtv: ivtv_dec_thread: pid = 2294, itv = 0xf921ca1c<br>
ivtv: ivtv_dec_vbi_thread: pid = 2295, itv = 0xf921ca1c</div>
<div>saa7115: decoder set norm NTSC<br>
saa7115: set audio: 0x01<br>
ivtv: i2c client addr: 0x44 not found for command 0x40046502!<br>
ivtv: Initialized WinTV PVR 350, card #1<br>
ivtv: ====================&nbsp; END INIT IVTV&nbsp;
====================</div>
</body>
</html>