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 OrbiCamHo 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.hCodice: Seleziona tutto
ls /dev/video*Visto che non riuscivo a usare Cheese
Codice: Seleziona tutto
** (cheese:16723): WARNING **: Error starting streaming on device '/dev/video0'Codice: Seleziona tutto
cheese --device=/dev/video1ho 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 tipoPosso 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?