[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian testing kernel for use with pwcx.o (webcam) module.



On Sat, Feb 14, 2004 at 07:30:04PM +0000, Adam Funk wrote:
> I have a Logitech QuickCam 4000 Pro and a Debian sarge system on an
> Athlon 1100 with the 2.4.23-1-386 kernel.  I've tried to use the pwcx
> module from http://www.smcc.demon.nl/webcam/ by copying
> pwcx-8.4/2.4.23/gcc-3.2/pwcx.o
> to /lib/modules/2.4.23-1-386/kernel/drivers/usb/
> but I got the following:
> 
> # update-modules 
> depmod: *** Unresolved symbols
> in /lib/modules/2.4.23-1-386/kernel/drivers/usb/pwcx.o
> 

First, I'm assuming you have module-init-tools installed.
Try moving the module to /lib/modules/usb/pwcx.o (so that it can be
used with any 2.4 kernel). 

Put the following in a file in /etc/modutils:

# To auto load pwcx-2.4.20.o module after pwc.o module is loaded for
# Logitech webcam. See http://www.smcc.demon.nl/webcam/release.html#pwcx
# pwcx is a plugin for pwc.o gives you larger images and higher framerates
# with the webcams. Its use is completely optional.

post-install pwc /sbin/insmod.modutils --force /lib/modules/usb/pwcx.o >/
dev/null 2>&1



After you have put the above lines in a file in /etc/modutils, 
run /sbin/update-modules. The module should load even though you will get
complaints about unresolved symbols.


> # modprobe pwcx
> /lib/modules/2.4.23-1-386/kernel/drivers/usb/pwcx.o: kernel-module
> version mismatch
>         /lib/modules/2.4.23-1-386/kernel/drivers/usb/pwcx.o was compiled
> for kernel version 2.4.23
>         while this kernel is version 2.4.23-1-386.
> /lib/modules/2.4.23-1-386/kernel/drivers/usb/pwcx.o:
> insmod /lib/modules/2.4.23-1-386/kernel/drivers/usb/pwcx.o failed
> /lib/modules/2.4.23-1-386/kernel/drivers/usb/pwcx.o: insmod pwcx failed
> 
> According to the module's FAQ
> (http://www.smcc.demon.nl/webcam/faq.html#L10) this means "you have a
> kernel with version information on module symbols turned on. Recompile
> and/or install a kernel with this option turned off. And yes, that is
> the only way."
> 
> I would prefer not to dabble in recompiling my kernel yet since I have
> no experience of this.  Is there a suitable kernel package available?
> 
> Thanks,
> Adam
> 
> 

-- 
Jerome

Attachment: signature.asc
Description: Digital signature


Reply to: