Pagina 1 di 1

installazione webcam

Inviato: mercoledì 20 giugno 2012, 22:48
da Cielostellato
domanda.. ma se collego la webcam nella porta USB.. non dovrebbe riconoscerla automaticamente?

Re: installazione webcam

Inviato: mercoledì 20 giugno 2012, 22:52
da magozurlinux
Sì, bisogna vedere se funziona subito o c'è da installare qualche driver.

Da terminale postami questi comandi:

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep usb

Re: installazione webcam

Inviato: mercoledì 20 giugno 2012, 23:07
da Cielostellato
il primo comando da questo risultato.....

Codice: Seleziona tutto

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 045e:00f4 Microsoft Corp. LifeCam VX-6000 (SN9C20x + OV9650)
Bus 002 Device 002: ID 045e:009d Microsoft Corp. Wireless Optical Desktop 3.0
Bus 003 Device 002: ID 0a5c:6300 Broadcom Corp. Pirelli Remote NDIS Device
il secondo comando mi da questo....

Codice: Seleziona tutto

[    0.087770] usbcore: registered new interface driver usbfs
[    0.087788] usbcore: registered new interface driver hub
[    0.087839] usbcore: registered new device driver usb
[    0.854910] usbcore: registered new interface driver libusual
[    1.107481] usb 1-2: new high-speed USB device number 3 using ehci_hcd
[    1.320402] scsi2 : usb-storage 1-2:1.0
[    1.320517] usbcore: registered new interface driver usb-storage
[    1.732123] usb 2-1: new low-speed USB device number 2 using ohci_hcd
[    1.960547] usbcore: registered new interface driver usbhid
[    1.960552] usbhid: USB HID core driver
[    1.970830] input: Microsoft Microsoft Wireless Optical Desktop\xffffffc2\xffffffae\xffffffae 2.10 as /devices/pci0000:00/0000:00:03.0/usb2/2-1/2-1:1.0/input/input2
[    1.971089] microsoft 0003:045E:009D.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft Wireless Optical Desktop\xffffffc2\xffffffae\xffffffae 2.10] on usb-0000:00:03.0-1/input0
[    1.996825] input: Microsoft Microsoft Wireless Optical Desktop\xffffffc2\xffffffae\xffffffae 2.10 as /devices/pci0000:00/0000:00:03.0/usb2/2-1/2-1:1.1/input/input3
[    1.997265] microsoft 0003:045E:009D.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Desktop\xffffffc2\xffffffae\xffffffae 2.10] on usb-0000:00:03.0-1/input1
[    2.252027] usb 3-2: new full-speed USB device number 2 using ohci_hcd
[   18.983770] cdc_ether 3-2:2.0: eth1: register 'cdc_ether' at usb-0000:00:03.1-2, CDC Ethernet Device, 00:1e:e3:11:2d:16
[   19.031955] usbcore: registered new interface driver cdc_ether
[ 4019.532051] usb 1-3: new high-speed USB device number 5 using ehci_hcd
[ 4170.422664] usb 1-3: USB disconnect, device number 5
[ 4187.545476] usb 1-2: USB disconnect, device number 3
[ 4191.728057] usb 1-2: new high-speed USB device number 6 using ehci_hcd
[ 4191.962925] input: sn9c20x as /devices/pci0000:00/0000:00:03.2/usb1/1-2/input/input4
[ 4191.965135] usbcore: registered new interface driver sn9c20x
[ 4192.117215] usbcore: registered new interface driver snd-usb-audio

Re: installazione webcam

Inviato: giovedì 21 giugno 2012, 12:02
da magozurlinux
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 045e:00f4 Microsoft Corp. LifeCam VX-6000 (SN9C20x + OV9650)
Bus 002 Device 002: ID 045e:009d Microsoft Corp. Wireless Optical Desktop 3.0
Bus 003 Device 002: ID 0a5c:6300 Broadcom Corp. Pirelli Remote NDIS Device
[ 4191.728057] usb 1-2: new high-speed USB device number 6 using ehci_hcd
[ 4191.962925] input: sn9c20x as /devices/pci0000:00/0000:00:03.2/usb1/1-2/input/input4
[ 4191.965135] usbcore: registered new interface driver sn9c20x
[ 4192.117215] usbcore: registered new interface driver snd-usb-audio
La tua webcam è stata rilevata, il modulo driver è sn9c20x ed il modulo driver snd-usb-audio se ha anche il microfono.

Da terminale dai questo comando:

Codice: Seleziona tutto

gstreamer-properties


si aprirà una finestra, clicca su Video;

si aprirà un'altra finestra; via in basso su Ingresso predefinito - Video for Linux 2 (V4L2) e clicca su Test;

si aprirà un'altra finestra colla tua immagine; come ti vedi?