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

BT848 loose PAL color with 2.4 to 2.6 kernel swicthing



Hello,

I have problems to make a frame grabber card working with colors in PAL
mode after a switch from 2.4 to 2.6 kernel.

The card is an embedded PC104+ with a BT848 chip. It has a camera
connected on Television input slot.

The embedded system was previously installed with a 2.4.20 kernel from a
RedHat installation. When booting bbtv module identified tuner to 4
(found to be tuner absent) and BT848A card to 0 (unknown/generic).
I made several tests with xawtv, and the system worked with PAL mode,
I even made some developments do directly get images and send them via
CORBA.

To have better support for USB+Wifi I setup another HD with a Debian
Sarge, with a 2.6.8 kernel (updated to 2.6.12-rc4 to solve some problems
with Wifi).
With 2.6 kernels the card is well recognized as 0 (unknown/generic),
tuner is recognized as 0 (notuner).
But PAL mode no longer work. I could make the card work with PAL-Nc, but
with black and white images only. I tried to force bttv driver options
with tuner set to 4 as previously, but problem remain the same.

I tried to compare 2.4 and 2.6 sources, but they are too different so I
cant found a solution way.
Can a bttv driver expert give me some way to modify/test (maybe this is
just a chip register parameter to adjust), I can modify sources to do
some tests if necessary.

Thanks for any idea/solution path.


Q? Is there on the net a specific list dealing with V4L/BT848 to post
this question in a larger Linux related list ?
I only saw a RH list:
https://listman.redhat.com/mailman/listinfo/video4linux-list
but  failed to subscribe.



L. Pointal



The frame-grabber PC104 card:
=============================
A BT848AKPF on a PC104-plus card from Digital Logic:
http://www.digitallogic.ch/english/products/datasheets/pc104_peripherials_detail.asp?id=MSMG104-Plus

Picture here (2Mb):
http://www.limsi.fr/Individu/pointal/koala/koala-frmgrab-full.jpg

The embedded system, a Koala robot:
http://www.limsi.fr/Individu/pointal/koala/


/var/log/messages part about bttv:
==================================
(kernel 2.6.12-rc4)
Jun 17 15:53:32 koala25 kernel: [   36.890573] Linux video capture
interface: v1.00
Jun 17 15:53:32 koala25 kernel: [   38.040485] bttv: driver version
0.9.15 loaded
Jun 17 15:53:32 koala25 kernel: [   38.040575] bttv: using 8 buffers
with 2080k (520 pages) each for capture
Jun 17 15:53:32 koala25 kernel: [   38.040631] bttv: Host bridge needs
ETBF enabled.
Jun 17 15:53:32 koala25 kernel: [   38.152395] bttv: Bt8xx card found (0).
Jun 17 15:53:32 koala25 kernel: [   38.152548] PCI: Found IRQ 11 for
device 0000:00:09.0
Jun 17 15:53:32 koala25 kernel: [   38.152643] PCI: Sharing IRQ 11 with
0000:00:12.0
Jun 17 15:53:32 koala25 kernel: [   38.152738] bttv0: Bt848 (rev 18) at
0000:00:09.0, irq: 11, latency: 132, mmio: 0xfe000000
Jun 17 15:53:32 koala25 kernel: [   38.152912] bttv0: using:  ***
UNKNOWN/GENERIC ***  [card=0,insmod option]
Jun 17 15:53:32 koala25 kernel: [   38.153012] bttv0: enabling ETBF
(430FX/VP3 compatibilty)
Jun 17 15:53:32 koala25 kernel: [   38.269493] tveeprom(bttv internal):
Huh, no eeprom present (err=-121)?
Jun 17 15:53:32 koala25 kernel: [   38.269590] bttv0: using tuner=4
Jun 17 15:53:32 koala25 kernel: [   38.269642] bttv0: i2c: checking for
MSP34xx @ 0x80... not found
Jun 17 15:53:32 koala25 kernel: [   38.271935] bttv0: i2c: checking for
TDA9875 @ 0xb0... not found
Jun 17 15:53:32 koala25 kernel: [   38.274252] bttv0: i2c: checking for
TDA7432 @ 0x8a... not found
Jun 17 15:53:32 koala25 kernel: [   38.276535] bttv0: i2c: checking for
TDA9887 @ 0x86... not found
Jun 17 15:53:32 koala25 kernel: [   38.443859] bttv0: registered device
video0
Jun 17 15:53:32 koala25 kernel: [   38.553278] bttv0: registered device vbi0


(IRQ shared with network card)
Jun 17 15:53:32 koala25 kernel: [   31.496241] e100: Intel(R) PRO/100
Network Driver, 3.3.6-k2-NAPI
Jun 17 15:53:32 koala25 kernel: [   31.496330] e100: Copyright(c)
1999-2004 Intel Corporation
Jun 17 15:53:32 koala25 kernel: [   31.608214] PCI: Found IRQ 11 for
device 0000:00:12.0
Jun 17 15:53:32 koala25 kernel: [   31.608331] PCI: Sharing IRQ 11 with
0000:00:09.0
Jun 17 15:53:32 koala25 kernel: [   31.654093] e100: eth0: e100_probe:
addr 0xfc020000, irq 11, MAC addr 00:30:59:01:93:77
Jun 17 15:53:32 koala25 kernel: [   36.010904] piix4_smbus 0000:00:07.3:
Found 0000:00:07.3 device


-- 
Laurent POINTAL
CNRS-LIMSI dépt. CHM, groupes AMI et PS
Courriel: laurent.pointal@limsi.fr    (prof)
          laurent.pointal@laposte.net (perso)
Ouebe: http://www.limsi.fr/Individu/pointal/
Tél. 01 69 85 81 06 (prof)
Fax. 01 69 85 80 88




Reply to: