LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-29-2006, 03:01 PM   #1
aaron4katie
Member
 
Registered: Dec 2006
Location: Bristol, England
Distribution: Fedora Core 6
Posts: 77

Rep: Reputation: 15
How To Install Trust Webcam Driver On Fedora Core 6?


I have downloaded gspcav1-20061216.tar.gz, which is meant to work on my Trust Spacec@m Portable, but has no readme and I think it is just source code and so needs to be compiled. I don't know how to compile it or if it is even the right thing. I downloaded from http://mxhaard.free.fr/download.html

Can someone help me able to use the webcam?

Last edited by aaron4katie; 12-30-2006 at 07:51 AM.
 
Old 12-30-2006, 07:52 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
There's a script in there called gspca_build. Try running that as root.
 
Old 12-30-2006, 04:05 PM   #3
aaron4katie
Member
 
Registered: Dec 2006
Location: Bristol, England
Distribution: Fedora Core 6
Posts: 77

Original Poster
Rep: Reputation: 15
I get this from Terminal as root

Code:
[root@localhost gspcav1-20061216]# ./gspca_build

 FATAL you need to install the Kernel Source for your running kernel
[root@localhost gspcav1-20061216]#
I searched in yum for the word kernel and found

Code:
Available Packages
kernel.i586                              2.6.18-1.2868.fc6      updates         
kernel-PAE.i686                          2.6.18-1.2868.fc6      updates         
kernel-PAE-devel.i686                    2.6.18-1.2868.fc6      updates         
kernel-devel.i686                        2.6.18-1.2868.fc6      updates         
kernel-devel.i586                        2.6.18-1.2868.fc6      updates         
kernel-doc.noarch                        2.6.18-1.2868.fc6      updates         
kernel-kdump.i686                        2.6.18-1.2868.fc6      updates         
kernel-kdump-devel.i686                  2.6.18-1.2868.fc6      updates         
kernel-xen-devel.i686                    2.6.18-1.2868.fc6      updates
is it.. kernel-devel.i686? or something totally different?
 
Old 12-31-2006, 02:50 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I haven't a clue to be honest, I thought the -devel packages just contained the headers. You could try installing that and see what happens.
 
Old 12-31-2006, 01:15 PM   #5
aaron4katie
Member
 
Registered: Dec 2006
Location: Bristol, England
Distribution: Fedora Core 6
Posts: 77

Original Poster
Rep: Reputation: 15
I installed and then ran the script and got this

Code:
[aaron@localhost gspcav1-20061216]$ sudo ./gspca_build

 REMOVE the old module if present
./gspca_build: line 18: rmmod: command not found

 CLEAN gspca source tree
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
        .gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
        *.symvers *.err

 COMPILE gspca Please Wait ....!!

 INSTALL gspca in the kernel binary tree
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae

 LOAD gspca in memory 
./gspca_build: line 30: modprobe: command not found

 PRINT COMPILATION MESSAGES if ERRORS look kgspca.err 
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/aaron/Desktop/gspcav1-20061216 CC=cc modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2868.fc6-i686'
  CC [M]  /home/aaron/Desktop/gspcav1-20061216/gspca_core.o
  CC [M]  /home/aaron/Desktop/gspcav1-20061216/decoder/gspcadecoder.o
  LD [M]  /home/aaron/Desktop/gspcav1-20061216/gspca.o
  Building modules, stage 2.
  MODPOST
  CC      /home/aaron/Desktop/gspcav1-20061216/gspca.mod.o
  LD [M]  /home/aaron/Desktop/gspcav1-20061216/gspca.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2868.fc6-i686'
 
Old 12-31-2006, 01:24 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Where are modprobe and rmmod located in Fedora? On Slack, they're in /sbin, but it might be different. Is that directory in your $PATH? Not sure if it'll make a difference, but can you do a "su -" and become root (instead of using sudo) and see if that works?
 
Old 12-31-2006, 01:48 PM   #7
aaron4katie
Member
 
Registered: Dec 2006
Location: Bristol, England
Distribution: Fedora Core 6
Posts: 77

Original Poster
Rep: Reputation: 15
I don't know where they're located but I restarted and webcam seems to work, dark..but better than nothing.. I'm just not sure if I can now remove the files from my desktop :S

I just renamed just to check and is fine, and then deleted and is fine, so i guess i don't need the original files after all.

Last edited by aaron4katie; 12-31-2006 at 01:53 PM.
 
  


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
how 2 install a soundcard driver on Fedora Core ?? nis_hurock Linux - Software 1 06-06-2006 09:08 PM
How to install nVidia driver in Fedora core 1 sirius57 Fedora 13 11-12-2005 05:48 PM
trust relationship between windows pdc and fedora core 2 rans Linux - Networking 0 09-10-2004 01:44 AM
Fedora Core installation error on Compaq Prosignia 150 PStorm7 Linux - Laptop and Netbook 0 05-31-2004 09:27 PM
NVIDIA driver install - Fedora Core 1 Brian of Gep Fedora - Installation 1 03-13-2004 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:48 PM.

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