LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-09-2011, 12:22 AM   #1
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Rep: Reputation: 3
Problems installing webcam driver spca5xx on Debian Squeeze


Code:
lsusb
Bus 002 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
Check the hardware list at http://mxhaard.free.fr/spca5xx.html
Code:
Logitech 	213 	0x046d 	0x08d7 	Communicate STX 	Sully 	Vc0302 	Tas5130c 	Yes 	jpeg 	spca5xx/LE gspca v4l1/v4l2 	****
Downloaded both the spca5xx and gspca v4li:
Code:
make clean
make

make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-686'
/usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build:49: *** CFLAGS was changed in "/home/ventsy/.local/share/Trash/files/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[3]: *** [_module_/home/ventsy/.local/share/Trash/files/spca5xx-v4l1goodbye] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'
make: *** [default] Error 2
The doc says:
Quote:
Before trying to compile the driver, ensure that you've configured your
kernel, and updated the dependencies:
'make [config|menuconfig|xconfig]; make dep'.

Make sure, when compiling the driver, you use the same version of compiler as
was used to compile your kernel. Not doing so can create incompatible binaries.

If you wish 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.

Please note, the default location for the kernel, according to the driver, is
/usr/src/linux.
I don't have /usr/src/linux directory, I have the following in my /usr/src:
Code:
linux-headers-2.6.32-5-686  linux-headers-2.6.32-5-common  linux-kbuild-2.6.32	virtualbox-ose-3.2.10
How do I run this?
make [config|menuconfig|xconfig]; make dep

I tried running
Code:
make KBUILD_NOPEDANTIC=1 KINCLUDE=/usr/src/linux-headers-2.6.32-5-common/include
but I get a bunch of compilation errors...

I then tried compiling the gspca driver - pretty much the same result - a bunch of compilation errors.
Any ideas?

Last edited by ventsyv; 06-09-2011 at 12:23 AM.
 
Old 06-09-2011, 12:33 PM   #2
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Original Poster
Rep: Reputation: 3
Bump...
 
Old 06-10-2011, 08:24 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moved: This thread is more suitable in <Debian> and has been moved accordingly to help your thread/question get the exposure it deserves.

----
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.
http://www.linuxquestions.org/rules.php
 
Old 06-10-2011, 03:07 PM   #4
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
For your information, the kernel package itself contains a lot of gspca module variations inside

/lib/modules/( uname -r goes here )/kernel/drivers/media/video/gspca/

so why bother with compiling stuff?
 
Old 06-10-2011, 03:14 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
One of the modules in the kernel should work you might need to do
modprobe videodev
modprobe spca5xx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing spca5xx driver for webcam JOtis02 Linux - Newbie 10 05-19-2009 09:43 PM
webcam driver spca5xx stefane321 SUSE / openSUSE 6 07-04-2008 03:29 PM
spca5xx webcam driver installed but still no-dice... jaydag71 Linux - Hardware 9 10-08-2007 08:57 PM
Webcam driver Spca5xx-LE , Where !! mickeyboa Fedora 3 07-05-2007 07:01 PM
kernel 2.6.8-2-k7 and webcam spca5xx driver crispyleif Linux - Software 3 11-20-2005 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration