From steve.miller@st.com Mon, 02 Jul 2001 17:31:47 -0700 Date: Mon, 02 Jul 2001 17:31:47 -0700 From: Steve Miller steve.miller@st.com Subject: [cpia] cpia2 webcam Hi, I've been working on a driver for the second generation cpia chip (cpia2), and have been asked by my boss to find two or three people to help test and maintain it. The driver is working and stable, but still needs some features and speed. There is currently only one camera we know of that uses this chip, but more are on the way. If anyone is interested in helping, we are willing to provide a camera. This is aimed mostly at the original cpia driver developers, but anyone else who can do driver development is welcome. If you're interested or have questions, please let me know. Thanks, Steve -- Steve Miller Software Engineer STMicroelectronics phone (602) 485-2014 From bronson@rinspin.com Mon, 02 Jul 2001 16:54:44 -0700 Date: Mon, 02 Jul 2001 16:54:44 -0700 From: Scott Bronson bronson@rinspin.com Subject: [cpia] Hyper Vcam Fun controller Well, it's clear that only SOME of Aiptek's Hyper Vcam Fun webcams use the CPiA controller. The one that I just bought has an OV511+ in it and, on my machine, the 2.4.2 kernel's ov511 module drives it very well. I've emailed Mark McClelland so he can update http://alpha.dyndns.org/ov511/cameras.html Could someone here update the home page to report that some Aiptek Hyper Vcam Funs use CPiA, and some use ov511? Maybe you could provide a link to http://alpha.dyndns.org/ov511? Thanks, - Scott From ruempler@topconcepts.com Tue, 03 Jul 2001 18:01:07 +0200 Date: Tue, 03 Jul 2001 18:01:07 +0200 From: =?iso-8859-1?Q?S=F6nke?= Ruempler ruempler@topconcepts.com Subject: [cpia] cpia & proc Hi there, maybe i am to stupid, but i dont know how to change the cpia settings in the proc filesystem i tried zB echo "brightness: 50" > /proc/cpia/video0 - but in the video0 file there is no change. :((( I searched for it in google, but found nothing .... so i hope, somebody on this list can help me ! so long s0enke From Peter_Pregler@email.com Tue, 3 Jul 2001 20:26:54 +0200 Date: Tue, 3 Jul 2001 20:26:54 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] cpia & proc Hi, check out the syslog. There should be an error-message. Also I think the redirection should be an append: root@gretel:~# cat /proc/cpia/video1 |grep brig brightness: 0 0 100 50 root@gretel:~# echo "brightness: 1" >> /proc/cpia/video1 root@gretel:~# cat /proc/cpia/video1 |grep brig brightness: 1 0 100 50 So it works here. As for the command itself, it will not have any effect because of the gain-control. Use cpia-control to get a feeling what effects changing of parameters has. Greetings, Peter On Tue, Jul 03, 2001 at 06:01:07PM +0200, Sönke Ruempler wrote: > Hi there, > > maybe i am to stupid, but i dont know how to change the cpia settings in > the proc filesystem > > i tried zB echo "brightness: 50" > /proc/cpia/video0 - but in the video0 > file there is no change. :((( I searched for it in google, but found > nothing .... so i hope, somebody on this list can help me ! > > so long s0enke > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia > -- You can weave your life so long - only so long, and then a thing in the world out of your control will tug at one vital thread and leave you patternless and subdued. ------------------------------- Email: Peter_Pregler@email.com From dbernick@angstrommicro.com Tue, 03 Jul 2001 17:11:28 -0400 Date: Tue, 03 Jul 2001 17:11:28 -0400 From: David Bernick dbernick@angstrommicro.com Subject: [cpia] Two Microtek U2S I have 2 microtek eye-star U2S cameras. I am using kernel 2.2.19 with the cpia drivers as modules. I can call one camera as /dev/video0. This works fine on the first camera. If i turn deactivate it and call /dev/video1, that works fine on the 2nd camera. If i have both on at once, only one camera works at a time. does anyone know of a way to have both cameras working at the same time? i've tried 2.4 and that doesn't help... thanks in advance! dave From sbertin@securenym.net Wed, 4 Jul 2001 21:56:38 -0400 (EDT) Date: Wed, 4 Jul 2001 21:56:38 -0400 (EDT) From: pop user sbertin@securenym.net Subject: [cpia] cpia_write_proc insecure I wanted to let everyone know that starting from kernel 2.4.4-ac6 cpia_write_proc has been disabled as being insecure. I don't know why, but I have written to Alan Cox and Alexander Viro to find out (they killed it). If anybody has more insight into this, please let me know. Scott J. Bertin sbertin@securenym.net From sbertin@securenym.net Thu, 5 Jul 2001 07:32:29 -0400 (EDT) Date: Thu, 5 Jul 2001 07:32:29 -0400 (EDT) From: pop user sbertin@securenym.net Subject: [cpia] cpia_write_proc insecure The issue is that a maliciously constructed write statement could cause cpia_write_proc to read from kernel space or an unmapped area of user space. I'll be looking into a solution to this tonight. Scott J. Bertin sbertin@securenym.net From sbertin@securenym.net Thu, 5 Jul 2001 20:43:51 -0400 (EDT) Date: Thu, 5 Jul 2001 20:43:51 -0400 (EDT) From: pop user sbertin@securenym.net Subject: [cpia] cpia_write_proc insecure This is fixed in CVS now. I also cleaned up the preprocessor abuse in there. Please test this. I would like to put together a new release and a kernel patch soon (possibly this weekend). Scott J. Bertin sbertin@securenym.net From deanmao@cc.gatech.edu Thu, 05 Jul 2001 21:09:23 -0400 Date: Thu, 05 Jul 2001 21:09:23 -0400 From: Dino deanmao@cc.gatech.edu Subject: [cpia] Ezonics ezcam usb... Has anyone gotten their Ezonics ezcam usb working in linux? If so, could you give me some device information about the usb cam? I'm uncertain if I have a ezcamII or not. It looks like a ezcamII usb, but is not being recognized by the cpia_usb module. This is mine: (selected data from usbview) USB Version: 1.00 Device Class: 00(>ifc) Device Subclass: 00 Device Protocol: 00 Vendor Id: 0572 Product Id: 0002 Revision Number: 0.01 On the bottom of my Ezonics ezcam, it says I have a "Model No. P10UC", "P/N: 5302-00340". Does this data look familiar to any other usb ezcam owners who have gotten their camera working under linux? I'm using kernel 2.4.6, AMD K7, sblive, matrox millenium 2, intel etherexpress 100, also using a OV511 webcam and a bt878 tv card. I have the cpia and cpia_usb modules loaded, when inserting the device, it says that there is not driver that is associated with the device. Thanks! Dean From Peter_Pregler@email.com Fri, 6 Jul 2001 22:56:35 +0200 Date: Fri, 6 Jul 2001 22:56:35 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Ezonics ezcam usb... On Thu, Jul 05, 2001 at 09:09:23PM -0400, Dino wrote: ... > Vendor Id: 0572 > Product Id: 0002 > Revision Number: 0.01 ... > I have the cpia and cpia_usb modules loaded, when inserting the device, > it says that there is not driver that is associated with the device. Which is correct. The cpia-driver does check for the following number (output from lsusb): Bus 001 Device 002: ID 0553:0002 VLSI Vision Ltd. CPiA Camera idVendor 0x0553 VLSI Vision Ltd. idProduct 0x0002 CPiA Camera I have no idea if the 0572/0002 is a cpia-based chip. See www.linux-usb.org if there is anything listed under that ids. If not you can always hack the driver and see what happens. Greetings, Peter -- You can weave your life so long - only so long, and then a thing in the world out of your control will tug at one vital thread and leave you patternless and subdued. ------------------------------- Email: Peter_Pregler@email.com From deanmao@cc.gatech.edu Fri, 06 Jul 2001 19:45:05 -0400 Date: Fri, 06 Jul 2001 19:45:05 -0400 From: Dino deanmao@cc.gatech.edu Subject: [cpia] Ezonics ezcam usb... Steve Miller wrote: > > deanmao@cc.gatech.edu wrote: > > > > Has anyone gotten their Ezonics ezcam usb working in linux? If so, > > could you give me some device information about the usb cam? I'm > > uncertain if I have a ezcamII or not. It looks like a ezcamII usb, but > > is not being recognized by the cpia_usb module. > > > > This is mine: (selected data from usbview) > > USB Version: 1.00 > > Device Class: 00(>ifc) > > Device Subclass: 00 > > Device Protocol: 00 > > Vendor Id: 0572 > > Product Id: 0002 > > Revision Number: 0.01 > > This is probably not a cpia camera. Normally cpia carries a vendor id of > 0x553 (which is vvl/st microelectronics). Most OEMs don't bother to > change that. Somewhere there is a list of vendors/ids (I can't remember > where). Just do a google search for it and then see who the vendor is. > The original EZCam is a cpia camera and has worked fine for me under > both 2.2.17 and 2.4.3 kernels. hmm... looks like you're right. I opened up my webcam and took the sticker off the chip. This is what it says: C O N E X A N T CN0352P 11226-11 B88747.3 9946 MEXICO Looking at the usb vendor id database, I find that 0x0572 is licensed to Conexant Systems, Inc. So currently, there is no driver for this chip in Linux? Anyone have ideas about this or where to look? Or if there is no driver, where to look for specs on this chip so I can write one? Dean From Peter_Pregler@email.com Sun, 8 Jul 2001 12:54:05 +0200 Date: Sun, 8 Jul 2001 12:54:05 +0200 From: Peter Pregler Peter_Pregler@email.com Subject: [cpia] Ezonics ezcam usb... On Fri, Jul 06, 2001 at 07:45:05PM -0400, Dino wrote: > > Looking at the usb vendor id database, I find that 0x0572 is licensed to > Conexant Systems, Inc. So currently, there is no driver for this chip > in Linux? Anyone have ideas about this or where to look? Or if there > is no driver, where to look for specs on this chip so I can write > one? You have several options: 1) Add the id to the various linux-drivers and see what happens. Maybe it is a supported chip with a changed Id. 2) Check out the copyright of the windows-driver. If it is made by VLSI-systems it might be a cpia. 3) Ask at the linux-usb mailing list. 4) Ask Conexant, but that might need some patience on your side. :( Greetings, Peter -- You can weave your life so long - only so long, and then a thing in the world out of your control will tug at one vital thread and leave you patternless and subdued. ------------------------------- Email: Peter_Pregler@email.com From sbertin@securenym.net Tue, 10 Jul 2001 21:57:50 -0400 (EDT) Date: Tue, 10 Jul 2001 21:57:50 -0400 (EDT) From: pop user sbertin@securenym.net Subject: [cpia] Please test USB CVS version Can someone with a USB camera please test the latest CVS driver and let me know if it works. I just updated it with some changes from the kernel. I do not have a USB camera, and I want to have the changes tested before I create a new release and a kernel patch. Scott J. Bertin sbertin@securenym.net From wesneski@swbell.net Tue, 31 Jul 2001 16:33:16 -0500 Date: Tue, 31 Jul 2001 16:33:16 -0500 From: Chris Wesneski wesneski@swbell.net Subject: [cpia] Ezonics EZDual Cam This is a multi-part message in MIME format. --------------62042242D3456F6A190F9B50 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know if the Ezonics EZDual Cam is CPiA based? I'm trying to get it to work with RH 7.1 (2.4.2-2 kernel) with the cpia-1.2 drivers with no luck. I've compiled the kernel with Video for linux and so forth (following a post from linuxnewbie.org about cpia based cams) and got the drivers to compile but when I insmod cpia.o I get: kernel: V4L-Driver for Vision CPiA based cameras v1.2.0 modprobe: modprobe: Can't locate module cpia_usb then I do insmod cpia_usb.o: kernel: usb.c: registered new driver cpia I run ./gqcam and get: /dev/video: No such device and from the kernel: modprobe: modprobe: Can't locate module char-major-81-0 I had a /dev/video already but it was a directory and when I ran gqcam it said /dev/video: Is a directory. Duh. So I moved that and created a hard link to /dev/video0 (why, I don't know, I was way over my head at this point). It seems like I'm just missing something small but I don't know what. Should there be some info about V4L loading somewhere? I'm lost. Help! Thanks in advance, Chris --------------62042242D3456F6A190F9B50 Content-Type: text/x-vcard; charset=us-ascii; name="wesneski.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Chris Wesneski Content-Disposition: attachment; filename="wesneski.vcf" begin:vcard n:Wesneski;Chris x-mozilla-html:TRUE adr:;;;The Colony, Texas;;;USA version:2.1 email;internet:wesneski@swbell.net x-mozilla-cpt:;11600 fn:Chris Wesneski end:vcard --------------62042242D3456F6A190F9B50-- From wesneski@swbell.net Tue, 31 Jul 2001 17:06:09 -0500 Date: Tue, 31 Jul 2001 17:06:09 -0500 From: Chris Wesneski wesneski@swbell.net Subject: [cpia] Ezonics EZDual Cam This is a multi-part message in MIME format. --------------9EFFC60320ECABE3629E265D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ok so I did some more checking and I might be out of luck. I checked for the the VID/PID and got 0x6f0/0xde01 which is registered to TNC Industrial. I found their web page and they actually have windows drivers for other similar part numbers, but not this one. I did however try my QCam Express (with the qc drivers of course) and got the same problem with /dev/video. I know this isn't the correct place for this question but, if anyone can help can you mail me at wesneski@swbell.net? Chris Wesneski wrote: > > Does anyone know if the Ezonics EZDual Cam is CPiA based? I'm trying to > get it to work with RH 7.1 (2.4.2-2 kernel) with the cpia-1.2 drivers > with no luck. I've compiled the kernel with Video for linux and so forth > (following a post from linuxnewbie.org about cpia based cams) and got > the drivers to compile but when I insmod cpia.o I get: > > kernel: V4L-Driver for Vision CPiA based cameras v1.2.0 > modprobe: modprobe: Can't locate module cpia_usb > > then I do insmod cpia_usb.o: > > kernel: usb.c: registered new driver cpia > > I run ./gqcam and get: > /dev/video: No such device > > and from the kernel: > > modprobe: modprobe: Can't locate module char-major-81-0 > > I had a /dev/video already but it was a directory and when I ran gqcam > it said /dev/video: Is a directory. Duh. So I moved that and created a > hard link to /dev/video0 (why, I don't know, I was way over my head at > this point). It seems like I'm just missing something small but I don't > know what. Should there be some info about V4L loading somewhere? I'm > lost. Help! > > Thanks in advance, > > Chris --------------9EFFC60320ECABE3629E265D Content-Type: text/x-vcard; charset=us-ascii; name="wesneski.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Chris Wesneski Content-Disposition: attachment; filename="wesneski.vcf" begin:vcard n:Wesneski;Chris x-mozilla-html:TRUE adr:;;;The Colony, Texas;;;USA version:2.1 email;internet:wesneski@swbell.net x-mozilla-cpt:;11600 fn:Chris Wesneski end:vcard --------------9EFFC60320ECABE3629E265D-- From bronson@rinspin.com Tue, 31 Jul 2001 15:11:29 -0700 Date: Tue, 31 Jul 2001 15:11:29 -0700 From: Scott Bronson bronson@rinspin.com Subject: [cpia] Ezonics EZDual Cam Let's just be sure you've got a decent device node. As root: rm /dev/video /dev/video0 mknod /dev/video0 c 81 0 chmod 666 /dev/video0 chgrp video /dev/video0 ln -s /dev/video0 /dev/video It should look like this: crw-rw-rw- 1 root video 81, 0 Nov 1 2000 /dev/video0 Now try it. - Scott Chris Wesneski wrote: > > Ok so I did some more checking and I might be out of luck. I checked for > the the VID/PID and got 0x6f0/0xde01 which is registered to TNC > Industrial. I found their web page and they actually have windows > drivers for other similar part numbers, but not this one. I did however > try my QCam Express (with the qc drivers of course) and got the same > problem with /dev/video. I know this isn't the correct place for this > question but, if anyone can help can you mail me at wesneski@swbell.net? > > Chris Wesneski wrote: > > > > Does anyone know if the Ezonics EZDual Cam is CPiA based? I'm trying to > > get it to work with RH 7.1 (2.4.2-2 kernel) with the cpia-1.2 drivers > > with no luck. I've compiled the kernel with Video for linux and so forth > > (following a post from linuxnewbie.org about cpia based cams) and got > > the drivers to compile but when I insmod cpia.o I get: > > > > kernel: V4L-Driver for Vision CPiA based cameras v1.2.0 > > modprobe: modprobe: Can't locate module cpia_usb > > > > then I do insmod cpia_usb.o: > > > > kernel: usb.c: registered new driver cpia > > > > I run ./gqcam and get: > > /dev/video: No such device > > > > and from the kernel: > > > > modprobe: modprobe: Can't locate module char-major-81-0 > > > > I had a /dev/video already but it was a directory and when I ran gqcam > > it said /dev/video: Is a directory. Duh. So I moved that and created a > > hard link to /dev/video0 (why, I don't know, I was way over my head at > > this point). It seems like I'm just missing something small but I don't > > know what. Should there be some info about V4L loading somewhere? I'm > > lost. Help! > > > > Thanks in advance, > > > > Chris From wesneski@swbell.net Tue, 31 Jul 2001 17:23:11 -0500 Date: Tue, 31 Jul 2001 17:23:11 -0500 From: Chris Wesneski wesneski@swbell.net Subject: [cpia] Ezonics EZDual Cam Is the video group important? I get chgrp: invalid group name video. I tried it with group root and I get the same thing, no such device. Thanks for the help though, I think I have larger problems :( Scott Bronson wrote: > > Let's just be sure you've got a decent device node. > As root: > > rm /dev/video /dev/video0 > mknod /dev/video0 c 81 0 > chmod 666 /dev/video0 > chgrp video /dev/video0 > ln -s /dev/video0 /dev/video > > It should look like this: > > crw-rw-rw- 1 root video 81, 0 Nov 1 2000 /dev/video0 > > Now try it. > > - Scott > > Chris Wesneski wrote: > > > > Ok so I did some more checking and I might be out of luck. I checked for > > the the VID/PID and got 0x6f0/0xde01 which is registered to TNC > > Industrial. I found their web page and they actually have windows > > drivers for other similar part numbers, but not this one. I did however > > try my QCam Express (with the qc drivers of course) and got the same > > problem with /dev/video. I know this isn't the correct place for this > > question but, if anyone can help can you mail me at wesneski@swbell.net? > > > > Chris Wesneski wrote: > > > > > > Does anyone know if the Ezonics EZDual Cam is CPiA based? I'm trying to > > > get it to work with RH 7.1 (2.4.2-2 kernel) with the cpia-1.2 drivers > > > with no luck. I've compiled the kernel with Video for linux and so forth > > > (following a post from linuxnewbie.org about cpia based cams) and got > > > the drivers to compile but when I insmod cpia.o I get: > > > > > > kernel: V4L-Driver for Vision CPiA based cameras v1.2.0 > > > modprobe: modprobe: Can't locate module cpia_usb > > > > > > then I do insmod cpia_usb.o: > > > > > > kernel: usb.c: registered new driver cpia > > > > > > I run ./gqcam and get: > > > /dev/video: No such device > > > > > > and from the kernel: > > > > > > modprobe: modprobe: Can't locate module char-major-81-0 > > > > > > I had a /dev/video already but it was a directory and when I ran gqcam > > > it said /dev/video: Is a directory. Duh. So I moved that and created a > > > hard link to /dev/video0 (why, I don't know, I was way over my head at > > > this point). It seems like I'm just missing something small but I don't > > > know what. Should there be some info about V4L loading somewhere? I'm > > > lost. Help! > > > > > > Thanks in advance, > > > > > > Chris From bronson@rinspin.com Tue, 31 Jul 2001 15:33:56 -0700 Date: Tue, 31 Jul 2001 15:33:56 -0700 From: Scott Bronson bronson@rinspin.com Subject: [cpia] Ezonics EZDual Cam No, it's not important. But, if you want a video group, you can just groupadd video If problems persist even with your video0 device node set up correctly, then yes, there are larger issues. Have you checked your logs? - Scott Chris Wesneski wrote: > > Is the video group important? I get chgrp: invalid group name video. I > tried it with group root and I get the same thing, no such device. > Thanks for the help though, I think I have larger problems :( > > Scott Bronson wrote: > > > > Let's just be sure you've got a decent device node. > > As root: > > > > rm /dev/video /dev/video0 > > mknod /dev/video0 c 81 0 > > chmod 666 /dev/video0 > > chgrp video /dev/video0 > > ln -s /dev/video0 /dev/video > > > > It should look like this: > > > > crw-rw-rw- 1 root video 81, 0 Nov 1 2000 /dev/video0 > > > > Now try it. > > > > - Scott > > > > Chris Wesneski wrote: > > > > > > Ok so I did some more checking and I might be out of luck. I checked for > > > the the VID/PID and got 0x6f0/0xde01 which is registered to TNC > > > Industrial. I found their web page and they actually have windows > > > drivers for other similar part numbers, but not this one. I did however > > > try my QCam Express (with the qc drivers of course) and got the same > > > problem with /dev/video. I know this isn't the correct place for this > > > question but, if anyone can help can you mail me at wesneski@swbell.net? > > > > > > Chris Wesneski wrote: > > > > > > > > Does anyone know if the Ezonics EZDual Cam is CPiA based? I'm trying to > > > > get it to work with RH 7.1 (2.4.2-2 kernel) with the cpia-1.2 drivers > > > > with no luck. I've compiled the kernel with Video for linux and so forth > > > > (following a post from linuxnewbie.org about cpia based cams) and got > > > > the drivers to compile but when I insmod cpia.o I get: > > > > > > > > kernel: V4L-Driver for Vision CPiA based cameras v1.2.0 > > > > modprobe: modprobe: Can't locate module cpia_usb > > > > > > > > then I do insmod cpia_usb.o: > > > > > > > > kernel: usb.c: registered new driver cpia > > > > > > > > I run ./gqcam and get: > > > > /dev/video: No such device > > > > > > > > and from the kernel: > > > > > > > > modprobe: modprobe: Can't locate module char-major-81-0 > > > > > > > > I had a /dev/video already but it was a directory and when I ran gqcam > > > > it said /dev/video: Is a directory. Duh. So I moved that and created a > > > > hard link to /dev/video0 (why, I don't know, I was way over my head at > > > > this point). It seems like I'm just missing something small but I don't > > > > know what. Should there be some info about V4L loading somewhere? I'm > > > > lost. Help! > > > > > > > > Thanks in advance, > > > > > > > > Chris > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia