angeloo
(usa Linux Mint)
Enviado em 19/07/2009 - 15:20h
QUEM PODERIA ME AJUDAR??? TENTEI COMPILAR DRIVERS WEBCAM M560x, MAS DÁ UM ERRO LÁ NO FINAL, DIZ ARQUIVO INEXISTENTE, ATÉ AI TUDO BEM....APONTEI PARA A PASTA DO KERNEL QUE EU ACHO QUE DEVE SER O CORRETO, MAS DÁ A SEGUINTE O ARQUIVO MENSAGEM "ARQUIVO JÁ EXISTE", AI NÃO ENTENDI MAIS NADA, SERÁ QUE VOU TER QUE ATUALIZAR O KERNEL???
SEGUE ABAIXO AS MENSAGENS....
SEGUI AS INSTRUÕES DO LINK
http://hamacker.wordpress.com/2007/03/06/instalando-webcam-ali-m506x-no-ubuntu-edgy/ ...., QUE O NOSSO AMIGO gelheadbanger, SUGERIU
****************************************************************************************
root@oneide-notebook:~/m560x-source# ls
m560x-driver
root@oneide-notebook:~/m560x-source# ls
m560x-driver
root@oneide-notebook:~/m560x-source# cd m560x-driver/
root@oneide-notebook:~/m560x-source/m560x-driver# ls
m560x
root@oneide-notebook:~/m560x-source/m560x-driver# cd m560x/
root@oneide-notebook:~/m560x-source/m560x-driver/m560x# ls
branches Documentation firmware tags testprograms trunk
root@oneide-notebook:~/m560x-source/m560x-driver/m560x# cd trunk/
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk# ls
km_m560x
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk# cd km_m560x/
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk/km_m560x# ls
capture.c fw m5602_mt9v111.c m5602_ov9650.c m5603_ov7640.c m560x.h Makefile
COPYING INSTALL m5602_ov7640.c m5603_mt9v011.c m560x_core.c m560x_sensor.h README
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk/km_m560x# make
make -C /lib/modules/2.6.24-24-generic/build SUBDIRS=/root/m560x-source/m560x-driver/m560x/trunk/km_m560x modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.24-24-generic'
CC [M] /root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.o
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_model’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1615: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_in_use’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1616: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_streaming’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1617: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_palette’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1618: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_frames_total’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1619: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_frames_read’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1620: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_packets_dropped’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1621: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘show_decoding_errors’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1622: aviso: initialization from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘m560x_create_sysfs_files’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1627: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1628: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1629: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1630: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1631: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1632: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1633: aviso: passing argument 2 of ‘video_device_create_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘m560x_remove_sysfs_files’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1638: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1639: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1640: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1641: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1642: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1643: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1644: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1645: aviso: passing argument 2 of ‘video_device_remove_file’ from incompatible pointer type
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘usb_m560x_probe’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:2831: erro: ‘struct video_device’ has no member named ‘hardware’
make[2]: ** [/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.o] Erro 1
make[1]: ** [_module_/root/m560x-source/m560x-driver/m560x/trunk/km_m560x] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.24-24-generic'
make: ** [all] Erro 2
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk/km_m560x# sudo ln -s /usr/src/linux-headers-2.6.17-10-386/include/media/v4l2-common.h /usr/src/linux-headers-2.6.17-10-386/include/media/v4l2-dev.h
ln: criando link simbólico `/usr/src/linux-headers-2.6.17-10-386/include/media/v4l2-dev.h': Arquivo ou diretório inexistente
****************************************************************************************
AQUI TROQUEI O NOME DE DIRETORIO ORIGEM -DESTINO
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: Na função ‘usb_m560x_probe’:
/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:2831: erro: ‘struct video_device’ has no member named ‘hardware’
make[2]: ** [/root/m560x-source/m560x-driver/m560x/trunk/km_m560x/m560x_core.o] Erro 1
make[1]: ** [_module_/root/m560x-source/m560x-driver/m560x/trunk/km_m560x] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.24-24-generic'
make: ** [all] Erro 2
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk/km_m560x# sudo ln -s /usr/src/linux-headers-2.6.24-24-generic/include/media/v4l2-common.h /usr/src/linux-headers-2.6.24-24-generic/include/media/v4l2-dev.h
ln: criando link simbólico `/usr/src/linux-headers-2.6.24-24-generic/include/media/v4l2-dev.h': O arquivo já existe
root@oneide-notebook:~/m560x-source/m560x-driver/m560x/trunk/km_m560x#
****************************************************************************************
??????????????