On Fri, Nov 21, 2008 at 9:56 PM, Andy Walls <[EMAIL PROTECTED]> wrote:

> On Fri, 2008-11-21 at 14:21 -0500, Al McIntosh wrote:
>
>
>
> >
> >         In the meantime, if you're feeling adventurous, you may wish
> >         to try
> >         removing "IRQF_SHARED |" from line 730 in
> >         cx18-driver.c:cx18_probe():
> >
> >
> >                /* Register IRQ */
> >                retval = request_irq(cx->dev->irq, cx18_irq_handler,
> >                                     IRQF_SHARED | IRQF_DISABLED,
> >         cx->name, (void *)cx);
> >                                     ^^^^^^^^^^^^^
> >                Try removing this ---+
> >
> >         recompile and reinstall the driver and see what happens.
> >          Hopefully the
> >         cx18 driver will then get it's own interrupt line and things
> >         will be
> >         better for you.
> >
> >
> >
> > I will definitely test this for you, likely won't be until next week,
> > off to Montreal for the weekend. :)
>
> Don't bother with the test.  The more I research this the more my head
> hurts.  My above suggestion will only cause the nvidia or cx18 driver
> not to load.
>
> The "easy" options appear to be:
>
> 1. Move the cx18 to a different PCI slot so it no longer shares an IRQ
> line with the nvidia hardware.
>


I managed to get the encoder on an unshared IRQ line in the single CPU
machine. It's better but still pauses.


19:       9923   IO-APIC-fasteoi   cx18-0


