From joseosanchez@web.de Wed, 7 May 2003 06:26:35 +0200 Date: Wed, 7 May 2003 06:26:35 +0200 From: Jose Sanchez joseosanchez@web.de Subject: [cpia] Microtek eyestar parallel port Hi, I have an old webcam (Microtek eyestar )attached to the parallel port of my linux box (SUSE 8.1). Is it possible to use it, because I have never been able to use it. Does the new driver support it? I hope someone has an idea. Thanks Jose ____________________________________________________________________________ Fur 92 EUR mit Lufthansa quer durch Deutschland fliegen. Jetzt online den Fruhbucher-Tarif buchen unter http://img.web.de/lh/lhspecial2.html From f.duncan.m.haldane@worldnet.att.net Wed, 07 May 2003 01:03:12 -0400 (EDT) Date: Wed, 07 May 2003 01:03:12 -0400 (EDT) From: Duncan Haldane f.duncan.m.haldane@worldnet.att.net Subject: [cpia] Microtek eyestar parallel port On 07-May-2003 Jose Sanchez wrote: > Hi, > > I have an old webcam (Microtek eyestar )attached to the parallel port of my > linux box (SUSE 8.1). Is it possible to use it, because I have never been > able to use it. Does the new driver support it? > > I hope someone has an idea. > > Thanks > If it is a cpia camera, it should work. The webpage only says the usb version of this camera has the CPiA chip. Maybe the parallel port version does too.(?) Here is how to check: -----look in /proc/sys/dev/parport----------- $ ls -R /proc/sys/dev/parport /proc/sys/dev/parport: default parport0 /proc/sys/dev/parport/default: spintime timeslice /proc/sys/dev/parport/parport0: autoprobe autoprobe1 autoprobe3 devices irq spintime autoprobe0 autoprobe2 base-addr dma modes /proc/sys/dev/parport/parport0/devices: active cpia_pp /proc/sys/dev/parport/parport0/devices/cpia_pp: timeslice ------------now look in autoprobe-------------- $ cat /proc/sys/dev/parport/parport0/autoprobe CLASS:MEDIA; MODEL:PPC2 Camera; MANUFACTURER:VLSI Vision Ltd; DESCRIPTION:Parallel Port Camera; COMMAND SET:CPIA_1-20; ------------------------------------------------ COMMAND SET: CPIA_1-20 shows a cpia parallel port webcam is present. If you have this, you can make the webcam work with the cpia_pp driver. If not, you can't. Good luck > Jose ---------------------------------- E-Mail: Duncan Haldane Date: 07-May-2003 Time: 00:50:49 This message was sent by XFMail ---------------------------------- From f.duncan.m.haldane@worldnet.att.net Thu May 22 03:09:29 2003 From: f.duncan.m.haldane@worldnet.att.net (Duncan Haldane) Date: Wed, 21 May 2003 22:09:29 -0400 (EDT) Subject: [cpia] Patch (2.5.69) to remove floating point use in cpia.c In-Reply-To: <20030520012807.65fb1356.akpm@digeo.com> Message-ID: This message is in MIME format --_=XFMail.1.5.4.Linux:20030521220929:2489=_ Content-Type: text/plain; charset=us-ascii Hi Alan, Gerd Knorr noticed a small use of floating point math in the cpia driver updates for 2.5.x I sent you a while ago, and this is not allowed in the kernel. This was in some code taken essentially verbatim from the Windows cpia driver released under the GPL by STM inc. that had been incorporated in the later versions of the cpia drivera sourceforge. It turns out that the use of floating point was quite inessential, and I've reimplemented the couple of lines of code involved in integer arithmetic. Patch against 2.5.69 attached. Regards, Duncan Haldane ------------------------------------------------- On 20-May-2003 Andrew Morton wrote: > Peter Pregler wrote: >> >> On Mon, 19 May 2003 12:56:43 +0200 >> Gerd Knorr wrote: >> >> > Hi, >> > >> > cpia driver does fp math in kernel (set_flicker function). That isn't >> > allowed, please fix. >> >> Someone has 'ported' a windows-driver functionality directly to the >> kernel. It is in our cvs-tree but not in the 2.4.x tree. Don't know who >> sent this upstreams for 2.5.x. Thanx for the info. >> > > That would be Alan, who on 28 Oct last year submitted "cpia update from > maintainer". > > Alan, it's using floating point in set_flicker(). The 2.4 version doesn't > seem to have FP in it. To whom do we talk? > > Thanks. ---------------------------------- E-Mail: Duncan Haldane Date: 21-May-2003 Time: 21:44:37 This message was sent by XFMail ---------------------------------- --_=XFMail.1.5.4.Linux:20030521220929:2489=_ Content-Disposition: attachment; filename="patch-2.5.69-cpia" Content-Transfer-Encoding: base64 Content-Description: patch-2.5.69-cpia Content-Type: application/octet-stream; name=patch-2.5.69-cpia; SizeOnDisk=1140 ZGlmZiAtdU5yIGxpbnV4LTIuNS42OS9kcml2ZXJzL21lZGlhL3ZpZGVvL2NwaWEuYyBsaW51eC0y Lj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