public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Longbottom <rongblor@googlemail.com>
To: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: Conexant PCI-8604PW 4 channel BNC Video capture card (bttv)
Date: Sun, 26 Jan 2014 11:21:31 +0000	[thread overview]
Message-ID: <52E4EFBB.7070504@googlemail.com> (raw)
In-Reply-To: <20140125152339.GA18168@minime.bse>

On 25/01/14 15:23, Daniel Glöckner wrote:
> On Thu, Jan 23, 2014 at 02:29:19PM +0000, Robert Longbottom wrote:
>> Jan 23 14:24:48 quad kernel: [154562.493224] bits: FMTCHG* VSYNC
>> HSYNC OFLOW FBUS   NUML => 625
>> Jan 23 14:24:49 quad kernel: [154562.994015] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:49 quad kernel: [154563.496010] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:50 quad kernel: [154563.997020] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:50 quad kernel: [154564.498018] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:51 quad kernel: [154564.999023] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:51 quad kernel: [154565.500024] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:52 quad kernel: [154566.001014] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>> Jan 23 14:24:52 quad kernel: [154566.502016] bttv: 0: timeout:
>> drop=0 irq=1868/1868, risc=146da000, bits: VSYNC HSYNC OFLOW
>
> The chip didn't lock to the input signal.
> What kind of input are you feeding into the card?

Ah, for most of the testing I've done during the week I haven't had 
anything plugged in.  Though (obviously) I have tried with some cameras 
plugged in.  I have 3 "bullet" cams and one mini security camera.  All 
just standard wired video outputs, PAL, colour.  They work fine on the 
IVC capture card I have.

I've rerun the test with irq_debug=1 and the /var/log/messages output is 
here: http://pastebin.com/AJSLBhtY  I don't think it looks any better 
(/different).

> Can you run the attached program while xawtv is running?
> It will dump most of the registers of the bt8xx video function.

Sure, output below.  It didn't print out anything until I ran it as root 
(failed on fd = open(path, O_RDWR|O_SYNC);).  The output remains pretty 
much the same over multiple runs except these two values:

0E8 FCAP flips between a few values
100 INT_STAT changes from 0A00000C to 0B00000C and back.

Full output with xawtv running, bttv module loaded with no params.

sudo ./dumpbt8xx /dev/video0

000 00000092 DSTATUS
004 00000053 IFORM
008 00000000 TDEC
00C 000000D2 E_CROP
010 000000FE E_VDELAY_LO
014 000000E0 E_VACTIVE_LO
018 00000078 E_HDELAY_LO
01C 00000080 E_HACTIVE_LO
020 00000002 E_HSCALE_HI
024 000000AC E_HSCALE_LO
028 00000000 BRIGHT
02C 00000022 E_CONTROL
030 000000D8 CONTRAST_LO
034 00000000 SAT_U_LO
038 000000B5 SAT_V_LO
03C 00000000 HUE
040 00000000 E_SCLOOP
044 000000CF WC_UP
048 00000006 OFORM
04C 00000020 E_VSCALE_HI
050 00000000 E_VSCALE_LO
054 00000001 TEST
058 00000000 ARESET
060 0000007F ADELAY
064 00000072 BDELAY
068 00000081 ADC
06C 00000000 E_VTC
078 0000007F WC_DOWN
080 0000007F TGLB
084 00000008 TGCTRL
08C 000000D2 O_CROP
090 000000FE O_VDELAY_LO
094 000000E0 O_VACTIVE_LO
098 00000078 O_HDELAY_LO
09C 00000080 O_HACTIVE_LO
0A0 00000002 O_HSCALE_HI
0A4 000000AC O_HSCALE_LO
0AC 00000022 O_CONTROL
0B0 00000000 VTOTAL_LO
0B4 00000000 VTOTAL_HI
0C0 00000000 O_SCLOOP
0CC 00000020 O_VSCALE_HI
0D0 00000000 O_VSCALE_LO
0D4 00000000 COLOR_FMT
0D8 00000010 COLOR_CTL
0DC 00000003 CAP_CTL
0E0 000000FF VBI_PACK_SIZE
0E4 00000001 VBI_PACK_DEL
0E8 00000011 FCAP
0EC 00000000 O_VTC
0F0 000000F9 PLL_F_LO
0F4 000000DC PLL_F_HI
0F8 0000008E PLL_XCI
0FC 00000000 DVSIF
100 0A00000C INT_STAT
104 000C0B13 INT_MASK
10C 0000C0AF GPIO_DMA_CTL
110 00000003 I2C
114 30B35000 RISC_STRT_ADD
118 00000000 GPIO_OUT_EN
11C 00000000 GPIO_REG_INP
120 30B35000 RISC_COUNT
200 000FFFFF GPIO_DATA

Thanks,
Rob.


  reply	other threads:[~2014-01-26 11:21 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
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 [this message]
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=52E4EFBB.7070504@googlemail.com \
    --to=rongblor@googlemail.com \
    --cc=linux-media@vger.kernel.org \
    /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