From: Henry Bruce To: dimitri.bologna@marconicomms.com, jto@bdc.no, gmr@nextpath.com Subject: Linux driver for PPC2 Cc: whb@matthau.vvl.co.uk, dc@matthau.vvl.co.uk Hi, We have had a large number of requests for details on how to write a Linux driver for PPC2. As a result we have put together an developer's pack to help port the driver to non Wintel platforms. I have attached the following to this email - Developer decumentation - CPiA (chip at the heart of the camera) datasheet - Source code for a DOS test program (detail below) PP_TEST.ZIP which the source code for our CPiA test program. It accesses CPiA via the parallel port, but the commands will be the same. It offers high level functions (see below) so it should be enough to get you going. - Get Version - Goto LoPower - Goto HiPower - Goto Suspend - System test - Continuous Grab/Upload The program is broken into four modules - the top two are device independent and bottom two device specific pp_test.c Application layer cpia_cmd.c Wrappers for CPiA commands --------------------------------------------------------------------------- cpialink.c Mapping of CPiA commands to high level I/O calls pport.c Parallel port driver - perhaps something already exists in Linux I can't guarantee the level of support I can provide, but I have a personal interest in making this work. Best regards, Henry Bruce Software Development Manager VLSI Vision Ltd