[ILUG] webcam compilation woes - (possible solution)

Conor Wynne weeboy at conorwynne.com
Sun Jul 25 18:37:25 IST 2004


On Thu, 2004-07-22 at 09:36, Dermot McGahon wrote:
> On Tue, 13 Jul 2004 23:51:57 +0100, Conor Wynne <weeboy at conorwynne.com>  
> > cp -v /home/daddy/Documents/sources/pwcx-9.0/mipsel/libpwcx-mips4.a
> > drivers/usb/media/libpwcx.a
> 
> This is mips compiled.

Hmm, yes you are right. I actually considered that but stupidly thought
it was just what the filename was :)

> Find the right pwcx and give it another go.

I've now compiled the x86 version, but it borks when loading:

dmesg outout:
pwc Philips webcam decompressor routines version 9.0-BETA-2
pwc Supports all cameras supported by the main module (pwc).
pwc Version mismatch! These decompression routines are version 9.*,
while the
main module expects version 8.*. Please consult the Philips webcam Linux
driver page for the correct version and downloads.

So it looks like I need the newer version even though this one is
supposed to work wit 2.6.7

[root at charzard 2.6]# modinfo pwcx
description:    Philips webcam decompressor routines
author:         Nemosoft Unv. <webcam at smcc.demon.nl>
license:        Proprietary. See
http://www.smcc.demon.nl/webcam/tainting.html
vermagic:       2.6.7-webcam preempt K7 gcc-3.3
depends:        pwc

[root at charzard 2.6]# modinfo pwc
parm:           size:Initial image size. One of sqcif, qsif, qcif, sif,
cif, vga
parm:           fps:Initial frames per second. Varies with model, useful
range 5-30
parm:           fbufs:Number of internal frame buffers to reserve
parm:           mbufs:Number of external (mmap()ed) image buffers
parm:           trace:For debugging purposes
parm:           power_save:Turn power save feature in camera on or off
parm:           compression:Preferred compression quality. Range 0
(uncompressed) to 3 (high compression)
parm:           leds:LED on,off time in milliseconds
parm:           dev_hint:Device node hints
description:    Philips & OEM USB webcam driver
author:         Nemosoft Unv. <nemosoft at smcc.demon.nl>
license:        GPL
vermagic:       2.6.7-webcam preempt K7 gcc-3.3
depends:        usbcore,videodev
alias:          usb:v0471p0302dl*dh*dc*dsc*dp*ic*isc*ip*

The new pwcx is incorporated in pwc itself - according to the readme in
the 9.0.1 tarball. I'll probably just wait till 2.6.8 is released.
(Someone here has it working with 2.6.7-beta3)
http://kerneltrap.org/node/view/3024

Or I could downgrade to 2.6.6 and install pwcx via rpm:
http://www2.linuxforum.net/RPM/freshrpms/fedora/linux/testing/2/kernel-modules/kernel-module-pwcx-9.0-0.beta2.fr/kernel-module-pwcx-2.6.6-1.435.2.1-9.0-0.beta2.fr.i586.html

Has anyone any recomendations for apps to capture images evey few
seconds for uploading to a webserver? 
Something that just takes snaps continuously will do, as I can do a wee
script to upload em somehow. 

> Dermot.
> --
-- 
Conor Wynne
Dublin
Irlande

Key Fingerprint 1A95 E50F A15F 6601 A587 A9D8 4E55 1173 C2FE FAC2
Get my key here: http://www.conorwynne.com/gpg-key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.linux.ie/pipermail/ilug/attachments/20040725/e3978899/attachment.pgp


More information about the ILUG mailing list