bt848 - FIFO overrun error

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



Hi,

 I am modifying the bt848 driver to accomodate 4 cameras.
The driver will eventually be used on an custom CPU
board.

 The scenario is as follow:

 The brooktree is attached to at least 2 cameras. The driver will
switch between the two inputs and the grabbed buffer will be compressed by a
client program.

 The scheduling list is as below:

   0 1 0 1 0 1 0 1 0 1

 0 - first camera
 1 - second camera

 I try to capture one input while compressing another input.
This way a frame buffer can always be ready instead of letting the
encoder process stays in idle while waiting for the frame grabber to
grab the next frame from the other input. In short, I try to capture one
frame
buffer in advance.

 The problem is when I tried to do this, FIFO over run condition
occurs (interrupt - FBUS). According to the manual, it is due to fact that
the PCI initiator
cannot gain control of the PCI bus, and the DMA controller is not able to
execute the necessary WRITE instructions.

 I tried to turn of the FIFO and the DMA engine, and turned on FIFO
again, but it is not working. The driver does not seem to be able to switch
camera because
it will always be trapped inside the interrupt routine.

 I wonder if anyone any solutions or ideas on how I can solve the problem?

 Thanks in advance.

regards,
chuan foong





[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