from http://www.smcc.demon.nl/webcam/faq.html#I5 If you can't load pwcx.o because of these messages: depmod: *** Unresolved symbols in /lib/modules/usb/pwcx.o depmod: pwc_unregister_decompressor depmod: pwc_register_decompressor depmod: printk then 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. ---------------------------------------------------------------------------- ------- Is there a way to automatically load PWCX after the PWC module? Yes, there is! John Rodkey sent me a tip; add this to your /etc/modules.conf: post-install pwc /sbin/insmod --force /lib/modules/usb/pwcx-i386.o >/dev/null 2>&1 || : You may of course have to change the path to the pwcx module, depending on your setup. Now everytime pwc is loaded (either by modprobe or the kerneld), pwcx will loaded too. You will need the --force option because the pwcx kernel version will probably not match yours. And oh, since pwcx is kernel independant, you should indeed install it in /lib/modules/usb, instead of /lib/modules/<kernel-version>/kernel/drivers/usb. can you comment on these? -----Original Message----- From: Seth Arnold [mailto:sarnold@wirex.com] Sent: Friday, October 18, 2002 10:29 AM To: Osman Çinar Eren Subject: Re: module version On Fri, Oct 18, 2002 at 10:19:44AM +0300, Osman Çinar Eren wrote: > this is not an answer to my question? right? I'm afraid it is -- module versioning does not affect the filesystem. There is no easy way to get modules to show up in just /lib/modules/. That would probably require changes to insmod and modprobe. > -----Original Message----- > From: Seth Arnold [mailto:sarnold@wirex.com] > Sent: Friday, October 18, 2002 10:12 AM > To: 'kernelnewbies@nl.linux.org' > Subject: Re: module version > > > On Fri, Oct 18, 2002 at 09:39:30AM +0300, Osman Ç?nar Eren wrote: > > Currently i use a kernel with kernel module versioning so all of my > modules > > are under /lib/modules/linux_version/ > > > > now i configure a kernel without module vresioning. but although i expect > to > > see the modules under /lib/modules/ > > , i cant. > > > > where do i make the mistake? > > Module versions doesn't affect where the modules are located in the > filesystem -- module versions just mangle the symbols names, similar to > C++ symbol mangling, in an attempt to supply some extra type safety when > trying to use modules with differently-versioned kernels. > > I'm not sure that module versioning is a good idea. The safety supplied > by the symbol mangling is not very strong. So I wouldn't suggest relying > on it to provide kernel-independence. > > > -- > Too bad life doesn't have a :q! command. -- http://www.wirex.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/