From s369494@student.uq.edu.au Thu, 04 Oct 2001 15:35:17 +1000 Date: Thu, 04 Oct 2001 15:35:17 +1000 From: Selma Kwong s369494@student.uq.edu.au Subject: [cpia] Help with parallel port driver in ECP mode For the interface between the microcontroller to the webcam, do I need to put some controller chip or buffer in between? I read in Jan Axelson's book (Parallel Port Complete) that I should put a 82C55 Programmable Peripheral Interface between. And I read somewhere people use a buffer such as the Fairchild 74ACT1284 in between. Does anyone know about these? Selma Peter Pregler wrote: > On Sun, Sep 30, 2001 at 12:33:51AM +1000, Selma Kwong wrote: > > * Vision PPC2 sample source - pp_test1.zip > > This is sample driver-code for dos/windows. > > > * Parallel port driver source code by STM - ppc2.zip > > IIRC this is the Windows driver source. > > > * In download: cpia-1.2.tgz, > > This is the latest release of the linux driver. > > > cpia-control-0.3.3.tgz, cpia-control_0.3.3-1_i386.deb > > This is a python-gtk application to write strings to the > /proc-filesystem to control the camera. > > > Which one should I use to start off with? I am planning to save > > program space by only implementing the ECP mode without buffering (no > > FIFO - asynchronous?). > > Best start with the pp_test.zip and get the chip-description to > implement a minimal driver. Especially the windows- and the > linux-driver do much more and have additional levels of abstractions > that you might not need for your microcontroller. > > -Peter > > -- > Feeling amorous, she looked under the sheets and cried, "Oh, no, > it's Microsoft!" > ------------------------------- > Email: Peter_Pregler@email.com From s369494@student.uq.edu.au Tue, 09 Oct 2001 13:12:28 +1000 Date: Tue, 09 Oct 2001 13:12:28 +1000 From: Selma Kwong s369494@student.uq.edu.au Subject: [cpia] How do I use the Makefile? Hello, I am trying to compile the par port driver (pp_test1.zip) for the Creative webcam II to run on the dos/windows under Windows 98. However I am not familiar with makefiles or make. I have MS Visual C++ on my machine but I can't don't have make in MS DOS Prompt. Do I have to compile the program on a Linux machine using the GNU Make? or can I run it on Windows as well? If anyone knows about this, can you please email me? Thanks in adavnce. Selma From s369494@student.uq.edu.au Tue, 09 Oct 2001 17:32:04 +1000 Date: Tue, 09 Oct 2001 17:32:04 +1000 From: Selma Kwong s369494@student.uq.edu.au Subject: [cpia] Which Make do I use? --------------62ADFAD3B955C393531FCE4B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am trying to compile the pp_test1.zip files and I think I need a special version of the make.exe which is not the one I have on my machine. I tried using two version of make but they were unsuccessful. Here is what I tried: D:\elec4801\programs\pp_test1>make MAKE Version 3.7 Copyright (c) 1987, 1994 Borland International Error makefile 50: Command syntax error *** 1 errors during make *** D:\elec4801\programs\pp_test1>make Failed to locate protected mode loader (DPMILOAD.EXE) Does anyone know which Make version will work and where I can download it? Thanks :) Selma --------------62ADFAD3B955C393531FCE4B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am trying to compile the pp_test1.zip files and I think I need a special version of the make.exe which is not the one I have on my machine.  I tried using two version of make but they were unsuccessful.  Here is what I tried:

D:\elec4801\programs\pp_test1>make
MAKE Version 3.7  Copyright (c) 1987, 1994 Borland International
Error makefile 50: Command syntax error
*** 1 errors during make ***

D:\elec4801\programs\pp_test1>make
Failed to locate protected mode loader (DPMILOAD.EXE)

Does anyone know which Make version will work and where I can download it?

Thanks :)

