Entra

View Full Version : [Ubuntu] Installare una webcam


Metal milita
12-10-2006, 11:47
ciao ragazzi. dunque, collego la webcam alla porta usb e controllo dmesg.

[17180954.320000] Linux video capture interface: v1.00
[17180954.352000] drivers/usb/media/spca5xx/spca5xx-main.c: USB SPCA5XX camera found. SONIX sn9c102 + Pas202
[17180954.356000] usbcore: registered new driver spca5xx
[17180954.356000] drivers/usb/media/spca5xx/spca5xx-main.c: spca5xx driver 00.57.08 registered
[17180954.372000] sn9c102: V4L2 driver for SN9C10x PC Camera Controllers v1:1.24a
[17180954.372000] usbcore: registered new driver sn9c102

sembra che la webcam sia correttamente rilevata. e poi come faccio a controllare che funzioni veramente? non ci sono tools di configurazione ad interfaccia grafica? oppure con quali programmi posso verificare il corretto funzionamento? con amsn per ora non riesco per un problema di quest'ultimo.

ps: in lsmod quali moduli devo verificare che siano correttamente caricati?

grazie in anticipo ragà. ciao

Metal milita
12-10-2006, 12:12
scusate. con vlc riesco a vedermi.

il problema allora è solo amsn che mi dice che mi trovo dietro ad un firewall. ho provato a risolvere come da FAQ ufficiali ma ancora mi compare quest'errore. a voi è capitato?

questo è il testo che ho seguito.

You are firewalled or behind a router

If you are unable to view a webcam in aMSN after a contact has send you an invite, or after you have issued the command to receive/send webcam, and you are behind a router, you may need to follow these steps:

If you receive: IP-Restrict-NAT and you receive false in webcam wizard, that means your connection is firewalled. (does not send the IP)

If this is the case, you will need to open some ports for the webcam to use because they are currently blocked.

To do this, open your router web-based configuration (check router manual for details on this). Once you have the web-based configuration open, browse for a setting called "port forwarding" or "port range forwarding" or something similar to that. (This might be found under the advanced features for your router).

Now that you have the port forwarding page open, you will want to set the port forwarding range so that aMSN will be able to accept and send the webcam stream.
Here's an example of how you will set up your port forwarding:

Application: aMSN
Start: 6890
End: 6900
Protocol: Both(TCP & UDP)
IP: xxx.xxx.x.xxx
Enabled: X (Yes/True)

Note: xxx.xxx.x.xxx is the IP of your machine that you are trying to send / receive webcam


If you have a web server open on your port 80, you can try to disable it too, sometimes it helps.