[Risolto] Installazione webcam Trust WB-1400T

Ciao a tutti.

Ho provato ad installare la mia webcam Trust WB-1400T seguendo http://www.fedoraonline.it/modules/smartsection/item.php?itemid=39, ma ovviamente la webcam non funziona, anche perché i comandi d’installazione riportati nella guida non sono andati a buon fine.

Ho provato a cercare altre guide su Internet, ma sono andate tutte male.

Nella cartella “Scaricati” ho due pacchetti di driver:

  1. gspca-935ff3ceca43.tar.gz

  2. gspcav1-20071224.tar.gz

ma non si riescono ad installare!

non c’è bisogno di installare i moduli gspca, essi sono già inclusi nel kernel, se ovviamente usi la F10.

[quote=virus]
non c’è bisogno di installare i moduli gspca, essi sono già inclusi nel kernel, se ovviamente usi la F10.[/quote]

Sì, uso F10.

Quindi come faccio ad installarli? Se provo con “yum” mi dice che non trova i pacchetti!

non devi installare nulla.
posta il responso di:

[code]# lsmod|grep video

ll /dev/video*[/code]

Quella guida è decisamente superata, la webcam funziona per i moduli attivati nel kernel, come giustamente (potrebbe essere altrimenti?) dice Virus.

Installa un programma di acquisizione immagini da webcam e prova.

Posta il responso di:

lsusb

oltre ai responsi che ti ha richiesto Virus.

Eccovi i risultati:

lsmod|grep video

videodev 32000 1 gspca_main

v4l1_compat 15876 1 videodev

ll /dev/video*

lrwxrwxrwx 1 root root 6 7 apr 2009 /dev/video -> video0

crw-rw----+ 1 root root 81, 0 7 apr 2009 /dev/video0

lsusb

Bus 005 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 001 Device 005: ID 093a:2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100
Bus 001 Device 004: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 001 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

bene.
prova a testare la cam con mplayer:

$ mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=160:height=120:fps=50

[quote=virus]
bene.
prova a testare la cam con mplayer:

$ mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=160:height=120:fps=50

Risultato:

[code]$ mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=160:height=120:fps=50
MPlayer SVN-r28461-4.3.2 © 2000-2009 MPlayer Team
CPU: AMD Athlon™ XP 2200+ (Family: 6, Model: 8, Stepping: 0)
Creating config file: /home/Enrico/.mplayer/config
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski [email protected]
comment: first try, more to come :wink:
Selected device: CIF Single Chip
Capabilites: video capture read/write streaming
supported norms:
inputs: 0 = pac207;
Current input: 0
Current format: unknown (0x37303250)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn’t got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument

Cannot find codec matching selected -vo and video format 0x37303250.
Read DOCS/HTML/en/codecs.html!

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting… (End of file)[/code]

prova con questo:

$ mplayer tv:// -tv driver=v4l:device=/dev/video0:width=160:height=120:fps=50

[quote=virus]
prova con questo:

$ mplayer tv:// -tv driver=v4l:device=/dev/video0:width=160:height=120:fps=50

Risultato:

[code]$ mplayer tv:// -tv driver=v4l:device=/dev/video0:width=160:height=120:fps=50
MPlayer SVN-r28461-4.3.2 © 2000-2009 MPlayer Team
CPU: AMD Athlon™ XP 2200+ (Family: 6, Model: 8, Stepping: 0)
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development

WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
As the V4L1 compatibility layer is broken, this may not work.
If you encounter any problems, use driver=v4l2 instead.
Bugreports on driver=v4l with v4l2 drivers will be ignored.

Selected device: CIF Single Chip
Capabilites: capture
Device type: 1
Supported sizes: 48x32 => 352x288
Inputs: 1
0: pac207: (tuner:0, norm:pal)
Using input ‘pac207’
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Unknown norm!
Error: Cannot set norm!
Selected input hasn’t got a tuner!

Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 160x120 => 160x120 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)

Audio: no sound
Starting playback…

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:-9223372036854.8 7/ 7 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 9/ 9 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 10/ 10 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 15/ 15 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 17/ 17 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:-9223372036854.8 23/ 23 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 24/ 24 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:-9223372036854.8 31/ 31 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V:-9223372036854.8 34/ 34 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument[/code]

L’errore continuava a ripetizione finchè non ho chiuso il mediaplayer!

prova camstream:

# yum install camstream

lo trovi nel menù audio-video

Installato.

Adesso la webcam dà l’immagine, ma si vede malissimo (molto scura) nonostante abbia provato a regolarla.

L’immagine si vede molto scura anche con la luce accesa!!!

Premetto che sotto Win (con i suoi driver ovviamente), l’immagine si vede benissimo!

in alto a sinistra camstream ha i controlli video.
regolali.

Li ho proprio regolati da lì!!!

Se agisco sulla luminosità (Brightness) i risultati sono molto scarsi!

Se agisco su Contrasto, Gamma e Saturazione non cambia proprio niente.

L’immagine resta uguale (cioè scura, molto scura).

di più non posso fare.
per me il problema è risolto.

[quote=virus]
di più non posso fare.
per me il problema è risolto.[/quote]

Capisco.

C’è magari qualche altro gestore webcam che posso provare ad installare?

cheese

[quote=virus]
cheese[/quote]

L’ho già installato, ma non mi da modo di modificare l’immagine.

Dài, non preoccuparti troverò il modo di sistemare. Tanto la webcam non è indispensabile.

Ci sono richieste ben più serie a cui prestare attenzione.

Intanto grazie mille per l’assistenza.

de nada