From ramp@oddjob.uchicago.edu Sun, 2 Jul 2000 00:45:09 -0500 (CDT) Date: Sun, 2 Jul 2000 00:45:09 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] problems with cpia and xawtv I think you will need to edit your /root/.webcamrc to fill in the name of your webserver/account etc. for the 'webcam' program to work. HTH - Ram On Fri, 30 Jun 2000, Linux Webcam wrote: > > reading config file: /root/.webcamrc > video4linux webcam v1.2 - (c) 1998,99 Gerd Knorr > grabber config: size 320x240, input 0, norm 0, jpeg quality 75 > ftp config: > webcam@www:public_html/images > uploading.jpeg => webcam.jpeg > open /dev/video0: No such device > From ramp@oddjob.uchicago.edu Sun, 2 Jul 2000 00:54:36 -0500 (CDT) Date: Sun, 2 Jul 2000 00:54:36 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] more than one camera question .. I am a newbie but was thrilled to get my ezcam USB to work. Thanks to all the developers. I just have a couple of questions. 1. I was planning on getting a couple other cameras. How would the device names be. Is the following correct - mknod /dev/video1 c 81 1 mknod /dev/video2 c 81 2 A related question - How far away can the camera be placed. The longest available USB cable is 5 m but one could string HUBS in series. 2. Can one capture sound with this camera. The 'xawtv' program crashes every time I try to use sound. Some details about my setup: iMac running linuxppc - kernel 2.2.17pre6 with a 2.4.0-test2 USB backport. I apologize if this is a faq somewhere - Ram From jerdfelt@sventech.com Sun, 2 Jul 2000 02:27:38 -0400 Date: Sun, 2 Jul 2000 02:27:38 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] more than one camera question .. On Sun, Jul 02, 2000, Ramprasad Rao wrote: > > I am a newbie but was thrilled to get my ezcam USB to work. Thanks to all > the developers. I just have a couple of questions. > > 1. I was planning on getting a couple other cameras. How would the > device names be. Is the following correct - > > mknod /dev/video1 c 81 1 > mknod /dev/video2 c 81 2 Looks good. I think. I don't have a reference right now. > A related question - How far away can the camera be placed. The longest > available USB cable is 5 m but one could string HUBS in series. According to the USB specs, you can go 5 hubs deep. There is a maximum distance of 30 meters I believe. This would give with 6 5meter cables. > 2. Can one capture sound with this camera. The 'xawtv' program crashes > every time I try to use sound. > > Some details about my setup: > iMac running linuxppc - kernel 2.2.17pre6 with a 2.4.0-test2 USB backport. > > I apologize if this is a faq somewhere - Ram The CPiA camera has no sound. You'll need to use an external microphone. JE From ramp@oddjob.uchicago.edu Sun, 2 Jul 2000 01:39:38 -0500 (CDT) Date: Sun, 2 Jul 2000 01:39:38 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] more than one camera question .. JE - Thanks for your prompt response and also your work on linux drivers. Ram On Sun, 2 Jul 2000, Johannes Erdfelt wrote: > On Sun, Jul 02, 2000, Ramprasad Rao wrote: > > > > I am a newbie but was thrilled to get my ezcam USB to work. Thanks to all > > the developers. I just have a couple of questions. > > > > 1. I was planning on getting a couple other cameras. How would the > > device names be. Is the following correct - > > > > mknod /dev/video1 c 81 1 > > mknod /dev/video2 c 81 2 > > Looks good. I think. I don't have a reference right now. > > > A related question - How far away can the camera be placed. The longest > > available USB cable is 5 m but one could string HUBS in series. > > According to the USB specs, you can go 5 hubs deep. There is a maximum > distance of 30 meters I believe. This would give with 6 5meter cables. > > > 2. Can one capture sound with this camera. The 'xawtv' program crashes > > every time I try to use sound. > > > > Some details about my setup: > > iMac running linuxppc - kernel 2.2.17pre6 with a 2.4.0-test2 USB backport. > > > > I apologize if this is a faq somewhere - Ram > > The CPiA camera has no sound. You'll need to use an external microphone. > > JE > From LinuxWebcam@exchange.ware.net Sun, 2 Jul 2000 11:32:08 -0700 Date: Sun, 2 Jul 2000 11:32:08 -0700 From: Linux Webcam LinuxWebcam@exchange.ware.net Subject: [cpia] Problems compiling CPIA 1.0/USB I've upgraded to the 2.3.99pre9 Kernel, and I can't seem to compile the USB version of the CPIA 1.0 drivers. The PP and base module works. I have disabled the kernel support for CPIA, and have enabled USB-OHCI and the USB Core, as well as V4L. Any clues? Below, I commented out the PP defines, but it has the same errors regardless. TIA. Lance [root@linux module]# gcc -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-frame-pointer -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_USB_MODULE cpia_usb.c -o cpia_usb /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' /tmp/cctVbLFT.o: In function `cpia_usb_complete': /tmp/cctVbLFT.o(.text+0x9b): undefined reference to `printk' From sbertin@mindspring.com Sun, 2 Jul 2000 17:53:33 -0400 (EDT) Date: Sun, 2 Jul 2000 17:53:33 -0400 (EDT) From: sbertin@mindspring.com sbertin@mindspring.com Subject: [cpia] Problems compiling CPIA 1.0/USB On 2 Jul, Linux Webcam wrote: > I've upgraded to the 2.3.99pre9 Kernel, and I can't seem to compile the USB > version of the CPIA 1.0 drivers. > [root@linux module]# gcc -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 > -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-frame-pointer > -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE > -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_USB_MODULE cpia_usb.c -o > cpia_usb > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x18): undefined reference to `main' > /tmp/cctVbLFT.o: In function `cpia_usb_complete': > /tmp/cctVbLFT.o(.text+0x9b): undefined reference to `printk' You're missing a -c in your compile line. Scott J. Bertin sbertin@mindspring.com From ramp@oddjob.uchicago.edu Mon, 3 Jul 2000 03:49:01 -0500 (CDT) Date: Mon, 3 Jul 2000 03:49:01 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] two webcams simultaneously .. I'm trying to get two webcams to work at the same time. Both are on the same USB bus. Is this even possible. One is a cpia ezcam USB, the second one is a ibm xirlink I can get both of them to work (just not simultaneously). The ibm xirlink is closer while the ezcam is two hubs away. I have created /dev/video0 and /dev/video1 with /dev/video being a symlink /dev/video0 lrwxrwxrwx 1 root root 11 Jul 3 02:56 /dev/video -> /dev/video0 crw-rw-rw- 1 root root 81, 0 Jul 3 02:56 /dev/video0 crw-rw-rw- 1 root root 81, 1 Jul 3 02:52 /dev/video1 All this is running linuxppc with a 2.4.0test backport to 2.2.17pre6. Any ideas and suggestions will be most appreciated. Thanks in advance, Ram From hwaechtler@yahoo.com Mon, 3 Jul 2000 17:45:34 +0200 (CEST) Date: Mon, 3 Jul 2000 17:45:34 +0200 (CEST) From: Holger Waechtler hwaechtler@yahoo.com Subject: [cpia] two webcams simultaneously .. Hi Ramprasad, On Mon, 3 Jul 2000, Ramprasad Rao wrote: > I'm trying to get two webcams to work at the same time. Both are on the > same USB bus. Is this even possible. I tried this too and had the same problems. But fortunally everything works fine, if my app captures from both cameras (that's what I want). If two different processes try to access the cameras, they freeze. I have two terratec USB cams. Let me know, if you want my program to test. - Holger From ramp@oddjob.uchicago.edu Mon, 3 Jul 2000 19:38:43 -0500 (CDT) Date: Mon, 3 Jul 2000 19:38:43 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] RE: [Linux-usb-users] OHCI+CPiA problems? For some reason I can't get a cpia (ezcam) usb camera to go more than 3 hubs deep. The bizarre thing was that it was working this morning. Any ideas or should I exchange this camera. Ram Running usb 2.4.0test2 backport to 2.2.17pre6 on a linux/powerpc system Jul 3 19:29:38 c606201-a kernel: usb.c: USB new device connect, assigned device number 8 Jul 3 19:29:38 c606201-a kernel: usb.c: USB device not responding, giving up (e rror=-110) Jul 3 19:29:38 c606201-a kernel: usb.c: USB new device connect, assigned device number -1 Jul 3 19:29:38 c606201-a kernel: usb.c: USB device not accepting new address (e rror=-110) Jul 3 19:29:38 c606201-a kernel: usb.c: USB disconnect on device -1 From andy@bawue.de Tue, 4 Jul 2000 18:47:59 +0200 (MEST) Date: Tue, 4 Jul 2000 18:47:59 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] which webcam under linux Hello everybody ! I'm new here in the list - and I have a question ! I have a linux box (redhat 6.2 with kernel 2.2.14). I downloaded the kernel 2.2.16, also the USB patch available at http://www.suse.cz/development/usb-backport/ now I want purchase a webcam ! Is the terratec webcam the right one ? or which webcam can i use with my patched kernel ? It's impossible to get a none usb cam at this time ! all cam's have usb :-( Can anyone help ? Or can anyone give me some hints ? many thanks to all !!! Andy From Peter_Pregler@email.com Wed, 5 Jul 2000 09:13:50 +0200 Date: Wed, 5 Jul 2000 09:13:50 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] which webcam under linux On Tue, Jul 04, 2000 at 06:47:59PM +0200, Andreas Grzybowski wrote: > now I want purchase a webcam ! Is the terratec webcam the right one ? > or which webcam can i use with my patched kernel ? > It's impossible to get a none usb cam at this time ! > all cam's have usb :-( > > Can anyone help ? Or can anyone give me some hints ? AFAIK, the terratec-cam should work fine. All cameras supported by our driver have the same chip inside. So from the electronic specifications (resolution, compression, ...) there is no difference between the cameras. There might be differences with respect to lens quality, design, etc. but I have no idea which one is better with respect of those criteria. Anyone on the list has cameras from different vendors? In what do they differ? Anyway, all cameras known to work with our driver are listed at webcam.sourceforge.net. If you know of any additional model let us know. The most extensive list of supported usb-cameras is at www.linux-usb.org. Have fun, 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 From ramp@oddjob.uchicago.edu Wed, 5 Jul 2000 03:35:50 -0500 (CDT) Date: Wed, 5 Jul 2000 03:35:50 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] which webcam under linux I have two cameras - ezcam (cpia-usb) and ibm-xirlink (ibmcam) and the picture quality seems way better on the ezcam. Howvever the ibmcam seems to work under very low light levels and seems to have lots more bells and whistles. - Ram On Wed, 5 Jul 2000, Peter Pregler wrote: > On Tue, Jul 04, 2000 at 06:47:59PM +0200, Andreas Grzybowski wrote: > > now I want purchase a webcam ! Is the terratec webcam the right one ? > > or which webcam can i use with my patched kernel ? > > It's impossible to get a none usb cam at this time ! > > all cam's have usb :-( > > > > Can anyone help ? Or can anyone give me some hints ? > > AFAIK, the terratec-cam should work fine. All cameras supported by our > driver have the same chip inside. So from the electronic > specifications (resolution, compression, ...) there is no difference > between the cameras. There might be differences with respect to lens > quality, design, etc. but I have no idea which one is better with > respect of those criteria. Anyone on the list has cameras from > different vendors? In what do they differ? Anyway, all cameras known to > work with our driver are listed at webcam.sourceforge.net. If you know > of any additional model let us know. The most extensive list of > supported usb-cameras is at www.linux-usb.org. > > Have fun, 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 > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia > From ramp@oddjob.uchicago.edu Wed, 5 Jul 2000 13:14:52 -0500 (CDT) Date: Wed, 5 Jul 2000 13:14:52 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] RE: [Linux-usb-users] OHCI+CPiA problems? Hi everyone - Sorry it was my fault. Works now. The cable was loose. Ram On Mon, 3 Jul 2000, Ramprasad Rao wrote: > > > For some reason I can't get a cpia (ezcam) usb camera to go more than 3 hubs > deep. The bizarre thing was that it was working this morning. > From andy@bawue.de Wed, 5 Jul 2000 22:16:41 +0200 (MEST) Date: Wed, 5 Jul 2000 22:16:41 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] which webcam under linux Hello Peter, > AFAIK, the terratec-cam should work fine. All cameras supported by our > driver have the same chip inside. So from the electronic ok ! i'll purchase the webcam. i hope that it will work with my patched 2.2.16 kernel !!????!! > specifications (resolution, compression, ...) there is no difference > between the cameras. There might be differences with respect to lens > quality, design, etc. but I have no idea which one is better with > respect of those criteria. Anyone on the list has cameras from > different vendors? In what do they differ? Anyway, all cameras known to > work with our driver are listed at webcam.sourceforge.net. If you know > of any additional model let us know. The most extensive list of all right ! if i found andy additional model i will let you know ! > supported usb-cameras is at www.linux-usb.org. > > Have fun, Peter thanks peter for your help :-) Bye Andy ps: when my webcam is running i will post my url :-) From ramp@oddjob.uchicago.edu Wed, 5 Jul 2000 22:53:32 -0500 (CDT) Date: Wed, 5 Jul 2000 22:53:32 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] two webcams simultaneously .. Holger - I would be very interested in testing your code. Thanks - Ram On Mon, 3 Jul 2000, Holger Waechtler wrote: > > Hi Ramprasad, > > On Mon, 3 Jul 2000, Ramprasad Rao wrote: > > > I'm trying to get two webcams to work at the same time. Both are on the > > same USB bus. Is this even possible. > > I tried this too and had the same problems. But fortunally everything > works fine, if my app captures from both cameras (that's what I want). > If two different processes try to access the cameras, they freeze. > > I have two terratec USB cams. Let me know, if you want my program to test. > > - Holger > > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia > From csb@psouth.net Thu, 06 Jul 2000 23:09:47 -0400 Date: Thu, 06 Jul 2000 23:09:47 -0400 From: C. Bradford csb@psouth.net Subject: [cpia] Anybody have a clue? Hi everyone -- I've been screwing around with the cpia drivers for at least 2 months now trying to get the stuff to work. I can't get it to work for the life of me!! Currentl, I've got a fresh 2.2.16 kernel with the latest usb-backport drivers (OHCI - SIS chipset), and the cpia 1.0 drivers. I have an ezonics ezcam usb. Everything compiles and loads OK and the camera is detected. Thats the point that I keep getting stumped! Whats a good simple program to test the camera? I've tried a bunch of different ones... I currently have the latest xawtv installed, but it's crap and doesn't work. incidently, in my dmesg, I keep getting 'cpia data error' messages whenever I try a framegrab with xawtv.... I have a /dev/video0 device and a symlink from /dev/video to dev/video0... what else am I missing? I'm starting to think that I'm missing something really really really simple and basic.. one of those things nobody documents because it's expected knowledge. ANYBODY HAVE A CLUE? I really want this thing to work.. I know it can work because I hear about people using the damn cpia-usb cameras every day. What the hell am I missing? --Christopher Bradford From jack_diederich@email.com Fri, 7 Jul 2000 14:52:13 -0400 (EDT) Date: Fri, 7 Jul 2000 14:52:13 -0400 (EDT) From: Jack Diederich jack_diederich@email.com Subject: [cpia] Anybody have a clue? give gqcam a try, it should compile w/o having to do all the xawtv config stuff. Search on freshmeat or click here http://freshmeat.net/appindex/1999/04/29/925392408.html It is a straight forward proggie (no mmap or anything fancy) so if that doesn't work, make sure debugging messages are on in the cpia driver, and post the output to this list. -jackd ------Original Message------ From: "C. Bradford" To: cpia@risc.uni-linz.ac.at Sent: July 7, 2000 3:09:47 AM GMT Subject: [cpia] Anybody have a clue? Hi everyone -- I've been screwing around with the cpia drivers for at least 2 months now trying to get the stuff to work. I can't get it to work for the life of me!! Currentl, I've got a fresh 2.2.16 kernel with the latest usb-backport drivers (OHCI - SIS chipset), and the cpia 1.0 drivers. I have an ezonics ezcam usb. Everything compiles and loads OK and the camera is detected. Thats the point that I keep getting stumped! Whats a good simple program to test the camera? I've tried a bunch of different ones... I currently have the latest xawtv installed, but it's crap and doesn't work. incidently, in my dmesg, I keep getting 'cpia data error' messages whenever I try a framegrab with xawtv.... I have a /dev/video0 device and a symlink from /dev/video to dev/video0... what else am I missing? I'm starting to think that I'm missing something really really really simple and basic.. one of those things nobody documents because it's expected knowledge. ANYBODY HAVE A CLUE? I really want this thing to work.. I know it can work because I hear about people using the damn cpia-usb cameras every day. What the hell am I missing? --Christopher Bradford _______________________________________________ cpia mailing list - cpia@risc.uni-linz.ac.at http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com From gsibley@emory.edu Sat, 08 Jul 2000 23:06:02 -0400 Date: Sat, 08 Jul 2000 23:06:02 -0400 From: Gabe Sibley gsibley@emory.edu Subject: [cpia] data read error Hi all, I am having trouble getting my usb WonderEye cameras to work. When I try to read from /dev/video I get EIO. here is a snippet from dmesg: cpia_usb.c(1339374):cpia_usb_streamRead(389):Something went wrong! cpia.c(1339374):fetch_frame(2535):streamRead failed: -1 cpia.c(1339374):cpia_read(2971):upload failed 0/0 cpia.c(1339374):save_camera_state(2665):0/0/185/0/220/214/214/230 cpia.c(1339374):save_camera_state(2669):32/6/92 cpia.c(1339375):goto_low_power(2645):camera now in LOW power state Please let me know if anyone knows whar my problem is or has any ideas. Thanks a lot, Gabe From grebinsk@cgen.com Tue, 11 Jul 2000 23:30:48 -0400 Date: Tue, 11 Jul 2000 23:30:48 -0400 From: Vladimir Grebinskiy grebinsk@cgen.com Subject: [cpia] Problems with CPiA USB webcam Hi, I am trying to make my "Wonder Eye" USB webcam work with cpia driver. The "gqcam" works usually a few second and stops (I can kill with Ctrl-C and relaunch). In `dmesg` I see errors like this: cpia.c:parse_picture(1964):line length was not 1 but -1 after 4044/40312 bytes (see below for full text). It is funny, but if I set "contrast" to zero in gqcam, it works much longer. Switching to QCIF, hangs program immediately. I am running linux-i686-UP-2.4.0-test3 with Debian Potato. I tried drivers from webcam.sourceforge.net with the same results. Thanks in advance for any suggestions, Vladimir The computer is P3-500 with BX chipset `lspci` is: 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) 00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02) 00:0e.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06) 00:10.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 6c) 01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) # cat /proc/cpia/video0 read-only ----------------------- V4L Driver version: 0.7.4 CPIA Version: 1.30 (2.10) CPIA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0141 system_state: 0x02 grab_state: 0x34 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x00 debug_flags: 0x00 vp_status: 0x10 error_code: 0x97 video_size: CIF sub_sample: 422 yuv_order: YUYV roi: ( 0, 0) to (352, 288) actual_fps: 7 transfer_rate: 812kB/s read-write ----------------------- current min max default comment brightness: 50 0 100 50 contrast: 0 0 96 48 steps of 8 saturation: 50 0 100 50 sensor_fps: 15.000 3 30 15 stream_start_line: 240 0 288 240 ecp_timing: normal slow normal normal color_balance_mode: auto manual auto auto red_gain: 4 0 212 32 green_gain: 3 0 212 6 blue_gain: 99 0 212 92 max_gain: 2 1,2,4,8 2 exposure_mode: auto manual auto auto centre_weight: on off on on gain: 2 1 max_gain 1 1,2,4,8 possible fine_exp: 2 0 511 0 coarse_exp: 302 0 65535 185 red_comp: 220 220 255 220 green1_comp: 214 214 255 214 green2_comp: 214 214 255 214 blue_comp: 230 230 255 230 apcor_gain1: 0x1c 0x0 0xff 0x1c apcor_gain2: 0x1a 0x0 0xff 0x1a apcor_gain4: 0x2d 0x0 0xff 0x2d apcor_gain8: 0x2a 0x0 0xff 0x2a vl_offset_gain1: 24 0 255 24 vl_offset_gain2: 28 0 255 28 vl_offset_gain4: 30 0 255 30 vl_offset_gain8: 30 0 255 30 flicker_control: off off on off mains_frequency: 50 50 60 50 only 50/60 allowable_overexposure: 0 0 255 0 compression_mode: auto none,auto,manual auto decimation_enable: off off off off compression_target: quality framerate quality quality target_framerate: 7 0 30 7 target_quality: 10 0 255 10 y_threshold: 11 0 31 15 uv_threshold: 10 0 31 15 hysteresis: 3 0 255 3 threshold_max: 11 0 255 11 small_step: 1 0 255 1 large_step: 3 0 255 3 decimation_hysteresis: 2 0 255 2 fr_diff_step_thresh: 5 0 255 5 q_diff_step_thresh: 3 0 255 3 decimation_thresh_mod: 2 0 255 2 Error-log: V4L-Driver for Vision CPiA based cameras v0.7.4 usb.c: registered new driver cpia USB CPiA camera found CPiA Version: 1.30 (2.10) CPiA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0141 cpia data error: [1] len=217, status=FFFFFFAC cpia.c:parse_picture(1964):line length was not 1 but 0 after 24216/25734 bytes cpia data error: [7] len=229, status=FFFFFFAC cpia data error: [9] len=195, status=FFFFFFAC cpia data error: [4] len=231, status=FFFFFFAC cpia.c:parse_picture(1946):EOL not found giving up after 12330/15826 bytes cpia data error: [7] len=279, status=FFFFFFAC cpia data error: [3] len=218, status=FFFFFFAC cpia data error: [5] len=221, status=FFFFFFAC cpia data error: [6] len=199, status=FFFFFFAC cpia data error: [8] len=228, status=FFFFFFAC cpia data error: [2] len=203, status=FFFFFFAC cpia data error: [4] len=212, status=FFFFFFAC cpia data error: [5] len=245, status=FFFFFFAC cpia data error: [0] len=249, status=FFFFFFAC cpia data error: [2] len=213, status=FFFFFFAC cpia data error: [6] len=195, status=FFFFFFAC cpia data error: [4] len=243, status=FFFFFFAC cpia data error: [7] len=205, status=FFFFFFAC cpia data error: [3] len=245, status=FFFFFFAC cpia data error: [4] len=242, status=FFFFFFAC cpia data error: [1] len=192, status=FFFFFFAC cpia data error: [3] len=205, status=FFFFFFAC cpia data error: [7] len=213, status=FFFFFFAC cpia.c:parse_picture(1964):line length was not 1 but -2 after 1952/29322 bytes cpia data error: [8] len=236, status=FFFFFFAC cpia data error: [0] len=234, status=FFFFFFAC cpia data error: [2] len=194, status=FFFFFFAC cpia data error: [4] len=267, status=FFFFFFAC cpia data error: [1] len=205, status=FFFFFFAC cpia data error: [5] len=245, status=FFFFFFAC cpia data error: [7] len=207, status=FFFFFFAC cpia data error: [1] len=208, status=FFFFFFAC cpia data error: [3] len=211, status=FFFFFFAC cpia.c:parse_picture(1964):line length was not 1 but 0 after 20896/24518 bytes cpia data error: [3] len=218, status=FFFFFFAC cpia data error: [7] len=194, status=FFFFFFAC cpia data error: [9] len=202, status=FFFFFFAC cpia data error: [5] len=203, status=FFFFFFAC cpia.c:parse_picture(1964):line length was not 1 but -1 after 17065/21500 bytes cpia data error: [5] len=191, status=FFFFFFAC cpia data error: [7] len=204, status=FFFFFFAC cpia data error: [9] len=216, status=FFFFFFAC cpia data error: [1] len=186, status=FFFFFFAC .... From andy@bawue.de Wed, 12 Jul 2000 11:53:36 +0200 (MEST) Date: Wed, 12 Jul 2000 11:53:36 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] some questions again ! Hello everybody ! now I will purchase the folowing webcam from phillips: Philips Vesta (PCVC 675). on the ollowing page are some hints about this cam: http://www.smcc.demon.nl/webcam/ but the supported cam is the PCVC675K (Vesta) is my cam the same ? can i use them ? also i found the following page: http://www.hdk-berlin.de/~rasca/w3cam/ can i use this little cool tool with the phillips cam ? i will use this kind of kernel: 2.2.14-backport-99pre7-1 (release 5.02) ok - i now this are a lot of questions ! sorry for that but i'm very unsure which cam i should buy and which cam i can use under linux. i can purchase the phillips vesta cam very cheap - that's the reason for my ugly stupid questions. can anyone help me ? does the above should work fine ?! many many thanks to you ! bye AndY From Peter_Pregler@email.com Wed, 12 Jul 2000 13:21:21 +0200 Date: Wed, 12 Jul 2000 13:21:21 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] some questions again ! On Wed, Jul 12, 2000 at 11:53:36AM +0200, Andreas Grzybowski wrote: > Hello everybody ! > > now I will purchase the folowing webcam from phillips: > Philips Vesta (PCVC 675). > > on the ollowing page are some hints about this cam: > > http://www.smcc.demon.nl/webcam/ > > but the supported cam is the PCVC675K (Vesta) > is my cam the same ? can i use them ? Don't know. This list is about CPiA based cameras. The Philips is not. You better ask the driver writers for the Philips camera. -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 From Peter_Pregler@email.com Wed, 12 Jul 2000 13:25:59 +0200 Date: Wed, 12 Jul 2000 13:25:59 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Problems with CPiA USB webcam On Tue, Jul 11, 2000 at 11:30:48PM -0400, Vladimir Grebinskiy wrote: > > Error-log: > > V4L-Driver for Vision CPiA based cameras v0.7.4 > usb.c: registered new driver cpia > USB CPiA camera found > CPiA Version: 1.30 (2.10) > CPiA PnP-ID: 0553:0002:0100 > VP-Version: 1.0 0141 > cpia data error: [1] len=217, status=FFFFFFAC > cpia.c:parse_picture(1964):line length was not 1 but 0 after > 24216/25734 bytes Looks like some problem in the USB layer. Can you try out version 1.0 on webcam.sourceforge.net. -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 From tdat@yahoo.com Wed, 12 Jul 2000 09:02:56 -0700 (PDT) Date: Wed, 12 Jul 2000 09:02:56 -0700 (PDT) From: Sang Y. Yum tdat@yahoo.com Subject: [cpia] How to automate the module loading? All, I automated the module loading as much as possible. All the necessary modules get loaded by simply typing "modprobe cpia_pp". My /etc/conf.modules looks like this: pre-install parport_pc modprobe parport pre-install videodev modprobe parport_pc pre-install cpia modprobe videodev pre-install cpia_pp modprobe cpia post-install cpia_pp echo "compression_mode:none" >> /proc/cpia/video0 I want to automate this even further so that cpia_pp and all other modules would be loaded when, say, I execute gqcam. Is that possible? If so, how do I do it? Thanks. Sang ===== Sang Y. Yum http://www.yumnet.dyndns.org/~sang San Diego, CA mailto:tdat@yahoo.com __________________________________________________ Do You Yahoo!? Get Yahoo! Mail – Free email you can access from anywhere! http://mail.yahoo.com/ From sbertin@mindspring.com Wed, 12 Jul 2000 23:35:38 -0400 (EDT) Date: Wed, 12 Jul 2000 23:35:38 -0400 (EDT) From: sbertin@mindspring.com sbertin@mindspring.com Subject: [cpia] How to automate the module loading? On 12 Jul, Sang Y. Yum wrote: > I automated the module loading as much as possible. All the necessary > modules get loaded by simply typing "modprobe cpia_pp". My > /etc/conf.modules looks like this: > > pre-install parport_pc modprobe parport > pre-install videodev modprobe parport_pc > pre-install cpia modprobe videodev > pre-install cpia_pp modprobe cpia > post-install cpia_pp echo "compression_mode:none" >> /proc/cpia/video0 > > I want to automate this even further so that cpia_pp and all other > modules > would be loaded when, say, I execute gqcam. Is that possible? If so, how > do I do it? That looks like the hard way to do it. cpia will automatically load cpia_pp (and cpia_usb if it was compiled). Because cpia needs videodev, modprobe will automatically load videodev first. Because cpia_pp needs parport, modprobe will automatically load parport. If you set an alias for parport_lowlevel to parport_pc, parport will automatically load parport_pc. I haven't tried it, but if your camera is you only v4l device, you can probably alias char-major-81 to cpia and have everything happen automatically. To summarize: alias parport_lowlevel parport_pc alias char-major-81 cpia post-install cpia_pp echo "compression_mode:none" >> /proc/cpia/video0 and everything should work like magic. Scott J. Bertin sbertin@mindspring.com From jmbuena@dia.fi.upm.es Thu, 13 Jul 2000 11:50:21 +0200 Date: Thu, 13 Jul 2000 11:50:21 +0200 From: Jose Miguel Buenaposada Biencinto jmbuena@dia.fi.upm.es Subject: [cpia] CPia driver hangs the computer? Hi! I hope somebody knows what is happening ;). Well, I have a Zoom Cam USB and I'm using it with the 2.2.14 kernel, the USB backport (from 2.3.50 kernel) and the 1.0 CPia driver for linux. Well I'm developing a real time video processing application with it, using v4l and gtk+. The problem is that sometimes the biprocessor box I'm ussing is completly locked when I'm running mi app with KDE (is this important?) and the only thing I can do is restart the computer (neither pings nor change to a text console works).Of course, my program maybe is completly wrong but I think maybe there is a problem with the USB stack or the CPIA driver. The kernel 2.2.16 with the corresponding USB patch will be better ? Those are the last lines of the system log that I can read when the system reboots: Jul 13 10:23:30 hal kernel: usb.c: USB new device connect, assigned device number 2 Jul 13 10:23:30 hal kernel: Product: USB Camera Jul 13 10:23:30 hal kernel: USB CPiA camera found Jul 13 10:23:31 hal kernel: CPiA Version: 1.30 (2.10) Jul 13 10:23:31 hal kernel: CPiA PnP-ID: 0553:0002:0100 Jul 13 10:23:31 hal kernel: VP-Version: 1.0 0141 Jul 13 10:50:50 hal kernel: usb.c: USB disconnect on device 2 Jul 13 10:50:58 hal modprobe: modprobe: Can't locate module char-major-81-0 Jul 13 10:51:11 hal kernel: usb.c: USB new device connect, assigned device numbe r 2 Jul 13 10:51:11 hal kernel: Product: USB Camera Jul 13 10:51:11 hal kernel: USB CPiA camera found Jul 13 10:51:11 hal kernel: CPiA Version: 1.30 (2.10) Jul 13 10:51:11 hal kernel: CPiA PnP-ID: 0553:0002:0100 Jul 13 10:51:11 hal kernel: VP-Version: 1.0 0141 Jul 13 10:52:28 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1097 Jul 13 10:52:55 hal kernel: usb-uhci.c: interrupt, status 2, frame# 973 Jul 13 10:56:36 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1761 Jul 13 10:56:45 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1719 Jul 13 10:58:05 hal kernel: usb-uhci.c: interrupt, status 2, frame# 639 Jul 13 10:58:06 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1369 Jul 13 10:58:08 hal kernel: usb-uhci.c: interrupt, status 2, frame# 931 Jul 13 10:58:49 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1481 Jul 13 11:25:56 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1893 Jul 13 11:26:42 hal kernel: usb-uhci.c: interrupt, status 2, frame# 1356 Jul 13 11:26:48 hal kernel: usb-uhci.c: interrupt, status 2, frame# 682 Jul 13 11:26:56 hal kernel: usb-uhci.c: interrupt, status 2, frame# 900 Jul 13 11:27:00 hal kernel: usb-uhci.c: interrupt, status 2, frame# 614 Thanks in advance. Jose. -- ------------------------------------------------------------------- Jose Miguel Buenaposada Biencinto Facultad de Informática | Computer Science School Universidad Politécnica de Madrid (UPM) | Madrid Tech. University. Campus de Montegancedo s/n 28660 Boadilla del Monte, Madrid (ESPAÑA)| (SPAIN) Voice +34 91 336 69 47 e-mail: jmbuena@dia.fi.upm.es web : http://www.dia.fi.upm.es/~jmbuena ------------------------------------------------------------------- From Peter_Pregler@email.com Thu, 13 Jul 2000 14:02:26 +0200 Date: Thu, 13 Jul 2000 14:02:26 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] How to automate the module loading? On Wed, Jul 12, 2000 at 11:35:38PM -0400, sbertin@mindspring.com wrote: > I haven't tried it, but if your camera is you only v4l > device, you can probably alias char-major-81 to cpia and have everything > happen automatically. To summarize: > > alias parport_lowlevel parport_pc > alias char-major-81 cpia > post-install cpia_pp echo "compression_mode:none" >> /proc/cpia/video0 > > and everything should work like magic. On my box the following settings are sufficient to autoload everything correctly. The parport_pc stuff is only necessary to get DMA working. alias char-major-81 cpia_pp options parport_pc dma=3 irq=7 post-install parport_pc echo 7 >> /proc/parport/0/irq -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 From tdat@yahoo.com Thu, 13 Jul 2000 08:35:25 -0700 (PDT) Date: Thu, 13 Jul 2000 08:35:25 -0700 (PDT) From: Sang Y. Yum tdat@yahoo.com Subject: [cpia] How to automate the module loading? --- sbertin@mindspring.com wrote: [snip] > I haven't tried it, but if your camera is you only v4l > device, you can probably alias char-major-81 to cpia and have > everything Well, I also have a TV tuner card, which I think is one of the v4l devices. char-major-81 is already aliased to the driver for it. > happen automatically. To summarize: > > alias parport_lowlevel parport_pc > alias char-major-81 cpia > post-install cpia_pp echo "compression_mode:none" >> > /proc/cpia/video0 Here is my /etc/conf.modules in its entirety: alias eth0 3c59x alias char-major-81 bttv alias sound emu10k1 options char-major-81 vidmem=0xe20 pre-install bttv modprobe tuner options ide-cd ignore=hdd # tell the ide-cd module to ignore hdb alias scd0 sr_mod # load sr_mod upon access of scd0 pre-install sg modprobe ide-scsi # before sg, load ide-scsi pre-install sr_mod modprobe ide-scsi # before sr_mod, load ide-scsi pre-install parport_pc modprobe parport pre-install videodev modprobe parport_pc pre-install cpia modprobe videodev pre-install cpia_pp modprobe cpia post-install cpia_pp echo "compression_mode:none" >> /proc/cpia/video0 Thanks. Sang ===== Sang Y. Yum http://www.yumnet.dyndns.org/~sang San Diego, CA mailto:tdat@yahoo.com __________________________________________________ Do You Yahoo!? Get Yahoo! Mail – Free email you can access from anywhere! http://mail.yahoo.com/ From sbertin@mindspring.com Thu, 13 Jul 2000 11:26:11 -0400 (EDT) Date: Thu, 13 Jul 2000 11:26:11 -0400 (EDT) From: sbertin@mindspring.com sbertin@mindspring.com Subject: [cpia] cpia-1.1 release I've been hard at work integrating some feature of the Windows driver. There are four big changes: 1. Automatic sensor frame rate adjustment if the image is consistently over/under exposed and AEC is enabled. 2. The max_gain is now 8 by default for firmware > 1.02. 3. allowable_overexposure can be set automatically based on the brightness when flicker control is enabled. 4. AEC/ACB are now more effective for single frame grabs. In some cases though, AEC may switch back & forth between 2 exposure setings. I haven't found a solution to this yet other than turning off AEC after it reaches a good setting. Scott J. Bertin sbertin@mindspring.com 2000-07-13 v1.1 Patch from Arjan van de Ven - fixes illegal memory accesses in usb driver Patch from Scott J. Bertin - Clean up convert420 - No longer adjust compensation gains if they go below the minimum that can be set. - Added a timeout while waiting for the stream to become ready. - Incorporated parts of the Windows driver: - Fix some problems with the exposure settings. - Improved handling of camera parameters for the first frame. - Improved flicker control, including an "auto" setting for allowable_overexposure and monitoring for 1-02 firmware. - Automatic frame rate adjustment if AEC is enabled and the image is consistently over/under exposed. - If the stream state enters STREAM_PAUSED while waiting for STREAM_READY, clear it (untested). From jerdfelt@sventech.com Fri, 14 Jul 2000 12:14:28 -0400 Date: Fri, 14 Jul 2000 12:14:28 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] Problems with CPiA USB webcam On Wed, Jul 12, 2000, Peter Pregler wrote: > On Tue, Jul 11, 2000 at 11:30:48PM -0400, Vladimir Grebinskiy wrote: > > > > Error-log: > > > > V4L-Driver for Vision CPiA based cameras v0.7.4 > > usb.c: registered new driver cpia > > USB CPiA camera found > > CPiA Version: 1.30 (2.10) > > CPiA PnP-ID: 0553:0002:0100 > > VP-Version: 1.0 0141 > > cpia data error: [1] len=217, status=FFFFFFAC > > cpia.c:parse_picture(1964):line length was not 1 but 0 after > > 24216/25734 bytes > > Looks like some problem in the USB layer. Can you try out version 1.0 > on webcam.sourceforge.net. We should probably print those status codes in decimal instead of hex to make it easier to figure out what's wrong. The error above is -84 which is EILSEQ on i386. I forget what that code means off the top of my head, but I think it's a bitstuffing error. JE From grebinsk@cgen.com Fri, 14 Jul 2000 21:41:21 -0400 Date: Fri, 14 Jul 2000 21:41:21 -0400 From: Vladimir Grebinskiy grebinsk@cgen.com Subject: [cpia] Problems with CPiA USB webcam Peter Pregler wrote: > On Tue, Jul 11, 2000 at 11:30:48PM -0400, Vladimir Grebinskiy wrote: > > > > Error-log: > > > > V4L-Driver for Vision CPiA based cameras v0.7.4 > > usb.c: registered new driver cpia > > USB CPiA camera found > > CPiA Version: 1.30 (2.10) > > CPiA PnP-ID: 0553:0002:0100 > > VP-Version: 1.0 0141 > > cpia data error: [1] len=217, status=FFFFFFAC > > cpia.c:parse_picture(1964):line length was not 1 but 0 after > > 24216/25734 bytes > > Looks like some problem in the USB layer. Can you try out version 1.0 > on webcam.sourceforge.net. > > -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 Hi! Thank you for suggestions. I tried several things and here are my observations: 1. With driver 1.0: The Gqcam was working stable when I set "Contrast" to a small value like 0-10. When I increased this number I got I/O errors pretty soon. One thing I noticed is that frame rate with still image (that is when I am not moving in the camera) was getting from 7-8 fps to 10-11 even 15. The errors are the same as in previous letter. When contrast is set to 0, gqcam works just fine, though I was able to provoke I/O errors by quick change of lighting (or maybe it was a coincidence) 2. With driver 1.1 Overall it works better. With default parameters new gqcam does not hangs. However: 1. with contrast=0 new image is much less contrast (as expected?) vs. version 1.0; and 2. It still hangs with contrast/brightness both set to a high number. Error I got is: (from /var/log/kernel.log) Jul 14 21:28:15 vag kernel: cpia.c(224305):cpia_ioctl(3541):VIDIOCSPICT: 24 / 4 // 65024 / 32768 / 32000 / 65024 Jul 14 21:28:15 vag kernel: cpia.c(224321):dispatch_commands(2363):0 0 0 0 0 1 0 0 Jul 14 21:28:15 vag kernel: cpia.c(224321):dispatch_commands(2364):0 0 0 0 0 0 0 0 Jul 14 21:28:28 vag kernel: cpia.c:monitor_exposure(2810):Automatically decreasing sensor_fps Jul 14 21:28:28 vag kernel: cpia.c(225695):dispatch_commands(2363):0 0 0 0 0 0 0 0 Jul 14 21:28:28 vag kernel: cpia.c(225695):dispatch_commands(2364):0 0 0 0 1 0 1 0 Jul 14 21:28:30 vag kernel: cpia data error: [7] len=230, status=FFFFFFAC Jul 14 21:28:30 vag kernel: cpia.c:parse_picture(2288):line length was not 1 but -1 after 731/130470 bytes Jul 14 21:28:30 vag kernel: cpia.c(225859):fetch_frame(2996):parse_picture failed -1 Jul 14 21:28:30 vag kernel: cpia.c(225866):fetch_frame(2903):retry=1 Jul 14 21:28:35 vag kernel: cpia_usb.c(226351):cpia_usb_streamRead(391):Something went wrong! Jul 14 21:28:35 vag kernel: cpia.c(226351):fetch_frame(2963):streamRead failed: -1 Jul 14 21:28:35 vag kernel: cpia.c(226351):fetch_frame(2903):retry=2 Jul 14 21:28:35 vag kernel: cpia_usb.c(226351):cpia_usb_streamRead(391):Something went wrong! Jul 14 21:28:35 vag kernel: cpia.c(226351):fetch_frame(2963):streamRead failed: -1 Jul 14 21:28:35 vag kernel: cpia.c(226351):cpia_read(3384):upload failed 304128/0 Jul 14 21:28:35 vag kernel: cpia.c(226352):save_camera_state(3101):3/1/193/0/220/214/214/230 Jul 14 21:28:35 vag kernel: cpia.c(226352):save_camera_state(3105):26/73/86 Jul 14 21:28:35 vag kernel: cpia.c(226355):goto_low_power(3079):camera now in LOW power state Write me if you need more information, Vladimir From anoq@HardcoreProcessing.com Sun, 16 Jul 2000 14:37:09 +0200 Date: Sun, 16 Jul 2000 14:37:09 +0200 From: ANOQ of the Sun anoq@HardcoreProcessing.com Subject: [cpia] 3Com Homeconnect USB support... Hello! I've got a 3Com Homeconnect USB webcam. I tried building kernel 2.3.99pre9 and to patch it with CPiA 1.1. There was a lot of things during the kernel installation I had to do manually (and I don't even think that it's all 100% correct yet). But is the 3Com Homeconnect USB webcam supported in the first place? I have just mailed 3Com asking for hardware specs and/or Linux drivers. And I'm actually considering to develop this driver if it can be done within a few hours :) But is anybody else working on this? Just for the record, here is what I did for installing the kernel and all: Configure kernel 2.3.99pre9 Enable: USB USB audio Video For Linux CPiA driver CPiA lowlevel USB And I patched with the CPiA 1.1 source. I think it was: make unkernel-2.3 make kernel-2.3 Making the kernel: make dep make bzImage (and make bzdisk, since I boot from floppy) make modules make modules_install Make the /dev/video0 and /dev/video devices: mknod /dev/video0 c 81 0 ln -s /dev/video0 /dev/video Add the following to /etc/conf.modules: path[usb]=/lib/modules/`uname -r` path[usb]=/lib/modules/`kernelversion` path[usb]=/lib/modules Now I manually have to execute: insmod videodev (insmod usbcore complains: no module by that name found even though it's there) insmod cpia (insmod cpia_usb says: a module named cpia_usb already exists) After running insmod cpia I see /proc/cpia, but no /proc/cpia/video0 cpia-control won't run because of this. dmesg says: V4L-Driver for Vision CPiA based cameras v1.1.0 usb.c: registered new driver hub usb.c: registered new driver cpia Cheers -- http://www.HardcoreProcessing.com From tgogolin@web.de Sun, 16 Jul 2000 22:04:40 -0700 Date: Sun, 16 Jul 2000 22:04:40 -0700 From: Tobias Gogolin tgogolin@web.de Subject: [cpia] The Sensor defined Resolution Mode Hi All I am new to the List My Name is Tobias (As you can probably see in the from address) And my main reason for subscribing to this list is the 640 x 480 Resolution Mode The informed may know it is the real mode the highest supported by hardware ... is there allready an Implementation out there for this mode from a CPIA Source or is someone working on it ? Little candy for Webcam lovers - http://ultra.ens.uabc.mx/lvp one is a Quickcam Pro served by a mac the other CPI using Jan's driver (Panteltje) (You will be able to see why I want the Higher resolution mode for the CPIA cam too) cheers Tobias From Peter_Pregler@email.com Mon, 17 Jul 2000 10:35:01 +0200 Date: Mon, 17 Jul 2000 10:35:01 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] The Sensor defined Resolution Mode On Sun, Jul 16, 2000 at 10:04:40PM -0700, Tobias Gogolin wrote: > Hi All > > I am new to the List > My Name is Tobias (As you can probably see in the from address) > > And my main reason for subscribing to this list is > the 640 x 480 Resolution Mode > > The informed may know it is the real mode the highest supported by hardware > ... I am informed and I can tell you that the CPiA hardware we have written the drivers for cannot go 640x480. You are talking about a different chip. The detection is easy: /* Is it a CPiA? */ if (!((udev->descriptor.idVendor == 0x0553 && udev->descriptor.idProduct == 0x0002) || (udev->descriptor.idVendor == 0x0813 && udev->descriptor.idProduct == 0x0001))) /* GA 04/14/00 */ return NULL; The first one is a normal CPiA such as the Creative Webcam II, the second one is the Barbycam. In any case the highest resolution the chip can do is CIF. Greetings, 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 From Peter_Pregler@email.com Mon, 17 Jul 2000 10:44:47 +0200 Date: Mon, 17 Jul 2000 10:44:47 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] 3Com Homeconnect USB support... On Sun, Jul 16, 2000 at 02:37:09PM +0200, ANOQ of the Sun wrote: > > I've got a 3Com Homeconnect USB webcam. I tried > building kernel 2.3.99pre9 and to patch it with > CPiA 1.1. There was a lot of things during the > kernel installation I had to do manually > (and I don't even think that it's all 100% > correct yet). But is the 3Com Homeconnect USB > webcam supported in the first place? This seems to be a FAQ. If I understand the USB-stuff all one has to do is connect the camera to the USB-bus, boot linux with the core USB- support and check the Vendor/Product-Id in /proc. After that a short browsing of www.linux-usb-org should list you the necessary driver. As for this list which is about CPiA based cameras the correct IDs are: VendorId: 0553 ProductId: 0002 Also the Intel Play QX3 Microscope is supported: VendorId: 0813 ProductId: 0001 -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 From Peter_Pregler@email.com Mon, 17 Jul 2000 10:45:29 +0200 Date: Mon, 17 Jul 2000 10:45:29 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] The Sensor defined Resolution Mode On Mon, Jul 17, 2000 at 10:35:01AM +0200, Peter Pregler wrote: > > /* Is it a CPiA? */ > if (!((udev->descriptor.idVendor == 0x0553 && > udev->descriptor.idProduct == 0x0002) || > (udev->descriptor.idVendor == 0x0813 && > udev->descriptor.idProduct == 0x0001))) /* GA 04/14/00 */ > return NULL; > > The first one is a normal CPiA such as the Creative Webcam II, the > second one is the Barbycam. In any case the highest resolution the > chip can do is CIF. Ahem, the second one is the Intel Play QX3 Microscope. Silly me. -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 From tobias@ing.ens.uabc.mx Mon, 17 Jul 2000 12:18:22 -0700 Date: Mon, 17 Jul 2000 12:18:22 -0700 From: Tobias Gogolin tobias@ing.ens.uabc.mx Subject: [cpia] The Sensor defined Resolution Mode 640 x 480 > > The informed may know it is the real mode the highest supported by hardware > > ... > > I am informed and I can tell you that the CPiA hardware we have > written the drivers for cannot go 640x480. Yes sure and that is why Logitech doesnt want to give out the specs of theyr new Interface Mode Point is Is the sensor used to its fullest potential ? If it is a 300 k pixel sensor its not But every image ever captured with a cpia camera still contains the higher resolution data : Let me Quote some of the comunication I previously led with Jan :============================================================ Looking about what cameras are available out there I think I got a usefull step in understanding more about how these cameras really work ... One Manufacturer (Ezcam USB webcam ) http://www.ezonics.com/dual.html was advertizing 320 000 pixels cmos sensor and resolutions of 640 x 480 = 307200 That mapes pixel to pixel However color is needed 353 x 288 = 101376 I asume there is a filter mask either RGB or CMY So in this mode 3 proximate sensors with individual colors are combined to give one real color aproximation of the light that hits the 3 sensors required --------------------------- I believe the actual sensor is pretty much identical with the Logitech! Logitech is not relaesing its specs because they are more or less the same as others However they figured out - what I am trying to share with you now: > >640 x 480 = 307200 That mapes pixel to pixel ... > >In the highest resolution mode the filter is still in place ... > >Therefore in this mode the camera must try to extract the luminance from > >each pixel Lets Asume Pr = red filtered pixel Pg = green Pb = blue Pr(Pg, Pb) is really also going active with white and grays to black therefore each pixel contains luminance information as well after the capture data is available in a raster with 352 x 288 x 3 x 8 Bit color values We will need some insight of the allignment of the filter masks (you may want to put one under the Microscope :) If you take a lens and look at a delta screen mask of a color Tv every Red is surounded with 3 Pairs of GB same for Green and Blue Because I am concerned sensor makers may have found limitations in chiplayout to rectangular patterns its probably more likely chances are the filter is simply aligned RGBRGBRGBRGRB RGBRGBRGBRGRB RGBRGBRGBRGRB But that would be pretty ineficient especially for what I am saying could be done (or is done by logitech Maybe RGBRGBRGBRGRB BRGBRGBRGBRGRB GBRGBRGBRGRB RG B GB R BR G every block of 3 pixels is complete in itself if we could find out about the physical layout in rows and columns of the sensor or maybe there is even a spec about the filtered sensor ------------------------- Per software it is possible (the logitech implementation proves (not without little failures)) to remap the aquired 352 x 288 data onto a 640 x 480 map Its serious math to do it well : one would best distribute the color info on an area around the location of each filterd sensor (in the expanded file) - then one would go and see how much deviation from the low pass color area one has in an individual sensor cell and create a luminace vector out of the local deviation (cosidering filter color and low pass area color)(and initialy put that in a seperate map) when done combine the maps and have a full color 640 x 480 output ? Some examples: http://ultra.ens.uabc.mx/lvp/visdat/ciaA0473.jpg see the / slanted line on the left where high definition light and color changes get misrepresented into colorful ladders - clear evidence that they are using the technology I am describing http://ultra.ens.uabc.mx/lvp/visdat/d109102851430.jpg see how great it works to get the real detail out of low colorchange images look at the masoned stonewall lines. Again a high contrast /(slant) causes the seperationfaults http://vidar.ens.uabc.mx/lvp/visdat/d001902721500.jpg in comparison the low format analizis causes grainy and unaliased looking effects sometimes ladders apear not to have the color seperation fault However take the time and load the image with a zoomtool and look at the balcony and the luminance jagies those actually contain data that when properly layed out becomes valuable detail ========================================================== Anyhow I am glad to hear that I am talking to the developers themselve :) > I am informed and I can tell you that the CPiA hardware we have > written the drivers for I am looking forward to work with you on implementing the higher Resolution Mode ! If you consider It enough of a challenge that is ... cheers Tobias ----- Original Message ----- From: Peter Pregler To: Tobias Gogolin ; Sent: Monday, July 17, 2000 01:45 Subject: Re: [cpia] The Sensor defined Resolution Mode > On Mon, Jul 17, 2000 at 10:35:01AM +0200, Peter Pregler wrote: > > > > /* Is it a CPiA? */ > > if (!((udev->descriptor.idVendor == 0x0553 && > > udev->descriptor.idProduct == 0x0002) || > > (udev->descriptor.idVendor == 0x0813 && > > udev->descriptor.idProduct == 0x0001))) /* GA 04/14/00 */ > > return NULL; > > > > The first one is a normal CPiA such as the Creative Webcam II, the > > second one is the Barbycam. In any case the highest resolution the > > chip can do is CIF. > > Ahem, the second one is the Intel Play QX3 Microscope. Silly me. > > -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 > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia From tobias@ing.ens.uabc.mx Mon, 17 Jul 2000 13:24:56 -0700 Date: Mon, 17 Jul 2000 13:24:56 -0700 From: Tobias Gogolin tobias@ing.ens.uabc.mx Subject: [cpia] The Sensor defined Resolution Mode Ok forgive I just found the ST Vision site up again and the sensor detail And it is really only a 100k sensor So I guess it is pretty much used to capacity ? cheers Tobias ----- Original Message ----- From: Tobias Gogolin To: Peter Pregler ; Sent: Monday, July 17, 2000 12:18 Subject: Re: [cpia] The Sensor defined Resolution Mode > 640 x 480 > > > The informed may know it is the real mode the highest supported by > hardware > > > ... > > > > I am informed and I can tell you that the CPiA hardware we have > > written the drivers for cannot go 640x480. > > Yes sure and that is why Logitech doesnt want to give out the specs of theyr > new Interface Mode > Point is > > Is the sensor used to its fullest potential ? > If it is a 300 k pixel sensor its not > But every image ever captured with a cpia camera still contains the higher > resolution data : > > Let me Quote some of the comunication I previously led with Jan > :============================================================ > Looking about what cameras are available out there I think > I got a usefull step in understanding more about how these cameras really > work ... > > One Manufacturer (Ezcam USB webcam ) > http://www.ezonics.com/dual.html > was advertizing 320 000 pixels cmos sensor > and resolutions of > > 640 x 480 = 307200 That mapes pixel to pixel > However color is needed > 353 x 288 = 101376 > I asume there is a filter mask either RGB or CMY > So in this mode 3 proximate sensors with individual colors are combined > to give one real color aproximation of the light that hits the 3 sensors > required > --------------------------- > I believe the actual sensor is pretty much identical with the Logitech! > Logitech is not relaesing its specs because they are more or less the same > as others > However they figured out - what I am trying to share with you now: > > >640 x 480 = 307200 That mapes pixel to pixel > ... > > >In the highest resolution mode the filter is still in place > ... > > >Therefore in this mode the camera must try to extract the luminance from > > >each pixel > Lets Asume > Pr = red filtered pixel > Pg = green > Pb = blue > > Pr(Pg, Pb) is really also going active with white and grays to black > therefore each pixel contains luminance information as well > > after the capture data is available in a raster with > 352 x 288 x 3 x 8 Bit color values > > We will need some insight of the allignment of the filter masks > (you may want to put one under the Microscope :) > > If you take a lens and look at a delta screen mask of a color Tv every Red > is surounded with 3 Pairs of GB > same for Green and Blue > > Because I am concerned sensor makers may have found limitations in > chiplayout to rectangular patterns > its probably more likely chances are the filter is simply aligned > RGBRGBRGBRGRB > RGBRGBRGBRGRB > RGBRGBRGBRGRB > But that would be pretty ineficient especially for what I am saying could be > done (or is done by logitech > Maybe > RGBRGBRGBRGRB > BRGBRGBRGBRGRB > GBRGBRGBRGRB > > RG > B > > GB > R > > BR > G > > every block of 3 pixels is complete in itself > > if we could find out about the physical layout in rows and columns of the > sensor > or maybe there is even a spec about the filtered sensor > > ------------------------- > > Per software it is possible (the logitech implementation proves (not without > little failures)) to remap the aquired 352 x 288 data onto a 640 x 480 map > > Its serious math to do it well : > one would best distribute the color info on an area around the location of > each filterd sensor (in the expanded file) - then one would go and see how > much deviation from the low pass color area one has in an individual sensor > cell and create a luminace vector out of the local deviation (cosidering > filter color and low pass area color)(and initialy put that in a seperate > map) when done combine the maps and have a full color 640 x 480 output ? > > Some examples: > http://ultra.ens.uabc.mx/lvp/visdat/ciaA0473.jpg > see the / slanted line on the left where high definition light and color > changes get misrepresented into colorful ladders > - clear evidence that they are using the technology I am describing > > http://ultra.ens.uabc.mx/lvp/visdat/d109102851430.jpg > see how great it works to get the real detail out of low colorchange images > look at the masoned stonewall lines. Again a high contrast /(slant) causes > the seperationfaults > > http://vidar.ens.uabc.mx/lvp/visdat/d001902721500.jpg > in comparison the low format analizis causes grainy > and unaliased looking effects sometimes > ladders apear not to have the color seperation fault > However take the time and load the image with a zoomtool > and look at the balcony and the luminance jagies those actually > contain data that when properly layed out becomes valuable detail > > ========================================================== > > Anyhow I am glad to hear that I am talking to the developers themselve :) > > > I am informed and I can tell you that the CPiA hardware we have > > written the drivers for > > I am looking forward to work with you on implementing the higher Resolution > Mode ! > > If you consider It enough of a challenge that is ... > > cheers > > Tobias > > > ----- Original Message ----- > From: Peter Pregler > To: Tobias Gogolin ; > Sent: Monday, July 17, 2000 01:45 > Subject: Re: [cpia] The Sensor defined Resolution Mode > > > > On Mon, Jul 17, 2000 at 10:35:01AM +0200, Peter Pregler wrote: > > > > > > /* Is it a CPiA? */ > > > if (!((udev->descriptor.idVendor == 0x0553 && > > > udev->descriptor.idProduct == 0x0002) || > > > (udev->descriptor.idVendor == 0x0813 && > > > udev->descriptor.idProduct == 0x0001))) /* GA 04/14/00 */ > > > return NULL; > > > > > > The first one is a normal CPiA such as the Creative Webcam II, the > > > second one is the Barbycam. In any case the highest resolution the > > > chip can do is CIF. > > > > Ahem, the second one is the Intel Play QX3 Microscope. Silly me. > > > > -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 > > > > _______________________________________________ > > cpia mailing list - cpia@risc.uni-linz.ac.at > > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia > > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia From andy@bawue.de Wed, 19 Jul 2000 17:51:33 +0200 (MEST) Date: Wed, 19 Jul 2000 17:51:33 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] need some help/hints Hallo everybody ! now i have my webcam ! a creative webcam II parport. it was heavy to find one :-)) no i have a question. i want to grab pictures and then i want publish this pictures on my own website. how can i do this ? i can't find any documention or programm ! also i need a tool to convert png to jpg !! many thanks for your help ! the second think - i have also a webcam II usb - but it doesn't work here. when i boot up my linux mashine the cam is not seen and the driver will not be loaded. which module must i load ? the usbcore.o ? thanks !! bye AndY || || sounds different________http://www.badbeatz.com || subton__________________http://www.badbeatz.com/subton || || to raise a question mail to info@badbeatz.com || || PGP public key available. || From root@velenje.cx 20 Jul 2000 08:48:57 CEST Date: 20 Jul 2000 08:48:57 CEST From: Samo Gabrovec root@velenje.cx Subject: [cpia] cpia-control I haved saved my setup in a file. Now if i reboot i have to start cpia-control and load the state... is there a way to insert the saved state in to /proc/cpia/video0 with command line? thanks. Samo Gabrovec -- ---------------------------------------------------------------- visit http://www.velenje.cx ---------------------------------------------------------------- I haven't lost my mind, I know exactly where I left it. ---------------------------------------------------------------- From andy@bawue.de Thu, 20 Jul 2000 09:38:26 +0200 (MEST) Date: Thu, 20 Jul 2000 09:38:26 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] streaming video via www and webcam ?! Hello everybody !! sorry for my questions again ! but i need this information urgently ! is there a tool outside there, where i can stream video with my webcam II usb or parallel port under linux - and then to put this stream live into my webbrowser ? i need a live stream for a little project ! also i looking for a tool to capture online a snap in the webbrowser when a user refreshed the site !! w3cam doesn't work with my webcam II ! or which other solution can i use ! how did YOU solve this ?! can you give me some hints !? i have linux redhat 6.2 with kernel 2.2.16 patched with backport ! many many thanks to all ! Bye Andy From themooch@hawaii.rr.com Wed, 19 Jul 2000 22:29:50 -1000 Date: Wed, 19 Jul 2000 22:29:50 -1000 From: Eric Montgomery themooch@hawaii.rr.com Subject: [cpia] streaming video via www and webcam ?! --------------2549C6DBF09AC7C4471CAAAA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have sucessfully used the Cheetah Video Daemon (http://cheetah.netfx-2000.net/) for streaming video with the USB Webcam II. The only problem is he hasn't oficially released it yet. He's still cleaning up the code for it. I'm trying to get it back up and running with the 2.4 kernel, so I'll post my website address when I get it up and running again. Unfortunately, I can't give out the copy of it that I have. Try to contact them though and see if you can bug the living hell out of him and try to get a copy. Make sure you tell him that your cam does not have a tuner in it. He sent me one setup for no tuner. Meanwhile, I need to see if I can find his damned email address again..... Monty Andreas Grzybowski wrote: > Hello everybody !! > > sorry for my questions again ! but i need this information urgently ! > > is there a tool outside there, where i can stream video with my webcam II > usb or parallel port under linux - and then to put this stream live into > my webbrowser ? i need a live stream for a little project ! > > also i looking for a tool to capture online a snap in the webbrowser when > a user refreshed the site !! w3cam doesn't work with my webcam II ! > > or which other solution can i use ! how did YOU solve this ?! > can you give me some hints !? > > i have linux redhat 6.2 with kernel 2.2.16 patched with backport ! > > many many thanks to all ! > > Bye > Andy > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia -- Unix is sexy who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep --------------2549C6DBF09AC7C4471CAAAA Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I have sucessfully used the Cheetah Video Daemon (http://cheetah.netfx-2000.net/) for streaming video with the USB Webcam II. The only problem is he hasn't oficially released it yet. He's still cleaning up the code for it. I'm trying to get it back up and running with the 2.4 kernel, so I'll post my website address when I get it up and running again. Unfortunately, I can't give out the copy of it that I have. Try to contact them though and see if you can bug the living hell out of him and try to get a copy. Make sure you tell him that your cam does not have a tuner in it. He sent me one setup for no tuner. Meanwhile, I need to see if I can find his damned email address again.....

Monty

Andreas Grzybowski wrote:

Hello everybody !!

sorry for my questions again ! but i need this information urgently !

is there a tool outside there, where i can stream video with my webcam II
usb or parallel port under linux - and then to put this stream live into
my webbrowser ? i need a live stream for a little project !

also i looking for a tool to capture online a snap in the webbrowser when
a user refreshed the site !! w3cam doesn't work with my webcam II !

or which other solution can i use ! how did YOU solve this ?!
can you give me some hints !?

i have linux redhat 6.2 with kernel 2.2.16 patched with backport !

many many thanks to all !

Bye
Andy

_______________________________________________
cpia mailing list  -  cpia@risc.uni-linz.ac.at
http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia

-- 
Unix is sexy 
who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount;
 gasp; yes; uptime; umount; sleep
  --------------2549C6DBF09AC7C4471CAAAA-- From themooch@hawaii.rr.com Sat, 22 Jul 2000 12:05:20 -1000 Date: Sat, 22 Jul 2000 12:05:20 -1000 From: Eric Montgomery themooch@hawaii.rr.com Subject: [cpia] Cheetah Video Daemon --------------6C4A4744726DC597A0B0924A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Talked to Neil at Netfx yesterday, and found out that the Cheetah Video Daemon may be put up on the website next week. http://cheetah.netfx-2000.net/ If I remember correctly, this version, will have the tuner stuff still in it, but there may be some CPIA cameras out there that can use it still. No word on if/when a non-tuner version will be released. I'm working out one last bug, then I'll post a url to see it in action on a Creative Video Blaster Webcam II. Monty -- Unix is sexy who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep --------------6C4A4744726DC597A0B0924A Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
