thiagoluis
(usa Debian)
Enviado em 12/10/2009 - 18:21h
Distribuição slackware 13
kernel: 2.6.29.6-smp
WEBCAM: Bus 001 Device 005: ID 0c45:613c Microdia PC Camera (SN9C120)
Já vi algumas dicas para instalar esse driver, porem nao consigo compilar.
Baixei o arquivo sn9c1xx-1.48.tar.gz no link:
http://www.linux-projects.org/modules/mydownloads/visit.php?cid=2&lid=44
A mensagem q está dando quando tento da um make no diretorio é:
**************************************************************************
* Building Video4Linux2 driver v1.48 for SN9C1xx PC Camera Controllers...*
* Official Linux 2.6.19 is the minimum version for this driver. *
* Read the documentation "sn9c102.txt" for more informations. *
* Type "make help" for a list of available targets. *
**************************************************************************
make -C /lib/modules/`uname -r`/build M=/home/thiago/Downloads/sn9c1xx-1.48 modules
make[1]: Entering directory `/usr/src/linux-2.6.29.6'
CC [M] /home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.o
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c:1033: warning: 'struct class_device' declared inside parameter list
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c:1033: warning: its scope is only this definition or declaration, which is probably not what you want
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c: In function 'sn9c102_show_reg':
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c:1041: error: 'struct video_device' has no member named 'class_dev'
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c:1041: warning: type defaults to 'int' in declaration of '__mptr'
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c:1041: warning: initialization from incompatible pointer type
/home/thiago/Downloads/sn9c1xx-1.48/sn9c102_core.c:1041: error: 'struct video_device' has no member named 'class_dev'
.
.
.
.
---------------------------------------------------------------------------------
Alertas e erros.
Nao sei se estou no caminho certo. Quem sabe a solução ou o caminho para ela por favor me ajude.