From afra@prongs.org Tue, 6 Jun 2000 09:57:30 -0400 (EDT) Date: Tue, 6 Jun 2000 09:57:30 -0400 (EDT) From: afra afra@prongs.org Subject: [cpia] Setting up Kernel 2.2 I am relatively knew to linux, so please forgive my "newbie-ness". I have a Creative Labs Webcam II and it is USB on kernel 2.2.15 . I implemented the Backport of 2.3 USB code to the 2.2 kernels and the patch worked. I get the extra USB options in the kernel during the config. However, when I untar the cpia driver and type 'make kernel-2.3' in the module/ subdirectory (as I have a USB), the patch does not work, complaining of hunks failing. Did I miss a step here? I tried 'make all', but this complained of a missing usb.h . Regardless, I tried the kernel config again and under Character Devices, I saw "Video For Linux". Under this option, there was the option for "CPiA Video For Linux" and upon checking this, the "CPiA Parallel Port Lowlevel Support" (and DMA) comes up, but NOT the USB option, although i do see it in Config.help . I would appreciate any help on this matter! Thanks Afra From arjan@fenrus.demon.nl Tue, 6 Jun 2000 18:18:21 +0200 (CEST) Date: Tue, 6 Jun 2000 18:18:21 +0200 (CEST) From: Arjan van de Ven arjan@fenrus.demon.nl Subject: [cpia] CPIA USB driver memory corruption Hi, The following patch fixs illegal memory accesses caused by the cpia driver in 2.4.0-test1-ac7. The cause was that a kfree'd pointer wasn't set to NULL so it was accessed as if it wasn't kfree'd. Greetings, Arjan van de Ven --- cpia_usb.c~ Fri Mar 31 04:00:01 2000 +++ cpia_usb.c Fri Jun 2 19:08:53 2000 @@ -260,8 +260,10 @@ error_all: kfree (ucpia->sbuf[1].data); + ucpia->sbuf[1].data = NULL; error_0: kfree (ucpia->sbuf[0].data); + ucpia->sbuf[0].data = NULL; return retval; } @@ -436,8 +438,9 @@ cpia_usb_free_resources(ucpia, 1); - if (!ucpia->present) + if (!ucpia->present) kfree(ucpia); + return 0; } @@ -590,8 +593,10 @@ ucpia->buffers[0] = NULL; } - if (!ucpia->open) + if (!ucpia->open) { kfree(ucpia); + cam->lowlevel_data = NULL; + } } int usb_cpia_init(void) From Peter_Pregler@email.com Wed, 7 Jun 2000 09:35:07 +0200 Date: Wed, 7 Jun 2000 09:35:07 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Setting up Kernel 2.2 Hi, the answer is short. Do not use 'make kernel-2.3' on the 2.2 series. There is a reason it is labelled 2.3. :) The kernel 2.2.15 already has a stripped down version of the cpia-driver for parport only. Patching that one with a different code base will clearly fail. So simply compile the driver in the untared directory (make sure the include-path goes to your new kernel-tree) as a module in that directory. Greetings, Peter On Tue, Jun 06, 2000 at 09:57:30AM -0400, afra wrote: > I am relatively knew to linux, so please forgive my "newbie-ness". > > I have a Creative Labs Webcam II and it is USB on kernel 2.2.15 . > > I implemented the Backport of 2.3 USB code to the 2.2 kernels and the > patch worked. I get the extra USB options in the kernel during the config. > > However, when I untar the cpia driver and type 'make kernel-2.3' in the > module/ subdirectory (as I have a USB), the patch does not work, > complaining of hunks failing. Did I miss a step here? I tried 'make all', > but this complained of a missing usb.h . > > Regardless, I tried the kernel config again and under Character Devices, I > saw "Video For Linux". Under this option, there was the option for "CPiA > Video For Linux" and upon checking this, the "CPiA Parallel Port Lowlevel > Support" (and DMA) comes up, but NOT the USB option, although i do see it > in Config.help . > > I would appreciate any help on this matter! > > Thanks > > Afra > > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia > -- 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 esotter@unimail.uninorte.edu.co Wed, 07 Jun 2000 17:08:13 -0500 Date: Wed, 07 Jun 2000 17:08:13 -0500 From: Edgar Alexander Sotter esotter@unimail.uninorte.edu.co Subject: [cpia] Drivers Hi, I need to install a webcam using Linux, do you know if there are drivers to Creative videoblaster webcam III for Linux???. Edgar **************************** ** EDGAR ALEXANDER SOTTER ** **** ING. ELECTRONICO **** *** TEL: (575) 3577354 *** **************************** _________________________________ Visita nuestro sitio Web en: http://uninorte.edu.co From jerdfelt@sventech.com Wed, 7 Jun 2000 19:58:11 -0400 Date: Wed, 7 Jun 2000 19:58:11 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] Drivers On Wed, Jun 07, 2000, Edgar Alexander Sotter wrote: > I need to install a webcam using Linux, do you know if there are drivers to > Creative videoblaster webcam III for Linux???. For USB yes. The OV511 driver supports that camera. You can find it in the 2.3 development series. Or more information at http://www.linux-usb.org JE From halset@pvv.ntnu.no Fri, 9 Jun 2000 15:59:27 +0200 (MET DST) Date: Fri, 9 Jun 2000 15:59:27 +0200 (MET DST) From: Tore Halset halset@pvv.ntnu.no Subject: [cpia] more than one camera Hello. I want to use two CPiA based cameras on one computer. How do I know which camera is on /dev/video0 and which on /dev/video1? Can they switch after a restart of the system? - Tore. From jerdfelt@sventech.com Fri, 9 Jun 2000 12:08:23 -0400 Date: Fri, 9 Jun 2000 12:08:23 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] more than one camera On Fri, Jun 09, 2000, Tore Halset wrote: > I want to use two CPiA based cameras on one computer. How do I know which > camera is on /dev/video0 and which on /dev/video1? Can they switch after > a restart of the system? Trial and error. There is no way to figure out which one is which right now. If they are USB cameras, they could switch after reboot depending on how the USB subsystem was started. If all of the devices were plugged in when the USB subsystem was started, and you rebooted the system the same way, then it'll most likely enumerate the same way. That's not quite a guarantee. JE From eggles@rsch.comm.mot.com Fri, 09 Jun 2000 17:14:04 -0500 Date: Fri, 09 Jun 2000 17:14:04 -0500 From: Joseph Eggleston eggles@rsch.comm.mot.com Subject: [cpia] frame rate I've been using the Webcam II under both linux (using cpia-1.0) and NT. I've noticed that NT gets about twice the frame rate that gqcam gets. Adding vic on linux cuts the frame rate in half again (about 5fps using vic on linux). Does anyone have any suggestions on how to get better frame rate? From jack_diederich@email.com Fri, 9 Jun 2000 19:25:24 -0400 (EDT) Date: Fri, 9 Jun 2000 19:25:24 -0400 (EDT) From: Jack Diederich jack_diederich@email.com Subject: [cpia] frame rate I'm assuming you have a version of gqcam > 0.6 (before that it was hard coded at 2 frames per second). Make sure to use the '-F' option to grab frames as quickly as possible. Then echo to /proc/cpia/video0 'sensor_fps=30' and 'target_framerate=30' and you should be able to get about 30 fps when the image isn't changing. About 15 fps is all you can expect when the image is changing costantly. The defaults in /proc/cpia/videoX are set to something lower, like 15 fps. On the other hand, this is all you really need because it isn't going much higher than 15 fps when alot of action is happening on camera. On my PIII 500Mhz 30 fps sucks up to 40% CPU. If this doesn work for you, or you have other problems w/ gqcam please post here. I did the threading on that app, and tried specifcally to support as high a framerate as possible. -jack ------Original Message------ From: Joseph Eggleston To: cpia@risc.uni-linz.ac.at Sent: June 9, 2000 10:14:04 PM GMT Subject: [cpia] frame rate I've been using the Webcam II under both linux (using cpia-1.0) and NT. I've noticed that NT gets about twice the frame rate that gqcam gets. Adding vic on linux cuts the frame rate in half again (about 5fps using vic on linux). Does anyone have any suggestions on how to get better frame rate? _______________________________________________ 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 sbertin@mindspring.com Sat, 10 Jun 2000 08:08:51 -0400 (EDT) Date: Sat, 10 Jun 2000 08:08:51 -0400 (EDT) From: sbertin@mindspring.com sbertin@mindspring.com Subject: [cpia] frame rate On 9 Jun, Joseph Eggleston wrote: > I've been using the Webcam II under both linux (using cpia-1.0) and NT. > I've noticed that NT gets about twice the frame rate that gqcam gets. > Adding vic on linux cuts the frame rate in half again (about 5fps using > vic on linux). Does anyone have any suggestions on how to get better > frame rate? If a reduction in image quality is acceptable, you can try enabling YUV420 (echo "sub_sample: 420" > /proc/cpia/video0) or decimation (echo "decimation_enable: on" > /proc/cpia/video0). Both of these settings are new with 1.0. Scott J. Bertin sbertin@mindspring.com From themooch@hawaii.rr.com Mon, 12 Jun 2000 17:02:27 -1000 Date: Mon, 12 Jun 2000 17:02:27 -1000 From: Monty the Mooch themooch@hawaii.rr.com Subject: [cpia] Other Software? I have my Creative Video Blaster II (usb) up and running fine. It has been for weeks. Now I want to find a decent proggie that'll allow me to put the cam on a webpage. Either as a stream or as an updated/refreshed pic. Any ideas? I have as of yet to get camserve to work. mcam is for the parallel port version. TIA!! Monty From gerard@saraber.dhs.org Wed, 14 Jun 2000 19:26:04 -0500 Date: Wed, 14 Jun 2000 19:26:04 -0500 From: Gerard Saraber gerard@saraber.dhs.org Subject: [cpia] cpia 1.0 bugreport Hi, I've been playing with my noname usb webcam, works great with gqcam.. however "fame" (Fast Assembly Mpeg Encoder) deadlocks my box consistently.. I'm running the 2.3.99-pre9 with the cpia 1.0 drivers installed into the source tree.. My system is a dual Celeron 433 (not overclocked) and i'm trying to run fame 0.1.3 ( http://www-eleves.enst-bretagne.fr/~chappeli/fame/ ) looking through the fame sourcecode it has some defaults set, like grab 320x240 at 25 fps, changing those to what gqcam reports 352x288 at 15fps. i've put the output of /proc/cpia/video0 below, maybe it helps any.. I'd like to think i'm pretty good at C but I have no idea how to even begin to debug this deadlock, not to mention it takes my system 15 minutes to startup and fix all the filesystem errors :-/ email me if you need more details.. Thanks, Gerard Saraber gerard@saraber.dhs.org http://www.rarcoa.com From gerard@saraber.dhs.org Wed, 14 Jun 2000 19:27:47 -0500 Date: Wed, 14 Jun 2000 19:27:47 -0500 From: Gerard Saraber gerard@saraber.dhs.org Subject: [cpia] cpia 1.0 bugreport [part 2] woops forgot to attach the proc output... [gerard@hagel gerard]$ cat /proc/cpia/video0 read-only ----------------------- V4L Driver version: 1.0.0 CPIA Version: 1.30 (2.10) CPIA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0141 system_state: 0x02 grab_state: 0x18 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x00 debug_flags: 0x00 vp_status: 0x10 error_code: 0x8b video_size: CIF roi: ( 0, 0) to (352, 288) actual_fps: 8 transfer_rate: 613kB/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: 3 0 212 32 green_gain: 144 0 212 6 blue_gain: 212 0 212 92 max_gain: 2 1 8 2 powers of 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: 279 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 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 sorry about that Gerard Saraber gerard@saraber.dhs.org http://www.rarcoa.com From jerdfelt@sventech.com Wed, 14 Jun 2000 21:57:17 -0400 Date: Wed, 14 Jun 2000 21:57:17 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] cpia 1.0 bugreport On Wed, Jun 14, 2000, Gerard Saraber wrote: > I've been playing with my noname usb webcam, works great with gqcam.. > however "fame" (Fast Assembly Mpeg Encoder) deadlocks my box > consistently.. By deadlock do you mean it completely locks up your machine or the fame process gets stuck in D? > I'm running the 2.3.99-pre9 with the cpia 1.0 drivers installed into the > source tree.. > My system is a dual Celeron 433 (not overclocked) and i'm trying to run > fame 0.1.3 ( http://www-eleves.enst-bretagne.fr/~chappeli/fame/ ) > looking through the fame sourcecode it has some defaults set, like grab > 320x240 at 25 fps, changing those to what gqcam reports 352x288 at > 15fps. Try using the cpia driver which comes with 2.3.99-pre9 > i've put the output of /proc/cpia/video0 below, maybe it helps any.. > I'd like to think i'm pretty good at C but I have no idea how to even > begin to debug this deadlock, not to mention it takes my system 15 > minutes to startup and fix all the filesystem errors :-/ > > email me if you need more details.. How long does it take to lockup? JE From arjan@fenrus.demon.nl Thu, 15 Jun 2000 08:17:13 +0200 (CEST) Date: Thu, 15 Jun 2000 08:17:13 +0200 (CEST) From: Arjan van de Ven arjan@fenrus.demon.nl Subject: [cpia] cpia 1.0 bugreport In article <3948229C.4C4DD4CF@saraber.dhs.org> you wrote: > My system is a dual Celeron 433 (not overclocked) and i'm trying to run There are 2 bad pieces of code in this case. The CPIA one can be fixed with the patch below, the usb one is more tricky. Basically, the UHCI USB driver (the "backend" driver for your mobo) has some serious deadlocks on SMP systems. These are reported to Alan Cox and should appear on the "todo" list really soon. Greetings, Arjan van de Ven --- cpia_usb.c~ Fri Mar 31 04:00:01 2000 +++ cpia_usb.c Fri Jun 2 19:08:53 2000 @@ -260,8 +260,10 @@ error_all: kfree (ucpia->sbuf[1].data); + ucpia->sbuf[1].data = NULL; error_0: kfree (ucpia->sbuf[0].data); + ucpia->sbuf[0].data = NULL; return retval; } @@ -436,8 +438,9 @@ cpia_usb_free_resources(ucpia, 1); - if (!ucpia->present) + if (!ucpia->present) kfree(ucpia); + return 0; } @@ -590,8 +593,10 @@ ucpia->buffers[0] = NULL; } - if (!ucpia->open) + if (!ucpia->open) { kfree(ucpia); + cam->lowlevel_data = NULL; + } } int usb_cpia_init(void) From jerdfelt@sventech.com Thu, 15 Jun 2000 02:41:46 -0400 Date: Thu, 15 Jun 2000 02:41:46 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] cpia 1.0 bugreport On Thu, Jun 15, 2000, Arjan van de Ven wrote: > In article <3948229C.4C4DD4CF@saraber.dhs.org> you wrote: > > > My system is a dual Celeron 433 (not overclocked) and i'm trying to run > > There are 2 bad pieces of code in this case. The CPIA one can be fixed > with the patch below, the usb one is more tricky. Basically, the UHCI > USB driver (the "backend" driver for your mobo) has some serious deadlocks > on SMP systems. These are reported to Alan Cox and should appear on the > "todo" list really soon. Seeing as I maintain one of the UHCI drivers, I'd be really interested in finding some more information. I do some substantial testing on SMP systems during my testing of the driver and I've fixed all of the bugs I've run into. I haven't run into any problems recently. Do you have any more information? JE From gerard@saraber.dhs.org Thu, 15 Jun 2000 20:06:11 -0500 Date: Thu, 15 Jun 2000 20:06:11 -0500 From: Gerard Saraber gerard@saraber.dhs.org Subject: [cpia] cpia 1.0 bugreport Johannes Erdfelt wrote: > > On Thu, Jun 15, 2000, Arjan van de Ven wrote: > > In article <3948229C.4C4DD4CF@saraber.dhs.org> you wrote: > > > > > My system is a dual Celeron 433 (not overclocked) and i'm trying to run > > > > There are 2 bad pieces of code in this case. The CPIA one can be fixed > > with the patch below, the usb one is more tricky. Basically, the UHCI > > USB driver (the "backend" driver for your mobo) has some serious deadlocks > > on SMP systems. These are reported to Alan Cox and should appear on the > > "todo" list really soon. > > Seeing as I maintain one of the UHCI drivers, I'd be really interested > in finding some more information. I do some substantial testing on SMP > systems during my testing of the driver and I've fixed all of the bugs > I've run into. I haven't run into any problems recently. > > Do you have any more information? > > JE Exactly what information are you looking for ? It's an Abit BP6 mainboard, usb controller: 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) umm lets see, as I said i'm running linux kernel 2.3.99-pre9 with the cpia 1.0 drivers (from sourceforge) copied into the kernel tree.. I have an hpt366 UDMA/ATA66 ide controller onboard in use, i suppose its possible that the deadlock occurs when it's reading from the video4linux device and writing to disk at the same time ? let me know if there is anything you want me to try or any /proc output you want to look at... I'll try Arjans patch next (bedankt!) and see if it does anything different... Thanks, Gerard Saraber gerard@saraber.dhs.org http://www.rarcoa.com From jerdfelt@sventech.com Thu, 15 Jun 2000 21:30:13 -0400 Date: Thu, 15 Jun 2000 21:30:13 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] cpia 1.0 bugreport On Thu, Jun 15, 2000, Gerard Saraber wrote: > Johannes Erdfelt wrote: > > > > On Thu, Jun 15, 2000, Arjan van de Ven wrote: > > > In article <3948229C.4C4DD4CF@saraber.dhs.org> you wrote: > > > > > > > My system is a dual Celeron 433 (not overclocked) and i'm trying to run > > > > > > There are 2 bad pieces of code in this case. The CPIA one can be fixed > > > with the patch below, the usb one is more tricky. Basically, the UHCI > > > USB driver (the "backend" driver for your mobo) has some serious deadlocks > > > on SMP systems. These are reported to Alan Cox and should appear on the > > > "todo" list really soon. > > > > Seeing as I maintain one of the UHCI drivers, I'd be really interested > > in finding some more information. I do some substantial testing on SMP > > systems during my testing of the driver and I've fixed all of the bugs > > I've run into. I haven't run into any problems recently. > > > > Do you have any more information? > > Exactly what information are you looking for ? Well, my question was to Arjan about the bugs he was talking about. > It's an Abit BP6 mainboard, > usb controller: 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 > USB (rev 01) > > umm lets see, as I said i'm running linux kernel 2.3.99-pre9 with the > cpia 1.0 drivers (from sourceforge) copied into the kernel tree.. > I have an hpt366 UDMA/ATA66 ide controller onboard in use, i suppose its > possible that the deadlock occurs when it's reading from the video4linux > device and writing to disk at the same time ? I doubt it. Usually 2 devices don't interfere like to cause a deadlock. Bad hardware could cause problems. > let me know if there is anything you want me to try or any /proc output > you want to look at... > I'll try Arjans patch next (bedankt!) and see if it does anything > different... His patch would fix problems exitting. Not while the device was open. Did you try the other UHCI driver? (I forget which one you used) Also, I think I asked already, but why didn't you use the cpia driver that came with 2.3.99-pre9? JE From gerard@saraber.dhs.org Thu, 15 Jun 2000 22:51:51 -0500 Date: Thu, 15 Jun 2000 22:51:51 -0500 From: Gerard Saraber gerard@saraber.dhs.org Subject: [cpia] cpia 1.0 bugreport Johannes Erdfelt wrote: > [snip] > > > > Exactly what information are you looking for ? > > Well, my question was to Arjan about the bugs he was talking about. ah ok :-) > > > It's an Abit BP6 mainboard, > > usb controller: 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 > > USB (rev 01) > > > > umm lets see, as I said i'm running linux kernel 2.3.99-pre9 with the > > cpia 1.0 drivers (from sourceforge) copied into the kernel tree.. > > I have an hpt366 UDMA/ATA66 ide controller onboard in use, i suppose its > > possible that the deadlock occurs when it's reading from the video4linux > > device and writing to disk at the same time ? > > I doubt it. Usually 2 devices don't interfere like to cause a deadlock. > Bad hardware could cause problems. > > > let me know if there is anything you want me to try or any /proc output > > you want to look at... > > I'll try Arjans patch next (bedankt!) and see if it does anything > > different... > > His patch would fix problems exitting. Not while the device was open. > Did you try the other UHCI driver? (I forget which one you used) great idea, gonna try that .. I couldn't get Arjans patch to apply, maybe its a diff between different versions than I have ? > > Also, I think I asked already, but why didn't you use the cpia driver > that came with 2.3.99-pre9? > > JE because that's an older version and deadlocks even when using gqcam .. Thanks, Gerard Saraber gerard@saraber.dhs.org http://www.rarcoa.com From gerard@saraber.dhs.org Thu, 15 Jun 2000 22:54:33 -0500 Date: Thu, 15 Jun 2000 22:54:33 -0500 From: Gerard Saraber gerard@saraber.dhs.org Subject: [cpia] cpia 1.0 bugreport Johannes Erdfelt wrote: > > > Also, I think I asked already, but why didn't you use the cpia driver > that came with 2.3.99-pre9? > > JE I was using the "alternate" one, with JE? support ... switching to the other one the "original" PIIX driver. recompiling now.. Thanks, Gerard Saraber gerard@saraber.dhs.org http://www.rarcoa.com From themooch@hawaii.rr.com Mon, 19 Jun 2000 19:21:18 -1000 Date: Mon, 19 Jun 2000 19:21:18 -1000 From: Monty the Mooch themooch@hawaii.rr.com Subject: [cpia] Frequency problems. I don't have a tuner gosh darnit! Most of the programs I try for putting my creative Video Blaster II (USB version) don't work for me because they all ask for a tuner or tuner frequency. V4L doesn't seem to have much support for non-tuner type devices. The latest attempt starts, but fails because of tuner problems. Help! Monty From Peter_Pregler@email.com Tue, 20 Jun 2000 08:43:18 +0200 Date: Tue, 20 Jun 2000 08:43:18 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Frequency problems. I don't have a tuner gosh darnit! On Mon, Jun 19, 2000 at 07:21:18PM -1000, Monty the Mooch wrote: > Most of the programs I try for putting my creative Video Blaster II (USB > version) don't work for me because they all ask for a tuner or tuner > frequency. V4L doesn't seem to have much support for non-tuner type > devices. The latest attempt starts, but fails because of tuner problems. > Help! The cpia-driver reports that it has no tuner. That is about all a device driver should do. Applications that still try to set tuner frequencies are simply broken. So you will have to bitch the application developers. In this special case the v4l-api is not the problem. May I ask what applications you tried? -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 sandhya@miller.cs.uwm.edu Tue, 20 Jun 2000 11:05:11 -0500 (CDT) Date: Tue, 20 Jun 2000 11:05:11 -0500 (CDT) From: Sandhya Puthan Veettil sandhya@miller.cs.uwm.edu Subject: [cpia] Creative WebCam II USB with 2.3.5 Hi, I installed the kernel 2.3.5. Enabled Loadable Module support and Set version information for on symbols for modules. I compiled the kernel, then did a "make modules" and "make modules_install". But still I can not find any modules under /lib/modules/2.3.5 . (It has only modules.dep and dummy.o under net dir.) Can anybody tell me which option I should enable to get the modules in /lib/modules/2.3.5 ? Or how to do "insmod" for usbcore, usb-uhci, cpia and videodev ? Thanks sandhya From fabiano.reis@uol.com.br Tue, 20 Jun 2000 13:09:50 -0300 Date: Tue, 20 Jun 2000 13:09:50 -0300 From: Fabiano Reis fabiano.reis@uol.com.br Subject: [cpia] OV511 Chip. There is a protocol to communicate with this chip... Is there specs to know more about this proto? Thanks - Fabiano Reis From jerdfelt@sventech.com Tue, 20 Jun 2000 12:22:35 -0400 Date: Tue, 20 Jun 2000 12:22:35 -0400 From: Johannes Erdfelt jerdfelt@sventech.com Subject: [cpia] OV511 Chip. On Tue, Jun 20, 2000, Fabiano Reis wrote: > There is a protocol to communicate with this chip... > > Is there specs to know more about this proto? There is a driver for it already. I think it was reverse engineered. Take a look at ov511.c in any recent 2.3 (or 2.4) kernel. JE From nikom@merl.com Tue, 20 Jun 2000 12:59:33 -0400 Date: Tue, 20 Jun 2000 12:59:33 -0400 From: Jacob Nikom nikom@merl.com Subject: [cpia] Creative WebCam II USB with 2.3.5 Which USB options you have to turn on (say "Y"): (Also look at http://linuxusbguide.sourceforge.net/USB-guide-1.0.6/c122.html) # version 2.3.99-pre5 # USB support # # # USB support # CONFIG_USB=y CONFIG_USB_DEBUG=y CONFIG_USB_DEVICEFS=y CONFIG_USB_UHCI=y # CONFIG_USB_OHCI is not set # CONFIG_USB_PRINTER is not set # CONFIG_USB_SCANNER is not set # CONFIG_USB_AUDIO is not set # CONFIG_USB_ACM is not set # CONFIG_USB_SERIAL is not set # CONFIG_USB_IBMCAM is not set # CONFIG_USB_OV511 is not set # CONFIG_USB_DC2XX is not set # CONFIG_USB_MDC800 is not set # CONFIG_USB_STORAGE is not set # CONFIG_USB_USS720 is not set # CONFIG_USB_DABUSB is not set # CONFIG_USB_PLUSB is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_DSBR is not set # CONFIG_USB_HID is not set # CONFIG_USB_KBD is not set # CONFIG_USB_MOUSE is not set # CONFIG_USB_WACOM is not set # CONFIG_USB_WMFORCE is not set # CONFIG_INPUT_KEYBDEV is not set # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_EVDEV is not set CONFIG_VIDEO_BWQCAM=y CONFIG_VIDEO_CQCAM=y CONFIG_VIDEO_CPIA=y CONFIG_VIDEO_CPIA_PP=y CONFIG_VIDEO_CPIA_USB=y You need to configure USB into your kernel. Use of make menuconfig is recommended. Under USB Support, you need to select Support for USB. You also need to select either UHCI (Intel PIIX4, VIA, ...) support, UHCI Alternate Driver (JE) support or OHCI-HCD (Compaq, iMacs, OPTi, SiS, ALi, ...) support. Which one you select is dependent on what kind of motherboard or adapter you have. Intel and Via motherboards, and Via-based adapters are UHCI, and you can use either of the two UHCI drivers - there seems to be little user visible difference between them. Ali and SiS chipsets, Compaq and NEC motherboards, iMacs and any adapter using Opti chips (just about all of them) are OHCI, and you should use OHCI-HCD. If you do not know what kind of controller to choose, check your motherboard documentation. You can also look at /proc/pci for a hint - if the USB entry is of the form 0xHHHH, where HHHH are hex digits (e.g. something like I/O at 0xe400), then it is UHCI. If it is of the form 32 bit memory at 0xHH000000, where HH are hex digits (e.g. something like 32 bit memory at 0xee000000), then it is OHCI. Failing that, just try one. Always build in the Preliminary USB device filesystem. Leaving this out will make resolving problems almost impossible, and is essential if you need to check that your kernel is configured correctly, and your USB devices are being recognised correctly. You also need to select whichever devices you want to use, for example: USB Human Interface Device (HID) support (with the appropriate subordinate options) for a USB keyboard, mouse, joystick, tablet or gamepad, USB Scanner support for certain scanners, USB Audio support for USB speakers, USB Modem (CDC ACM) support for a POTS or ISDN modem, USB Printer support for a USB printer, USB Serial Converter support (with the appropriate subordinate options) for some serial port type devices, USB CPiA Camera support for cameras based on the Vision CPiA chipset, USB IBM (Xirlink) C-it Camera support for camera based on the IBM camera chipset, USB OV511 Camera support for cameras based on OmniVision's OV511 chipset, USB Kodak DC-2xx Camera support for downloading images from Kodak's DC-200 series cameras, USB Mass Storage support for mass storage devices, USS720 parport driver for certain parallel port adapters, DABUSB driver for an experimental Digital Audio Broadcast receiver PLUSB Prolific USB-Network driver for certain USB to USB type connections You should be able to use modules, kernel only, or split modules and kernel code. How to set up WebCamII and run gqcam-0.4 application: (We assume that the kernel is configured for USB already for running WebCamII. How to do it look at the file congifure_usb) 1. Go to the URL and download the code http://webcam.sourceforge.net/ 2. Unzip it and untar it gzip -cd cpia-0.7.4.tgz | tar xvf - 3. Read README in the cpia-0.7.4 directory In is important for the correct kernel configuration settings 4. Read INSTALL in the cpia-0.7.4/client directory 5. Run the command ./configure 6. Run the command make 7. Go to the admin mode and run the command mount -t shm none /var/shm 8. Change your /etc/fstab file by adding line: none /proc/bus/usb usbdevfs defaults 0 0 9. Go to the directory: //usr/src/linux/drivers/usb Open file usb-core.c and add line: int usb_cpia_init(void); before lines: int usb_audio_init(void); int usb_ibmcam_init(void); int dabusb_init(void); Also, add lines: #ifdef CONFIG_VIDEO_CPIA_USB usb_cpia_init(); #endif between lines: #ifndef CONFIG_USB_MODULE #ifdef CONFIG_USB_AUDIO 10. Rebuild the kernel Sandhya Puthan Veettil wrote: > > Hi, > > I installed the kernel 2.3.5. > Enabled Loadable Module support and Set version information for on symbols for > modules. I compiled the kernel, then did a "make modules" and > "make modules_install". But still I can not find any modules under > /lib/modules/2.3.5 . (It has only modules.dep and dummy.o under net dir.) > > Can anybody tell me which option I should enable to get the modules in > /lib/modules/2.3.5 ? Or how to do "insmod" for usbcore, usb-uhci, cpia and > videodev ? > > Thanks > sandhya > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia From claudio@conectiva.com Tue, 20 Jun 2000 14:50:54 -0300 (BRST) Date: Tue, 20 Jun 2000 14:50:54 -0300 (BRST) From: Claudio Matsuoka claudio@conectiva.com Subject: [cpia] OV511 Chip. On Tue, 20 Jun 2000, Fabiano Reis wrote: > There is a protocol to communicate with this chip... > Is there specs to know more about this proto? Omnivision (http://ovt.com) published the datasheet. The OV511 driver is being discussed in the linux-usb list. Check http://www.linux-usb.org for more information. From tumati@students.uiuc.edu Wed, 21 Jun 2000 20:10:38 -0500 (CDT) Date: Wed, 21 Jun 2000 20:10:38 -0500 (CDT) From: Pavan tumati@students.uiuc.edu Subject: [cpia] CPIA Lockups? I have been working with 2 cameras, the white pine camera, and the creative web cam II, both parallel port versions. I have been testing code on numerous systems, and when I am trying to read() several times in a row for an update to my window, the program locks up. The strace points to read(), and the dmesg output has the following: cpia.c:parse_picture(2016):line length was not 1 but 0 after 670/118849 bytes How can I avoid this, or force the driver to reset itself and try to start retrieving images again? Sometimes the camera works for 20 minutes, sometimes it works for 2 minutes. It locks on the read, however. Right now, I have to reboot, because my application locks completely. My camera registers fine, this is the information so far: V4L-Driver for Vision CPiA based cameras v0.7.1 Parallel port driver for Vision CPiA based cameras v0.7.1 using PIO mode CPiA Version: 1.20 (2.0) CPiA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0100 1 camera(s) found Any help would be appreciated. From Peter_Pregler@email.com Thu, 22 Jun 2000 10:52:29 +0200 Date: Thu, 22 Jun 2000 10:52:29 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] CPIA Lockups? Hi, I have several questions: - what kernel version do you run? - please upgrade the driver to 1.0 or try the one in 2.2.16 - can you use DMA instead of PIO and see if it still locks? I have not seen a lockup due to the error-message you report for quite some time. Greetings, Peter On Wed, Jun 21, 2000 at 08:10:38PM -0500, Pavan wrote: > > I have been working with 2 cameras, the white pine camera, and the > creative web cam II, both parallel port versions. I have been testing > code on numerous systems, and when I am trying to read() several times in > a row for an update to my window, the program locks up. The strace points > to read(), and the dmesg output has the following: > > cpia.c:parse_picture(2016):line length was not 1 but 0 after 670/118849 > bytes > > How can I avoid this, or force the driver to reset itself and try to start > retrieving images again? Sometimes the camera works for 20 minutes, > sometimes it works for 2 minutes. It locks on the read, however. Right > now, I have to reboot, because my application locks completely. > > My camera registers fine, this is the information so far: > > V4L-Driver for Vision CPiA based cameras v0.7.1 > Parallel port driver for Vision CPiA based cameras v0.7.1 > using PIO mode > CPiA Version: 1.20 (2.0) > CPiA PnP-ID: 0553:0002:0100 > VP-Version: 1.0 0100 > 1 camera(s) found > > Any help would be appreciated. > > > > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia > -- 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 jerome.fayot@worldonline.fr Sat, 24 Jun 2000 15:20:39 +0200 Date: Sat, 24 Jun 2000 15:20:39 +0200 From: Jerome Fayot jerome.fayot@worldonline.fr Subject: [cpia] troubles using CPIA driver Hi ! I am trying to use my USB Creative Labs Webcam II with a backport of the 2.3 USB stack to the 2.2.16 kernel. The registration of the module using insmod seems to be OK : Jun 24 15:17:50 linbox kernel: V4L-Driver for Vision CPiA based cameras v1.0.0 Jun 24 15:17:50 linbox kernel: usb.c: registered new driver cpia Jun 24 15:17:50 linbox kernel: USB CPiA camera found Jun 24 15:17:50 linbox kernel: CPiA Version: 1.20 (1.0) Jun 24 15:17:50 linbox kernel: CPiA PnP-ID: 0553:0002:0100 Jun 24 15:17:50 linbox kernel: VP-Version: 1.0 0141 although a "depmod -a" command produces : /lib/modules/2.2.16/misc/cpia_usb.o: unresolved symbol(s) Problems are raising when I try to use the cam with xawtv : [jef@linbox ~]$ xawtv This is xawtv-3.12, running on Linux/i686 (2.2.16) visual: id=0x22 class=4 (TrueColor), depth=24 x11: 1024x768, 32 bit/pixel, 4096 byte/scanline, DGA /dev/video: no overlay support waitpid: Aucun processus enfant v4l-conf had some trouble, trying to continue anyway /dev/video: no overlay support waitpid: Aucun processus enfant v4l-conf had some trouble, trying to continue anyway ioctl VIDIOCGFBUF: Paramètre invalide wmhooks: kde ioctl VIDIOCMCAPTURE(0,-,0x0): Paramètre invalide ioctl VIDIOCMCAPTURE(1,-,0x0): Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCMCAPTURE(0,-,0x0): Paramètre invalide ioctl VIDIOCMCAPTURE(1,-,0x0): Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCMCAPTURE(0,rgb32,352x288): Erreur d'entrée/sortie ioctl VIDIOCSYNC: Paramètre invalide and /var/log/messages complains : Jun 24 15:18:47 linbox kernel: cpia.c:parse_picture(2308):line length was not 1 but 0 after 114598/200740 bytes Jun 24 15:18:48 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 5013/201412 bytes Jun 24 15:18:48 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 5013/201444 bytes Jun 24 15:18:48 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 55917/201476 bytes Jun 24 15:18:49 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 1478/197700 bytes Jun 24 15:18:49 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 4306/202884 bytes and finally, the xawtv window remains black. I have tried to use other software such as camstream but it also crashes "while reading image 5". Any help will be appreciated ! Bye From jerome.fayot@worldonline.fr Sat, 24 Jun 2000 15:41:45 +0200 Date: Sat, 24 Jun 2000 15:41:45 +0200 From: Jerome Fayot jerome.fayot@worldonline.fr Subject: [cpia] (no subject) Hi ! I am trying to use my USB Creative Labs Webcam II with a backport of the 2.3 USB stack to the 2.2.16 kernel. The registration of the module using insmod seems to be OK : Jun 24 15:17:50 linbox kernel: V4L-Driver for Vision CPiA based cameras v1.0.0 Jun 24 15:17:50 linbox kernel: usb.c: registered new driver cpia Jun 24 15:17:50 linbox kernel: USB CPiA camera found Jun 24 15:17:50 linbox kernel: CPiA Version: 1.20 (1.0) Jun 24 15:17:50 linbox kernel: CPiA PnP-ID: 0553:0002:0100 Jun 24 15:17:50 linbox kernel: VP-Version: 1.0 0141 although a "depmod -a" command produces : /lib/modules/2.2.16/misc/cpia_usb.o: unresolved symbol(s) Problems are raising when I try to use the cam with xawtv : [jef@linbox ~]$ xawtv This is xawtv-3.12, running on Linux/i686 (2.2.16) visual: id=0x22 class=4 (TrueColor), depth=24 x11: 1024x768, 32 bit/pixel, 4096 byte/scanline, DGA /dev/video: no overlay support waitpid: Aucun processus enfant v4l-conf had some trouble, trying to continue anyway /dev/video: no overlay support waitpid: Aucun processus enfant v4l-conf had some trouble, trying to continue anyway ioctl VIDIOCGFBUF: Paramètre invalide wmhooks: kde ioctl VIDIOCMCAPTURE(0,-,0x0): Paramètre invalide ioctl VIDIOCMCAPTURE(1,-,0x0): Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCMCAPTURE(0,-,0x0): Paramètre invalide ioctl VIDIOCMCAPTURE(1,-,0x0): Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCSYNC: Paramètre invalide ioctl VIDIOCMCAPTURE(0,rgb32,352x288): Erreur d'entrée/sortie ioctl VIDIOCSYNC: Paramètre invalide and /var/log/messages complains : Jun 24 15:18:47 linbox kernel: cpia.c:parse_picture(2308):line length was not 1 but 0 after 114598/200740 bytes Jun 24 15:18:48 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 5013/201412 bytes Jun 24 15:18:48 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 5013/201444 bytes Jun 24 15:18:48 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 55917/201476 bytes Jun 24 15:18:49 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 1478/197700 bytes Jun 24 15:18:49 linbox kernel: cpia.c:parse_picture(2282):EOL not found giving up after 4306/202884 bytes and finally, the xawtv window remains black. I have tried to use other software such as camstream but it also crashes "while reading image 5". Any help will be appreciated ! Bye From madcat@ghostfield.com Tue, 27 Jun 2000 17:58:35 -0700 Date: Tue, 27 Jun 2000 17:58:35 -0700 From: madcat@ghostfield.com madcat@ghostfield.com Subject: [cpia] Strange problem with CPiA drivers Hi, I've been having some -weird- problems lately. I used to use RedHat 6.0, with the CPiA drivers. I think version 0.4.3, they weren't in the kernel yet that shipped with RH 6. That all used to work just fine, everything built as modules (parport/parport_pc/parport_probe/videodev). Then I switched to SuSE 6.4. Built everything as modules again. The parport_pc module loads and reports my parallel port right where it should be; ECP capable, using IRQ 7 and dma channel 3. If I load the lp module, it loads up just fine and initialises. If I load the parport_probe module it reports a VLSI PPC2 camera as being attached to parport0. The output from the /proc/parport/0/autoprobe file is as follows: CLASS:MEDIA; MODEL:PPC2 Camera; MANUFACTURER:VLSI Vision Ltd; DESCRIPTION:Parallel Port Camera; COMMAND SET:CPIA_1-20; If I load the cpia module (whether with insmod or modprobe) the following message appears in syslog (rest of the module loads included): Linux video capture interface: v1.00 parport0: PC-style at 0x378 (0x778), dma 3 [SPP,ECP,ECPPS2] parport0: detected irq 7; use procfs to enable interrupt-driven operation. parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [SPP,ECP,ECPPS2] parport0: read2 timeout. parport_probe: succeeded parport0: Multimedia device, VLSI Vision Ltd PPC2 Camera V4L-Driver for Vision CPiA based cameras v0.5.0 Parallel port driver for Vision CPiA based cameras v0.5.0 cpia_pp.c:cpia_pp_register(1307):failed to cpia_register_camera 0 camera(s) found My entire setup hasn't changed one bit from what I used with RH 6, and I really would like to get my webcam working again :) Does anyone have any ideas or clues as to what might be the problem? Thanks, Ben -- Bernhard van Staveren madcat(at)ghostfield.com A witty saying proves nothing, but it sure is fun! -- Me, 1998 From Peter_Pregler@email.com Wed, 28 Jun 2000 09:39:54 +0200 Date: Wed, 28 Jun 2000 09:39:54 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Strange problem with CPiA drivers On Tue, Jun 27, 2000 at 05:58:35PM -0700, madcat@ghostfield.com wrote: > > Linux video capture interface: v1.00 > parport0: PC-style at 0x378 (0x778), dma 3 [SPP,ECP,ECPPS2] > parport0: detected irq 7; use procfs to enable interrupt-driven operation. > parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [SPP,ECP,ECPPS2] > parport0: read2 timeout. > parport_probe: succeeded > parport0: Multimedia device, VLSI Vision Ltd PPC2 Camera > V4L-Driver for Vision CPiA based cameras v0.5.0 > Parallel port driver for Vision CPiA based cameras v0.5.0 > cpia_pp.c:cpia_pp_register(1307):failed to cpia_register_camera > 0 camera(s) found > > My entire setup hasn't changed one bit from what I used with RH 6, > and I really would like to get my webcam working again :) It is a matter of kernel. Apparently the suse-one is different from RH6. The v0.5.0 points to some standard kernel, maybe 2.2.15 which had some problems. If that is the case either upgrade to 2.2.16, or use the tarball at webcam.sourceforge.net. If that does not work drop me a mail. 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 From madcat@ghostfield.com Wed, 28 Jun 2000 00:54:26 -0700 Date: Wed, 28 Jun 2000 00:54:26 -0700 From: madcat@ghostfield.com madcat@ghostfield.com Subject: [cpia] thanks all :) Well I got all the answers I needed :) Upgraded to the 2.2.16 kernel and it all works now! YAY! Thanks ) -- Bernhard van Staveren madcat(at)ghostfield.com A witty saying proves nothing, but it sure is fun! -- Me, 1998 From nikom@merl.com Wed, 28 Jun 2000 10:38:44 -0400 Date: Wed, 28 Jun 2000 10:38:44 -0400 From: Jacob Nikom nikom@merl.com Subject: [cpia] thanks all :) Hi Bernhard, It would be nice it you could document what you went through, you problems and especially important the solutions and send this description to the listserver. This is invaluable experience and it could be very helpful for many people as well. I found it could be helpful for myself next time. Regards, Jacob Nikom madcat@ghostfield.com wrote: > > Well I got all the answers I needed :) Upgraded to the > 2.2.16 kernel and it all works now! YAY! > > Thanks ) > > -- > Bernhard van Staveren madcat(at)ghostfield.com > A witty saying proves nothing, but it sure is fun! > -- Me, 1998 > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia From madcat@ghostfield.com Wed, 28 Jun 2000 11:35:07 -0700 Date: Wed, 28 Jun 2000 11:35:07 -0700 From: madcat@ghostfield.com madcat@ghostfield.com Subject: [cpia] webpage After a suggestion from someone on the list I put together a real small webpage documenting my problem and it's solution. http://ghostfield.com/cpia/ Real bare-bones but it oughta help others :) -- Bernhard van Staveren madcat(at)ghostfield.com A witty saying proves nothing, but it sure is fun! -- Me, 1998 From ramp@oddjob.uchicago.edu Thu, 29 Jun 2000 23:57:36 -0500 (CDT) Date: Thu, 29 Jun 2000 23:57:36 -0500 (CDT) From: Ramprasad Rao ramp@oddjob.uchicago.edu Subject: [cpia] Ezcam USB and audio ? Camera: Ezcam USB This camera seems to work great with kernel 2.2.17pre6 with a 2.4.0-test2 backport on an iMac running linuxppc. Try as I may I can't get the audio to work with this camera. I usually get an error like /dev/dsp : Invalid argument and xawtv then crashes. I do have /dev/dsp and /dev/audio and I have esound installed as well. Does sound not work on this camera? Thanks in advance - Ram PS: This camera does not work with MacOS but works with linux-usb drivers!! Kudos to the linux-usb and cpia developers. From mm@uni-hd.de Fri, 30 Jun 2000 16:19:06 +0200 Date: Fri, 30 Jun 2000 16:19:06 +0200 From: Michael Mayer mm@uni-hd.de Subject: [cpia] Creative Webcam II Hi, I am trying to use a Creative Webcam II (USB) with linux-2.2.16 and the backport-patches for linux-2.4.0-test2 availbale from linux-usb.org (containig cpia-1.0). I also tried linux-2.4.0-test1 but with the same result All seems to work fine... all modules work and gqcam (version 0.8) produces nice pictures, but after 1 to 15 sec the computer hangs so that I Have to reboot. Any suggestions ? Michael From cloud@chool.com Fri, 30 Jun 2000 08:59:11 -0500 (CDT) Date: Fri, 30 Jun 2000 08:59:11 -0500 (CDT) From: Sam Reynolds cloud@chool.com Subject: [cpia] Parallel Webcam II + 2.2.15 troubles Hi, It has been a while since I posted this question... maybe someone has an answer now :) Basically when i modprobe version 1.0 of the cpia driver ever thing seems fine but when i try to use it it tells me No such file directory. There are details below about how i made the devices... any ideas? -Sam Reynolds On Wed, 24 May 2000, Sam Reynolds wrote: > > That helped alot. Thanks. Now for my next problem :) I got 1.0 of the > cpia module and when i insmod the cpia.o and cpia_pp.o it works like very > well according to dmesg: > <-snip-> > V4L-Driver for Vision CPiA based cameras v1.0.0 > Parallel port driver for Vision CPiA based cameras v1.0.0 > using DMA mode (irq 7, DMA 3) > cpia.c(1120454):goto_low_power(2645):camera now in LOW power state > cpia.c(1120464):goto_high_power(2631):camera now in HIGH power state > cpia.c(1120474):dispatch_commands(2350):1 1 0 0 1 1 1 1 > cpia.c(1120474):dispatch_commands(2351):0 1 1 1 1 1 0 1 > cpia.c(1120478):save_camera_state(2665):0/0/185/0/220/214/214/230 > cpia.c(1120478):save_camera_state(2669):32/6/92 > CPiA Version: 1.02 (1.0) > CPiA PnP-ID: 0553:0001:0100 > VP-Version: 1.0 0100 > 1 camera(s) found > <-snip-> > Everything looks great, now i compiled gqcam (the version that came with > the module) and attempted to run it. I got "/dev/video: No such > device". I had originally made my devices with /dev/MAKEDEV video but > then I read the gqcam docs and just remade them all exactly as they said > with still no luck. Any ideas are greatly appreciated (again) and i > apoligize for my inconvience in advance. > -Sam Reynolds > > On Tue, 23 May 2000, Claudio Matsuoka wrote: > > > On Tue, 23 May 2000, Sam Reynolds wrote: > > > > > Hi, I am very new to this list and am trying to get my Creative Webcam 2 > > > (parallel version) to work with 2.2.15. I read the kernel documentation > > > and chose to go the "linked in" route. > > (...) > > > Parallel port driver for Vision CPiA based cameras v0.5.0 > > > cpia_pp.c:cpia_pp_register(1307):failed to cpia_register_camera > > > > I believe it would be a good idea to get a recent version of the CPiA > > driver (at http://webcam.sourceforge.net) and build it as a module > > (so the parameters could be easily changed reloading the module). > > > > Best regards, > > claudio > > > > > > > > From LinuxWebcam@exchange.ware.net Fri, 30 Jun 2000 18:51:27 -0700 Date: Fri, 30 Jun 2000 18:51:27 -0700 From: Linux Webcam LinuxWebcam@exchange.ware.net Subject: [cpia] problems with cpia and xawtv Hi Folks, I'm having troubles with xawtv's webcam, I'm running xawtv-3.17: 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 Here's my /proc/cpia [root@localhost xawtv-3.17]# more /proc/cpia/video0 read-only ----------------------- V4L Driver version: 0.7.4 CPIA Version: 1.20 (2.0) CPIA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0141 system_state: 0x0a grab_state: 0x00 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x00 debug_flags: 0x00 vp_status: 0x80 error_code: 0x03 video_size: CIF sub_sample: 422 yuv_order: YUYV roi: ( 64, 60) to (288, 228) actual_fps: 128 transfer_rate: 740kB/s Any ideas? Thanks, Lance