Talked to Neil at Netfx yesterday, and found out that the Cheetah Video Daemon may be put up on the website next week.
http://cheetah.netfx-2000.net/
If I remember correctly, this version, will have the tuner stuff still in it, but there may be some CPIA cameras out there that can use it still.
No word on if/when a non-tuner version will be released. I'm working out one last bug, then I'll post a url to see it in action on a Creative Video Blaster Webcam II.
Monty
-- 
Unix is sexy 
who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount;
 gasp; yes; uptime; umount; sleep
  --------------6C4A4744726DC597A0B0924A-- From themooch@hawaii.rr.com Sat, 22 Jul 2000 14:08:05 -1000 Date: Sat, 22 Jul 2000 14:08:05 -1000 From: Eric Montgomery themooch@hawaii.rr.com Subject: [cpia] Cheetah Video Daemon --------------10A8EB08E0A791D0C86DE08B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit OK! I think I have it up and running correctly now. try this link: themooch.dyndns.org/demo.html It's nothing fancy. I'm using the same html as the Cheetah website, but none of the snazzy graphics. Lemme know wha'cha think of it. Monty -- Unix is sexy who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep --------------10A8EB08E0A791D0C86DE08B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit OK! I think I have it up and running correctly now. try this link:

themooch.dyndns.org/demo.html

It's nothing fancy. I'm using the same html as the Cheetah website, but none of the snazzy graphics.

Lemme know wha'cha think of it.

Monty
 
 
 

-- 
Unix is sexy 
who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount;
 gasp; yes; uptime; umount; sleep
  --------------10A8EB08E0A791D0C86DE08B-- From tgogolin@web.de Sun, 23 Jul 2000 12:27:00 -0700 Date: Sun, 23 Jul 2000 12:27:00 -0700 From: Tobias Gogolin tgogolin@web.de Subject: [cpia] Cheetah Video Daemon This is a multi-part message in MIME format. ------=_NextPart_000_0049_01BFF4A1.4CD67BA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well great work=20 I looked at the viseo feeds and found two people in the office on this = sunday and the framerate was quite amazing considering it looked like they = really tranfered full images every time I am evaluating solutions for a live video feed myself currently and hope the Cheetah folks continue theyr good work... cheers Tobias ----- Original Message -----=20 From: Eric Montgomery=20 To: cpia@risc.uni-linz.ac.at=20 Sent: Saturday, July 22, 2000 15:05 Subject: [cpia] Cheetah Video Daemon Talked to Neil at Netfx yesterday, and found out that the Cheetah Video = Daemon may be put up on the website next week. http://cheetah.netfx-2000.net/ If I remember correctly, this version, will have the tuner stuff still = in it, but there may be some CPIA cameras out there that can use it = still. No word on if/when a non-tuner version will be released. I'm working out = one last bug, then I'll post a url to see it in action on a Creative = Video Blaster Webcam II. Monty --=20 Unix is sexy=20 who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep =20 ------=_NextPart_000_0049_01BFF4A1.4CD67BA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Well great work
I looked at the viseo feeds and found two people in = the office=20 on this sunday
and the framerate was quite amazing considering it = looked like=20 they really tranfered full images every time
 
I am evaluating solutions for a live video feed = myself=20 currently and
hope the Cheetah folks continue theyr good=20 work...
 
cheers
 
Tobias
 
----- Original Message -----
From:=20 Eric=20 Montgomery
To: cpia@risc.uni-linz.ac.at
Sent: Saturday, July 22, 2000 = 15:05
Subject: [cpia] Cheetah Video=20 Daemon

Talked to Neil at Netfx yesterday, and found =
out that the Cheetah Video Daemon may be put up on the website next =
week.
http://cheetah.netfx-2000.net/
If I remember correctly, this =
version, will have the tuner stuff still in it, but there may be some =
CPIA cameras out there that can use it still.
No word =
on if/when a non-tuner version will be released. I'm working out one =
last bug, then I'll post a url to see it in action on a Creative Video =
Blaster Webcam =
II.
Monty
-- 
Unix is sexy 
who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount;
 gasp; yes; uptime; umount; sleep
  = ------=_NextPart_000_0049_01BFF4A1.4CD67BA0-- From tgogolin@web.de Sun, 23 Jul 2000 12:49:07 -0700 Date: Sun, 23 Jul 2000 12:49:07 -0700 From: Tobias Gogolin tgogolin@web.de Subject: [cpia] Audio Configuration This is a multi-part message in MIME format. ------=_NextPart_000_005E_01BFF4A4.63B23320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I admit I am relativley new to Linux And this list might not be the designated to ask the question Can anybody give me some pointers how to get my Audiocard to work After all what is a live Video feet from the Cam without sound ? this is the scenario: 'harddrake' does not report to see anything under sound etc/sysconfig/hwconf has an entry for the Xwave PCI Card: Yamaha chipset XG=20 YMF 724 F-V=20 FCC ID LWHA301G50 I need to set up a module in conf.modules true ? where will I find this Do i need to know any further Hardware details (irq dma io) How can I find out under Linux ? Thanks if any one has any hints cheers Tobias ------=_NextPart_000_005E_01BFF4A4.63B23320 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I admit I am relativley new to Linux
