Прибрал к рукам веб-камеру Genius iSlim 310. Как выяснилось, драйвера gspca ни под каким предлогом не хотят собираться на ядре 2.6.34-1-686. Происходит примерно следующее:
dh_testdir
dh_testroot
dh_clean
/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 \
*.symvers *.err
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
/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 \
*.symvers *.err
make[2]: Leaving directory `/usr/src/modules/gspca'
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.34-1-686/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.34-1-686/g ;s/#KVERS#/2.6.34-1-686/g ; s/_KVERS_/2.6.34-1-686/g ; s/##KDREV##/2.6.34-1~experimental.1/g ; s/#KDREV#/2.6.34-1~experimental.1/g ; s/_KDREV_/2.6.34-1~experimental.1/g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build the module
/usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.34-1-686 KERNELDIR=/lib/modules/2.6.34-1-686/build
make[2]: Entering directory `/usr/src/modules/gspca'
/usr/bin/make -C /lib/modules/2.6.34-1-686/build SUBDIRS=/usr/src/modules/gspca CC=gcc modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.34-1-686'
CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: Нет такого файла или каталога
In file included from /usr/src/modules/gspca/gspca_core.c:845:
/usr/src/modules/gspca/utils/spcausb.h: In function ‘spca5xxRegRead’:
/usr/src/modules/gspca/utils/spcausb.h:95: error: implicit declaration of function ‘info’
/usr/src/modules/gspca/utils/spcausb.h: In function ‘spca_set_interface’:
/usr/src/modules/gspca/utils/spcausb.h:278: error: implicit declaration of function ‘warn’
In file included from /usr/src/modules/gspca/gspca_core.c:853:
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_init’:
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:122: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:136: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:141: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:148: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:176: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_start’:
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:214: error: called object ‘info’ is not a function
/usr/src/modules/gspca/Sunplus-jpeg/sp5xxfw2.h:230: error: called object ‘info’ is not a function
/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: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:2615: warning: initialization from incompatible pointer type
/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 when assigning to type ‘struct device’ from type ‘struct device *’
make[6]: *** [/usr/src/modules/gspca/gspca_core.o] Ошибка 1
make[5]: *** [_module_/usr/src/modules/gspca] Ошибка 2
make[4]: *** [sub-make] Ошибка 2
make[3]: *** [all] Ошибка 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.34-1-686'
make[2]: *** [default] Ошибка 2
make[2]: Leaving directory `/usr/src/modules/gspca'
make[1]: *** [binary-modules] Ошибка 2
make[1]: Leaving directory `/usr/src/modules/gspca'
make: *** [kdist_build] Ошибка 2
Неужели лавочку прикрыли и придётся откатыватся на 2.6.26 (с которым оно точно работало)? Или может есть какой-то патчик..
p.s. поверхностное гугление показало, что uvc камера не поддерживает.