Results 1 to 5 of 5

Thread: How to install webcam (gspca) with a custom kernel? Is there a guy that managesthat ?

  1. #1
    Join Date
    Dec 2007
    Beans
    1,045

    How to install webcam (gspca) with a custom kernel? Is there a guy that managesthat ?

    Hello,

    I installed a new kernel this way:
    Code:
    wget -N http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.8.tar.bz2
    cd /usr/src
    tar xjf linux-2.6.27.8.tar.bz2
    cd linux-2.6.27.8
    make menuconfig
    #make dep
    make-kpkg clean
    #make-kpkg kernel_image
    make-kpkg --revision=custom-rev03 kernel_image
    ls 
    echo "compiling done , install"
    ls
    echo "done, type enter install" 
    read kjklfskljfds
    dpkg -i kernel-image-2.6.27.8_i386.deb

    I would like to install the gspca for my webcam but no way.
    Code:
    aptitude install gspca-source
    m-a prepare
    m-a a-i gspca
    modprobe gspca
     modprobe gspca
    FATAL: Module gspca not found.
    Code:
    usr/bin/make -C /usr/src/modules/gspca clean
    make[1]: Entering directory `/usr/src/modules/gspca'
    rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
            .gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
            Modules.symvers
    make[1]: Leaving directory `/usr/src/modules/gspca'
    /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
    make[1]: Entering directory `/usr/src/modules/gspca'
    dh_testdir
    dh_testroot
    dh_clean
    rm -f *.symvers
    /usr/bin/make -C /usr/src/modules/gspca clean
    make[2]: Entering directory `/usr/src/modules/gspca'
    rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
            .gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
            Modules.symvers
    make[2]: Leaving directory `/usr/src/modules/gspca'
    for templ in ; do \
        cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27.8/g'` ; \
      done
    for templ in `ls debian/*.modules.in` ; do \
        test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
        sed -e 's/##KVERS##/2.6.27.8/g ;s/#KVERS#/2.6.27.8/g ; s/_KVERS_/2.6.27.8/g ; s/##KDREV##/2.6.27.8-10.00.Custom/g ; s/#KDREV#/2.6.27.8-10.00.Custom/g ; s/_KDREV_/2.6.27.8-10.00.Custom/g  ' < $templ > ${templ%.modules.in}; \
      done
    dh_testdir
    dh_testroot
    dh_clean -k
    # Build the module
    /usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.27.8 KERNELDIR=/lib/modules/2.6.27.8/source
    make[2]: Entering directory `/usr/src/modules/gspca'
    /usr/bin/make -C /lib/modules/2.6.27.8/source SUBDIRS=/usr/src/modules/gspca CC=gcc-4.1 modules
    make[3]: Entering directory `/usr/src/linux-2.6.27.8'
    scripts/Makefile.build:46: *** CFLAGS was changed in "/usr/src/modules/gspca/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
    make[3]: *** [_module_/usr/src/modules/gspca] Error 2
    make[3]: Leaving directory `/usr/src/linux-2.6.27.8'
    make[2]: *** [default] Error 2
    make[2]: Leaving directory `/usr/src/modules/gspca'
    make[1]: *** [binary-modules] Error 2
    make[1]: Leaving directory `/usr/src/modules/gspca'
    make: *** [kdist_build] Error 2

  2. #2
    Join Date
    Apr 2006
    Location
    Fresno CA
    Beans
    2,790
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to install webcam (gspca) with a custom kernel? Is there a guy that managesth

    Thank a veteran -- George 8)
    Internet Coach & Writer
    Personal Blog -- 3 Joes' Blog

  3. #3
    Join Date
    Dec 2007
    Beans
    1,045

    Re: How to install webcam (gspca) with a custom kernel? Is there a guy that managesth

    Quote Originally Posted by fragos View Post
    Thanks but the problem is in the kernel. Where ?

    Are you good in compiling kernels, well very good? I have questions about this gpsca ...

  4. #4
    Join Date
    Apr 2006
    Location
    Fresno CA
    Beans
    2,790
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to install webcam (gspca) with a custom kernel? Is there a guy that managesth

    I've never had the need to compile a kernel. All I can say is this guy probably knows more about webcam drivers than anyone else on this planet.
    Thank a veteran -- George 8)
    Internet Coach & Writer
    Personal Blog -- 3 Joes' Blog

  5. #5
    Join Date
    Dec 2007
    Beans
    1,045

    Re: How to install webcam (gspca) with a custom kernel? Is there a guy that managesth

    Quote Originally Posted by fragos View Post
    I've never had the need to compile a kernel. All I can say is this guy probably knows more about webcam drivers than anyone else on this planet.
    there is the v2 of gspca but still it didnt work on my machine (yet ) :
    http://linuxtv.org/hg/v4l-dvb

    tahnk you!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •