web cam sony vaio não funciona no jaunty

Iniciado por lfernandosg, 26 de Abril de 2009, 09:19

tópico anterior - próximo tópico

lfernandosg

tenho essa webcam:

Bus 001 Device 005: ID 05ca:183a Ricoh Co., Ltd


já tentei vários drives r5u870 e todos dão erro na hora de compilar no ubuntu 9.04 32 bits e tenho o make, gc, build-essential instalado então segue o make:

root@vaio:/usr/src/r5u870# make
make -C /lib/modules/2.6.28-11-generic/build M=/usr/src/r5u870 V=0 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/src/r5u870/usbcam/usbcam_fops.o
/usr/src/r5u870/usbcam/usbcam_fops.c: In function 'usbcam_v4l_ioctl':
/usr/src/r5u870/usbcam/usbcam_fops.c:1167: error: implicit declaration of function 'video_usercopy'
/usr/src/r5u870/usbcam/usbcam_fops.c:1171: error: implicit declaration of function 'video_ioctl2'
/usr/src/r5u870/usbcam/usbcam_fops.c: At top level:
/usr/src/r5u870/usbcam/usbcam_fops.c:1213: error: unknown field 'type' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1214: error: unknown field 'type2' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: error: unknown field 'vidioc_querycap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: error: elemento inicializador não é computável na hora de carregar
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: error: (near initialization for 'usbcam_videodev_template.num')
/usr/src/r5u870/usbcam/usbcam_fops.c:1218: error: unknown field 'vidioc_enum_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1218: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1219: error: unknown field 'vidioc_g_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1219: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: error: unknown field 'vidioc_s_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: error: elemento inicializador não é computável na hora de carregar
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: error: (near initialization for 'usbcam_videodev_template.tvnorms')
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: error: unknown field 'vidioc_try_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: error: elemento inicializador não é computável na hora de carregar
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: error: (near initialization for 'usbcam_videodev_template.current_norm')
/usr/src/r5u870/usbcam/usbcam_fops.c:1222: error: unknown field 'vidioc_reqbufs' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1222: warning: initialization from incompatible pointer type
/usr/src/r5u870/usbcam/usbcam_fops.c:1223: error: unknown field 'vidioc_querybuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1223: warning: initialization from incompatible pointer type
/usr/src/r5u870/usbcam/usbcam_fops.c:1224: error: unknown field 'vidioc_qbuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1224: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1224: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1225: error: unknown field 'vidioc_dqbuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1225: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1225: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1226: error: unknown field 'vidiocgmbuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1226: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1226: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1227: error: unknown field 'vidioc_enum_input' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1227: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1227: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1228: error: unknown field 'vidioc_streamon' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1228: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1228: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1229: error: unknown field 'vidioc_streamoff' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1229: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1229: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1230: error: unknown field 'vidioc_g_input' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1230: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1230: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1231: error: unknown field 'vidioc_s_input' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1231: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1231: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1232: error: unknown field 'vidioc_queryctrl' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1232: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1232: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1233: error: unknown field 'vidioc_g_ctrl' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1233: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1233: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1234: error: unknown field 'vidioc_s_ctrl' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1234: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1234: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1235: error: unknown field 'vidioc_querymenu' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1235: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1235: warning: (near initialization for 'usbcam_videodev_template')
make[3]: ** [/usr/src/r5u870/usbcam/usbcam_fops.o] Erro 1
make[2]: ** [/usr/src/r5u870/usbcam] Erro 2
make[1]: ** [_module_/usr/src/r5u870] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.28-11-generic'
make: ** [all] Erro 2


então fui tentar pelo repositóio que vi no fórum do ubuntu onde se instala o pacote r5u870-dkms e instalou sem erro mas a webcam conitnua sem funcionar..testei no ekiga, amsn e etc pois nas versões anteriores sempre usei no amsn.


O que pode ser? o que preciso fazer para instalar no jaunty?
Dell Xps M1330/c2d 2.0Ghz/4GB ddr2/320GB sata/etc...

elvisricardo

Bom amigo achei um topico no ubuntuforum.com que pode ajudar voce... parece que um usuario teve o mesmo problema que voce,
bom aqui vai o link http://ubuntuforums.org/showthread.php?t=821343&page=2 espero que ajude !
Ryuzaki L usa Ubunbu linux :D

alarcon

Citação de: lfernandosg online 26 de Abril de 2009, 09:19
tenho essa webcam:

Bus 001 Device 005: ID 05ca:183a Ricoh Co., Ltd


já tentei vários drives r5u870 e todos dão erro na hora de compilar no ubuntu 9.04 32 bits e tenho o make, gc, build-essential instalado então segue o make:

root@vaio:/usr/src/r5u870# make
make -C /lib/modules/2.6.28-11-generic/build M=/usr/src/r5u870 V=0 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/src/r5u870/usbcam/usbcam_fops.o
/usr/src/r5u870/usbcam/usbcam_fops.c: In function 'usbcam_v4l_ioctl':
/usr/src/r5u870/usbcam/usbcam_fops.c:1167: error: implicit declaration of function 'video_usercopy'
/usr/src/r5u870/usbcam/usbcam_fops.c:1171: error: implicit declaration of function 'video_ioctl2'
/usr/src/r5u870/usbcam/usbcam_fops.c: At top level:
/usr/src/r5u870/usbcam/usbcam_fops.c:1213: error: unknown field 'type' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1214: error: unknown field 'type2' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: error: unknown field 'vidioc_querycap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: error: elemento inicializador não é computável na hora de carregar
/usr/src/r5u870/usbcam/usbcam_fops.c:1217: error: (near initialization for 'usbcam_videodev_template.num')
/usr/src/r5u870/usbcam/usbcam_fops.c:1218: error: unknown field 'vidioc_enum_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1218: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1219: error: unknown field 'vidioc_g_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1219: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: error: unknown field 'vidioc_s_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: error: elemento inicializador não é computável na hora de carregar
/usr/src/r5u870/usbcam/usbcam_fops.c:1220: error: (near initialization for 'usbcam_videodev_template.tvnorms')
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: error: unknown field 'vidioc_try_fmt_cap' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: warning: initialization makes integer from pointer without a cast
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: error: elemento inicializador não é computável na hora de carregar
/usr/src/r5u870/usbcam/usbcam_fops.c:1221: error: (near initialization for 'usbcam_videodev_template.current_norm')
/usr/src/r5u870/usbcam/usbcam_fops.c:1222: error: unknown field 'vidioc_reqbufs' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1222: warning: initialization from incompatible pointer type
/usr/src/r5u870/usbcam/usbcam_fops.c:1223: error: unknown field 'vidioc_querybuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1223: warning: initialization from incompatible pointer type
/usr/src/r5u870/usbcam/usbcam_fops.c:1224: error: unknown field 'vidioc_qbuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1224: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1224: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1225: error: unknown field 'vidioc_dqbuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1225: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1225: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1226: error: unknown field 'vidiocgmbuf' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1226: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1226: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1227: error: unknown field 'vidioc_enum_input' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1227: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1227: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1228: error: unknown field 'vidioc_streamon' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1228: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1228: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1229: error: unknown field 'vidioc_streamoff' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1229: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1229: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1230: error: unknown field 'vidioc_g_input' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1230: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1230: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1231: error: unknown field 'vidioc_s_input' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1231: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1231: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1232: error: unknown field 'vidioc_queryctrl' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1232: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1232: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1233: error: unknown field 'vidioc_g_ctrl' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1233: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1233: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1234: error: unknown field 'vidioc_s_ctrl' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1234: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1234: warning: (near initialization for 'usbcam_videodev_template')
/usr/src/r5u870/usbcam/usbcam_fops.c:1235: error: unknown field 'vidioc_querymenu' specified in initializer
/usr/src/r5u870/usbcam/usbcam_fops.c:1235: warning: excesso de elementos no inicializador do struct
/usr/src/r5u870/usbcam/usbcam_fops.c:1235: warning: (near initialization for 'usbcam_videodev_template')
make[3]: ** [/usr/src/r5u870/usbcam/usbcam_fops.o] Erro 1
make[2]: ** [/usr/src/r5u870/usbcam] Erro 2
make[1]: ** [_module_/usr/src/r5u870] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.28-11-generic'
make: ** [all] Erro 2


então fui tentar pelo repositóio que vi no fórum do ubuntu onde se instala o pacote r5u870-dkms e instalou sem erro mas a webcam conitnua sem funcionar..testei no ekiga, amsn e etc pois nas versões anteriores sempre usei no amsn.


O que pode ser? o que preciso fazer para instalar no jaunty?

Veja se isso lhe ajuda:

http://ubuntuforum-br.org/index.php/topic,49371.msg287441.html#msg287441

lfernandosg

seguindo o segundo link instalaei o xawtv que deve ter instalado algumas dependências e a webcam agora está normal.

Obrigado.
Dell Xps M1330/c2d 2.0Ghz/4GB ddr2/320GB sata/etc...