LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How To Install Trust 150 Spacec@m Portable Driver On Fedora Core 6? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-install-trust-150-spacec%40m-portable-driver-on-fedora-core-6-a-514689/)

aaron4katie 12-29-2006 03:01 PM

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?

Nylex 12-30-2006 07:52 AM

There's a script in there called gspca_build. Try running that as root.

aaron4katie 12-30-2006 04:05 PM

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?

Nylex 12-31-2006 02:50 AM

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.

aaron4katie 12-31-2006 01:15 PM

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'


Nylex 12-31-2006 01:24 PM

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?

aaron4katie 12-31-2006 01:48 PM

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.


All times are GMT -5. The time now is 02:20 AM.