<br><br><div class="gmail_quote">On Fri, Nov 21, 2008 at 9:56 PM, Andy Walls <span dir="ltr">&lt;<a href="mailto:awalls@radix.net">awalls@radix.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, 2008-11-21 at 14:21 -0500, Al McIntosh wrote:<br>
<br>
<br>
<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; In the meantime, if you&#39;re feeling adventurous, you may wish<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; to try<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; removing &quot;IRQF_SHARED |&quot; from line 730 in<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; cx18-driver.c:cx18_probe():<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Register IRQ */<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;retval = request_irq(cx-&gt;dev-&gt;irq, cx18_irq_handler,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IRQF_SHARED | IRQF_DISABLED,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; cx-&gt;name, (void *)cx);<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^^^^^^^^^^^^^<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Try removing this ---+<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; recompile and reinstall the driver and see what happens.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hopefully the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; cx18 driver will then get it&#39;s own interrupt line and things<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; will be<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; better for you.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I will definitely test this for you, likely won&#39;t be until next week,<br>
&gt; off to Montreal for the weekend. :)<br>
<br>
</div>Don&#39;t bother with the test. &nbsp;The more I research this the more my head<br>
hurts. &nbsp;My above suggestion will only cause the nvidia or cx18 driver<br>
not to load.<br>
<br>
The &quot;easy&quot; options appear to be:<br>
<br>
1. Move the cx18 to a different PCI slot so it no longer shares an IRQ<br>
line with the nvidia hardware.<br>
</blockquote><div><br><br>I managed to get the encoder on an unshared IRQ line in the single CPU machine. It&#39;s better but still pauses.<br><br><br>19:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9923&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; cx18-0<br><br><br><pre>[   12.137056] cx18:  Start initialization, version 1.0.2<br>
[   12.157546] cx18-0: Initializing card #0<br>[   12.157552] cx18-0: Autodetected Hauppauge card<br>[   12.157557] cx18-0 info: base addr: 0xf8000000<br>[   12.157559] cx18-0 info: Enabling pci device<br>[   12.158002] cx18 0000:01:09.0: PCI INT A -&gt; Link[APC4] -&gt; GSI 19 (level, low) -&gt; IRQ 19<br>
[   12.158011] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)<br>[   12.158017] cx18-0 info: cx23418 (rev 0) at 01:09.0, irq: 19, latency: 64, memory: 0xf8000000<br>[   12.158021] cx18-0 info: attempting ioremap at 0xf8000000 len 0x04000000<br>
[   12.160935] cx18-0: cx23418 revision 01010000 (B)<br>[   12.261285] cx18-0 info: GPIO initial dir: 0000ffff/0000ffff out: 00000000/00000000<br>[   12.261295] cx18-0 info: activating i2c...<br>[   12.508142] cx18-0 info: Active card count: 1.<br>
[   12.543778] cx18-0: Autodetected Hauppauge HVR-1600<br>[   12.543781] cx18-0 info: NTSC tuner detected<br>[   12.543783] cx18-0: VBI is not yet supported<br>[   13.556449] cx18-0 info: Loaded module tuner<br>[   13.609866] cx18-0 info: Loaded module cs5345<br>
[   13.610796] tuner 3-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)<br>[   13.610821] cs5345 2-004c: chip found @ 0x98 (cx18 i2c driver #0-0)<br>[   13.908803] cx18-0 info: Allocate encoder MPEG stream: 63 x 32768 buffers (2016kB total)<br>
[   13.908860] cx18-0 info: Allocate TS stream: 32 x 32768 buffers (1024kB total)<br>[   13.908892] cx18-0 info: Allocate encoder YUV stream: 16 x 131072 buffers (2048kB total)<br>[   13.908916] cx18-0 info: Allocate encoder PCM audio stream: 63 x 16384 buffers (1008kB total)<br>
[   13.908961] cx18-0: Disabled encoder IDX device<br>[   13.909165] cx18-0: Registered device video0 for encoder MPEG (2 MB)<br>[   13.909169] DVB: registering new adapter (cx18)<br>[   14.356964] cx18-0: DVB Frontend registered<br>
[   14.357031] cx18-0: Registered device video32 for encoder YUV (2 MB)<br>[   14.357092] cx18-0: Registered device video24 for encoder PCM audio (1 MB)<br>[   14.357097] cx18-0: Initialized card #0: Hauppauge HVR-1600<br>
[   14.357645] cx18:  End initialization<br>[   34.026198] cx18-0 info: load segment a00000-a07fff<br>[   34.045012] cx18-0 info: load segment ae0000-ae00ff<br>[   34.045164] cx18-0 info: load segment b00000-b1a65f<br>[   34.107143] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)<br>
[   34.769514] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)<br>[   34.777257] cx18-0 info: 1 MiniMe Encoder Firmware <a href="http://0.0.74.0">0.0.74.0</a> (Release 2007/03/12)<br>[   34.777266] cx18-0: FW version: <a href="http://0.0.74.0">0.0.74.0</a> (Release 2007/03/12)<br>
[   35.001957] cx18-0 info: load segment a00000-a07fff<br>[   35.020818] cx18-0 info: load segment ae0000-ae00ff<br>[   35.020969] cx18-0 info: load segment b00000-b1a65f<br>[   35.682094] cx18-0 info: 1 MiniMe Encoder Firmware <a href="http://0.0.74.0">0.0.74.0</a> (Release 2007/03/12)<br>
[   35.876024] cx18-0 info: Changing input from 1 to 0<br>[   35.876030] cx18-0 info: Mute<br>[   35.876034] cx18-0 info: cmd 4008646f triggered fw load<br>[   36.073227] cx18-0: loaded v4l-cx23418-dig.fw firmware (16382 bytes)<br>
[   36.073269] cx18-0 info: decoder set video input 7, audio input 8<br>[   36.076538] cx18-0 info: decoder set video input 7, audio input 8<br>[   36.077554] cx18-0 info: Unmute<br>[   36.077560] cx18-0 info: Switching standard to 1000.<br>
[   36.077564] cx18-0 info: changing video std to fmt 1<br>[   36.077578] cx18-0 info: PLL regs = int: 15, frac: 2876158, post: 4<br>[   36.077581] cx18-0 info: PLL = 108.000014 MHz<br>[   36.077584] cx18-0 info: PLL/8 = 13.500001 MHz<br>
[   36.077586] cx18-0 info: ADC Sampling freq = 14.317384 MHz<br>[   36.077589] cx18-0 info: Chroma sub-carrier freq = 3.579545 MHz<br>[   36.077594] cx18-0 info: hblank 122, hactive 720, vblank 26 , vactive 487, vblank656 26, src_dec 543,burst 0x5b, luma_lpf 1, uv_lpf 1, comb 0x66, sc 0x087c1f<br>
[   36.085552] cx18-0 info: Mute<br>[   36.085558] cx18-0 info: v4l2 ioctl: set frequency 1076<br>[   36.087471] cx18-0 info: Unmute<br>[   36.238938] cx18-0 info: Changing input from 0 to 1<br>[   36.238947] cx18-0 info: Mute<br>
[   36.238951] cx18-0 info: decoder set video input 1296, audio input 8<br>[   36.242070] cx18-0 info: decoder set video input 1296, audio input 0<br>[   36.243033] cx18-0 info: Unmute<br>[   36.243511] cx18-0 info: Switching standard to b000.<br>
[   36.243517] cx18-0 info: changing video std to fmt 1<br>[   36.243532] cx18-0 info: PLL regs = int: 15, frac: 2876158, post: 4<br>[   36.243535] cx18-0 info: PLL = 108.000014 MHz<br>[   36.243537] cx18-0 info: PLL/8 = 13.500001 MHz<br>
[   36.243540] cx18-0 info: ADC Sampling freq = 14.317384 MHz<br>[   36.243543] cx18-0 info: Chroma sub-carrier freq = 3.579545 MHz<br>[   36.243548] cx18-0 info: hblank 122, hactive 720, vblank 26 , vactive 487, vblank656 26, src_dec 543,burst 0x5b, luma_lpf 1, uv_lpf 1, comb 0x66, sc 0x087c1f<br>
[   36.253533] cx18-0 info: Input unchanged<br>[   36.254225] cx18-0 info: Mute<br>[   36.254231] cx18-0 info: v4l2 ioctl: set frequency 980<br>[   36.256163] cx18-0 info: Unmute<br>[   36.266935] cx18-0 info: Mute<br>[   36.266948] cx18-0 info: v4l2 ioctl: set frequency 980<br>
[   36.268999] cx18-0 info: Unmute<br>[  157.037679] cx18-0 info: Start encoder stream encoder MPEG<br>[  161.493350] cx18-0 info: User stopped encoder MPEG<br>[  161.493452] cx18-0 info: close stopping capture<br>[  161.493456] cx18-0 info: Stop Capture<br>
[  218.185121] cx18-0 info: Input unchanged<br>[  218.185799] cx18-0 info: Mute<br>[  218.185805] cx18-0 info: v4l2 ioctl: set frequency 980<br>[  218.187691] cx18-0 info: Unmute<br>[  218.192843] cx18-0 info: Mute<br>[  218.192851] cx18-0 info: v4l2 ioctl: set frequency 980<br>
[  218.194830] cx18-0 info: Unmute<br>[  223.704691] cx18-0 info: Start encoder stream encoder MPEG<br>[  246.231584] cx18-0 info: close stopping capture<br>[  246.231593] cx18-0 info: Stop Capture<br>[  332.537153] cx18-0 info: Input unchanged<br>
[  332.537846] cx18-0 info: Mute<br>[  332.537852] cx18-0 info: v4l2 ioctl: set frequency 980<br>[  332.539759] cx18-0 info: Unmute<br>[  332.542600] cx18-0 info: Mute<br>[  332.542608] cx18-0 info: v4l2 ioctl: set frequency 980<br>
[  332.544629] cx18-0 info: Unmute<br>[  337.631527] cx18-0 info: Start encoder stream encoder MPEG<br>[  400.873789] cx18-0 info: close stopping capture<br>[  400.873798] cx18-0 info: Stop Capture<br>[  405.169579] cx18-0 info: Start encoder stream encoder MPEG<br>
[  407.658340] cx18-0 info: close stopping capture<br>[  407.658348] cx18-0 info: Stop Capture<br></pre><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div></div><br>