J’essaye depuis hier d’installer une webcam logitech quickcam messenger sous SME Server 6.0.1-01. sans succès.
J’ai donc télécharger le driver spca5xx-28082004 (ici) compatible (enfin pas sur que cette version le soit) avec ma webcam (VID/PID : 0x046d/0x0928)
Je l’ai compilé pas d’erreur.
J'ai chargé le spca50x.o en mémoire ::
- Code: Tout sélectionner
lsmod
Module Size Used by Not tainted
spca50x 155808 0 (unused)
input 5664 0 (autoclean)
videodev 7904 0 [spca50x]
appletalk 23820 12 (autoclean)
via-rhine 14792 1
mii 3976 0 [via-rhine]
ide-scsi 10816 0
scsi_mod 107244 1 [ide-scsi]
ide-cd 32064 0
cdrom 31904 0 [ide-cd]
ehci-hcd 18304 0 (unused)
usb-uhci 24356 0 (unused)
usbcore 73504 1 [spca50x ehci-hcd usb-uhci]
ext3 65888 2
jbd 47564 2 [ext3]
J’ai installé vidcat pour vérifier si elle fonctionne :
- Code: Tout sélectionner
vidcat -d /dev/video0 -s 320x240 -f jpeg > ~/essai.jpeg
et là marche pas :
- Code: Tout sélectionner
Can't open device /dev/video0
Donc j'ai essayé la derniere version du driver mais quand j'essaye de le compiler ca plante :
- Code: Tout sélectionner
Compiling drivers/usb/spca5xx.c
In file included from /lib/modules/2.4.20-18.7/build/include/linux/vmalloc.h:8,
from drivers/usb/spca5xx.c:47:
/lib/modules/2.4.20-18.7/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-18.7/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
drivers/usb/spca5xx.c: In function `spca50x_read_proc':
drivers/usb/spca5xx.c:1097: structure has no member named `seq'
drivers/usb/spca5xx.c: In function `spca5xx_mmap':
drivers/usb/spca5xx.c:3233: `vma' undeclared (first use in this function)
drivers/usb/spca5xx.c:3233: (Each undeclared identifier is reported only once
drivers/usb/spca5xx.c:3233: for each function it appears in.)
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:3281: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:5656: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:5657: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:5658: warning: initialization from incompatible pointer type
drivers/usb/spca5xx.c:5659: warning: braces around scalar initializer
drivers/usb/spca5xx.c:5659: warning: (near initialization for `spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:5659: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:5659: warning: (near initialization for `spca5xx_driver.disconnect')
drivers/usb/spca5xx.c:151: warning: `bright' defined but not used
drivers/usb/spca5xx.c:152: warning: `contrast' defined but not used
make: *** [drivers/usb/spca5xx.o] Erreur 1
Apparemment il faudrait v4l pour ce driver, je suppose qu'il n'est pas installé sur SME ?
Si vous avez des suggestions …
D’avance merci,
A+
JP