Newsgroup: it.comp.os.linux.iniziare
Titolo: Aiuto con Opensuse11.1 - Skype e problema video

Ciao a tutti,
sono passato da ubuntu a opensuse e dopo un'installazione
che ha riconosciuto tutto e non ha dato il minimo problema,
ho bisogno del vostro aiuto.
Uso skype 20072 l'audio funziona benissimo ma il video no.
Ho una webcam microsoft vx3000 e con un po' di ricerche ho
accertato che funziona (o almeno dovrebbe).
Il sito 
http://mxhaard.free.fr/spca5xx.html
 dice questo:
MicroSoft 229 0x045e 0x00F5 VX3000 sn9c105r OV7660 Yes Jpeg gspcav1 ***
Una volta installato skype altre varie ricerche dicono che
ho bisogno dei gspca-devices.
Alla fine sono arrivato qui:
http://en.opensuse.org/Webcam
che mi dice di scaricare i v4l da qui 
http://linuxtv.org/hg/v4l-dvb
e/o i gspca da qui 
http://linuxtv.org/hg/~jfrancois/gspca/
Da queste due pagine ho scaricato due file che ho scompattato:
-  GSPCA-C218EABB04DC (stable version)
-  V4L-DVB-C300798213A9 (development version)
Qui perï¿œ mi sono impantanato e non so come continuare. Immagino di dover
lavorare con la stable version.
Ho trovato un file readme qui 
http://moinejf.free.fr/gspca_README.txt
che perï¿œ va oltre le mie conoscenze e siccome vorrei evitare di fare
casini... mi farebbe comodo un vostro aiuto.
Cosa devo fare? Da qui in poi per me ï¿œ azteco.
Ringrazio chiunque mi darï¿œ una mano, possibilmente indicandomi i comandi.
Grazie
Valente
Generation
	- the first time:
		- remove from the kernel all gspca v1 or other webcam stuff
		  which may conflict.
		- don't forget to remove the modules 'gspca_xxx.ko'
		  installed in '/lib/modules/.../misc/' by the previous
		  gspcav2 tarball distribution.
		- take care of the modules loaded at startup time
		  and included in the initrd.
		- go to the tarball / repository root.
		- copy the '.config' of your kernel (usually
		  '/boot/config-2.6.xx-xx-yy') to the directory v4l/.
		  Example (from the mercurial root directory):
			cp /boot/config-2.6.23.12 v4l/.config
		- do a 'make xxxconfig' (xxx depending on your taste -
		  it may be 'config', 'menuconfig', 'xconfig' or
		  'gconfig'.
		- if you have not the full sources of the kernel, the
		  previous command will fail. In this case, manually edit
		  the file 'v4l/.config' adding:
			CONFIG_USB_GSPCA=m
			CONFIG_USB_GSPCA_xxx=m
		  where xxx is the name of the subdriver handling your webcam.
		  (look in the file
			<hg_root>/linux/Documentation/video4linux/gspca.txt)
	- do
		make
	- and, as root:
		make install
Test
	You may try your webcam with my simple video viewer (svv):
 
http://moinejf.free.fr/svv.c
	(to generate the program, the compilation line may be found at
	 the beginning of the source)
	If your webcam works, please, let me know.
	If it does not work:
	- there is no /dev/video0:
		- check if the kernel modules are loaded. If not, look
		  at the last kernel message ('dmesg | tail -30').
		- if they are loaded, do
			echo 0x0f > /sys/module/gspca_main/parameters/debug
		  then unplug and plug again your webcam, and send me
		  the last kernel messages.
	- the program svv says 'timeout':
		- do
			echo 0x3f > /sys/module/gspca_main/parameters/debug
		  then start the application, and send me the last kernel
		  messages.
	- there is a bad image (you see something, maybe moving):
		- get an image with
			./svv -rg
		- this creates a file 'image.dat'. Send it to me with the
		  last kernel messages.
Supported webcams
	Look at:
 
http://moinejf.free.fr/webcam.html
	or in the file:
		<hg_root>linux/Documentation/video4linux/gspca.txt
V4L library
	Most applications don't know how to decode the raw frames generated
	by the webcams, and also, many of them do not speak the V4L2
	interface. To make them work, you need the V4L application
	library found at:
 
http://linuxtv.org/hg/~hgoede/v4l-dvb
	To generate:
		cd v4l2-apps/lib/libv4l/
		make
	   (and as root)
		make install
		(the installation is done under /usr/local)
	To use it with a mono-threaded application, do:
		export LD_LIBRARY_PATH=/usr/local/lib/
		LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so <application>
	To use it with a multi-threaded application, do:
		export LD_LIBRARY_PATH=/usr/local/lib/
		export LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
		<application>
	For more information, look at:
 
http://hansdegoede.livejournal.com/3636.html
 
http://linuxtv.org/v4lwiki/index.php/Libv4l_Progress

 e/o i gspca da qui 
http://linuxtv.org/hg/~jfrancois/gspca/
  Con qualsiasi distribuzione moderna (che giri con un kernel 2.6.28 o
successivo), configuri il kernel perché usi l'infrastruttura v4l (Video
For Linux) e i driver per le telecamere GSPCA.  Se il kernel della tua
distribuzione manca dei driver giusti, installati i sorgenti del tuo
kernel e riconfiguratelo selezionando:
Device Drivers  ---> Multimedia devices  --->
<M> Video For Linux
[*]   Enable Video For Linux API 1 (DEPRECATED)
[*] Load and attach frontend and tuner driver modules as needed
[*] Video capture adapters  --->
   [*]   Autoselect pertinent encoders/decoders and other helper chips
   [*]   V4L USB devices  ---> *qui dentro metti a <M> tutti i driver,
salvo eventualmente le attivazioni dei debug*
   <M>   GSPCA based webcams  ---> *anche qui metti a <M> tutti i driver*
  Compili con make, installi con make modules_install install, verifichi
che la configurazione di GRUB sia a posto (dovrebbe essere stata
aggiornata automaticamente), riavvi e la telecamera dovrebbe funzionare.
  Controlla che esista il dispositivo /dev/video0, se hai installato
mplayer provalo con mplayer tv://, oppure installati e usa cheese per fare
una prova.
  Ciao,
-- 
Alessandro Selli 
http://alessandro.route-add.net
AVVERTENZA: i messaggi inviati a "trappola" non mi arriveranno.
WARNING: messages sent to "trappola" will never reach me.
Chiave PGP/GPG: EC885A8B

 kernel e riconfiguratelo selezionando:
Domanda idiota ma i driver sono in quale cartella?
-  GSPCA-C218EABB04DC (stable version)
-  V4L-DVB-C300798213A9 (development version)
io ho sono entrato nella stable e ho dato
sudo make
sudo install
ma mi sono ritornati questi errori
make -C /home/my/Desktop/gspca-c218eabb04dc/v4l
make[1]: Entering directory `/home/my/Desktop/gspca-c218eabb04dc/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.27
File not found: /lib/modules/2.6.27.23-0.1-default/build/.config at
./scripts/
make_kconfig.pl
 line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by
`config-compat.h'.  Stop.
make[1]: Leaving directory `/home/my/Desktop/gspca-c218eabb04dc/v4l'
make: *** [all] Error 2
make -C /home/my/Desktop/gspca-c218eabb04dc/v4l install
make[1]: Entering directory `/home/my/Desktop/gspca-c218eabb04dc/v4l'
Removing obsolete files from
/lib/modules/2.6.27.23-0.1-default/kernel/drivers/media/video:
Removing obsolete files from
/lib/modules/2.6.27.23-0.1-default/kernel/drivers/media/dvb/cinergyT2:
Removing obsolete files from
/lib/modules/2.6.27.23-0.1-default/kernel/drivers/media/dvb/frontends:
Installing kernel modules under
/lib/modules/2.6.27.23-0.1-default/kernel/drivers/media/:
/sbin/depmod -a 2.6.27.23-0.1-default
make -C firmware install
make[2]: Entering directory
`/home/my/Desktop/gspca-c218eabb04dc/v4l/firmware'
  CC  ihex2fw
make[2]: gcc: Command not found
make[2]: *** [ihex2fw] Error 127
make[2]: Leaving directory
`/home/my/Desktop/gspca-c218eabb04dc/v4l/firmware'
make[1]: *** [firmware_install] Error 2
make[1]: Leaving directory `/home/my/Desktop/gspca-c218eabb04dc/v4l'
make: *** [install] Error 2
Errori che per me sono arabo un po' come le righe che
seguono. :-/


>
