Aide Linux - Liste de diffusion Ze-Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[webcam] :module pour webcam Logitech clicksmart 510
Bonjour
J'aimerais pouvoir utiliser ma webcam (qui fait aussi appareil photo)
sous linux (mandrake et fedora) ;
Apparemment, il faut que j'utilise le module noyau qui se nomme spca500a
comme l'indiquer la page
http://spca50x.sourceforge.net/spca50x.php?page=cams
sur ce site, on peut télécharger des versions du module pré-compilé mais
aucune semble correspondre au noyau que j'utilise
on peut aussi télécharger le source pour compiler ce module et c'est là
que je bloque car je comprends pas bien la doc qui est fournie ; je la
joins en fin de ce mail
j'arrive à compiler le module en tapant make
KINCLUDE=/usr/src/linux-<version>/include c'est à dire à obtenir des
fichiers.o mais j'ai une erreur lors du link (qui affiche un problème
avec deallocate)
Si je tente de charger le module (avec la commande insmod) ; il m'est
indiqué (de mémoire) qu'il manque des symboles (init_jpeg_decoder et un
autre jpeg aussi)
Et il est vrai que le make crée, en plus d'un fichier spca50x.o, un
fichier jpegdecoder.o
Bref, je sais pas trop ce qu'il faut que je fasse maintenant pour
installer ce module
PJ : ci après, extrait du fichier README livré avec le source du module
Supported kernel versions
=========================
The driver should compile and run successfully against most stable
versions of
the official Linux kernel (from <http://www.kernel.org/>), within the range
2.2.18 to 2.4.20 inclusive. Unstable version 2.3 is broken, and unsupported.
Specifically, it has been tested against:
2.2.18 - 2.2.24 Compiles ok, with some (harmless) warnings.
2.3.0 USB support broken/missing, so doesn't compile.
2.3.51 Doesn't compile (incomplete types - USB broken?)
2.4.0 Compiles ok, with some (harmless) warnings.
2.4.18 - 2.4.19 Compiles ok, with no warnings.
2.4.20 Compiles ok, with no warnings. Loads successfully.
2.4.21pre5 Compiles ok, with no warnings.
Compiling it
============
The driver module can be built without modifying your kernel source tree.
Before trying to compile the driver, ensure that you've configured your
kernel, and updated the dependencies:
'make [config|menuconfig|xconfig]; make dep'.
Make sure, when compiling the driver, you use the same version of
compiler as
was used to compile your kernel. Not doing so can create incompatible
binaries.
If you wish to compile the driver against a kernel other than the currently
installed one, build the driver with
'make KINCLUDE=/usr/src/linux-<version>/include', or similar.
Please note, the default location for the kernel, according to the
driver, is
/usr/src/linux.
To build just the driver, simply use 'make'.
Compiling against the linux kernel 2.4 source tree, there should be no
warnings at all.
If you compile against the linux kernel 2.2 source tree, you may see:
{standard input}: Assembler messages:
{standard input}: Warning: ignoring changed section attributes for .modinfo
This is OK. It's caused by a small bug in the 2.2 series kernel, whereby it
outputs two modinfo sections. It doesn't affect the running of the module,
however.
This version of the driver offers an automatic installation facility.
Use 'make install' to have the driver installed into your kernel modules
directory, which is assumed to be /lib/modules/<version>/kernel/drivers/usb.
<version> is picked up from the currently running kernel, so if that's not
the right place, then don't use 'make install'!
----------------------------------
Informations, désabonnement, règles, obligations sur la liste Aide-Linux :
http://lists.ze-linux.org/howto_ml.html
Aide Linux - Liste de diffusion Ze-Linux