Comment installer le module spca50x sous Linux

Comment installer le module spca50x sous Linux - Installation - Linux et OS Alternatifs

Marsh Posté le 04-02-2004 à 13:51:00    

Voila g une Aiptek Pocket DV II et je sais que le driver spca50x reconnait ma webcam mais g des difficultés à l'installer donc si qq1 pouvait m'indiquer la procédure d'installation ça serait sympa.
 
Merci à plus...
 
PS : J'ai lus le README fournit

Reply

Marsh Posté le 04-02-2004 à 13:51:00   

Reply

Marsh Posté le 04-02-2004 à 13:53:15    

Il faudrait savoir ta distribution.
 
En route, tu fais modprobe -L pour lister tous les modules que tu peux charger.
 
Si le tiens est présent modprobe spca50x pour le charger et voila :)


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
Reply

Marsh Posté le 04-02-2004 à 13:58:55    

qd je liste, il y ai mais qd je veux le charger il me sort ça :
 
/lib/modules/2.4.24/kernel/drivers/usb/spca50x.o: kernel-module version mismatch
        /lib/modules/2.4.24/kernel/drivers/usb/spca50x.o was compiled for kernel version 2.4.20
        while this kernel is version 2.4.24.
/lib/modules/2.4.24/kernel/drivers/usb/spca50x.o: insmod /lib/modules/2.4.24/kernel/drivers/usb/spca50x.o failed
/lib/modules/2.4.24/kernel/drivers/usb/spca50x.o: insmod spca50x failed
 
pourtant ds le readme il dise que ça marche qd meme avec un noyau 2.4.24 ?

Reply

Marsh Posté le 04-02-2004 à 15:26:51    

fais voir le readme :P


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
Reply

Marsh Posté le 04-02-2004 à 16:07:01    

Au fait g une debian...
 
bon g dl les sources et g compilé et g copié le spca50x.o ds /lib/modules/2.4.24/kernel/drivers/usb/
et qd je fais un modprobe -l il apparait
et qd je fais un modprobe spca50x il me dit ça :
/lib/modules/2.4.24/kernel/drivers/usb/spca50x.o: unresolved symbol video_proc_entry
/lib/modules/2.4.24/kernel/drivers/usb/spca50x.o: insmod /lib/modules/2.4.24/kernel/drivers/usb/spca50x.o failed
/lib/modules/2.4.24/kernel/drivers/usb/spca50x.o: insmod spca50x failed

Reply

Marsh Posté le 04-02-2004 à 16:34:12    

ha ben il doit te manquer un module dans ton noyau :/
 
tu as quoi d'écris dans le readme ??


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
Reply

Marsh Posté le 04-02-2004 à 16:39:02    

How do I use it?
================
 
Well, first you need to compile the driver (see below), then you need to make
sure that the v4l infrastructure is set up and then load the driver. After
you've done that, any v4l enabled application, such as gqcam, xawtv,
gnomemeeting, camE etc should work.
 
 
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'!
 
 
Making sure the usb and v4l stuff is there
==========================================
For the module to function correctly, the video for linux subsystem needs to
be loaded. As root, check the output of lsmod for videodev. If its not there,
do: modprobe videodev.
Also, you need to make sure that the usbcore module is loaded (or compiled
into your kernel) and similarly the module appropriate for your usb controller
(uhci or ohci).
 

Reply

Marsh Posté le 04-02-2004 à 17:26:01    

For the module to function correctly, the video for linux subsystem needs to
be loaded. As root, check the output of lsmod for videodev. If its not there,
do: modprobe videodev.
Also, you need to make sure that the usbcore module is loaded (or compiled
into your kernel) and similarly the module appropriate for your usb controller
(uhci or ohci).
 
 
Je pense que ton problème vient de la :)


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
Reply

Marsh Posté le 04-02-2004 à 18:25:08    

Alors g essayer de faire mieux cette fois çi, je suis aller faire une petite sieste et je suis revenu et c good :)
Alors g dl une nouvelle version de spca50x je les installer come module et g fait en sorte qu'il charge videodev.o et usbvideo.o en meme tps que l'autre.
Et now il me dit qu'il trouve la webcam
et desuite après il me sort "Ignoring Interface 1 of Aiptek PocketDVII"
et au final il me trouve un audio capture mais pas video

Reply

Marsh Posté le 04-02-2004 à 18:27:55    

Apres je peux plus t'aider, je suis pas du tout un pro des caméras vidéos, change le titre de ton topic et zou :D


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
Reply

Marsh Posté le 04-02-2004 à 18:27:55   

Reply

Marsh Posté le 04-02-2004 à 18:29:00    

merci qd meme pour ton aide... ;)

Reply

Marsh Posté le 04-02-2004 à 18:31:35    

Si qq1 à déjà installer une AIPTEK Pocket DVII ou de la meme marque qu'il me le dise ;)
 
Merci d'avance...

Reply

Marsh Posté le 04-02-2004 à 18:32:29    

Change ton titre de topic :P


---------------
Fais le ou ne le fais pas, mais il n'y a pas d'essai !!!
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed