[vox-tech] BTTV Problems with multiple cards

Hans W. Uhlig deathguard at yahoo.com
Mon Jul 12 08:44:37 PDT 2004


--- "Mark K. Kim" <lugod at cbreak.org> wrote:
> Can you post the following?:
> 
>    1. dmesg, when you have only one card (and when
> everything works.)

Linux video capture interface: v1.00
bttv: driver version 0.9.14 loaded
bttv: using 8 buffers with 2080k (520 pages) each for
capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:01:08.0, irq: 17,
latency: 32, mmio: 0xda000000
bttv0: using:  *** UNKNOWN/GENERIC *** 
[card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=003fffff
[init]
bttv: readee error
bttv0: using tuner=2
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and
compatibles)) by bt878 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0

> 
>    2. Brand name and model of the tuners (not just
> the chipset name.)

Brand Name is Random Tuner #1
http://www.censuspc.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=TTOM878A-EU&Category_Code=

> 
> The "readee error" message in dmesg is suspicious. 
> It turns up some
> results on google, some with the green screen error
> like yours.

Well I did something, I dont know why but it now works
fine... on all three, *wonders if turning the bios to
non pnp supporting did the trick*

> The memory mapping and IRQ look good, but the two
> i2c devices having two
> identical addresses is a little concerning.  It's
> been a while since I've
> poked into i2c, but I don't think you're allowed to
> have two devices with
> the same addresses on the same bus.  But many tuners
> seem to use the same
> address yet are able to work together on other
> systems so maybe it's not a
> problem.  We'll see.
> 
> -Mark
> 
> 
> On Sun, 11 Jul 2004, Hans W. Uhlig wrote:
> 
> > --- "Mark K. Kim" <*****@cbreak.org> wrote:
> > > On Sun, 11 Jul 2004, Hans W. Uhlig wrote:
> > >
> > > > I purchased not long ago a new machine to
> function
> > > as
> > > > a mythtivo and finished assembling it this
> > > weekend,
> > > > sadly when I dropped in the three bt878a
> capture
> > > cards
> > > > the unit just decides to spit out a
> > > greenscreen/static
> > > > across the bus. If I rip out any 2 of the
> cards
> > > > leaving just one it works fine.
> > >
> > > What about leaving two cards in?  Does that do
> > > anything?  Try to place the
> > > two cards in adjacent PCI slots, rather than two
> PCI
> > > slots that are apart
> > > -- that minimizes the IRQ conflicts.  IRQ
> conflicts
> > > are generally not a
> > > problem for PCI devices, but it *could* be a
> problem
> > > if you're using two
> > > identical devices.
> > >
> > > The other issue is the IO ports.  All devices
> have a
> > > limited IO ports that
> > > they can use, and if all the available IO port
> > > ranges are used up, then
> > > you'll end up with a conflict.  It's entirely
> > > possible the device was
> > > designed to use only one range of IO ports (in
> which
> > > case you can't
> > > install multiples of that card in one computer.)
>  To
> > > check for this,
> > > install two of the cards, then try probing the
> PCI
> > > devices using `lspci
> > > -vv`:
> > >
> > >    # lspci -vv
> > >    0000:02:08.0 Multimedia video controller:
> > > Brooktree Corporation Bt8...
> > >    ...
> > >    Region 0: Memory at f46fe000 (32-bit,
> > > prefetchable) [size=4K]
> > >    ...
> > >
> > > The above is the listing for my BT878 capture
> card.
> > > Make sure none of the
> > > "Region N" listed are same as other devices.  If
> > > some of them are same,
> > > then you got a conflict, or the card wasn't
> designed
> > > to be installed in
> > > multiples in a single computer.
> > >
> >
> >  Logs from dmesg and lspci at bottom of email
> >
> >
> > > If installing two cards works, and if the IRQ
> and
> > > the IO ranges conflict,
> > > then try installing the third card.  Then work
> out
> > > the IRQ and the IO at
> > > that time, for three card scenario.  Take it one
> > > step at a time -- two
> > > cards first, then the third.
> > >
> > > [snip]
> > > > Also one other thing to note is while running
> on
> > > one
> > > > card only it spits out these messages
> periodically
> > > >
> > > > bttv0: timeout: drop=64 irq=97874/97876,
> > > > risc=1490e07c, bits: HSYNC OFLOW FDSR
> > > > bttv0: reset, reinitialize
> > >
> > > I've never seen that on my BT878...
> > >
> > > BTW, what program are you using to view the TV
> > > signals?  What commands?
> > > Make sure you're using /dev/video0 for the first
> > > video device, /dev/video1
> > > for the second, and /dev/video2 for the third. 
> (I
> > > use `xawtv`, and I type
> > > `xawtv -c /dev/video1` for the second video.)
> > >
> > mplayer -tv driver=v4l2:device=/dev/video0 tv://
> >
> > Ive also added height/width specifiers,
> > normid=1(NTSC), input=0(TV) and a few other
> defined
> > specs
> >
> > > Also, make sure you're not using the Xv
> extension on
> > > the second and third
> > > instances of the TV signal viewing program,
> because
> > > only one application
> > > is allowed to use Xv at any given time.  Most
> likely
> > > you'll have to
> > > explicitely tell the program not to use Xv
> extension
> > > (I use `xawtv`, and I
> > > type `xawtv -noxv` to turn off the Xv extension.
>  To
> > > combine with the
> > > above command, you'd type `xawtv -noxv -c
> > > /dev/video1` to view the second
> > > TV signal, `xawtv -noxv -c /dev/video2` for the
> > > third TV signal.)
> > >
> >
> > Ive never gotten them to run simultainiously at
> all
> > If I plug both in I get green on both if I kill
> one
> > prog and run the second.
> >
> > > -Mark
> > >
> > >
> > > --
> > > Mark K. Kim
> > > AIM: markus kimius
> > > Homepage: http://www.cbreak.org/
> > > Xanga: http://www.xanga.com/vindaci
> > > Friendster:
> > > http://www.friendster.com/user.php?uid=13046
> > > PGP key fingerprint: 7324 BACA 53AD E504 A76E 
> 5167
> > > 6822 94F0 F298 5DCE
> > > PGP key available on the homepage
> > > _______________________________________________
> > > vox-tech mailing list
> > > vox-tech at lists.lugod.org
> > > http://lists.lugod.org/mailman/listinfo/vox-tech
> > >
> >
> > ----------------- Dmesg -------------------
> > Linux video capture interface: v1.00
> > bttv: driver version 0.9.14 loaded
> > bttv: using 8 buffers with 2080k (520 pages) each
> for
> > capture
> > bttv: Bt8xx card found (0).
> > bttv0: Bt878 (rev 17) at 0000:01:07.0, irq: 16,
> > latency: 32, mmio: 0xde000000
> > bttv0: using:  *** UNKNOWN/GENERIC ***
> > [card=0,autodetected]
> > bttv0: gpio: en=00000000, out=00000000 in=003fffff
> > [init]
> > bttv: readee error
> > bttv0: using tuner=2
> > bttv0: i2c: checking for MSP34xx @ 0x80... not
> found
> > bttv0: i2c: checking for TDA9875 @ 0xb0... not
> found
> > bttv0: i2c: checking for TDA7432 @ 0x8a... not
> found
> > tuner: chip found at addr 0xc0 i2c-bus bt878 #0
> [sw]
> > tuner: type set to 2 (Philips NTSC (FI1236,FM1236
> and
> > compatibles)) by bt878 #0 [sw]
> > bttv0: registered device video0
> > bttv0: registered device vbi0
> > bttv0: registered device radio0
> > bttv: Bt8xx card found (1).
> > bttv1: Bt878 (rev 17) at 0000:01:08.0, irq: 17,
> > latency: 32, mmio: 0xde002000
> > bttv1: using:  *** UNKNOWN/GENERIC ***
> > [card=0,autodetected]
> > bttv1: gpio: en=00000000, out=00000000 in=003fffff
> > [init]
> > tuner: chip found at addr 0xc0 i2c-bus bt878 #1
> [sw]
> > bttv: readee error
> > bttv1: using tuner=2
> > tuner: type set to 2 (Philips NTSC (FI1236,FM1236
> and
> > compatibles)) by bt878 #1 [sw]
> > bttv1: i2c: checking for MSP34xx @ 0x80... not
> found
> > bttv1: i2c: checking for TDA9875 @ 0xb0... not
> found
> > bttv1: i2c: checking for TDA7432 @ 0x8a... not
> found
> > bttv1: registered device video1
> > bttv1: registered device vbi1
> > bttv1: registered device radio1
> > --------------------- End Dmesg
> --------------------
> > ===================== lspci -v
> =====================
> > 0000:01:07.0 Multimedia video controller:
> Brooktree
> > Corporation Bt878 Video Capture (rev 11)
> >         Control: I/O- Mem+ BusMaster+ SpecCycle-
> > MemWINV- VGASnoop- ParErr- Stepping- SERR-
> FastB2B-
> >         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr-
> > DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
> <PERR-
> >         Latency: 32 (4000ns min, 10000ns max)
> >         Interrupt: pin A routed to IRQ 16
> >         Region 0: Memory at de000000 (32-bit,
> > prefetchable) [size=4K]
> >         Capabilities: [44] Vital Product Data
> >         Capabilities: [4c] Power Management
> version 2
> >                 Flags: PMEClk- DSI+ D1- D2-
> > AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> >                 Status: D0 PME-Enable- DSel=0
> DScale=0
> > PME-
> >
> > 0000:01:07.1 Multimedia controller: Brooktree
> > Corporation Bt878 Audio Capture (rev 11)
> >         Control: I/O- Mem+ BusMaster+ SpecCycle-
> > MemWINV- VGASnoop- ParErr- Stepping- SERR-
> FastB2B-
> >         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr-
> > DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
> <PERR-
> >         Latency: 32 (1000ns min, 63750ns max)
> >         Interrupt: pin A routed to IRQ 16
> >         Region 0: Memory at de001000 (32-bit,
> > prefetchable) [size=4K]
> >         Capabilities: [44] Vital Product Data
> >         Capabilities: [4c] Power Management
> version 2
> >                 Flags: PMEClk- DSI+ D1- D2-
> > AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> >                 Status: D0 PME-Enable- DSel=0
> DScale=0
> > PME-
> >
> > 0000:01:08.0 Multimedia video controller:
> Brooktree
> > Corporation Bt878 Video Capture (rev 11)
> >         Control: I/O- Mem+ BusMaster+ SpecCycle-
> > MemWINV- VGASnoop- ParErr- Stepping- SERR-
> FastB2B-
> >         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr-
> > DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
> <PERR-
> >         Latency: 32 (4000ns min, 10000ns max)
> >         Interrupt: pin A routed to IRQ 17
> >         Region 0: Memory at de002000 (32-bit,
> > prefetchable) [size=4K]
> >         Capabilities: [44] Vital Product Data
> >         Capabilities: [4c] Power Management
> version 2
> >                 Flags: PMEClk- DSI+ D1- D2-
> > AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> >                 Status: D0 PME-Enable- DSel=0
> DScale=0
> > PME-
> >
> > 0000:01:08.1 Multimedia controller: Brooktree
> > Corporation Bt878 Audio Capture (rev 11)
> >         Control: I/O- Mem+ BusMaster+ SpecCycle-
> > MemWINV- VGASnoop- ParErr- Stepping- SERR-
> FastB2B-
> >         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr-
> > DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
> <PERR-
> >         Latency: 32 (1000ns min, 63750ns max)
> >         Interrupt: pin A routed to IRQ 17
> >         Region 0: Memory at de003000 (32-bit,
> > prefetchable) [size=4K]
> >         Capabilities: [44] Vital Product Data
> >         Capabilities: [4c] Power Management
> version 2
> >                 Flags: PMEClk- DSI+ D1- D2-
> > AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> >                 Status: D0 PME-Enable- DSel=0
> DScale=0
> > PME-
> > =================== end lspci -v
> ===================
> >
> > =====
> > Hans W. Uhlig
> > deathguard at yahoo.com
> > http://purple.worldforge.org/~huhlig
> > "Life is a Long and lonely road, Bring a friend"
> >
> > GPG Fingerprint : 2470 6619 6156 9A0E 577E E7B1
> D2BB C9BA 07C0 C7BF
> > GPG Public key  :
> http://purple.worldforge.org/~huhlig/deathguard.asc
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech at lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> >
> 
> -- 
> Mark K. Kim
> AIM: markus kimius
> Homepage: http://www.cbreak.org/
> Xanga: http://www.xanga.com/vindaci
> Friendster:
> http://www.friendster.com/user.php?uid=13046
> PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167
> 6822 94F0 F298 5DCE
> PGP key available on the homepage
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> 


=====
Hans W. Uhlig                                    
deathguard at yahoo.com                     
http://purple.worldforge.org/~huhlig     
"Life is a Long and lonely road, Bring a friend"

GPG Fingerprint : 2470 6619 6156 9A0E 577E E7B1 D2BB C9BA 07C0 C7BF 
GPG Public key  : http://purple.worldforge.org/~huhlig/deathguard.asc


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail


More information about the vox-tech mailing list