From lauprado@terra.com.br Tue, 5 Nov 2002 15:31:43 -0500 Date: Tue, 5 Nov 2002 15:31:43 -0500 From: Laura Prado lauprado@terra.com.br Subject: [cpia] Aiptek Pencam 400 Hello! I'm not subscribed to the list (nor a developer), but I wanted to ask you guys if anyone has developed drivers for the Aiptek Pencam 400 webcam for Linux. I'm using Red Hat 7.3 and I can run the tests in my camera, compile it and send the errors back, if anyone is thinking of trying to come up with it. Thanks! Laura Prado lauprado@terra.com.br From rick@silksystems.com 04 Nov 2002 10:08:38 -0800 Date: 04 Nov 2002 10:08:38 -0800 From: Rick Moss rick@silksystems.com Subject: [cpia] cpia hangs smp Hi I'm replying to Duncan's post on the Bugs site for cpia. Well I'm not sure what to tell you, but here goes. I have a redhat 7.2 server that uses cpia + webcam it's a creative labs II parallel port camera on a dell poweredge smp server dual 233 pII with 128M ram http://tdm.silk.ca click on the webcam link & the last picture it took before the kernel update :) after adding the 2.4.18-17xsmp update to the server (up2date) and rebooting I had a deadlock no alt+f2 only power off, I booted to the old kernel 2.4.10 and all was fine so after testing a few thing I found that I was adding modprobe cpia to the end of rc.local to setup the webcam. I have also learned that if I boot the non-smp kernel 2.4.18 it will modprobe cpia no problem I have also tried the 2.4.19 from kernel.org & same effect smp deadlock & non-smp no problem. What can I do to help ? feel free to ask I can provide a ssh shell in Thnaks Rick Moss rick@tdm.silk.ca rick@silksystems.com From Nick.Holloway@pyrites.org.uk 6 Nov 2002 15:35:16 -0000 Date: 6 Nov 2002 15:35:16 -0000 From: Nick Holloway Nick.Holloway@pyrites.org.uk Subject: [cpia] cpia hangs smp rick@silksystems.com (Rick Moss) writes: > after adding the 2.4.18-17xsmp update to > the server (up2date) and rebooting I had a deadlock > no alt+f2 only power off, I booted to the old kernel > 2.4.10 and all was fine so after testing a few thing I found that > I was adding modprobe cpia to the end of rc.local > to setup the webcam. I have also learned that if I boot the > non-smp kernel 2.4.18 it will modprobe cpia no problem If you take the 2.4 kernel.org source, and remove the line containing "up(&cam->param_lock);" from the end of cpia_ioctl in cpia.c, just before "up(&cam->busy_lock);". This should remove the deadlock. This bug isn't present in the CVS source (nor does it appear to have ever been). -- `O O' | Nick.Holloway@pyrites.org.uk // ^ \\ | http://www.pyrites.org.uk/ From cbodapati@rediffmail.com 9 Nov 2002 14:42:20 -0000 Date: 9 Nov 2002 14:42:20 -0000 From: srikanth poorna chandra bodapati cbodapati@rediffmail.com Subject: [cpia] query from student sir I am a student from India working on a sound card. could you please send information about DMA transfer from IO devices to Memory and vice versa. Thanking you srikanth From Nick.Holloway@pyrites.org.uk Sun, 24 Nov 2002 11:06:07 +0000 Date: Sun, 24 Nov 2002 11:06:07 +0000 From: Nick Holloway Nick.Holloway@pyrites.org.uk Subject: [cpia] Webcam 3 pp version not being detected On Sat, Nov 23, 2002 at 05:31:39PM -0500, Jeff Gardiner wrote: > Can anyone tell me who is right? If anyone is supporting the Parallel Port > version of the Creative Labs WebCam III (CT6920) who is it? There appears to be some confusion about what chipset is being used by the WebCam III. My original understanding from the cpia side (as I have a WebCam II which is cpia) was that the WebCam III did not use the cpia chipset. The OV511 documentation says that _some_ parallel WebCam III cameras do use it. The first step is to try and determine what chipset is being used on your camera. Here is a message I sent recently: When I boot a 2.4.18 kernel with the WebCam II plugged in, I get the following (taken from dmesg): parport0: PC-style at 0x3bc [PCSPP,TRISTATE] parport0: Multimedia device, VLSI Vision Ltd PPC2 Camera If I cat /proc/sys/dev/parport/parport0/autoprobe, then I get: CLASS:MEDIA; MODEL:PPC2 Camera; MANUFACTURER:VLSI Vision Ltd; DESCRIPTION:Parallel Port Camera; COMMAND SET:CPIA_1-20; The cpia_pp driver only registers cameras where the device is class media, and the command set starts with "CPIA_1". What do you get from your bootup messages and /proc information when you boot with your camera plugged in? So, what gets detected by the kernel parport driver when you boot with the camera plugged in and powered on (make sure you have CONFIG_PARPORT_1284=y in your kernel config)? This should allow you to know that the camera is detected as a parallel device, and give some clue as to what is needed to drive it. There is certainly one feature of the WebCam III, that isn't supported by the cpia driver (and not mentioned in the documentation we have available), and that is a 640x480 mode. -- `O O' | Nick.Holloway@pyrites.org.uk // ^ \\ | http://www.pyrites.org.uk/ From j.gardiner@rogers.com Sat, 23 Nov 2002 17:31:39 -0500 Date: Sat, 23 Nov 2002 17:31:39 -0500 From: Jeff Gardiner j.gardiner@rogers.com Subject: [cpia] Webcam 3 pp version not being detected On October 31, 2002 07:44 am, Nick Holloway wrote: > mip_fyp@yahoo.com (Affan Ahmed) writes: > > I am unable to get my Webcam 3 to be detected. I have RH 7.2, with > > kernel 2.4.7-10. This already contained the cpia driver [...] > > This camera is not a CPiA device, so will not work with this driver. Here's the problem (and I've been experiencing it too!). You guys say the CPiA driver does not support the parallel port Creative Labs WebCams III CT6920 (as does the site you quoted): > The SourceForge page has > pointers to some information for the WebCam III. And yet, if you follow the link advised for WebCams III you arrive at: http://alpha.dyndns.org/ov511/. Following the FAQ you see that ... Q: I have a parallel port camera. Does your driver support it? A: The OV511 chip supports the USB bus only. The CPiA chip is used in many parallel cameras, notably some revisions of the Creative Labs WebCam3 Parallel, and in some USB cameras. You can find drivers for the CPiA here . Surprisingly, the USB version of the WebCam3 uses the OV511, not the CPiA, probably since the OV511 supports higher resolutions and is therefore (arguably) a better chip. ... and the link leads to http://sourceforge.net/projects/webcam/ Cripes, the CPiA people are saying the OV518 driver supports the parallel port version of the Creative WebCam III while the OV518 people are saying the CPiA driver does. Can anyone tell me who is right? If anyone is supporting the Parallel Port version of the Creative Labs WebCam III (CT6920) who is it? ~~~~~~~ Jeff Gardiner http://www.baldric.uwo Student SuperComputer Initiative Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer ~~~~~~~ From eugene@chiu.bz Thu, 28 Nov 2002 20:21:03 -0500 Date: Thu, 28 Nov 2002 20:21:03 -0500 From: Eugene Chiu eugene@chiu.bz Subject: [cpia] Re: Creative Webcam II Parallel Port question This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C2971B.AC6B0080 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am running 2.4.19 and cpia-1.2.2, and try to get Creative Webcab II = (Parallel port) working. When I modprobe cpia_pp, this is what I got in = dmesg: parport0: PC-style at 0x378 [PCSPP,TRISTATE] parport0: Multimedia device, VLSI Vision Ltd DUAL Camera Linux video capture interface: v1.00 V4L-Driver for Vision CPiA based cameras v1.2.1 Parallel port driver for Vision CPiA based cameras v1.2.1 >>>>> cpia.c:do_command_extended(2012):40a4 - failed <<<<< CPiA Version: 1.02 (1.0) CPiA PnP-ID: 0553:0001:0100 VP-Version: 1.0 0100 Is the failed line normal? I also have this file /proc/cpia/video0 read-only ----------------------- V4L Driver version: 1.2.1 CPIA Version: 1.02 (1.0) CPIA PnP-ID: 0553:0001:0100 VP-Version: 1.0 0100 system_state: 0x03 grab_state: 0x00 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x20 debug_flags: 0x00 vp_status: 0x00 error_code: 0x97 video_size: CIF roi: ( 0, 0) to (352, 288) actual_fps: 0 transfer_rate: 0kB/s read-write ----------------------- current min max default comment brightness: 50 0 100 50 contrast: 48 0 80 48 steps of 8 Can I consider this a successful load of the driver?? Thanks, Eugene ------=_NextPart_000_0017_01C2971B.AC6B0080 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hi all,
 
