public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Daniel Glöckner" <daniel-gl@gmx.net>
To: Robert Longbottom <rongblor@googlemail.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: Conexant PCI-8604PW 4 channel BNC Video capture card (bttv)
Date: Wed, 22 Jan 2014 14:50:36 +0100	[thread overview]
Message-ID: <20140122135036.GA14871@minime.bse> (raw)
In-Reply-To: <52DFC300.8010508@googlemail.com>

On Wed, Jan 22, 2014 at 01:09:20PM +0000, Robert Longbottom wrote:
> >  - The unlabled chip is probably a CPLD/FGPA. It filters the PCI REQ#
> >    lines from the 878As and has access to the GNT# and INT# lines,
> >    as well as to the GPIOs you mentioned. The bypass caps have a layout
> >    that fits to the Lattice ispMACH 4A.
> 
> Ah, ok, so this is something to do with interfacing to the PCI bus?

Yes, they probably try to improve the scheduling between those four
chips.

> I've just had a go at this, modprobe bttv pll=35,35,35,35, and using
> the composite0 input in xawtv (first in the list) and still no joy.
> I just get the same timeout errors repeating in dmesg:
> 
> [63204.009013] bttv: 3: timeout: drop=0 irq=46/26548, risc=3085d000,
> bits: HSYNC OFLOW

D'oh, I should have checked what this message means.
It says we did not receive an interrupt.
The unlabled chip can't prevent an interrupt from being delivered.
It can only request additional interrupts.

> 02:0c.0 Multimedia video controller [0400]: Brooktree Corporation
>         Flags: bus master, medium devsel, latency 32, IRQ 16
 
> 02:0c.1 Multimedia controller [0480]: Brooktree Corporation Bt878
>         Flags: bus master, medium devsel, latency 32, IRQ 5

> 02:0d.0 Multimedia video controller [0400]: Brooktree Corporation
>         Flags: bus master, medium devsel, latency 32, IRQ 17

> 02:0d.1 Multimedia controller [0480]: Brooktree Corporation Bt878
>         Flags: bus master, medium devsel, latency 32, IRQ 10

> 02:0e.0 Multimedia video controller [0400]: Brooktree Corporation
>         Flags: bus master, medium devsel, latency 32, IRQ 18

> 02:0e.1 Multimedia controller [0480]: Brooktree Corporation Bt878
>         Flags: bus master, medium devsel, latency 32, IRQ 10

> 02:0f.0 Multimedia video controller [0400]: Brooktree Corporation
>         Flags: bus master, medium devsel, latency 32, IRQ 19

> 02:0f.1 Multimedia controller [0480]: Brooktree Corporation Bt878
>         Flags: bus master, medium devsel, latency 32, IRQ 11

This is strange. There are 7 different IRQs assigned to that card but
PCI slots only have 4. According to the pictures each 878A gets one of
these. The .0 and .1 functions of a 878A must always share the same IRQ.

Does your system print information on the PCI IRQ routing when Linux
starts?

  Daniel


  reply	other threads:[~2014-01-22 13:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 21:39 Conexant PCI-8604PW 4 channel BNC Video capture card (bttv) Robert Longbottom
2014-01-20 22:55 ` Andy Walls
2014-01-21  9:27   ` Robert Longbottom
2014-01-21 10:19     ` Daniel Glöckner
2014-01-21 19:49       ` Robert Longbottom
2014-01-21 20:59         ` Robert Longbottom
2014-01-22 11:53           ` Daniel Glöckner
2014-01-22 13:09             ` Robert Longbottom
2014-01-22 13:50               ` Daniel Glöckner [this message]
2014-01-22 18:15                 ` Robert Longbottom
2014-01-23 13:27                   ` Daniel Glöckner
2014-01-23 14:29                     ` Robert Longbottom
2014-01-25 15:23                       ` Daniel Glöckner
2014-01-26 11:21                         ` Robert Longbottom
2014-01-26 12:55                           ` Daniel Glöckner
2014-01-26 16:23                             ` Robert Longbottom
2014-01-27  3:20                               ` Daniel Glöckner
2014-01-27 20:55                                 ` Robert Longbottom
2014-01-28  2:02                                   ` Daniel Glöckner
2014-02-05 13:16                                     ` Robert Longbottom
2014-02-11 13:38                                       ` Daniel Glöckner
2014-02-11 18:25                                         ` Robert Longbottom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140122135036.GA14871@minime.bse \
    --to=daniel-gl@gmx.net \
    --cc=linux-media@vger.kernel.org \
    --cc=rongblor@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox