[Video] UVC Camera 046d:09b0 riconosciuta ma nn funzionante (e passa da video0 a video1)

Riconoscimento, installazione e configurazione delle periferiche.
UgoT
Prode Principiante
Messaggi: 4
Iscrizione: mercoledì 26 ottobre 2011, 17:43

[Video] UVC Camera 046d:09b0 riconosciuta ma nn funzionante (e passa da video0 a video1)

Messaggio da UgoT »

Ciao a tutti,
questo è il mio primo messaggio qui  ;)

Ho da poco installato Ubuntu 11.10 con wubi (l'idea è di passare alla partizione con pangolin), e ho un problema con la mia webcam integrata.
Il computer è un notebook Acer Aspire 5630 e la webcam è

Codice: Seleziona tutto

Bus 001 Device 025: ID 046d:09b0 Logitech, Inc. Acer OrbiCam
Ora lo sò che altri hanno chiesto questa domanda, ma su altre versioni. Inoltre le risposte date a suo tempo non funzionano sulla mia installazione.

Ho smanettato un pò (e credo anche di avere installato dei pacchetti inutili e rindondanti), prima di tutto ho controllato di avere UVCvideo

Codice: Seleziona tutto

/lib/modules/3.0.0-12-generic/kernel/drivers/media/video/uvc/uvcvideo.ko
/usr/include/linux/uvcvideo.h
/usr/src/linux-headers-3.0.0-12/include/linux/uvcvideo.h
/usr/src/linux-headers-3.0.0-12-generic/include/linux/uvcvideo.h
ho usato il comando

Codice: Seleziona tutto

ls /dev/video*
, e qui c'è già la prima cosa curiosa... ogni tanto mi da come risultato video0 ed ogni tanto video1.

Visto che non riuscivo a usare Cheese

Codice: Seleziona tutto

** (cheese:16723): WARNING **: Error starting streaming on device '/dev/video0'
(quando il comando mi genera video0, quando mi genera video1 faccio partire

Codice: Seleziona tutto

cheese --device=/dev/video1
)

ho provato ad installare guvcview. Quando lo faccio partire però devo usare il terminale, controllare se in quel momento mi da video1 o video0 e farlo partire col device giusto. Altrimenti mi da errore. Quando uso il device giusto in quel momento (mi sembra assurdo che cambi, ma è così... non sono un esperto comunque magari è normale che salti), mi apre il programma ma non lo streaming dalla webcam (altrimenti non mi apre neanche il programma). Questo è quello che stampa il terminale:

Codice: Seleziona tutto

ugo@ubuntu:~$ guvcview
guvcview 1.4.5
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Errore di input/output(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = File o directory non esistente
Cannot connect to server socket
jack server is not running or cannot be started
video device: /dev/video0 
Init. UVC Camera (046d:09b0) (location: usb-0000:00:1d.7-4)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 1280, height = 960 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ discrete: width = 1280, height = 1024 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 1280, height = 960 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ discrete: width = 1280, height = 1024 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 1280, height = 960 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ discrete: width = 1280, height = 1024 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 1280, height = 960 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ discrete: width = 1280, height = 1024 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 2/25, 1/10, 2/15, 1/5, 1/3, 
{ discrete: width = 1280, height = 960 }
	Time interval between frame: 1/8, 1/5, 1/3, 
{ discrete: width = 1280, height = 1024 }
	Time interval between frame: 1/8, 1/5, 1/3, 
vid:046d 
pid:09b0 
driver:uvcvideo
Adding control for Pan (relative)
UVCIOC_CTRL_ADD - Error: File già esistente
checking format: 1448695129
fps is set to 1/30
drawing controls

VIDIOC_QUERYMENU: Argomento non valido
libv4l2: error turning on stream: Errore di protocollo
VIDIOC_STREAMON - Unable to start capture: Errore di protocollo
fps is set to 1/30
no codec detected for H264
no codec detected for MP3 - (lavc)
Checking video mode 640x480@32bpp : OK 
libv4l2: error turning on stream: Nessun device di questo tipo
VIDIOC_STREAMON - Unable to start capture: Nessun device di questo tipo
libv4l2: error turning on stream: Nessun device di questo tipo
VIDIOC_STREAMON - Unable to start capture: Nessun device di questo tipo
Qualcuno ha qualche idea? Mi sembra di capire che il programma riconosca la camera...
Posso aggiungere che usando la GUI di guvcview (che però posso far partire solo da terminale dopo aver impostato il device), di default su Device non c'è nulla, ma il menu a tendina si apre immediatamente sull'unico contenuto UVC Camera 046d:09b0 che è appunto la webcam.

Qualche idea e qualche soluzione per poterla far funzionare?
Ultima modifica di UgoT il giovedì 27 ottobre 2011, 8:40, modificato 1 volta in totale.
UgoT
Prode Principiante
Messaggi: 4
Iscrizione: mercoledì 26 ottobre 2011, 17:43

Re: [Video] UVC Camera 046d:09b0 riconosciuta ma nn funzionante (e passa da video0 a video1)

Messaggio da UgoT »

Aggiornamento.

Stamattina ho provato a lanciare lsusb e ho ottenuto:

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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 13ee:0003 
e con ls /dev/video*

Codice: Seleziona tutto

ls: impossibile accedere a /dev/video*: File o directory non esistente
Sparita?  :-\
UgoT
Prode Principiante
Messaggi: 4
Iscrizione: mercoledì 26 ottobre 2011, 17:43

Re: [Video] UVC Camera 046d:09b0 riconosciuta ma nn funzionante (e passa da video0 a video1)

Messaggio da UgoT »

Visto che la cosa si fa divertente, oggi lsusb ha ritrovato la cam..

Bus 001 Device 002: ID 046d:09b0 Logitech, Inc. Acer OrbiCam

Anche se in device 002 mentre due giorni fa era 025 ma credo non voglia dire niente.... ?

Comunque non funziona lo stesso...
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 12 ospiti