Webcam Qtec

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Avatar utente
Mescal
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 460
Iscrizione: domenica 27 novembre 2005, 14:52

Webcam Qtec

Messaggio da Mescal »

Allora...
avento precedentemente una webcam non supportata ne ho cercata una supportata...

dando lsusb mi dà questa
Bus 006 Device 002: ID 093a:2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100


Alla pagina
http://mxhaard.free.fr/spca5xx.html

mi dice che è perfettamente supportata...perchè allora non mi funziona?!? Mi fà solo uno schermo verde ad esmpio su skype

Seguendo la guida a questa pagina
http://wiki.ubuntu-it.org/Hardware/Webc ... t=(webcam)

al momento di dare questo comando
sudo m-a a-i gspca

mi da errore e non installa...andando a vedere l'errore mi dice:

dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/gspca clean
make[1]: Entering directory `/usr/src/modules/gspca'
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
.gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
*.symvers *.err
make[1]: Leaving directory `/usr/src/modules/gspca'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/gspca'
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/gspca clean
make[2]: Entering directory `/usr/src/modules/gspca'
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
.gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
*.symvers *.err
make[2]: Leaving directory `/usr/src/modules/gspca'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27-9-generic/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.27-9-generic/g ;s/#KVERS#/2.6.27-9-generic/g ; s/_KVERS_/2.6.27-9-generic/g ; s/##KDREV##/2.6.27-9.19/g ; s/#KDREV#/2.6.27-9.19/g ; s/_KDREV_/2.6.27-9.19/g  ' ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.27-9-generic KERNELDIR=/usr/src/linux-headers-2.6.27-9-generic
make[2]: Entering directory `/usr/src/modules/gspca'
/usr/bin/make -C /usr/src/linux-headers-2.6.27-9-generic SUBDIRS=/usr/src/modules/gspca CC=gcc modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: Nessun file o directory
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’:
/usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in assignment
make[4]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[3]: *** [_module_/usr/src/modules/gspca] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/modules/gspca'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/gspca'
make: *** [kdist_build] Error 2
Ultima modifica di Mescal il martedì 2 dicembre 2008, 22:24, modificato 1 volta in totale.
Avatar utente
erbasox
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1062
Iscrizione: sabato 28 ottobre 2006, 16:24
Desktop: PekWM, Mate
Distribuzione: Ubuntu 20.04 LTS x86_64
Sesso: Maschile
Località: Atene

Re: Webcam Qtec

Messaggio da erbasox »

Stesso problema lo avevo con la mia cam sul sito mi diceva che era pienamente supportata da spca5xx ma in realta' la cam non andava e mi dava una schermata verde dopo svariati smanettamenti ho dato il seguente comando:

Codice: Seleziona tutto

wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
e ho scaricato gspcav1-20071224.tar.gz l'ho estratto e installanto leggendo il file READ_AND_INSTALL presente all'interno della cartella e la cam ha iniziato a funzionare  ::)

Prova magari funziona anche a te  :-\
Avatar utente
newentry
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 354
Iscrizione: lunedì 6 agosto 2007, 14:04
Località: Tenerife

Re: Webcam Qtec

Messaggio da newentry »

Ciao, ho lo stesso problema, così ho scaricato il file gspcav1-20071224.tar.gz ed ho provato a fare make ma mi da errore:
pepito@pepitoslaptop:~/Desktop/gspcav1-20071224$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/pepito/Desktop/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /home/pepito/Desktop/gspcav1-20071224/gspca_core.o
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c: At top level:
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/pepito/Desktop/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/pepito/Desktop/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/pepito/Desktop/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [default] Error 2
pepito@pepitoslaptop:~/Desktop/gspcav1-20071224$
che può essere?
Avatar utente
Guiodic
Accecante Asceta
Accecante Asceta
Messaggi: 28474
Iscrizione: martedì 24 aprile 2007, 15:28
Località: Roma
Contatti:

Re: Webcam Qtec

Messaggio da Guiodic »

ma perché tutti fanno sempre le stesse domande e non cercano mai sul forum?
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Webcam Qtec

Messaggio da jerico »

e ho scaricato gspcav1-20071224.tar.gz l'ho estratto e installanto leggendo il file READ_AND_INSTALL presente all'interno della cartella e la cam ha iniziato a funzionare  Roll Eyes
avevo già provato anche questa via....però quello che non mi torna è che  /dev/video0 non ce l'ho.ad esempio ,se lancio camorama,mi dice che non trova nessun dispositivo in /dev/video0. per forza, /video0 non esiste! non capisco....
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Webcam Qtec

Messaggio da jerico »

...e poi non capisco questa parte
goes to gspcagui directory
be sure to have libsdl installed with the header
then
make
as root
make install
Plug your webcam and run
gspcagui -d /dev/video0
adjust video0 to your hardware
Press the G button and wait for the webcam probe
dov è la gspcagui directory?
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Webcam Qtec

Messaggio da jerico »

:-\
Ultima modifica di jerico il martedì 6 gennaio 2009, 14:54, modificato 1 volta in totale.
Avatar utente
Guiodic
Accecante Asceta
Accecante Asceta
Messaggi: 28474
Iscrizione: martedì 24 aprile 2007, 15:28
Località: Roma
Contatti:

Re: Webcam Qtec

Messaggio da Guiodic »

inultile installare quei driver, sono già incorporati nel kernel.
Avatar utente
alessandro57
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 368
Iscrizione: lunedì 5 gennaio 2009, 12:14
Località: Firenze

Re: Webcam Qtec

Messaggio da alessandro57 »

Guiodic ha scritto: ma perché tutti fanno sempre le stesse domande e non cercano mai sul forum?

Se tutti ripetono lo stesso tipo di domanda vuol dire che, oltre essere un problema comune, non è così agevole trovare la risposta giusta sul forum.

Anche io, con Intrepid, ho seguito la via dell'installazione gspca con gli stessi errori (guarda caso l'ho fatto perché è ciò che consigliano vari forum!!!!). Ma se sono già nel kernel, per quale motivo la mia webcam (supportata) non funziona?
Avatar utente
Guiodic
Accecante Asceta
Accecante Asceta
Messaggi: 28474
Iscrizione: martedì 24 aprile 2007, 15:28
Località: Roma
Contatti:

Re: Webcam Qtec

Messaggio da Guiodic »

alessandro57 ha scritto: Ma se sono già nel kernel, per quale motivo la mia webcam (supportata) non funziona?
perché ci sono dei bug in intrepid.

prima di tutto verifichiamo:

staccala webcam, reinseriscila e poi dai da terminale:

Codice: Seleziona tutto

dmesg | tail
ls -l /dev/video*
id
copia cosa esce.
Avatar utente
alessandro57
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 368
Iscrizione: lunedì 5 gennaio 2009, 12:14
Località: Firenze

Re: Webcam Qtec

Messaggio da alessandro57 »

Ok, provo e vedo cosa esce, ma intanto.......

.....cercando tramite google lo stesso tipo di errori che ho segnalato su questo post, mi sembra di aver capito che ci sono in quanto 8.10 si porta già nel kernel i driver gspca. Ecco qua:
gspca webcams (video4linux)
Kees Cook kees at ubuntu.com
Mon Sep 8 18:33:02 BST 2008

    * Previous message: Fabien Tassin (fta) is a MOTU
    * Next message: gspca webcams (video4linux)
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Hi,

With 2.6.27, the gspca webcam drivers have moved into the mainline kernel.
As part of that move, all the in-kernel format-conversion routines have
been moved out of the kernel into userspace.  However, Intrepid does
not yet have this userspace element -- libv4l.  It[2] is presently
sitting in Debian NEW, and I think we need to get it into Intrepid
to try to minimize[3] the regression for these webcams.  (Presently,
any of the gspca webcams doing format-conversion (all?) will appear to
have regressed.)

Anyone using applications with these webcams will need to use the
PRELOAD stuff[4] to make them work again.  So, in addition to libv4l,
would it be possible to get the gstreamer patches needed to support
this?

-Kees

[1] http://lwn.net/Articles/291036/
[2] http://mentors.debian.net/cgi-bin/spons ... age=libv4l
[3] http://hansdegoede.livejournal.com/4789.html
[4] http://fedoraproject.org/wiki/Features/ ... umentation

--
Kees Cook
Detto ciò, cosa cacchio devo fare per far funzionare 'sta benedetta webcam?  >:(
Avatar utente
Aco
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 576
Iscrizione: martedì 25 dicembre 2007, 13:13

Re: Webcam Qtec

Messaggio da Aco »

brancolo anch'io nel buio con gli stessi identici errori? non ci sono novita' a riguardo? qualcuno ha risolto?
Avatar utente
MartinuxP
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 329
Iscrizione: domenica 17 giugno 2007, 13:42
Desktop: Ubuntu 2D
Distribuzione: Ubuntu 12-04, 64bit
Località: Vercelli, VC

Re: Webcam Qtec

Messaggio da MartinuxP »

Anche io ho una webcam (Trust 150 Spacecam Portable) che è nell'elenco di quelle supportate ( http://wiki.ubuntu-it.org/Hardware/Webcam/DriverGspca )
Quando la collego ottengo:

Codice: Seleziona tutto

[ 7988.228030] usb 2-6: new full speed USB device using ohci_hcd and address 8
[ 7988.438097] usb 2-6: configuration #1 chosen from 1 choice
[ 7988.454678] usb 2-6: SN9C10[12] PC Camera Controller detected (vid:pid 0x0C45:0x6029)
[ 7988.660953] usb 2-6: PAS106B image sensor detected
[ 7989.330944] usb 2-6: Initialization succeeded
[ 7989.331067] usb 2-6: V4L2 device registered as /dev/video1
[ 7989.331080] usb 2-6: Optional device control through 'sysfs' interface ready
[ 7989.355409] usb 2-6: usb_submit_urb() failed, error -28
I in dev ho i seguenti video:

Codice: Seleziona tutto

$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 2009-05-07 15:04 /dev/video0
crw-rw----  1 root video 81, 3 2009-05-07 15:07 /dev/video1
.

Ricordo che tempo fa ero riuscito a farla partire una volta ma non mi ricordo con che driver compilato a mano...
Temo cmq che il problema non sia il driver, anche perché il modulo è caricato:

Codice: Seleziona tutto

$ lsmod | grep sn9
sn9c102               164100  0 
videodev               50336  5 sn9c102,tuner,cx8800,cx88xx,v4l2_common
Idee?
Io intanto continuo a leggere in rete cercando di capire il significato di "usb_submit_urb() failed, error -28"...
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Google [Bot] e 11 ospiti