And this list might not be the designated to ask the = question
 
Can anybody give me some pointers how to get my = Audiocard to=20 work
 
After all what is a live Video feet from the Cam = without sound=20 ?
 
this is the scenario:
 
'harddrake' does not report to see anything under = sound
 
etc/sysconfig/hwconf has an=20 entry
 
for the Xwave PCI Card:
 
Yamaha chipset XG
YMF 724 F-V
FCC ID LWHA301G50
 
I need to set up a module in conf.modules true ?
 
where will I find this
 
Do i need to know any further Hardware details (irq dma io)
How can I find out under Linux ?
 
Thanks if any one has any hints
 
cheers
 
Tobias
 
 
------=_NextPart_000_005E_01BFF4A4.63B23320-- From andy@bawue.de Mon, 24 Jul 2000 09:34:42 +0200 (MEST) Date: Mon, 24 Jul 2000 09:34:42 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] problems with camserv and a webcam II usb Hello everybody ! i'm still working to get my usb webcam II running with camserv ! but it still doesn't work. it seems that i'm a little stupid ? when i start camserv i get the following error: Attempting to use installation default: /usr/local/share/camserv.cfg 07-24 09:01 [camconfig] Using default of "2359296" for [main]:shm_alloc 07-24 09:01 [shm] shm key is -402039262 07-24 09:01 [mainloop] Setup signals 07-24 09:01 [filter] Loading filter [time_stamp] 07-24 09:01 [filter] Loading filter [jpg_filter] 07-24 09:01 [camconfig] Using default of "3" for [video_v4l_qcam]:mode 07-24 09:01 [camconfig] Using default of "0" for [video_v4l_qcam]:frequency (V4L) Frequency Setting: Das Argument ist ungltig (V4L) Picture Setting: Das Argument ist ungltig 07-24 09:01 [mainloop] Accepted new socket: 153.94.1.152 07-24 09:01 [mainloop] Error managing client! (Picture may not be taken yet) 07-24 09:01 [mainloop] Closing socket :153.94.1.152 07-24 09:01 [mainloop] Accepted new socket: 153.94.1.152 07-24 09:01 [mainloop] Closing socket :153.94.1.152 dmesg: usb-uhci.c: interrupt, status 2, frame# 747 usb_control/bulk_msg: timeout usb-uhci.c: interrupt, status 3, frame# 1754 usb-uhci.c: interrupt, status 3, frame# 1756 my cam is still working with vidcat and gqcam ! can anyone help me ? thanks bye AndY From andy@bawue.de Mon, 24 Jul 2000 14:59:18 +0200 (MEST) Date: Mon, 24 Jul 2000 14:59:18 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] two webcams at the same time Hello again ! is it possible to run two webcams at the same time ? one is par port webcam II the second is a webcam II usb ! the first uses /dev/video0 ! but - when i try to use the second cam i get the following messsage: no such device or device is busy ! i use /dev/video1 ! i have tried to use both cams with camstream and vidcat. my aim is to strem with one cam live into my webbrowser and the second only snap one pic. or that booth cams stream into the a webbrowser. i need this two cams for a project to view something over the web from two positions !! is it possible !?! thanks again for your help ! bye AndY From jylam@hangover.fr Mon, 24 Jul 2000 13:01:39 +0000 Date: Mon, 24 Jul 2000 13:01:39 +0000 From: jylam jylam@hangover.fr Subject: [cpia] two webcams at the same time Sorry, I can't resolve your problem, but one thing is boring me. I don't like guys who put ! everywhere. It is VERY crappy :) Sorry again :) Andreas Grzybowski wrote: > Hello again ! > > is it possible to run two webcams at the same time ? > one is par port webcam II > the second is a webcam II usb ! > > the first uses /dev/video0 ! > > but - when i try to use the second cam i get the following > messsage: no such device or device is busy ! > i use /dev/video1 ! > > i have tried to use both cams with camstream and vidcat. > my aim is to strem with one cam live into my webbrowser and the second > only snap one pic. or that booth cams stream into the a webbrowser. > i need this two cams for a project to view something over the web from two > positions !! is it possible !?! > > thanks again for your help ! > > bye > AndY > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia -- ,-------------------. ,------------------. |Jean-Yves Lamoureux \___/ Jylam@HangOver.fr | `-------------------------------^------------' Administrateur systeme Linux Hangover (http://www.hangover.fr) From sandhya@miller.cs.uwm.edu Tue, 25 Jul 2000 15:48:46 -0500 (CDT) Date: Tue, 25 Jul 2000 15:48:46 -0500 (CDT) From: Sandhya Puthan Veettil sandhya@miller.cs.uwm.edu Subject: [cpia] live video with Zoom Cam Hi, I am trying to get live video with CPiA Zoom Cam. I am running it in 2.3.5 kernel, using cpia driver. Can anybody tell me which is the best application to view live video ? Thanks sandhya From johannes@erdfelt.com Tue, 25 Jul 2000 17:55:58 -0400 Date: Tue, 25 Jul 2000 17:55:58 -0400 From: Johannes Erdfelt johannes@erdfelt.com Subject: [cpia] 2.4.0-test5-pre5 compile warning in cpia.c (fwd) Looks reasonable to me. JE ----- Forwarded message from Rasmus Andersen ----- From: Rasmus Andersen Subject: 2.4.0-test5-pre5 compile warning in cpia.c To: jerdfelt@sventech.com Date: Tue, 25 Jul 2000 23:45:44 +0200 (METDST) X-Mailer: ELM [version 2.4ME+ PL66 (25)] Hi. (I'm not sure that you are the maintainer for drivers/char/cpia.c so please accept my apologies if you are not.) When compiling cpia-support in-kernel (CONFIG_VIDEO_CPIA=y) I get the following warning: cpia.c:1298: warning: `proc_cpia_destroy' defined but not used Since this function is only used when the code is compiled and used as a module the following patch places the (hopefully) correct #ifdefs: --- drivers/char/cpia.c.org Tue Jul 25 23:25:09 2000 +++ drivers/char/cpia.c.new Tue Jul 25 23:25:47 2000 @@ -1294,10 +1294,12 @@ LOG("Unable to initialise /proc/cpia\n"); } +#ifdef MODULE static void proc_cpia_destroy(void) { remove_proc_entry("cpia", 0); } +#endif /*MODULE*/ #endif /* CONFIG_PROC_FS */ /* ----------------------- debug functions ---------------------- */ Regards, Rasmus(rasmus@diku.dk) An Emacs reference mug is what I want. It would hold ten gallons of coffee. -- Steve VanDevender ----- End forwarded message ----- From themooch@hawaii.rr.com Wed, 26 Jul 2000 21:44:43 -1000 Date: Wed, 26 Jul 2000 21:44:43 -1000 From: Eric Montgomery themooch@hawaii.rr.com Subject: [cpia] Cheetah Video Daemon!!!! --------------B9F142C7690CC89F543E2B58 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit OK! I have permission to start passing out the Cheetah Video Daemon. Those interested in giving it a try, please email me. The developers have asked that you NOT make it available on ANY ftp servers as it is not ready for final release. I will also be submitting a list of names and email addresses to the developers so that they may contact you if needed. They would like to keep track of who is testing it for now. Knowing what camera you will be using it with would be cool too. ----------WARNING!------------- This is not a final release! This is still a beta that was designed around the BT848 cards. The fact that I was able to use this with a cpia camera was a completely unexpected event. There are no guarantees that it will work with your camera. --------------------------------- I am currently using it with a Creative VideoBlaster II usb camera. To see it in action, go to: http://themooch.dyndns.org/demo.html http://themooch.dyndns.org/stream.html If you can't get a picture at one of the previous links, try this one http://themooch.dyndns.org/camtest.html (This one has a 15 second refresh) If you do not get a picture at any of those 3 links, you can go to the Cheetah Website. http://cheetah.netfx-2000.net/ Monty the Mooch -- Unix is sexy who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep --------------B9F142C7690CC89F543E2B58 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
OK! I have permission to start passing out the Cheetah Video Daemon.

Those interested in giving it a try, please email me.

The developers have asked that you NOT make it available on ANY ftp servers as it is not ready for final release.

I will also be submitting a list of names and email addresses to the developers so that they may contact you if needed.

They would like to keep track of who is testing it for now.

Knowing what camera you will be using it with would be cool too.

----------WARNING!-------------

This is not a final release! This is still a beta that was designed around the BT848 cards.

The fact that I was able to use this with a cpia camera was a completely unexpected event.

There are no guarantees that it will work with your camera.

---------------------------------

I am currently using it with a Creative VideoBlaster II usb camera.

To see it in action, go to:

http://themooch.dyndns.org/demo.html

http://themooch.dyndns.org/stream.html

If you can't get a picture at one of the previous links, try this one

http://themooch.dyndns.org/camtest.html (This one has a 15 second refresh)

If you do not get a picture at any of those 3 links, you can go to the Cheetah Website.

http://cheetah.netfx-2000.net/

Monty the Mooch

<excited as hell!!!>-- 
Unix is sexy 
who | grep -i blonde | date; cd ~;unzip; touch; strip; finger; mount;
 gasp; yes; uptime; umount; sleep
  --------------B9F142C7690CC89F543E2B58-- From andy@bawue.de Thu, 27 Jul 2000 10:49:47 +0200 (MEST) Date: Thu, 27 Jul 2000 10:49:47 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] Cheetah Video Daemon!!!! Hi Eric ! > http://themooch.dyndns.org/demo.html ok ! > http://themooch.dyndns.org/stream.html doesn't work ! > If you can't get a picture at one of the previous links, try this one > > http://themooch.dyndns.org/camtest.html (This one has a 15 second refresh) ok ! > If you do not get a picture at any of those 3 links, you can go to the Cheetah Website. > > http://cheetah.netfx-2000.net/ ok ! bye Andy From tgogolin@web.de Thu, 27 Jul 2000 12:18:14 -0700 Date: Thu, 27 Jul 2000 12:18:14 -0700 From: Tobias Gogolin tgogolin@web.de Subject: [cpia] Cheetah Video Daemon!!!! http://themooch.dyndns.org/camtest.html http://themooch.dyndns.org/demo.html Yes bings up the dancing Baby :) However demo redraws initially unclean ever refresh 'rolls' in multiple bars before it finds it place Unaccepatable for a videosource I tested in win 98 wirh ie5 and ns4.73 cheers t ----- Original Message ----- From: Andreas Grzybowski To: Eric Montgomery Cc: Sent: Thursday, July 27, 2000 01:49 Subject: Re: [cpia] Cheetah Video Daemon!!!! > Hi Eric ! > > > http://themooch.dyndns.org/demo.html > > ok ! > > > http://themooch.dyndns.org/stream.html > > doesn't work ! > > > If you can't get a picture at one of the previous links, try this one > > > > http://themooch.dyndns.org/camtest.html (This one has a 15 second refresh) > > ok ! > > > If you do not get a picture at any of those 3 links, you can go to the Cheetah Website. > > > > http://cheetah.netfx-2000.net/ > > ok ! > > bye > Andy > > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia From andy@bawue.de Fri, 28 Jul 2000 10:44:10 +0200 (MEST) Date: Fri, 28 Jul 2000 10:44:10 +0200 (MEST) From: Andreas Grzybowski andy@bawue.de Subject: [cpia] Cheetah Video Daemon!!!! Hello Eric !! > They would like to keep track of who is testing it for now. > > Knowing what camera you will be using it with would be cool too. ok ! it doesn't work ! i have a linux creative webcam II USB ! kernel version 2.2.16 with backport patch ! with camstream and vidcat my cam works fine. i got the following error: [root@idefix cvd]# cvd -v -d /dev/video0 -n 62.227.40.225 ioctl (VIDIOCGTUNER): Unable to get tuner info from hardware: Das Argument ist ungltig CVD starting ok, forking to background.. i don't know why !!! best, Andy From jmbuena@dia.fi.upm.es Fri, 28 Jul 2000 11:01:12 +0200 Date: Fri, 28 Jul 2000 11:01:12 +0200 From: Jose Miguel Buenaposada Biencinto jmbuena@dia.fi.upm.es Subject: [cpia] DMA & CPia parallel port Hi again ! Now I have purchase a Zoom Cam parallel port version. I want to use it in a P133 with kernel 2.2.14 & CPia driver version 1.1. My parallel port is ECP/EPP. And I have some problems/questions: - How can I active the DMA with the CPia driver ? + I load parport_pc with parameters: io=0x378 dma=3 irq=7 and I'm pretty sure all are free (looking in /proc/dma and /proc/irq). + Cpia driver is compiled with support DMA options but when I run gqcam the window is white only two!!! parport interrupts are processed and there is one kernel message: "Clearing stall" that cames from the driver function clear_stall. - If I load the parport_pc module without parameters the CPIA driver use PIO mode, so I only can get 2 frames per second :-(. And only at a resolution of 352x288 with is to large. If I try with QCIF I get a read error and the program aborts. But the interesting thing here is that the Windows Cpia driver is working with QCIF size at an acceptable frame rate (I think not in DMA mode). Can you help me to get an aceptable frame rate or a QCIF resollution. I can not figure out what to do. Thanks a lot in advance. -- ------------------------------------------------------------------- Jose Miguel Buenaposada Biencinto Facultad de Informática | Computer Science School Universidad Politécnica de Madrid (UPM) | Madrid Tech. University. Campus de Montegancedo s/n 28660 Boadilla del Monte, Madrid (ESPAÑA)| (SPAIN) Voice +34 91 336 69 47 e-mail: jmbuena@dia.fi.upm.es web : http://www.dia.fi.upm.es/~jmbuena ------------------------------------------------------------------- From tdat@yahoo.com Fri, 28 Jul 2000 12:55:02 -0700 (PDT) Date: Fri, 28 Jul 2000 12:55:02 -0700 (PDT) From: Sang Y. Yum tdat@yahoo.com Subject: [cpia] Cheetah Video Daemon!!!! --- Andreas Grzybowski wrote: > Hello Eric !! > ok ! it doesn't work ! i have a linux creative webcam II USB ! > kernel version 2.2.16 with backport patch ! with camstream and vidcat > my > cam works fine. i got the following error: > > [root@idefix cvd]# cvd -v -d /dev/video0 -n 62.227.40.225 > ioctl (VIDIOCGTUNER): Unable to get tuner info from hardware: Das > Argument > ist ungltig > CVD starting ok, forking to background.. I've got the same error and it didn't work. I think the "unable to get tuner..." message says it all. When I pointed CVD to my TV tuner card, it displayed a blue image. I will proabably have to adjust some other paramters. the camra I used was Creative WebCam II Parallel version. Sang ===== Sang Y. Yum http://www.yumnet.dyndns.org/~sang San Diego, CA mailto:tdat@yahoo.com __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ From Peter_Pregler@email.com Sat, 29 Jul 2000 18:21:34 +0200 Date: Sat, 29 Jul 2000 18:21:34 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Cheetah Video Daemon!!!! On Fri, Jul 28, 2000 at 10:44:10AM +0200, Andreas Grzybowski wrote: > ok ! it doesn't work ! i have a linux creative webcam II USB ! > kernel version 2.2.16 with backport patch ! with camstream and vidcat my > cam works fine. i got the following error: > > [root@idefix cvd]# cvd -v -d /dev/video0 -n 62.227.40.225 > ioctl (VIDIOCGTUNER): Unable to get tuner info from hardware: Das Argument > ist ungltig Hmmm, the message above is imho a bug of the software (or the configuration). The daemon should never try to get tuner-info from the camera. It should query the driver for the capabilities. The driver will report VID_TYPE_CAPTURE, i.e. it has no tuner only capture capability. So the daemon must not try to get further tuner information. -Peter -- Even the thought that a ship was waiting to take him back to Earth did not wipe out the sense of loss he felt at that moment. ------------------------------- Email: Peter_Pregler@email.com From gstalusan@uwaterloo.ca Sat, 29 Jul 2000 13:16:55 EDT Date: Sat, 29 Jul 2000 13:16:55 EDT From: George Talusan gstalusan@uwaterloo.ca Subject: [cpia] USB/SMP lockups I've been getting major lockups (sysrq doesn't work) when using my EZonics EZcam with an SMP-enabled kernel. Switching down to UP seems to not cause any lockups. I have used the stock usb-uhci and JE's uhci modules and the lock ups still happen. The problem manifests itself when open/close the camera repeated times. The programs I've been using are gqcam and libbgrab. My system is a dual Abit Bp6, 224mb, linux-2.4.0-test5. Also, I've been looking at cpia.c and in cpia_register_camera there is a comment nothing that the big kernel lock is acquired. But lock_kernel() appears nowhere, yet unlock_kernel() appears in the error paths (but not success!). Adding in or removing the appropriate lock/unlock pairs didn't seem to help any. -- - gst George Talusan, gstalusan@uwaterloo.ca From arjan@fenrus.demon.nl Sat, 29 Jul 2000 19:47:52 +0200 (CEST) Date: Sat, 29 Jul 2000 19:47:52 +0200 (CEST) From: Arjan van de Ven arjan@fenrus.demon.nl Subject: [cpia] USB/SMP lockups In article <200007291714.NAA02722@blanch.math.uwaterloo.ca> you wrote: > I've been getting major lockups (sysrq doesn't work) when > using my EZonics EZcam with an SMP-enabled kernel. Switching > down to UP seems to not cause any lockups. > My system is a dual Abit Bp6, 224mb, linux-2.4.0-test5. There are 2 things that cause a crash for you: 1) The cpia driver in 2.4.0-test5 does corrupt memory (fixed in the sourceforge version) 2) The USB stack in 2.4.0-testX has a very ugly race that is _very_ repeatable. I have informed the usb maintainer about this, but so far there has not been a fix Greetings, Arjan van de Ven From gstalusan@uwaterloo.ca Sat, 29 Jul 2000 13:52:31 EDT Date: Sat, 29 Jul 2000 13:52:31 EDT From: George Talusan gstalusan@uwaterloo.ca Subject: [cpia] USB/SMP lockups Oops, sorry for not mentioning it, but I am using cpia-0.1.1. cpia-0.7.4 has the same result. On Sat, 29 Jul 2000, arjan@fenrus.demon.nl (Arjan van de Ven) wrote: > > There are 2 things that cause a crash for you: > > 1) The cpia driver in 2.4.0-test5 does corrupt memory (fixed in the > sourceforge version) > 2) The USB stack in 2.4.0-testX has a very ugly race that is _very_ > repeatable. I have informed the usb maintainer about this, but so far > there has not been a fix > > Greetings, > Arjan van de Ven From Peter_Pregler@email.com Sat, 29 Jul 2000 18:53:47 +0200 Date: Sat, 29 Jul 2000 18:53:47 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] DMA & CPia parallel port On Fri, Jul 28, 2000 at 11:01:12AM +0200, Jose Miguel Buenaposada Biencinto wrote: > - How can I active the DMA with the CPia driver ? > + I load parport_pc with parameters: io=0x378 dma=3 irq=7 and I'm > pretty > sure all are free (looking in /proc/dma and /proc/irq). They will not be allocated (an therefore reported as free) as long as the camera device is not open. Make sure that the interrupt drive mode is activated in /proc/parport/0/irq. > + Cpia driver is compiled with support DMA options but when I run > gqcam the window is white only two!!! parport interrupts are > processed and > there is one kernel message: "Clearing stall" that cames from > the > driver function clear_stall. Can you compile the driver with debugging on and send us the complete syslog output (all from the beginning of inserting the parport driver to the crash of your application). Also the respective proc files (interrupt, dma, video/cpia, parport/...) would be nice. I just tried 1.1 and it stills works fine for me with 2.2.16 and DMA on. I get a thruput of about 400kB/sec with about 30% load on a PIII 350 CPU. -Peter -- Even the thought that a ship was waiting to take him back to Earth did not wipe out the sense of loss he felt at that moment. ------------------------------- Email: Peter_Pregler@email.com From jmbuena@isys.dia.fi.upm.es Mon, 31 Jul 2000 12:55:56 +0200 Date: Mon, 31 Jul 2000 12:55:56 +0200 From: Jose Miguel Buenaposada jmbuena@isys.dia.fi.upm.es Subject: [cpia] DMA & CPia Parallel port Hi again !! Peter, I send version some more information abaut my problems with the CPIA Zoom cam parport version. Well, I have been doing some other tests with no good results, kernel 2.2.14 (Redhat 6.1) and 1.1 Cpia driver version. I send you some information: - My BIOS sais: On Board Parallel Port : 378H On Board Parallel Mode: Normal or ECP or EPP or ECP/EPP ECP Mode Use DMA : 1 or 3 Parallel Port EPP type : EPP1.9 or EPP1.7 I have try ECP only mode and ECP/EPP mode with DMA 1 and 3 without good luck :-(. -------------------------------------------------------------------------------- My /proc/cpuinfo sais: processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 2 model name : Pentium 75 - 200 stepping : 12 cpu MHz : 132.956803 fdiv_bug : no hlt_bug : no sep_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 bogomips : 53.04 -------------------------------------------------------------------------------- My /proc/pci sais: PCI devices found: Bus 0, device 0, function 0: Host bridge: Intel 82437 (rev 2). Medium devsel. Master Capable. Latency=32. Bus 0, device 7, function 0: ISA bridge: Intel 82371FB PIIX ISA (rev 2). Medium devsel. Fast back-to-back capable. Master Capable. No bursts. Bus 0, device 7, function 1: IDE interface: Intel 82371FB PIIX IDE (rev 2). Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. I/O at 0x3000 [0x3001]. Bus 0, device 18, function 0: VGA compatible controller: S3 Inc. Trio32/Trio64 (rev 67). Medium devsel. IRQ 10. Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000]. -------------------------------------------------------------------------------- I have try loading parport_pc with DMA settings and without it. Only the PIO mode works and only with CIF size, with QCIF size I get a "read(...)" error and in /var/log/messages: cpia.c: parse_picture(2156): header not found And I can not read images anymore. At least with the 1.1 version of the driver I can read images with compression_mode:quality (with the 1.0 version I only can read images with compression_mode:none) up to 2 fps with CIF size. When I try to use dma I load cpia_pp in this way: /sbin/insmod parport /sbin/insmod parport_pc io=0x378 dma=3 irq=7 /sbin/insmod videodev /sbin/insmod cpia /sbin/insmod cpia_pp echo 7 >> /proc/parport/0/irq and the results: Jul 31 10:44:31 veronica kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [SPP,ECP,ECPEPP,ECPPS2] Jul 31 10:45:27 veronica kernel: Linux video capture interface: v1.00 Jul 31 10:45:30 veronica kernel: V4L-Driver for Vision CPiA based cameras v1.1.0 Jul 31 10:45:31 veronica insmod: /lib/modules/2.2.14-5.0/misc/cpia_pp.o: unresolved symbol cpia_unregister_camera Jul 31 10:45:31 veronica insmod: /lib/modules/2.2.14-5.0/misc/cpia_pp.o: unresolved symbol cpia_register_camera Jul 31 10:45:32 veronica kernel: Parallel port driver for Vision CPiA based cameras v1.1.0 Jul 31 10:45:32 veronica kernel: using DMA mode (irq 7, DMA 3) Jul 31 10:45:32 veronica kernel: CPiA Version: 1.20 (2.0) Jul 31 10:45:32 veronica kernel: CPiA PnP-ID: 0553:0002:0100 Jul 31 10:45:32 veronica kernel: VP-Version: 1.0 0100 Jul 31 10:45:32 veronica kernel: 1 camera(s) found On /proc/modules: cpia_pp 18680 0 cpia 60540 0 [cpia_pp] parport_pc 7252 1 [cpia_pp] parport 7380 1 [cpia_pp parport_pc] videodev 2432 1 [cpia] opl3 11272 0 sb 33908 0 uart401 6032 0 [sb] sound 58008 0 [opl3 sb uart401] soundlow 300 0 [sound] soundcore 2468 6 [sb sound] On /proc/cpia/video0 read-only ----------------------- V4L Driver version: 1.1.0 CPIA Version: 1.20 (2.0) CPIA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0100 system_state: 0x02 grab_state: 0x20 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x00 debug_flags: 0x00 vp_status: 0x10 error_code: 0x64 video_size: CIF roi: ( 0, 0) to (352, 288) actual_fps: 7 transfer_rate: 770kB/s read-write ----------------------- current min max default comment brightness: 50 0 100 50 contrast: 48 0 96 48 steps of 8 saturation: 50 0 100 50 sensor_fps: 15.000 3 30 15 stream_start_line: 240 0 288 240 sub_sample: 422 420 422 422 yuv_order: YUYV YUYV UYVY YUYV ecp_timing: normal slow normal normal color_balance_mode: auto manual auto auto red_gain: 51 0 212 32 green_gain: 3 0 212 6 blue_gain: 57 0 212 92 max_gain: 8 1 8 8 powers of 2 exposure_mode: auto manual auto auto centre_weight: on off on on gain: 4 1 max_gain 1 1,2,4,8 possible fine_exp: 2 0 510 0 coarse_exp: 200 0 302 185 red_comp: 220 220 255 220 green1_comp: 214 214 255 214 green2_comp: 214 214 255 214 blue_comp: 230 230 255 230 apcor_gain1: 0x18 0x0 0xff 0x1c apcor_gain2: 0x16 0x0 0xff 0x1a apcor_gain4: 0x24 0x0 0xff 0x2d apcor_gain8: 0x34 0x0 0xff 0x2a vl_offset_gain1: 20 0 255 24 vl_offset_gain2: 24 0 255 28 vl_offset_gain4: 26 0 255 30 vl_offset_gain8: 26 0 255 30 flicker_control: off off on off mains_frequency: 50 50 60 50 only 50/60 allowable_overexposure: 141auto auto 255 auto compression_mode: auto none,auto,manual auto decimation_enable: off off on off compression_target: quality framerate quality quality target_framerate: 15 1 30 15 target_quality: 5 1 64 5 y_threshold: 11 0 31 6 uv_threshold: 11 0 31 6 hysteresis: 3 0 255 3 threshold_max: 11 0 255 11 small_step: 1 0 255 1 large_step: 3 0 255 3 decimation_hysteresis: 2 0 255 2 fr_diff_step_thresh: 5 0 255 5 q_diff_step_thresh: 3 0 255 3 decimation_thresh_mod: 2 0 255 2 --------------------------------------------------------------------- After trying to read some images ( with no success :-( ): on /proc/dma 0: SoundBlaster8 3: cpia_pp 4: cascade 5: SoundBlaster16 on /proc/interrupts: CPU0 0: 69433 XT-PIC timer 1: 3032 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 3554 XT-PIC serial 5: 1493 XT-PIC soundblaster 7: 1 XT-PIC parport0 8: 1 XT-PIC rtc 13: 1 XT-PIC fpu 14: 1928 XT-PIC ide0 15: 475266 XT-PIC ide1 NMI: 0 When I kill my application I get: Jul 31 10:49:10 veronica kernel: cpia.c:clear_stall(2885):Clearing stall Jul 31 10:49:52 veronica kernel: cpia.c:clear_stall(2885):Clearing stall Jul 31 10:51:32 veronica kernel: cpia.c:clear_stall(2885):Clearing stall Jul 31 10:52:12 veronica kernel: cpia.c:clear_stall(2885):Clearing stall Well I hope I don't have broken hardware, I think this is not the reason. I will be happy only getting images in QCIF size, althougt I can not use DMA, but if I can work with DMA mode I'll be very, very happy. If you need some more information don't hesiate to contact me. Anyway thanks a lot for your time and your great work with the driver. Regards. José Miguel. -- ------------------------------------------------------------------- Jose Miguel Buenaposada Biencinto Facultad de Informática | Computer Science School Universidad Politécnica de Madrid (UPM) | Madrid Tech. University. Campus de Montegancedo s/n 28660 Boadilla del Monte, Madrid (ESPAÑA)| (SPAIN) Voice +34 91 336 69 47 e-mail: jmbuena@dia.fi.upm.es web : http://www.dia.fi.upm.es/~jmbuena -------------------------------------------------------------------