Author Topic: [SOLVED] How do I install a driver?  (Read 6516 times)


  • Member
  • *
  • Posts: 78
[SOLVED] How do I install a driver?
« on: May 16, 2007, 07:32:19 am »
I am trying to install a driver called gspca1xx but it doesnt work  :(

what do I do wrong?

la:$ ls
Conexant/  Makefile.kld  Sonix/         Transvision/  decoder/      gspca_core.c
Etoms/     Mars-Semi/    Sunplus/       Vimicro/      gspca.h       utils/
Makefile*  Pixart/       Sunplus-jpeg/  changelog     gspca_build*
la:$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/la/Desktop/gspcav1-20070508 CC=cc modules
make: *** /lib/modules/ No such file or directory.  Stop.
make: *** [default] Error 2
la:$ make install
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/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1
« Last Edit: May 16, 2007, 09:18:39 am by JohnB316 »


  • Global Moderator
  • Vectorian
  • *****
  • Posts: 2160
Re: How do I install a driver?
« Reply #1 on: May 16, 2007, 07:36:25 am »
It looks like you didn't install the kernel source code package during the VL installation.
All you have to do is put the VL 5.8 Gold cd into your drive, mount it and then install the "kernel-src.tlz" package that is in /mnt/cdrom/veclinux/optional

Then try building that driver again.


  • Member
  • *
  • Posts: 78
Re: How do I install a driver?
« Reply #2 on: May 16, 2007, 09:17:53 am »
thanks!!! I got it working!!!1 :)