[cpia] cpia 0.6.0 and non ECP ports

Nick Holloway Nick.Holloway@alfie.demon.co.uk
6 Feb 2000 14:20:14 -0000


sbertin@mindspring.com writes:
> On  5 Feb, Nick Holloway wrote:
> > 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?

The kernel detects it as:

	parport0: PC-style at 0x3bc [PCSPP,TRISTATE]

So your guess would seem to correct.

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/