[   12.137056] cx18:  Start initialization, version 1.0.2
[   12.157546] cx18-0: Initializing card #0
[   12.157552] cx18-0: Autodetected Hauppauge card
[   12.157557] cx18-0 info: base addr: 0xf8000000
[   12.157559] cx18-0 info: Enabling pci device
[   12.158002] cx18 0000:01:09.0: PCI INT A -> Link[APC4] -> GSI 19
(level, low) -> IRQ 19
[   12.158011] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)
[   12.158017] cx18-0 info: cx23418 (rev 0) at 01:09.0, irq: 19,
latency: 64, memory: 0xf8000000
[   12.158021] cx18-0 info: attempting ioremap at 0xf8000000 len 0x04000000
[   12.160935] cx18-0: cx23418 revision 01010000 (B)
[   12.261285] cx18-0 info: GPIO initial dir: 0000ffff/0000ffff out:
00000000/00000000
[   12.261295] cx18-0 info: activating i2c...
[   12.508142] cx18-0 info: Active card count: 1.
[   12.543778] cx18-0: Autodetected Hauppauge HVR-1600
[   12.543781] cx18-0 info: NTSC tuner detected
[   12.543783] cx18-0: VBI is not yet supported
[   13.556449] cx18-0 info: Loaded module tuner
[   13.609866] cx18-0 info: Loaded module cs5345
[   13.610796] tuner 3-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[   13.610821] cs5345 2-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[   13.908803] cx18-0 info: Allocate encoder MPEG stream: 63 x 32768
buffers (2016kB total)
[   13.908860] cx18-0 info: Allocate TS stream: 32 x 32768 buffers
(1024kB total)
[   13.908892] cx18-0 info: Allocate encoder YUV stream: 16 x 131072
buffers (2048kB total)
[   13.908916] cx18-0 info: Allocate encoder PCM audio stream: 63 x
16384 buffers (1008kB total)
[   13.908961] cx18-0: Disabled encoder IDX device
[   13.909165] cx18-0: Registered device video0 for encoder MPEG (2 MB)
[   13.909169] DVB: registering new adapter (cx18)
[   14.356964] cx18-0: DVB Frontend registered
[   14.357031] cx18-0: Registered device video32 for encoder YUV (2 MB)
[   14.357092] cx18-0: Registered device video24 for encoder PCM audio (1 MB)
[   14.357097] cx18-0: Initialized card #0: Hauppauge HVR-1600
[   14.357645] cx18:  End initialization
[   34.026198] cx18-0 info: load segment a00000-a07fff
[   34.045012] cx18-0 info: load segment ae0000-ae00ff
[   34.045164] cx18-0 info: load segment b00000-b1a65f
[   34.107143] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000
(141200 bytes)
[   34.769514] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[   34.777257] cx18-0 info: 1 MiniMe Encoder Firmware 0.0.74.0
(Release 2007/03/12)
[   34.777266] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[   35.001957] cx18-0 info: load segment a00000-a07fff
[   35.020818] cx18-0 info: load segment ae0000-ae00ff
[   35.020969] cx18-0 info: load segment b00000-b1a65f
[   35.682094] cx18-0 info: 1 MiniMe Encoder Firmware 0.0.74.0
(Release 2007/03/12)
[   35.876024] cx18-0 info: Changing input from 1 to 0
[   35.876030] cx18-0 info: Mute
[   35.876034] cx18-0 info: cmd 4008646f triggered fw load
[   36.073227] cx18-0: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[   36.073269] cx18-0 info: decoder set video input 7, audio input 8
[   36.076538] cx18-0 info: decoder set video input 7, audio input 8
[   36.077554] cx18-0 info: Unmute
[   36.077560] cx18-0 info: Switching standard to 1000.
[   36.077564] cx18-0 info: changing video std to fmt 1
[   36.077578] cx18-0 info: PLL regs = int: 15, frac: 2876158, post: 4
[   36.077581] cx18-0 info: PLL = 108.000014 MHz
[   36.077584] cx18-0 info: PLL/8 = 13.500001 MHz
[   36.077586] cx18-0 info: ADC Sampling freq = 14.317384 MHz
[   36.077589] cx18-0 info: Chroma sub-carrier freq = 3.579545 MHz
[   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
[   36.085552] cx18-0 info: Mute
[   36.085558] cx18-0 info: v4l2 ioctl: set frequency 1076
[   36.087471] cx18-0 info: Unmute
[   36.238938] cx18-0 info: Changing input from 0 to 1
[   36.238947] cx18-0 info: Mute
[   36.238951] cx18-0 info: decoder set video input 1296, audio input 8
[   36.242070] cx18-0 info: decoder set video input 1296, audio input 0
[   36.243033] cx18-0 info: Unmute
[   36.243511] cx18-0 info: Switching standard to b000.
[   36.243517] cx18-0 info: changing video std to fmt 1
[   36.243532] cx18-0 info: PLL regs = int: 15, frac: 2876158, post: 4
[   36.243535] cx18-0 info: PLL = 108.000014 MHz
[   36.243537] cx18-0 info: PLL/8 = 13.500001 MHz
[   36.243540] cx18-0 info: ADC Sampling freq = 14.317384 MHz
[   36.243543] cx18-0 info: Chroma sub-carrier freq = 3.579545 MHz
[   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
[   36.253533] cx18-0 info: Input unchanged
[   36.254225] cx18-0 info: Mute
[   36.254231] cx18-0 info: v4l2 ioctl: set frequency 980
[   36.256163] cx18-0 info: Unmute
[   36.266935] cx18-0 info: Mute
[   36.266948] cx18-0 info: v4l2 ioctl: set frequency 980
[   36.268999] cx18-0 info: Unmute
[  157.037679] cx18-0 info: Start encoder stream encoder MPEG
[  161.493350] cx18-0 info: User stopped encoder MPEG
[  161.493452] cx18-0 info: close stopping capture
[  161.493456] cx18-0 info: Stop Capture
[  218.185121] cx18-0 info: Input unchanged
[  218.185799] cx18-0 info: Mute
[  218.185805] cx18-0 info: v4l2 ioctl: set frequency 980
[  218.187691] cx18-0 info: Unmute
[  218.192843] cx18-0 info: Mute
[  218.192851] cx18-0 info: v4l2 ioctl: set frequency 980
[  218.194830] cx18-0 info: Unmute
[  223.704691] cx18-0 info: Start encoder stream encoder MPEG
[  246.231584] cx18-0 info: close stopping capture
[  246.231593] cx18-0 info: Stop Capture
[  332.537153] cx18-0 info: Input unchanged
[  332.537846] cx18-0 info: Mute
[  332.537852] cx18-0 info: v4l2 ioctl: set frequency 980
[  332.539759] cx18-0 info: Unmute
[  332.542600] cx18-0 info: Mute
[  332.542608] cx18-0 info: v4l2 ioctl: set frequency 980
[  332.544629] cx18-0 info: Unmute
[  337.631527] cx18-0 info: Start encoder stream encoder MPEG
[  400.873789] cx18-0 info: close stopping capture
[  400.873798] cx18-0 info: Stop Capture
[  405.169579] cx18-0 info: Start encoder stream encoder MPEG
[  407.658340] cx18-0 info: close stopping capture
[  407.658348] cx18-0 info: Stop Capture
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to