RE: No color with bt848 card.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alex,

Well, My first guess would be that you are either:

A) Using an S-Video input but capturing on an XawTV line not labeled
S-Video.
B) Using a Composite input but capturing on an XawTV line labeled S-Video.

In either of these cases the Bt8x8 will be looking for it's color
information in the wrong place.

The BT8x8 has a single 4->1 input mux.  This allows selection between 4
composite input lines.  For S-Video the bt8x8 uses one of those 4 lines for
the luminance information, and a separate line for the chrominance signal.

So, if you provide a composite line and indicate an SVideo line the bt8x8
will capture the luminance data from the input mux line matching your
composite input, and try to capture chrominance from the separate line.
This will yeild what looks like a black and white picture (full luma no
chroma).  Providing an svideo input and treating it as a composite will
yeild the exact same problem (though for the opposite reason).

Take the card entry where you can see a black and white picture (the card
entries are in bttv-cards.cpp).  The two lines of interest for you are:

svhs:   x
muxsel: { a, b, c, d }

and change the svhs value (it's an index into the muxsel array) for that
card and recompile the driver.  The driver should (once you set svhs
correctly) capture the chrominance data from your svideo line.

Once you figure out what the svhs and muxsel values need to be you can find
a card that matches, or, if none do, you can add an entry for your card
(there's more data to fill out in that situation...for example, what's the
name of this mysterious card).

Good luck.

-Scott Tillman
Viewcast, Osprey division

> -----Original Message-----
> From: video4linux-list-admin@xxxxxxxxxx
> [mailto:video4linux-list-admin@xxxxxxxxxx]On Behalf Of Alex Polite
> Sent: Monday, October 21, 2002 2:17 PM
> To: video4linux-list@xxxxxxxxxx
> Subject:  No color with bt848 card.
>
>
>
> I have on old TV card that was handed to me for free (no box,
> manuals etc)
>
> The card show's up under lspci like so:
>
> ..................................................................
> ..............
> 00:08.0 Multimedia video controller: Brooktree Corporation Bt848
> TV with DMA push (rev 12)
>         Flags: bus master, medium devsel, latency 80, IRQ 10
>         Memory at ec004000 (32-bit, prefetchable) [size=4K]
> ..................................................................
> ..............
>
> I studied the bttv howto and made this simple script to load modules
> for the card.
> ..................................................................
> ..............
> tuner=$1
> card=$2
> sync
> rmmod bttv 2>/dev/null
> rmmod msp3400 2>/dev/null
> rmmod tuner 2>/dev/null
> rmmod i2c_chardev 2>/dev/null
> rmmod i2c-dev 2>/dev/null
> rmmod algo-bit 2>/dev/null
> rmmod i2c 2>/dev/null
> rmmod videodev 2>/dev/null
> modprobe videodev      # Not required if you answered Y to Video for Linux
> #modprobe i2c     verbose=1 scan=1 i2c_debug=1
> modprobe tuner   debug=1 type=$tuner  # Temic PAL (4002 FH5)
> #modprobe msp3400
> modprobe bttv    card=$card radio=0 pll=0  bttv_debug=1 bttv_verbose=2
> v4l-conf -b16
> sync
> ..................................................................
> ..............
>
> This will run with no complaints and produce some noice in
> /var/log/messages
> ..................................................................
> ..............
> Oct 21 19:51:19 babar kernel: bttv0: unloading
> Oct 21 19:51:19 babar kernel: bttv0: i2c detach [client=Temic PAL
> (4002 FH5),ok]
> Oct 21 19:51:19 babar kernel: i2c-core.o: client [Temic PAL (4002
> FH5)] unregistered.
> Oct 21 19:51:19 babar kernel: i2c-core.o: adapter unregistered: bt848 #0
> Oct 21 19:51:19 babar kernel: i2c-core.o: driver unregistered:
> i2c TV tuner driver
> Oct 21 19:51:19 babar kernel: Linux video capture interface: v1.00
> Oct 21 19:51:20 babar kernel: i2c-core.o: driver i2c TV tuner
> driver registered.
> Oct 21 19:51:20 babar kernel: tuner: ignoring DDC:fb0 #0 on
> i2c-matroxfb i2c adapter [id=0x10009]
> Oct 21 19:51:20 babar kernel: tuner: ignoring DDC:fb0 #1 on
> i2c-matroxfb i2c adapter [id=0x10009]
> Oct 21 19:51:20 babar kernel: tuner: ignoring MAVEN:fb0 on
> i2c-matroxfb i2c adapter [id=0x10009]
> Oct 21 19:51:20 babar kernel: bttv: driver version 0.7.91 loaded
> Oct 21 19:51:20 babar kernel: bttv: using 2 buffers with 2080k
> (4160k total) for capture
> Oct 21 19:51:20 babar kernel: bttv: Host bridge is Intel Corp.
> 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
> Oct 21 19:51:20 babar kernel: bttv: Host bridge needs ETBF enabled.
> Oct 21 19:51:20 babar kernel: bttv: Bt8xx card found (0).
> Oct 21 19:51:20 babar kernel: PCI: Found IRQ 10 for device 00:08.0
> Oct 21 19:51:20 babar kernel: PCI: Sharing IRQ 10 with 00:0b.0
> Oct 21 19:51:20 babar kernel: bttv0: Bt848 (rev 18) at 00:08.0,
> irq: 10, latency: 80, memory: 0xec004000
> Oct 21 19:51:20 babar kernel: bttv0: using: BT848A(Intel)
> [card=4,insmod option]
> Oct 21 19:51:20 babar kernel: bttv0: enabling ETBF (430FX/VP3
> compatibilty)
> Oct 21 19:51:20 babar kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
> Oct 21 19:51:20 babar kernel: tuner: probing bt848 #0 i2c adapter
> [id=0x10005]
> Oct 21 19:51:20 babar kernel: tuner: chip found @ 0xc0
> Oct 21 19:51:20 babar kernel: bttv0: i2c attach [client=Temic PAL
> (4002 FH5),ok]
> Oct 21 19:51:20 babar kernel: i2c-core.o: client [Temic PAL (4002
> FH5)] registered to adapter [bt848 #0](pos. 0).
> Oct 21 19:51:20 babar kernel: i2c-core.o: adapter bt848 #0
> registered as adapter 3.
> Oct 21 19:51:20 babar kernel: bttv0: i2c: checking for MSP34xx @
> 0x80... not found
> Oct 21 19:51:20 babar kernel: bttv0: i2c: checking for TDA9875 @
> 0xb0... not found
> Oct 21 19:51:20 babar kernel: bttv0: i2c: checking for TDA7432 @
> 0x8a... not found
> Oct 21 19:51:20 babar kernel: bttv0: registered device video0
> Oct 21 19:51:20 babar kernel: bttv0: registered device vbi0
> Oct 21 19:51:20 babar kernel: bttv0: open called
> Oct 21 19:51:20 babar kernel: Display at e8000000 is 800 by 600,
> bytedepth 4, bpl 3200
> Oct 21 19:51:20 babar kernel: bttv0: open called
> Oct 21 19:51:20 babar last message repeated 13 times
> Oct 21 19:51:20 babar kernel: tuner: tv freq set to 210.25
> Oct 21 19:51:20 babar kernel: bttv0: open called
> Oct 21 19:51:20 babar kernel: bttv0: open called
> Oct 21 19:51:20 babar kernel: Display at e81d4c00 is 640 by 288,
> bytedepth 2, bpl 1280
> Oct 21 19:51:20 babar kernel: bttv0: clip: ro=01750000 re=01748000
> Oct 21 19:51:20 babar kernel: Display at e81d4c00 is 640 by 288,
> bytedepth 2, bpl 1280
> Oct 21 19:51:20 babar kernel: bttv0: clip: ro=01750000 re=01748000
> Oct 21 19:51:20 babar kernel: Display at e81d4c00 is 640 by 288,
> bytedepth 2, bpl 1280
> Oct 21 19:51:20 babar kernel: bttv0: clip: ro=01750000 re=01748000
> Oct 21 19:51:20 babar kernel: Display at e81d4c00 is 640 by 288,
> bytedepth 2, bpl 1280
> Oct 21 19:51:20 babar kernel: bttv0: clip: ro=01750000 re=01748000
> Oct 21 19:51:25 babar kernel: Display at e81d4c00 is 640 by 288,
> bytedepth 2, bpl 1280
> Oct 21 19:51:25 babar kernel: bttv0: clip: ro=01750000 re=01748000
> Oct 21 19:51:25 babar kernel: Display at e81d4c00 is 640 by 288,
> bytedepth 2, bpl 1280
> Oct 21 19:51:25 babar kernel: bttv0: clip: ro=01750000 re=01748000
> ..................................................................
> ..............
>
> Then I run xawtv the picture come up clear and nice but it's black and
> white. No colors.
>
> I've tried all diffrent tuner types when loading the the tuner
> module. I've tried all diffrent card types when loading the bttv
> module. I've tried all different norm settings in .xawtv.
>
> The bttv mini HOWTO says
>
>     howto> Otherwise, open the case and install the card in an
>     howto> available slot. Pick one that supports PCI bus transfers
>     howto> and PCI bus mastering, if your mainboard is picky about
>     howto> this (see your mainboard's manual). You will want this for
>     howto> overlay mode.
>
> I have no manual for my motherboard (Tekram P6BX-An) and don't know
> what PCI bus mastering is or if it's relevant to my problem. Is it?
> Could I possibly benefit from trying the card in all PCI slots?
>
> alex
>
>
> --
> Alex Polite
> http://plusseven.com/gpg
>
>
>
> _______________________________________________
> Video4linux-list mailing list
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux