Aiutamici Forum
Benvenuto Ospite Cerca | Topic Attivi | Utenti | | Log In | Registra

file tar.gz Opzioni
kalok
Inviato: Tuesday, November 24, 2009 4:11:45 PM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
Buona sera io ho un problema con una cartella compressa in cui vi sono i driver della cam .Il mio problema consiste :allego videata dal terminale alogero@calogero-desktop:~$ cd spca5xx-v4l1goodbye
calogero@calogero-desktop:~/spca5xx-v4l1goodbye$ sudo ./configure
sudo: ./configure: command not found
cio appena arrivo a configure mi dice command not found......e non riesco a continuare
grazie delle risposte
Sponsor
Inviato: Tuesday, November 24, 2009 4:11:45 PM

 
ecofive
Inviato: Tuesday, November 24, 2009 4:21:41 PM

Rank: AiutAmico

Iscritto dal : 6/20/2008
Posts: 7,111
Benvenuto tra noi, Kalok.
Riposta il tuo quesito nella Sezione Sistemi operativi Linux; avrai maggior visibilità.

Ciao.
liv3llo0
Inviato: Wednesday, November 25, 2009 2:38:41 PM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 166
kalok ha scritto:
Buona sera io ho un problema con una cartella compressa in cui vi sono i driver della cam .Il mio problema consiste :allego videata dal terminale alogero@calogero-desktop:~$ cd spca5xx-v4l1goodbye
calogero@calogero-desktop:~/spca5xx-v4l1goodbye$ sudo ./configure
sudo: ./configure: command not found
cio appena arrivo a configure mi dice command not found......e non riesco a continuare
grazie delle risposte

dai un
Code:
ls -l

della directory per vedere i file in essa contenuti e posta il risultato.
kalok
Inviato: Wednesday, November 25, 2009 5:26:56 PM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
calogero@calogero-desktop:~$ sudo -s
[sudo] password for calogero:
root@calogero-desktop:~# cd spca5xx-v4l1goodbye
root@calogero-desktop:~/spca5xx-v4l1goodbye# ls -1
CHANGELOG
cutlog.py
drivers
install
license
Makefile
readme
README-KERNEL-UPTO-2.6.16
README-SONIX
README-TV8532
RGB-YUV%2fmodule-setting
root@calogero-desktop:~/spc

ecco il risultato
kalok
Inviato: Wednesday, November 25, 2009 5:27:34 PM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
credo che sia un fatto di kernel.....posto il readme

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 spcaview, 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.4.10 to 2.6.14 inclusive. exept kernel 2.4.22, 2.4.23, 2.6.3
--------------------------------------------------------
-Distro patched Kernel should work but are unsupported.-
--------------------------------------------------------
Specifically, it has been tested against:
2.4.10 Compiles ok, with 1 warning
2.4.25 Compiles ok, with 1 warning.
2.4.26 Compiles ok, with 1 warning.
2.4.31 Compiles ok, with 1 warning.
/lib/modules/2.4.25/build/include/linux/highmem.h: Dans la fonction « bh_kmap »:
/lib/modules/2.4.25/build/include/linux/highmem.h:20: attention : usage en arithmétique d'un pointeur de type « void * »
Don't care module should load and works fine :)
2.6.7 Compiles ok, with no warnings.
2.6.8.1 Compiles ok, with no warnings.
2.6.9 Compiles ok, with no warnings.
2.6.11.7 Compiles ok, with no warnings.
2.6.12.6 Compiles ok, with no warnings.
2.6.13 Compiles ok, with no warnings.
2.6.14 Compiles ok, with no warnings.
2.6.15 rc6 Compiles ok, with no warnings.
2.6.15.4 Compiles ok, with no warnings.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< KERNEL 2.4.22 2.4.23 2.6.3 are UNSUPPORTED !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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.


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).


Loading it
==========
If you have compiled the module, but haven't done 'make install' you can load
the module in the top build directory by doing as root: insmod spca5xx.o

If you have made install, do as root: modprobe spca5xx

There are several parameter that can be passed in:

force_rgb = 1 Set reverse rgb order
OffRed = -16 Initial red offset -16 range [-128..+128]
OffBlue = -16 Initial blue offset -16 range [-128..+128]
OffGreen = -16 Initial green offset -16 range [-128..+128]
GRed = 256 Initial gain setting to 1 range [0..512]
GBlue = 256 Initial gain setting to 1 range [0..512]
GGreen = 256 Initial gain setting to 1 range [0..512]
gamma = 3 Set gamma table to 1 range [0..7]

usbgrabber = 1 if you use an usb grabber usbid 0x0733:0x430 otherwise
usbgrabber=0

debug=<n> <-- set debug level

special note for kernel 2.6.x users:
you can change the parameters trought sysfs you need to be root
close your application
echo "1" > /sys/module/spca50x/gamma
change the gamma parameters to 1
run your application
to read a parameters
cat /sys/module/spca50x/gamma



***********************************************************************
Remember to use
insmod spca5xx.o usbgrabber=1 for an usb grabber usbid 0x733:0x430
for Intel PC Camera Pro set usbgrabber to 0 in webcam mode
***********************************************************************



Trying a v4l app
================
Spcaview or Spcagui are designed to test our driver http://mxhaard.free.fr .
liv3llo0
Inviato: Wednesday, November 25, 2009 5:57:19 PM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 166
il configure non è presente, ecco perchè ti dava l'errore. Leggi il file install che dovrebbe dirti come fare per compilare ed installare il programma.
kalok
Inviato: Wednesday, November 25, 2009 6:00:38 PM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
Module compile outside the kernel tree but need the source of your running
kernel installed and configured.
be sure your kernel include usb and v4l stuff
Kernel 2.4.x
configure your kernel
make dep
go to the spca5xx directories
make clean (to be sure)
make
if all goes right as root :
make install
Kernel 2.6.x
make clean
make
if all goes right as root :
make install


il file install dice questo
per me e un po complicato
liv3llo0
Inviato: Wednesday, November 25, 2009 7:16:47 PM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 166
kalok ha scritto:
Module compile outside the kernel tree but need the source of your running
kernel installed and configured.
be sure your kernel include usb and v4l stuff
Kernel 2.4.x
configure your kernel
make dep
go to the spca5xx directories
make clean (to be sure)
make
if all goes right as root :
make install
Kernel 2.6.x
make clean
make
if all goes right as root :
make install


il file install dice questo
per me e un po complicato

ti dice di entrare nella directory dei drivers e dare
make clean (per essere sicuri)
make
se tutto procede senza errori, allora diventa root e dai
make install
kalok
Inviato: Thursday, November 26, 2009 6:42:46 AM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
posto il risultato

calogero@calogero-desktop:~$ sudo -s
[sudo] password for calogero:
root@calogero-desktop:~# cd spca5xx-v4l1goodbye
root@calogero-desktop:~/spca5xx-v4l1goodbye# make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
root@calogero-desktop:~/spca5xx-v4l1goodbye# 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=/home/calogero/spca5xx-v4l1goodbye CC=cc modules
make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.31-15-generic-pae»
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/calogero/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Arresto.
make[1]: *** [_module_/home/calogero/spca5xx-v4l1goodbye] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-2.6.31-15-generic-pae»
make: *** [default] Errore 2
root@calogero-desktop:~/spca5xx-v4l1goodbye#


liv3llo0
Inviato: Thursday, November 26, 2009 9:43:32 AM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 166
kalok ha scritto:
posto il risultato

calogero@calogero-desktop:~$ sudo -s
[sudo] password for calogero:
root@calogero-desktop:~# cd spca5xx-v4l1goodbye
root@calogero-desktop:~/spca5xx-v4l1goodbye# make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
root@calogero-desktop:~/spca5xx-v4l1goodbye# 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=/home/calogero/spca5xx-v4l1goodbye CC=cc modules
make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.31-15-generic-pae»
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/calogero/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Arresto.
make[1]: *** [_module_/home/calogero/spca5xx-v4l1goodbye] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-2.6.31-15-generic-pae»
make: *** [default] Errore 2
root@calogero-desktop:~/spca5xx-v4l1goodbye#



Assicurati di avere installati i sorgenti del kernel in uso. Non ho mai usato ubuntu e non so come si chiamano e come si reperiscono i sorgenti del kernel.
kalok
Inviato: Friday, November 27, 2009 3:30:28 PM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
troppo complicato
kalok
Inviato: Saturday, November 28, 2009 7:20:17 AM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
Nessuno ha soluzioni??
alsos
Inviato: Saturday, November 28, 2009 10:51:54 AM

Rank: AiutAmico

Iscritto dal : 3/1/2009
Posts: 325
Cambia Sistema Operativo. Windows 7 va benissimo.
fiorello01
Inviato: Saturday, November 28, 2009 4:11:50 PM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 73
kalok ha scritto:
Nessuno ha soluzioni??


Segui la guida:

http://wiki.ubuntu-it.org/AmministrazioneSistema/CompilazioneKernel
alsos
Inviato: Saturday, November 28, 2009 6:10:26 PM

Rank: AiutAmico

Iscritto dal : 3/1/2009
Posts: 325
Niente male come consiglio! Pensare che kalok non voleva complicazioni ...
liv3llo0
Inviato: Saturday, November 28, 2009 7:12:15 PM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 166
kalok ha scritto:
troppo complicato

Se vuoi decidere tu cosa il computer deve fare, allora il prezzo è questo. Se invece vuoi che il computer decida tu cosa devi fare, allora segui il consiglio che ti ha dato l'amico sopra e utilizza altro S.O.!
alsos
Inviato: Saturday, November 28, 2009 7:26:32 PM

Rank: AiutAmico

Iscritto dal : 3/1/2009
Posts: 325
Toh! L'ho indovinata.
kalok
Inviato: Sunday, November 29, 2009 8:57:37 AM
Rank: Member

Iscritto dal : 11/24/2009
Posts: 21
Riepilogando posto il mio problema a voi padroni dell'informatica alternativa sperando che siate davvero alternativi ...hehehheheehhe
calogero@calogero-desktop:~$ sudo -s
[sudo] password for calogero:
root@calogero-desktop:~# cd spca5xx-v4l1goodbye
root@calogero-desktop:~/spca5xx-v4l1goodbye# sudo ./configure
sudo: ./configure: command not found
root@calogero-desktop:~/spca5xx-v4l1goodbye#

penso che capiate quale sia il mio problema
fiorello01
Inviato: Sunday, November 29, 2009 9:36:37 AM

Rank: AiutAmico

Iscritto dal : 8/30/2008
Posts: 73
kalok ha scritto:
Riepilogando posto il mio problema a voi padroni dell'informatica alternativa sperando che siate davvero alternativi ...hehehheheehhe
calogero@calogero-desktop:~$ sudo -s
[sudo] password for calogero:
root@calogero-desktop:~# cd spca5xx-v4l1goodbye
root@calogero-desktop:~/spca5xx-v4l1goodbye# sudo ./configure
sudo: ./configure: command not found
root@calogero-desktop:~/spca5xx-v4l1goodbye#

penso che capiate quale sia il mio problema


Livello ti ha gia detto quello che devi fare, non hai alternative devi installare i sorgenti poi installare i piloti della cam.
Utenti presenti in questo topic
Guest


Salta al Forum
Aggiunta nuovi Topic disabilitata in questo forum.
Risposte disabilitate in questo forum.
Eliminazione tuoi Post disabilitata in questo forum.
Modifica dei tuoi post disabilitata in questo forum.
Creazione Sondaggi disabilitata in questo forum.
Voto ai sondaggi disabilitato in questo forum.

Main Forum RSS : RSS

Aiutamici Theme
Powered by Yet Another Forum.net versione 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.