bt878 capture fails.. overlay ok. (low level question)

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



Very odd problem.. I've read many relevent posts and
no combination of noacpi mem=... or other boot flags.
work.

Some backgorund   Boser HS1600 board with BT878
minipci.
I have two such systems.. one with a 800mhz curouse
the other with a 600mhz (and some other minor
differences). with 2.4.22 (and 2.4.20) things are fine
on the 800mhz board.. but on the 600mhz only overlay
works. (same capture card).  There are differences in
the IRQ assignments and minor bios variations. (I can
post if anyone thinks the actual numbers would be
helpful)

Digging deeper I have found that on the machine that
is not working that the stat returned by 
	stat=btread(BT848_INT_STAT); 

does not have any bits in the RISC area set (leading
nibble).   By hacking the driver to that just before
the test for /* captured full frame */  I set the bit
(2<<28) in stat  (only on every other call..) 
then the capture shows the live data. 

So the data is there, the fifo are getting i, and the
DMA can trasnfer it,  but somehow because of the
subtle differences between the machines the RISC code
is not settig the bits saying that the frame is
complete. 
It also does not seem to set    astat&BT848_INT_VSYNC

My hack is not an acceptable long run (it thinks every
2 calls to the irq with astat&BT848_INT_RISC
 is a new frame which is not always the case). 

Any "insights" or even educated guesses what I should
be looking at would be appreciated. 


Terry Boult
Wl Pomar Prof. 
U. Colorado at Colorado Springs

Results of lspci00:00.0 Host bridge: Transmeta
Corporation LongRun Northbridge
00:00.1 RAM memory: Transmeta Corporation SDRAM
controller
00:00.2 RAM memory: Transmeta Corporation BIOS
scratchpad
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686
[Apollo Super South] (rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. Bus
Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI
USB (rev 10)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo
Super ACPI] (rev 30)
00:08.0 Ethernet controller: Realtek Semiconductor
Co., Ltd. RTL-8139 (rev 10)
00:09.0 VGA compatible controller: Chips and
Technologies F69000 HiQVideo (rev 64)
00:0b.0 Multimedia audio controller: ESS Technology
ES1969 Solo-1 Audiodrive (rev 02)
00:0f.0 Multimedia video controller: Brooktree
Corporation Bt878 (rev 11)
00:0f.1 Multimedia controller: Brooktree Corporation
Bt878 (rev 11)




### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "bttv video"
        type                    : 0xe9
[CAPTURE,OVERLAY,CLIPPING,FRAMERAM,SCALES]
        channels                : 2
        audios                  : 0
        maxwidth                : 768
        maxheight               : 480
        minwidth                : 48
        minheight               : 32

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "Composite0"
        tuners                  : 0
        flags                   : 0x2 [AUDIO]
        type                    : CAMERA
        norm                    : 1
    VIDIOCGCHAN(1)
        channel                 : 1
        name                    : "S-Video"
        tuners                  : 0
        flags                   : 0x2 [AUDIO]
        type                    : CAMERA
        norm                    : 1

tuner
    VIDIOCGTUNER
        tuner                   : 0
        name                    : "Television"
        rangelow                : 0
        rangehigh               : 4294967295
        flags                   : 0x7 [PAL,NTSC,SECAM]
        mode                    : NTSC
        signal                  : 65535

audio
    VIDIOCGAUDIO
        audio                   : 0
        volume                  : 0
        bass                    : 0
        treble                  : 0

picture
    VIDIOCGPICT
        brightness              : 32768
        hue                     : 32768
        colour                  : 32512
        contrast                : 27648
        whiteness               : 0
        depth                   : 0
        palette                 : RGB24

buffer
    VIDIOCGFBUF
        base                    : (nil)
        height                  : 768
        width                   : 1024
        depth                   : 16
        bytesperline            : 2048

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 320
        height                  : 240
        chromakey               : 0
        flags                   : 0







__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com




[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