Comment 62 for bug 280657

I try to use the Microsoft Corp. LifeCam VX-1000 in Jaunty AMD64 but have same problem:

root@area51:~# dmesg | grep Camera
[ 16.818571] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
[ 16.819480] usb 3-2: SN9C105 PC Camera Controller detected (vid:pid 0x045E:0x00F7)
root@area51:~# dmesg | grep 'usb 3-2'
[ 8.830277] usb 3-2: new full speed USB device using ohci_hcd and address 3
[ 9.008866] usb 3-2: configuration #1 chosen from 1 choice
[ 16.819480] usb 3-2: SN9C105 PC Camera Controller detected (vid:pid 0x045E:0x00F7)
[ 17.071773] usb 3-2: No supported image sensor detected for this bridge
root@area51:~# modprobe -v sn9c105
FATAL: Module sn9c105 not found.
root@area51:~# lsmod | grep gspca
root@area51:~# lsusb | grep VX-1000
Bus 003 Device 003: ID 045e:00f7 Microsoft Corp. LifeCam VX-1000.
root@area51:~#

I try make the gspca module:

root@area51:~# m-a auto-install gspca

Informações sobre 1 pacotes atualizadas
Getting source for kernel version: 2.6.28-11-server
Cabeçalhos de kernel disponíveis em /usr/src/linux
Criando ligação simbólica ...
Não foi possível criar a ligação simbólica /usr/src/linux !
apt-get install build-essential
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
build-essential já é a versão mais nova.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.

Feito !
unpack
Extracting the package tarball, /usr/src/gspca.tar.bz2, please wait...
"/usr/share/modass/overrides/gspca-source" build KVERS=2.6.28-11-server KSRC=/usr/src/linux-headers-2.6.28-11-server KDREV=2.6.28-11.42 kdist_image

root@area51:~# cat /var/cache/modass/gspca-source.buildlog.2.6.28-11-server.1241644949
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/gspca clean
make[1]: Entrando no diretório `/usr/src/modules/gspca'
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
 .gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \
 *.symvers *.err
make[1]: Saindo do diretório `/usr/src/modules/gspca'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entrando no diretório `/usr/src/modules/gspca'
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/gspca clean
make[2]: Entrando no diretório `/usr/src/modules/gspca'
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
 .gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \
 *.symvers *.err
make[2]: Saindo do diretório `/usr/src/modules/gspca'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.28-11-server/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.28-11-server/g ;s/#KVERS#/2.6.28-11-server/g ; s/_KVERS_/2.6.28-11-server/g ; s/##KDREV##/2.6.28-11.42/g ; s/#KDREV#/2.6.28-11.42/g ; s/_KDREV_/2.6.28-11.42/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.28-11-server KERNELDIR=/usr/src/linux-headers-2.6.28-11-server
make[2]: Entrando no diretório `/usr/src/modules/gspca'
/usr/bin/make -C /usr/src/linux-headers-2.6.28-11-server SUBDIRS=/usr/src/modules/gspca CC=gcc modules
make[3]: Entrando no diretório `/usr/src/linux-headers-2.6.28-11-server'
  CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: Arquivo ou diretório inexistente
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c:2604: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/usr/src/modules/gspca/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’:
/usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in assignment
make[4]: ** [/usr/src/modules/gspca/gspca_core.o] Erro 1
make[3]: ** [_module_/usr/src/modules/gspca] Erro 2
make[3]: Saindo do diretório `/usr/src/linux-headers-2.6.28-11-server'
make[2]: ** [default] Erro 2
make[2]: Saindo do diretório `/usr/src/modules/gspca'
make[1]: ** [binary-modules] Erro 2
make[1]: Saindo do diretório `/usr/src/modules/gspca'
make: ** [kdist_build] Erro 2
root@area51:/var/cache/modass#

Not work for me... :(