LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Creative nx ultra webcam setup (https://www.linuxquestions.org/questions/suse-opensuse-60/creative-nx-ultra-webcam-setup-359878/)

stefane321 09-03-2005 01:37 PM

Creative nx ultra webcam setup
 
I everybody,

I hope one of you can help me.

I bought a Creative nx ultra webcam, I found on Google this thread:

http://www.linux-quebec.org/archives/aide/msg20793.html (Its in french)

It explain me I need the driver spca5xx :

http://mxhaard.free.fr/download.html

To install it they say I should install the kernel-source.

I know I already have a kernel on my computer. But I dont understand what is the difference between the kernel and the kernel source.

Can you please explain me that?

Others question will follow

rshaw 09-03-2005 11:29 PM

the kernel source is all the c files and headers used to compile the kernel. they live in /usr/src/linux. suse doesn't install them by default because they take up alot of space and are normally not needed unless you are going to recompile or build a 3rd party module. search your suse disks for 'kernel-source'.

White Spiral 09-04-2005 08:38 PM

source
 
Right, start yast --> Install software --> Search for source.

stefane321 09-06-2005 11:09 AM

Make error!
 
Thanks to all of you for your anwser!

Can you please help me to fix this new problem about my webcam installation?

When I do make clean I got this:

stephane@linux:~/spca5xx-20050701> make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
stephane@linux:~/spca5xx-20050701>

And when I do make I got this:

stephane@linux:~/spca5xx-20050701> make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/stephane/spca5xx-20050701 modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.151-obj/i386/default'
make[1]: *** Pas de règle pour fabriquer la cible « modules ». Arrêt.
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.151-obj/i386/default'
make: *** [default] Erreur 2
stephane@linux:~/spca5xx-20050701>

Can you please help me?

Thanks!

snf 09-21-2005 05:51 PM

check if driver supports your kernel version

polrus 09-21-2005 06:44 PM

u have to be root to execute "make"

in konsole type

su

and type Your root passowrd when asked

stefane321 09-21-2005 09:01 PM

I was logged as root
 
Thanks a lot but I was logged as root

polrus 09-23-2005 01:25 AM

spca5xx author (a great guy) will answer ur question if u post to the mailing list spca50x-devs@lists.sourceforge.net

snf 09-24-2005 05:24 AM

spca5xx driver works with kernel verions 2.6.7, 2.6.8.1 , 2.6.9 2.6.11.7 but it is not supported by 2.6.3. i think kernel verion 2.6.5-7 that you are using is also unsupported.

it says in the README file of the driver that if you want to compile the driver against a kernel other than the currently installed one, build the driver with
'make KINCLUDE=/usr/src/linux-<version>/include', or similar.

stefane321 09-28-2005 10:13 AM

Its still not working
 
Thanks for your help!

I upgraded to SUSE 9.3 my kernel is now linux-2.6.11.4-20a

I tried to do like you said :

make KINCLUDE=/usr/src/linux-2.6.11.4-20a/include

Always as root.

But I'm still getting this error:


Code:

linux:/home/stephane/spca5xx-20050701 # make KINCLUDE=/usr/src/linux-2.6.11.4-20a/include
  Building SPCA5XX driver for 2.5/2.6 kernel.
  Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/stephane/spca5xx-20050701 modules
make: *** /lib/modules/2.6.11.4-20a-default/build: No such file or directory.  Stop.
make: *** [default] Error 2
linux:/home/stephane/spca5xx-20050701 #

Thanks again for your hepl!

polrus 09-28-2005 11:02 AM

try making a symlink from ur linus kernel to /usr/src/linux
Code:

ln -s /usr/src/linux-2.6.11.4-20a /usr/src/linux
and run make without kinclude

stefane321 09-28-2005 02:15 PM

I tried it but I got the same problem!

polrus 09-28-2005 03:57 PM

i've just noticed the part
Quote:

make: *** /lib/modules/2.6.11.4-20a-default/build: No such file or directory
make sure Your

/lib/modules/2.6.11.4-20a-default/build
directory
is a symlink to Your
/usr/src/linux-2.6.11.4-20a

stefane321 09-28-2005 04:58 PM

????
 
I did:

ln -s /lib/modules/2.6.11.4-20a-default/build /usr/src/linux-2.6.11.4- 20a

And it still giving me the same error!

I hope to be close from the solution!

Thanks!

polrus 09-28-2005 05:07 PM

no no !
reversed
ln -s /usr/src/linux-2.6.11.4-20a /lib/modules/2.6.11.4-20a-default/build

and also - to be sure (maybe for another programms)

ln -s /usr/src/linux-2.6.11.4-20a /lib/modules/2.6.11.4-20a-default/source


All times are GMT -5. The time now is 09:29 AM.