I am running 2.4.19 and cpia-1.2.2, and = try to get=20 Creative Webcab II (Parallel port) working. When I modprobe cpia_pp, = this is=20 what I got in dmesg:
 
parport0: PC-style at 0x378=20 [PCSPP,TRISTATE]
parport0: Multimedia device, VLSI Vision = Ltd DUAL=20 Camera
Linux video capture interface: = v1.00
V4L-Driver for Vision CPiA based cameras = v1.2.1
Parallel port driver for Vision CPiA = based cameras=20 v1.2.1
>>>>>=20 cpia.c:do_command_extended(2012):40a4 - failed = <<<<<
CPiA Version: 1.02 (1.0)
CPiA PnP-ID: 0553:0001:0100
VP-Version: 1.0 0100
 
Is the failed line normal? I also have = this file=20 /proc/cpia/video0
 
read-only
-----------------------
V4L Driver version: 1.2.1
CPIA Version: 1.02 (1.0)
CPIA PnP-ID: 0553:0001:0100
VP-Version: 1.0 0100
system_state: 0x03
grab_state: 0x00
stream_state: 0x00
fatal_error: 0x00
cmd_error: 0x20
debug_flags: 0x00
vp_status: 0x00
error_code: 0x97
video_size: CIF
roi: ( 0, 0) to (352, 288)
actual_fps: 0
transfer_rate: 0kB/s
read-write
----------------------- current min max = default=20 comment
brightness: 50 0 100 50
contrast: 48 0 80 48 steps of = 8
<snip>
 
Can I consider this a successful load of = the=20 driver??
 
Thanks,
Eugene
------=_NextPart_000_0017_01C2971B.AC6B0080-- From f.duncan.m.haldane@worldnet.att.net Thu, 28 Nov 2002 21:54:15 -0500 (EST) Date: Thu, 28 Nov 2002 21:54:15 -0500 (EST) From: Duncan Haldane f.duncan.m.haldane@worldnet.att.net Subject: [cpia] Re: Creative Webcam II Parallel Port question On 29-Nov-2002 Eugene Chiu wrote: > I am running 2.4.19 and cpia-1.2.2, and try to get Creative Webcab II > (Parallel port) working. When I modprobe cpia_pp, this is what I got in > dmesg: > > parport0: PC-style at 0x378 [PCSPP,TRISTATE] > parport0: Multimedia device, VLSI Vision Ltd DUAL Camera > Linux video capture interface: v1.00 > V4L-Driver for Vision CPiA based cameras v1.2.1 > Parallel port driver for Vision CPiA based cameras v1.2.1 >>>>>> cpia.c:do_command_extended(2012):40a4 - failed <<<<< > CPiA Version: 1.02 (1.0) > CPiA PnP-ID: 0553:0001:0100 > VP-Version: 1.0 0100 > > Is the failed line normal? I also have this file /proc/cpia/video0 This means that your parallel port is not "ECP"-mode ("extended-mode") capable. At least you have TRISTATE. (My parallel port only has EPP-mode and cannot work with the cpia driver, because no-one programmed it for EPP mode). (I use the cpia driver with a usb device, so its no problem for me). I think in principle you should get (not very good?) performace with TRISTATE mode. > > read-only > ----------------------- > V4L Driver version: 1.2.1 > CPIA Version: 1.02 (1.0) > CPIA PnP-ID: 0553:0001:0100 > VP-Version: 1.0 0100 > system_state: 0x03 > grab_state: 0x00 > stream_state: 0x00 > fatal_error: 0x00 > cmd_error: 0x20 <====== Hmmm !!! > debug_flags: 0x00 > vp_status: 0x00 > error_code: 0x97 > video_size: CIF > roi: ( 0, 0) to (352, 288) > actual_fps: 0 > transfer_rate: 0kB/s > read-write > ----------------------- current min max default comment > brightness: 50 0 100 50 > contrast: 48 0 80 48 steps of 8 > > > Can I consider this a successful load of the driver?? > Well, it seems to have loaded and has found out some info about the webcam. But I presume it's not working, since you posted this message? This is what I get with the module loaded, but nothing accessing the (usb) camera: V4L Driver version: 1.2.1 CPIA Version: 1.30 (2.10) CPIA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0100 system_state: 0x03 grab_state: 0x00 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x00 debug_flags: 0x00 vp_status: 0xc0 error_code: 0x00 video_size: CIF roi: ( 0, 0) to (352, 288) actual_fps: 0 transfer_rate: 0kB/s When I run gqcam to look at the imega on /dev/video0 I now get: V4L Driver version: 1.2.1 CPIA Version: 1.30 (2.10) CPIA PnP-ID: 0553:0002:0100 VP-Version: 1.0 0100 system_state: 0x03 grab_state: 0x00 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x00 debug_flags: 0x00 vp_status: 0xc0 error_code: 0x71 video_size: CIF roi: ( 0, 0) to (352, 288) actual_fps: 9 transfer_rate: 319kB/s Your output seems to show some error condition? Did you try to open the /dev/video0 with some video4linux application? Duncan. From eugene@chiu.bz Thu, 28 Nov 2002 10:45:28 -0500 Date: Thu, 28 Nov 2002 10:45:28 -0500 From: Eugene Chiu eugene@chiu.bz Subject: [cpia] Creative Webcam II Parallel Port question This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C296CB.43F5B9A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am running 2.4.19 and cpia-1.2.2, and try to get Creative Webcab II = (Parallel port) working. When I modprobe cpia_pp, this is what I got in = dmesg: parport0: PC-style at 0x378 [PCSPP,TRISTATE] parport0: Multimedia device, VLSI Vision Ltd DUAL Camera Linux video capture interface: v1.00 V4L-Driver for Vision CPiA based cameras v1.2.1 Parallel port driver for Vision CPiA based cameras v1.2.1 >>>>> cpia.c:do_command_extended(2012):40a4 - failed <<<<< CPiA Version: 1.02 (1.0) CPiA PnP-ID: 0553:0001:0100 VP-Version: 1.0 0100 Is the failed line normal? I also have this file /proc/cpia/video0 read-only ----------------------- V4L Driver version: 1.2.1 CPIA Version: 1.02 (1.0) CPIA PnP-ID: 0553:0001:0100 VP-Version: 1.0 0100 system_state: 0x03 grab_state: 0x00 stream_state: 0x00 fatal_error: 0x00 cmd_error: 0x20 debug_flags: 0x00 vp_status: 0x00 error_code: 0x97 video_size: CIF roi: ( 0, 0) to (352, 288) actual_fps: 0 transfer_rate: 0kB/s read-write ----------------------- current min max default comment brightness: 50 0 100 50 contrast: 48 0 80 48 steps of 8 Can I consider this a successful load of the driver?? Thanks, Eugene ------=_NextPart_000_0007_01C296CB.43F5B9A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hi all,
 
I am running 2.4.19 and cpia-1.2.2, and = try to get=20 Creative Webcab II (Parallel port) working. When I modprobe cpia_pp, = this is=20 what I got in dmesg:
 
parport0: PC-style at 0x378=20 [PCSPP,TRISTATE]
parport0: Multimedia device, VLSI Vision = Ltd DUAL=20 Camera
Linux video capture interface: = v1.00
V4L-Driver for Vision CPiA based cameras = v1.2.1
Parallel port driver for Vision CPiA = based cameras=20 v1.2.1
>>>>>=20 cpia.c:do_command_extended(2012):40a4 - failed = <<<<<
CPiA Version: 1.02 (1.0)
CPiA PnP-ID: 0553:0001:0100
VP-Version: 1.0 0100
 
Is the failed line normal? I also have = this file=20 /proc/cpia/video0
 
read-only
-----------------------
V4L Driver version: 1.2.1
CPIA Version: 1.02 (1.0)
CPIA PnP-ID: 0553:0001:0100
VP-Version: 1.0 0100
system_state: 0x03
grab_state: 0x00
stream_state: 0x00
fatal_error: 0x00
cmd_error: 0x20
debug_flags: 0x00
vp_status: 0x00
error_code: 0x97
video_size: CIF
roi: ( 0, 0) to (352, 288)
actual_fps: 0
transfer_rate: 0kB/s
read-write
----------------------- current min max = default=20 comment
brightness: 50 0 100 50
contrast: 48 0 80 48 steps of = 8
<snip>
 
Can I consider this a successful load of = the=20 driver??
 
Thanks,
Eugene
------=_NextPart_000_0007_01C296CB.43F5B9A0-- From eugene@chiu.bz Sat, 30 Nov 2002 00:50:08 -0500 Date: Sat, 30 Nov 2002 00:50:08 -0500 From: Eugene Chiu eugene@chiu.bz Subject: [cpia] Re: Creative Webcam II Parallel Port question > -----Original Message----- > From: Duncan Haldane [mailto:f.duncan.m.haldane@worldnet.att.net] > Sent: November 28, 2002 9:54 PM > To: Eugene Chiu > Cc: cpia@risc.uni-linz.ac.at > Subject: RE: [cpia] Re: Creative Webcam II Parallel Port question > > > > When I run gqcam to look at the imega on /dev/video0 I now get: > > V4L Driver version: 1.2.1 > CPIA Version: 1.30 (2.10) > CPIA PnP-ID: 0553:0002:0100 > VP-Version: 1.0 0100 > system_state: 0x03 > grab_state: 0x00 > stream_state: 0x00 > fatal_error: 0x00 > cmd_error: 0x00 > debug_flags: 0x00 > vp_status: 0xc0 > error_code: 0x71 > video_size: CIF > roi: ( 0, 0) to (352, 288) > actual_fps: 9 > transfer_rate: 319kB/s > > > > Your output seems to show some error condition? > Did you try to open the /dev/video0 with some video4linux application? ^^^^^^^^^^ May be this is the problem, I don't have a /dev/video0, is that normal? Eugene From f.duncan.m.haldane@worldnet.att.net Sat, 30 Nov 2002 11:43:13 -0500 (EST) Date: Sat, 30 Nov 2002 11:43:13 -0500 (EST) From: Duncan Haldane f.duncan.m.haldane@worldnet.att.net Subject: [cpia] Re: Creative Webcam II Parallel Port question On 30-Nov-2002 Eugene Chiu wrote: > >> Your output seems to show some error condition? >> Did you try to open the /dev/video0 with some video4linux application? > ^^^^^^^^^^ > > May be this is the problem, I don't have a /dev/video0, is that normal? from: linux-2.4.*/Documentation/video4linux/README.cpia: USAGE: General: ======== 1) Make sure you have created the video devices (/dev/video*): - if you have a recent MAKEDEV do a 'cd /dev;./MAKEDEV video' - otherwise do a: cd /dev mknod video0 c 81 0 Dont do the next step mentioned after this, it is outdated: /dev/video is now a directory) From blaise@gassend.com Sat, 30 Nov 2002 11:10:18 -0500 Date: Sat, 30 Nov 2002 11:10:18 -0500 From: Blaise Gassend blaise@gassend.com Subject: [cpia] Re: Creative Webcam II Parallel Port question > > Your output seems to show some error condition? > > Did you try to open the /dev/video0 with some video4linux application? > ^^^^^^^^^^ > > May be this is the problem, I don't have a /dev/video0, is that normal? You can make it like this (as root): cd /dev mknod video0 c 81 0