Notizia:
  • Rilasciata Precise Pangolin 12.04. Per ottenerla, visitate questa pagina, oppure provate il tour dal vivo con un browser web moderno.
  • Nuovo forum di Ubuntu-it, l'annuncio. È consigliato aggiornare il proprio profilo e controllare la sezione Gruppo Forum per problemi noti.
  • Rilasciata la versione italiana di Precise Pangolin 12.04. Per maggiori informazioni, consultare questa discussione.
  • Il vincitore del Concorso desktop del mese di aprile è Jerico. L'elenco dei precedenti vincitori è qui.
  • È uscito il numero 17 della Newsletter italiana di Ubuntu. Lo trovate a questo indirizzo.
  • È uscito il numero 59 di Full Circle Magazine in italiano. Lo trovate a questo indirizzo.

Webcam Qtec

Riconoscimento, installazione e configurazione delle periferiche.

Webcam Qtec

Messaggioda Mescal » martedì 2 dicembre 2008, 23:19

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 ... ht=(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 > ${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, 23:24, modificato 1 volta in totale.
Avatar utente
Mescal
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 449
Iscrizione: novembre 2005

Re: Webcam Qtec

Messaggioda erbasox » mercoledì 3 dicembre 2008, 12:54

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  :-\
Ubuntu 10.04 - Intel Core i7 (s1366) 3.06GHz - 16 GB RAM DDR3 DIMM Dual/3 channel - nVidia GeForce GTX 500 (PCIEx) GTX580 1.5GB 782MHz - HD Western Digital 2TB Caviar Green SATA II
Avatar utente
erbasox
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 868
Iscrizione: ottobre 2006
Località: Atene

Re: Webcam Qtec

Messaggioda newentry » martedì 23 dicembre 2008, 2:43

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?
newentry
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 280
Iscrizione: agosto 2007
Località: Tenerife

Re: Webcam Qtec

Messaggioda Guiodic » martedì 23 dicembre 2008, 3:56

ma perché tutti fanno sempre le stesse domande e non cercano mai sul forum?
Avatar utente
Guiodic
Accecante Asceta
Accecante Asceta
 
Messaggi: 28474
Iscrizione: aprile 2007
Località: Roma

Re: Webcam Qtec

Messaggioda jerico » martedì 6 gennaio 2009, 15:48

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....
Avatar utente
jerico
Tenace Tecnocrate
Tenace Tecnocrate
 
Messaggi: 19116
Iscrizione: luglio 2008
Distribuzione: Archlinux
Desktop: Gnome

Re: Webcam Qtec

Messaggioda jerico » martedì 6 gennaio 2009, 15:50

...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?
Avatar utente
jerico
Tenace Tecnocrate
Tenace Tecnocrate
 
Messaggi: 19116
Iscrizione: luglio 2008
Distribuzione: Archlinux
Desktop: Gnome

Re: Webcam Qtec

Messaggioda jerico » martedì 6 gennaio 2009, 15:52

:-\
Ultima modifica di jerico il martedì 6 gennaio 2009, 15:54, modificato 1 volta in totale.
Avatar utente
jerico
Tenace Tecnocrate
Tenace Tecnocrate
 
Messaggi: 19116
Iscrizione: luglio 2008
Distribuzione: Archlinux
Desktop: Gnome

Re: Webcam Qtec

Messaggioda Guiodic » giovedì 8 gennaio 2009, 22:35

inultile installare quei driver, sono già incorporati nel kernel.
Avatar utente
Guiodic
Accecante Asceta
Accecante Asceta
 
Messaggi: 28474
Iscrizione: aprile 2007
Località: Roma

Re: Webcam Qtec

Messaggioda alessandro57 » lunedì 19 gennaio 2009, 10:43

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
alessandro57
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 325
Iscrizione: gennaio 2009
Località: Firenze

Re: Webcam Qtec

Messaggioda Guiodic » lunedì 19 gennaio 2009, 11:40

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
Guiodic
Accecante Asceta
Accecante Asceta
 
Messaggi: 28474
Iscrizione: aprile 2007
Località: Roma

Re: Webcam Qtec

Messaggioda alessandro57 » martedì 20 gennaio 2009, 15:42

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
alessandro57
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 325
Iscrizione: gennaio 2009
Località: Firenze

Re: Webcam Qtec

Messaggioda Aco » mercoledì 28 gennaio 2009, 20:16

brancolo anch'io nel buio con gli stessi identici errori? non ci sono novita' a riguardo? qualcuno ha risolto?
Avatar utente
Aco
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 576
Iscrizione: dicembre 2007

Re: Webcam Qtec

Messaggioda MartinuxP » giovedì 7 maggio 2009, 15:17

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"...
MartinuxP
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 328
Iscrizione: giugno 2007


Torna a Driver e periferiche

Chi c’è in linea

Visualizzano questa pagina: Nessuno e 9 ospiti