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

[OT] Can't get color with BT848 TV card.



I was handed a used TV capture card, with no original packaging or
manuals so I don't know the exact make of it.

The crystal oscillator on the card is marked 28.63636MHz. According to
The "bttv mini-HOWTO" this means that it is a PAL card, which is a
good thing since I live in Sweden a PAL country.

With lspci it show up 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 recompile the kernel with everything that's needed for BT848 cards,
and inserts all the modules with this  script:
######################################################################
tuner=0
card=0
rmmod bttv
rmmod msp3400
rmmod tuner
rmmod i2c_chardev
rmmod i2c-dev
rmmod algo-bit
rmmod i2c
rmmod videodev

modprobe videodev      # Not required if you answered Y to Video for Linux
modprobe i2c     verbose=1 scan=1 i2c_debug=0
modprobe tuner   debug=0 type=$tuner   # Temic PAL (4002 FH5)
modprobe msp3400
modprobe bttv    card=$card radio=0 pll=0
v4l-conf
######################################################################

Here's the output in /var/log/messages
######################################################################
Sep 22 18:53:57 babar kernel: bttv0: unloading
Sep 22 18:53:57 babar kernel: tvmixer: debug: Temic PAL (4002 FH5)
Sep 22 18:53:57 babar kernel: bttv0: i2c detach [client=Temic PAL (4002 FH5),ok]
Sep 22 18:53:57 babar kernel: i2c-core.o: client [Temic PAL (4002 FH5)] unregistered.
Sep 22 18:53:57 babar kernel: i2c-core.o: adapter unregistered: bt848 #0
Sep 22 18:53:57 babar kernel: i2c-core.o: driver unregistered: i2c msp3400 driver
Sep 22 18:53:57 babar kernel: i2c-core.o: driver unregistered: i2c TV tuner driver
Sep 22 18:53:57 babar kernel: Linux video capture interface: v1.00
Sep 22 18:53:57 babar kernel: i2c-core.o: driver i2c TV tuner driver registered.
Sep 22 18:53:58 babar kernel: i2c-core.o: driver i2c msp3400 driver registered.
Sep 22 18:53:58 babar kernel: bttv: driver version 0.7.83 loaded
Sep 22 18:53:58 babar kernel: bttv: using 2 buffers with 2080k (4160k total) for capture
Sep 22 18:53:58 babar kernel: bttv: Host bridge is Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge
Sep 22 18:53:58 babar kernel: bttv: Host bridge needs ETBF enabled.
Sep 22 18:53:58 babar kernel: bttv: Bt8xx card found (0).
Sep 22 18:53:58 babar kernel: PCI: Found IRQ 10 for device 00:08.0
Sep 22 18:53:58 babar kernel: PCI: Sharing IRQ 10 with 00:0b.0
Sep 22 18:53:58 babar kernel: bttv0: Bt848 (rev 18) at 00:08.0, irq: 10, latency: 80, memory: 0xec004000
Sep 22 18:53:58 babar kernel: bttv0: using: BT848A( *** UNKNOWN/GENERIC **) [card=0,insmod option]
Sep 22 18:53:58 babar kernel: bttv0: enabling ETBF (430FX/VP3 compatibilty)
Sep 22 18:53:58 babar kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
Sep 22 18:53:58 babar kernel: tuner: chip found @ 0xc0
Sep 22 18:53:58 babar kernel: bttv0: i2c attach [client=Temic PAL (4002 FH5),ok]
Sep 22 18:53:58 babar kernel: i2c-core.o: client [Temic PAL (4002 FH5)] registered to adapter [bt848 #0](pos. 0).
Sep 22 18:53:58 babar kernel: tvmixer: debug: Temic PAL (4002 FH5)
Sep 22 18:53:58 babar kernel: i2c-core.o: adapter bt848 #0 registered as adapter 3.
Sep 22 18:53:58 babar kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Sep 22 18:53:58 babar kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Sep 22 18:53:58 babar kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
######################################################################


And this is what I get on stdout
######################################################################
rmmod: module i2c_chardev is not loaded
rmmod: module i2c-dev is not loaded
rmmod: module algo-bit is not loaded
rmmod: module i2c is not loaded
modprobe: Can't locate module i2c
Using /lib/modules/2.4.18/kernel/drivers/media/video/tuner.o
insmod: a module named tuner already exists
/lib/modules/2.4.18/kernel/drivers/media/video/bttv.o: post-install bttv failed
/lib/modules/2.4.18/kernel/drivers/media/video/bttv.o: insmod bttv failed
v4l-conf: using X11 display :0
dga: version 2.0
mode: 800x600, depth=24, bpp=32, bpl=3200, base=0xe8000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: configuration done
######################################################################
The "modprobe: Can't locate module i2c" isn't a problem since I have
I2C compiled into the kernel.
"insmod: a module named tuner already exists" is something of an
enigma. Don't know what to make of it really. I know for sure the
$tuner it taken into account, since most settings for $tuner will only
yield static in xawtv.

Anyway I think that $tuner is the crucial variable here.
$card=0 means that the kernel will autodetect the make of the card.
There is some scanty information printed on the tuner the that fits
nicely with "Temic PAL (4002 FH5)" so I set $tuner=0.


Firing up xawtv, (with norm set to "pal-m" or "pal-nc" yields a
perfectly clear picture but it's only black and white. 

I have tried to set $card and $tuner with all possible settings but
all to no avail.

Any ideas about what to try next?

alex

-- 
Alex Polite
http://plusseven.com/gpg/



Reply to: