PDA

Visualizza la versione completa : quickcam logitech express driver


mykol
24-06-2004, 16:24
(Knoppix ---> Debian kernel 2.6.5-1-686 Debian)


Ciao,

mi hanno dato da provare una webcam Logitech (sul dispositivo c' solo scritto logitech).

# lsusb me la vede come

Bus 001 Device 002: ID 046d:0840 Logitech, Inc. QuickCam Express

Dopo un p di ricerche ho trovato su sourceforge il driver 0.6.0 USB che dovrebbe funzionare. Ho seguito il manuale di installazione (http://qce-ga.sourceforge.net/#Installation) ma quando faccio

make all

il tutto si conclude con uno smisurato elenco di errori


qc-driver.c:107: warning: type defaults to `int' in declaration of `MODULE_PARM'
qc-driver.c:107: warning: function declaration isn't a prototype
qc-driver.c:107: warning: data definition has no type or storage class
qc-driver.c:110: error: parse error before string constant
qc-driver.c:110: warning: type defaults to `int' in declaration of `MODULE_PARM_DESC'
qc-driver.c:110: warning: function declaration isn't a prototype
qc-driver.c:110: warning: data definition has no type or storage class
qc-driver.c:111: error: parse error before string constant
qc-driver.c:111: warning: type defaults to `int' in declaration of `MODULE_PARM'
qc-driver.c:111: warning: function declaration isn't a prototype
qc-driver.c:111: warning: data definition has no type or storage class
qc-driver.c:114: error: parse error before string constant
qc-driver.c:114: warning: type defaults to `int' in declaration of `MODULE_PARM_DESC'
qc-driver.c:114: warning: function declaration isn't a prototype
qc-driver.c:114: warning: data definition has no type or storage class
qc-driver.c:115: error: parse error before string constant
qc-driver.c:115: warning: type defaults to `int' in declaration of `MODULE_PARM'
qc-driver.c:115: warning: function declaration isn't a prototype
qc-driver.c:115: warning: data definition has no type or storage class
qc-driver.c:119: error: parse error before string constaqc-driver.c:472: error: dereferencing pointer to incomplete type

qc-driver.c:2047: warning: data definition has no type or storage class
qc-driver.c:2048: error: parse error before '&' token
qc-driver.c:2048: warning: type defaults to `int' in declaration of `up'
qc-driver.c:2048: warning: function declaration isn't a prototype
qc-driver.c:2048: warning: data definition has no type or storage class
qc-driver.c:2053: error: parse error before '&' token
qc-driver.c:2053: warning: type defaults to `int' in declaration of `up'
qc-driver.c:2053: warning: function declaration isn't a prototype
qc-driver.c:2053: warning: data definition has no type or storage class
qc-driver.c:2054: error: parse error before ':' token
qc-driver.c:2055: error: parse error before '&' token
qc-driver.c:2055: warning: type defaults to `int' in declaration of `up'
qc-driver.c:2055: warning: function declaration isn't a prototype
qc-driver.c:2055: warning: data definition has no type or storage class
qc-driver.c:2056: error: parse error before ':' token
qc-driver.c:2057: warning: type defaults to `int' in declaration of `MOD_DEC_USE_COUNT'
qc-driver.c:2057: warning: data definition has no type or storage class
qc-driver.c:2058: error: parse error before "if"
qc-driver.c:2071:41: missing binary operator before token "("
qc-driver.c:2077:41: missing binary operator before token "("
this function)
qc-driver.c:3017: error: dereferencing pointer to incomplete type
qc-driver.c:3022: warning: statement with no effect
qc-driver.c: At top level:
qc-driver.c:3031: error: parse error before "qc_init"
qc-driver.c:3032: warning: return type defaults to `int'
qc-driver.c: In function `qc_init':
qc-driver.c:3039: warning: implicit declaration of function `usb_register'
qc-driver.c: At top level:
qc-driver.c:3047: error: parse error before "qc_exit"
qc-driver.c:3048: warning: return type defaults to `int'
qc-driver.c: In function `qc_exit':
qc-driver.c:3050: warning: implicit declaration of function `usb_deregister'
qc-driver.c: At top level:
qc-driver.c:3055: warning: type defaults to `int' in declaration of `module_init'
qc-driver.c:3055: warning: parameter names (without types) in function declaration
qc-driver.c:3055: warning: data definition has no type or storage class
qc-driver.c:3056: warning: type defaults to `int' in declaration of `module_exit'
qc-driver.c:3056: warning: parameter names (without types) in function declaration
qc-driver.c:3056: warning: data definition has no type or storage class
qc-driver.c:2662: error: storage size of `qc_v4l_template' isn't known
qc-driver.c:2697: error: storage size of `qc_usb_driver' isn't known
qc-driver.c:83: warning: `keepsettings' defined but not used
qc-driver.c:87: warning: `settle' defined but not used
qc-driver.c:92: warning: `subsample' defined but not used
qc-driver.c:96: warning: `compress' defined but not used
qc-driver.c:100: warning: `frameskip' defined but not used
qc-driver.c:104: warning: `quality' defined but not used
qc-driver.c:108: warning: `adaptive' defined but not used
qc-driver.c:112: warning: `equalize' defined but not used
qc-driver.c:116: warning: `retryerrors' defined but not used
qc-driver.c:121: warning: `compatible' defined but not used
qc-driver.c:174: warning: `LIST_HEAD' declared `static' but never defined
qc-driver.c:175: warning: `DECLARE_MUTEX' declared `static' but never defined
qc-driver.c:673: warning: `qc_i2c_init' defined but not used
qc-driver.c:1969: warning: `qc_v4l_init' defined but not used
qc-driver.c:2662: warning: `qc_v4l_template' defined but not used
{standard input}: Assembler messages:
{standard input}:303: Error: symbol `val' is already defined
{standard input}:315: Error: symbol `val' is already defined
{standard input}:321: Error: symbol `val' is already defined
{standard input}:327: Error: symbol `retval' is already defined
{standard input}:333: Error: symbol `retval' is already defined
{standard input}:339: Error: symbol `retval' is already defined
{standard input}:351: Error: symbol `r' is already defined
{standard input}:357: Error: symbol `r' is already defined
{standard input}:369: Error: symbol `r' is already defined
{standard input}:375: Error: symbol `r' is already defined
{standard input}:381: Error: symbol `r' is already defined
make: *** [qc-driver.o] Error 1

(L'ho accorciato moltissimo, perch avreste dovuto trascorrere qualche giorno del vostro tempo a leggerlo tutto, e perch il forum non l'ha accettato)

Sono ancora troppo newbbo per capirci qualcosa.

Ho anche letto il README allegato al sorgente, ma come sopra ...

Cosa mi manca o cosa devo fare per risolvere ?.

Grazie infinite ...

arcobalenos
24-06-2004, 18:43
in quel pacchetto c' un file di nome quickcam.sh o una roba del genere, esegui quello da shell che ti guida passo passo e se ti manca qualcosa te lo dice.
:ciauz:

mykol
25-06-2004, 00:46
l'ho provato, ma anche l non va a buon fine... ma non sono riuscito a capire il perch. Appena avr un p di tempo, riprover per vedere se riesco a capirci qualcosa di pi.
comunque grazie

alex86
25-06-2004, 01:00
potresti postare i messaggi no?!

KaZaA
17-09-2006, 19:45
riesumo questo post xk ho un problema simile con la mia Logitech Quickcam Express...praticamente con il Kernel in Bundle con la Mepis 6.0 c' il modulo per far funzionare...purtroppo il Kernel in bundle alla Mepis vecchiotto e volevo usare qualke cosa di + recente (anke per provare le patch di Con Kolivas). Installato il nuovo Kernel, ho provato a scaricare e compilare il driver qc-usb 0.6.4, ma ovviamente mi ha tirato fuori una salaccata di errori in fase di compilazione come ha fatto a Mykol. Ho trovato su internet in un forum della SuSE che un sorgente del qc-usb va modificato per farlo funzionare sul kernel 2.6.x, ma anche con la modifica non funziona...c' un modo per far funzionare tale web su Linux con un kernel ricompilato? Era questo il succo della questione.... :zizi:

Loading