[cpia] cpia 0.6.0 and non ECP ports
sbertin@mindspring.com
sbertin@mindspring.com
Sat, 5 Feb 2000 23:00:20 -0500 (EST)
On 5 Feb, Nick Holloway wrote:
> I was wondering what it would take to implement nibble mode, as I've
> got an elderly Thinkpad laptop, where the parallel port is not ECP.
>
> Reading through the code for cpia and the 2.3 kernels, it looked as
> if ``it might just work''. I'm glad to say that it does (with a very
> minor patch). I haven't done extensive testing, but I've grabbed a few
> single frames.
This is not nibble mode. It is actually software emulated ECP. Nibble
more will require more changes than that. I suspect that we'll need to
write the code to do this directly (like ECP mode for 2.2 kernels)
because CPiA nibble mode is not the standard nibble mode.
> All I needed to do was to relax the test on the parport type in
> "cpia_pp_register", and allow PCSPP to be used. I suspect that the
> actual test may be different, but I leave that to someone who understands
> parallel port modes, and what the CPiA camera can be used with.
I tried your patch with my parallel port set to SPP and couldn't get it
to work. I'm guessing that it should check for PARPORT_MODE_TRISTATE, not
PARPORT_MODE_PCSPP. What do the logs say when your parallel port is
detected?
Scott J. Bertin
sbertin@mindspring.com