Selma --------------62ADFAD3B955C393531FCE4B-- From lists@janitorium.co.uk Wed, 10 Oct 2001 17:40:55 +0100 Date: Wed, 10 Oct 2001 17:40:55 +0100 From: Stuart Northfield lists@janitorium.co.uk Subject: [cpia] OT: Trying to identify camera... Sorry to be a bit off topic with my first post but I have just been given a webcam which I am unable to identify. The case assembly has no identification at all. The lens assembly is marked 'Vision 4.8mm' with a stylised V logo and the same logo and the word Vision appear on the PCB. The PCB also contains the following markings: JT HEAD REV 5-4 ML-401 94V0 PMG005CJTCVSN There is what I suspect to be a serial interface chip on the underside of the PCB marked co1a 532 (it seems to connect across to the i/o header where the cable is attached). I'm guessing this is probably made by VVL however I need to determine the chipset and connections (it currently has a lead connecting a 9-way header + ground on the PCB to a 9-pin mini-din plug & shield). The original owner is hunting for any documentation/software that my have come with it and believes it was bundled with a Time brand PC in the UK. Any suggestions gratefully received Stu From m_giggey@BeansYou.co.jp Thu, 11 Oct 2001 16:14:46 +0200 Date: Thu, 11 Oct 2001 16:14:46 +0200 From: Dragon m_giggey@BeansYou.co.jp Subject: [cpia] help -- not able to get intel QX3 up and running for display Sorry to bother every one with this seemingly simple question, but I just can't figure out where I am amiss here. I am running RH linux7.0 Kernel 2.4.10(stable) CPIA kernel-level enabled USB kernel-level enabled Video4Linux kernel-level enabled I verified the above by looking at the configure file. I used a cool application called USBVIEW to ensure that the camera and it's USB parameters are seen. They are. And the hot-pluging also works. So, I have confidence that the USB is working fine. Problem: I have tried EVERY software I could find and (sometimes only try to) compile and use them. Without exception none would give me any image from the camera. Some, that did seem agreeable to compile and use. The CPIA-1.2 client, gqcam griped and said: "/dev/video: No such device" It was not the only one. I have not been able to find any software to give me confidence about the V4L (as I have with the USB). Please advice where I messed up and how to rectify. Any advise appreciated. Thanks in advance. From rogerm@holliday.co.nz Fri, 12 Oct 2001 10:30:29 +1300 Date: Fri, 12 Oct 2001 10:30:29 +1300 From: Roger Monteith rogerm@holliday.co.nz Subject: [cpia] (no subject) >I'm guessing this is probably made by VVL however I need to determine >the chipset and connections (it currently has a lead connecting a >9-way header + ground on the PCB to a 9-pin mini-din plug & shield). >The original owner is hunting for any documentation/software that my >have come with it and believes it was bundled with a Time brand PC in >the UK. What you have there is a VVL camera head, but it was designed to plug into a PC card based on a combined modem/video capture chip... All the head generates is raw pixel data which is sent down the cable in a proprietory VVL format. Realistically unless you can find the card it was designed to plug into, and the drivers for it, you've got zero chance of getting pictures out of it. Had a quick look on the VVL website and there isn't even a data sheet for that sensor, the 401 on it any more... Roger From lists@janitorium.co.uk Fri, 12 Oct 2001 13:33:43 +0100 Date: Fri, 12 Oct 2001 13:33:43 +0100 From: Stuart Northfield lists@janitorium.co.uk Subject: [cpia] (no subject) > >I'm guessing this is probably made by VVL however I need to determine >>the chipset and connections (it currently has a lead connecting a >>9-way header + ground on the PCB to a 9-pin mini-din plug & shield). > >>The original owner is hunting for any documentation/software that my >>have come with it and believes it was bundled with a Time brand PC in >>the UK. > >What you have there is a VVL camera head, but it was designed to plug into a >PC card based on a combined modem/video capture chip... All the head >generates is raw pixel data which is sent down the cable in a proprietory >VVL format. Realistically unless you can find the card it was designed to >plug into, and the drivers for it, you've got zero chance of getting >pictures out of it. > >Had a quick look on the VVL website and there isn't even a data sheet for >that sensor, the 401 on it any more... Many thanks to all who responded privately or on list - as the original i/f card has long since disappeared I guess this is one for the big round filing cabinet. Oh well, back to hacking the PalmPix... Stu From diodice@dgitech.com Tue, 16 Oct 2001 11:22:39 -0400 Date: Tue, 16 Oct 2001 11:22:39 -0400 From: David Iodice diodice@dgitech.com Subject: [cpia] can't compile on RH7.1 Greetings, I tried compiling on my RH7.1 machine and got errors trying to compile cpia.c Any help would be appreciated here is the build log. gcc -c -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2 -fomit-f rame-pointer -pipe -fno-strength-reduce -m486 -malign-loops =2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-fram e-pointer -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VI DEO_CPIA_PP_MODULE -DCONFIG_VIDEO_CPIA_PP_DMA cpia.c cpia.c: In function `cpia_write_proc': cpia.c:652: warning: `val' might be used uninitialized in this function cpia.c: At top level: cpia.c:3906: warning: initialization from incompatible pointer type cpia.c:3907: warning: missing braces around initializer cpia.c:3907: warning: (near initialization for `cpia_template.name') cpia.c:3909: warning: initialization makes integer from pointer without a cast cpia.c:3909: initializer element is not computable at load time cpia.c:3909: (near initialization for `cpia_template.name[2]') cpia.c:3910: warning: initialization makes integer from pointer without a cast cpia.c:3910: initializer element is not computable at load time cpia.c:3910: (near initialization for `cpia_template.name[3]') cpia.c:3911: warning: initialization makes integer from pointer without a cast cpia.c:3911: initializer element is not computable at load time cpia.c:3911: (near initialization for `cpia_template.name[4]') cpia.c:3912: warning: initialization makes integer from pointer without a cast cpia.c:3913: warning: initialization makes integer from pointer without a cast cpia.c:3914: warning: initialization makes integer from pointer without a cast cpia.c:3914: initializer element is not computable at load time cpia.c:3914: (near initialization for `cpia_template.name[7]') cpia.c:3915: warning: initialization makes integer from pointer without a cast cpia.c:3915: initializer element is not computable at load time cpia.c:3915: (near initialization for `cpia_template.name[8]') cpia.c:3916: warning: initialization makes integer from pointer without a cast cpia.c:3916: initializer element is not computable at load time cpia.c:3916: (near initialization for `cpia_template.name[9]') cpia.c:3917: warning: initialization makes integer from pointer without a cast make: *** [cpia.o] Error 1