[cpia] message keeps repeating in logs "ECP direction: reverse" ?

Peter Pregler Peter_Pregler@email.com
Wed, 16 Aug 2000 16:42:20 +0200


On Wed, Aug 16, 2000 at 11:51:08AM +0200, Luc Stepniewski wrote:
> 
> I've been using successfully a creative labs webcam II on parallel
> port on a bi-Celeron machine, with kernel 2.2.x, getting 20 fps
> without any problem.  I've upgraded my machine to kernel
> 2.4.0-test6, which includes the CPIA module in standard (cool
> !). 

The 2.2.16 does include the driver as well.

> I've compiled the parport support with FIFO/DMA, and 1284
> transfer mode too.
[...]
> But, when I try to use it with xawtv (for example), the fps is sooooooo
> slow !
> (less than 5 fps). I noticed that the logs are filled with the following
> error/warning:
> parport0: ECP direction: reverse
> Aug 16 11:25:13 machine last message repeated 1251 times

This is just a debug-message of the parport people. Ignore it.

> As you can see, something is wrong :-) Can anyone tell me what to do ?
> Is this a bug in the kernel or in cpia ?

Due to massive changes in the 2.4.test version of the parport-driver
the cpia-driver cannot use its own dma/fifo-io code anymore, at least
not without major tweaking. Now since the proper parport ieee1284
transfer modes (fifo/dma streaming read) are not yet implemented for
2.4.x the underlying parport driver does as a last resort a read byte
by byte. I am actually astonished that you get 5fps. I wanted to write
the relevant parport driver code for 2.4.test since about March but
have neither found the energy nor time to do so. If anyone is
interested mail me. I can point you to the relevant code.

Sorry, Peter

-- 
I will not waste chalk. --Bart Simpson at the blackboard
--------------------------------------------------------
Email: Peter_Pregler@email.com
WWW:   http://www.risc.uni-linz.ac.at/people/ppregler
ICQ:   61011460