[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Quel module pour une webcam Logitech Quickcam Communicate STX ?



Re-bonjour,

Jusqu'à très récemment, j'utilisais spca5xx pour ma webcam (une Logitech
Quickcam Communicate STX). Or, depuis que j'ai installé les modules de
ma carte TNT (em28xx et em2880-dvb), ce module ne fonctionne plus.

Le résultat de dmesg est :
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
spca5xx: disagrees about version of symbol video_devdata
spca5xx: Unknown symbol video_devdata
spca5xx: disagrees about version of symbol video_unregister_device
spca5xx: Unknown symbol video_unregister_device
spca5xx: disagrees about version of symbol video_device_alloc
spca5xx: Unknown symbol video_device_alloc
spca5xx: disagrees about version of symbol video_register_device
spca5xx: Unknown symbol video_register_device
spca5xx: disagrees about version of symbol video_device_release
spca5xx: Unknown symbol video_device_release

Apparemment, ça viendrait d'un problème de compatibilité entre la partie
videodev du noyau et celle fournit par Mercurial que j'ai du installer
pour ma carte TNT.
Qu'à cela ne tienne, j'ai donc essayé de recompiler spca5xx.
# apt-get source spca5xx
# cd spca5xx-20060501
# make
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/opt/spca5xx-20060501
CC=cc module s
make[1]: entrant dans le répertoire
« /usr/src/linux-headers-2.6.18-1-686 »
  CC [M]  /opt/spca5xx-20060501/drivers/usb/spca5xx.o
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit
declaration of function ‘video_devdata’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit
declaration of function ‘video_get_drvdata’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_close’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_do_ioctl’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_ioctl’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit
declaration of function ‘video_usercopy’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable
‘spca50x_templ ate’ has initializer but incomplete type
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field
‘owner’ s pecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field
‘name’ sp ecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field
‘type’ sp ecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field
‘hardware ’ specified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field
‘fops’ sp ecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field
‘release’  specified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error:
‘video_device_release’ undeclared here (not in a function)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field
‘minor’ s pecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘cd_to_spca50x’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit
declaration of function ‘to_video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes
pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca50x_create_sysfs’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit
declaration of function ‘video_device_create_file’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_probe’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit
declaration of function ‘video_device_alloc’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment
makes poin ter from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing
pointer t o incomplete type
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit
declaration of function ‘video_set_drvdata’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit
declaration of function ‘video_register_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error:
‘VFL_TYPE_GRABBER’ unde clared (first use in this function)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each
undeclared identi fier is reported only once
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each
function it ap pears in.)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing
pointer t o incomplete type
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit
declaration of function ‘video_device_release’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit
declaration of function ‘video_unregister_device’
make[2]: *** [/opt/spca5xx-20060501/drivers/usb/spca5xx.o] Erreur 1
make[1]: *** [_module_/opt/spca5xx-20060501] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.18-1-686 »
make: *** [default] Erreur 2

Bref, ça ne marche pas vraiment bien :-(

Auriez-vous une petite idée sur la source de mon problème ?
Sinon, savez-vous si je pourrais essayer d'utiliser un autre module que
spca5xx ?

Merci d'avance.

David.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: