Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "Hardware/Webcam/Syntek"
Differenze tra le versioni 1 e 6 (in 5 versioni)
Versione 1 del 18/06/2007 13.55.26
Dimensione: 1661
Commento: Inizio dei lavori
Versione 6 del 02/10/2007 07.09.54
Dimensione: 3428
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
#format wiki
#LANGUAGE it
Linea 2: Linea 4:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Indice'''[[BR]] [[TableOfContents]]|| ||<tablestyle="float:right; font-size: 0.9em; width:35%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Indice'''[[BR]] [[TableOfContents]]||


= Introduzione =

Guida all´installazione di una webcam '''Syntek'''.
Linea 5: Linea 12:
Per verificare che la vostra webcam sia una Syntec bisogna dere il comando
'''lsusb -v''', dovrebbe apparire una cosa del tipo:
{{{

V
erificare che il modello della vostra webcam sia Syntec con '''lsusb -v''': {{{
Linea 28: Linea 34:
Basta seguire questi semplici passi:
Linea 30: Linea 35:
{{{ Basta seguire questi semplici passi:

 * Creare una cartella chiamata syntec al cui interno saranno scaricati i driver della webcam via svn: {{{
Linea 36: Linea 43:
Quest'ultimo comando vi porterà via un pò di tempo...subito dopo
{{{
 * Posizionatevi all´interno della cartella driver, scaricate ed installate il Makefile. Infine caricate il modulo ´stk11xx´: {{{
Linea 45: Linea 51:
Per il caricamento automatico del modulo all'avvio del sistema occorre aggiungere stk11xx in calce al file /etc/modules.

== Configurazione ==

Le opzioni disponibili per questo driver vengono riportate qui di seguito.
{{{
[Estratto dal file README del driver]
4. Usage

 4.1 Option "fps" module

   The syntek module waits the option "fps" (10, 15, 20, 25, 30) :
   $ modprobe stk11xx fps=30

   By default, the fps is set to '25'.

 4.2 Options "hflip" and "vflip" module
 
   The syntek module waits the options "hflip" and "vflip" (values are 0 or 1):
   $ modprobe stk11xx hflip=0 vflip=1

   By default, the hflip and vflip are set to '1'.

 4.3 Options "contrast", "colour", "brightness" and "whiteness"
 
   The syntek module waits the options "contrast", "colour", "brightness" and "whiteness" :
   $ modprobe stk11xx contrast=0x7F00 colour=0x7F00

   By default, the value of these options is set to '0x7F00'.

 4.4 Use the "sysfs"

   In the directory : /sys/class/video4linux/videoX (by sample video0), you
   can read and write some parameters :
   $ cat hflip
   $ echo 0 > hflip

   To display informations about driver :
   $ cat informations
}}}

È possibile specificare queste opzioni per il caricamento automatico indicandole in calce al file /etc/modprobe.d/options.

Ad esempio per correggere un flip verticale aggiungere: {{{
# Syntek Webcam
options stk11xx vflip=1}}}
Linea 47: Linea 99:
Per vedere se e quanto funziona la nostra webcam installiamo '''camorama''':
Linea 49: Linea 100:
{{{ Verifichiamo con i programmi che usano la webcam, per esempio Camorama, il corretto funzionamento. In questo caso, per installare Camorama: {{{
Linea 53: Linea 104:
eseguiamo ora il programma (con la webcam accesa)... Eseguite il programma con la webcam accesa.



----
CategoryNuoviDocumenti CategoryHardware

BR

Introduzione

Guida all´installazione di una webcam Syntek.

Rilevamento

Verificare che il modello della vostra webcam sia Syntec con lsusb -v:

Bus 005 Device 002: ID 05e1:0501 Syntek Semiconductor Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x05e1 Syntek Semiconductor Co., Ltd
  idProduct          0x0501
  bcdDevice            0.05
  iManufacturer           1 Syntek Semiconductor
  iProduct                2 USB 2.0 Image Capture Controller
  iSerial                 0

Alcuni notebook Asus delle serie AsusA6t hanno comunque questa webcam non essendo rilevabile comunque da lsusb.

Installazione

Basta seguire questi semplici passi:

  • Creare una cartella chiamata syntec al cui interno saranno scaricati i driver della webcam via svn:

    mkdir syntec
    cd syntec
    svn co https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver
  • Posizionatevi all´interno della cartella driver, scaricate ed installate il Makefile. Infine caricate il modulo ´stk11xx´:

    cd driver
    wget http://bookeldor-net.info/merdier/Makefile-syntekdriver
    make -f Makefile-syntekdriver
    sudo make -f Makefile-syntekdriver install
    sudo modprobe stk11xx

Per il caricamento automatico del modulo all'avvio del sistema occorre aggiungere stk11xx in calce al file /etc/modules.

Configurazione

Le opzioni disponibili per questo driver vengono riportate qui di seguito.

[Estratto dal file README del driver]
4. Usage

 4.1 Option "fps" module

   The syntek module waits the option "fps" (10, 15, 20, 25, 30) :
   $ modprobe stk11xx fps=30

   By default, the fps is set to '25'.

 4.2 Options "hflip" and "vflip" module
 
   The syntek module waits the options "hflip" and "vflip" (values are 0 or 1):
   $ modprobe stk11xx hflip=0 vflip=1

   By default, the hflip and vflip are set to '1'.

 4.3 Options "contrast", "colour", "brightness" and "whiteness"
 
   The syntek module waits the options "contrast", "colour", "brightness" and "whiteness" :
   $ modprobe stk11xx contrast=0x7F00 colour=0x7F00

   By default, the value of these options is set to '0x7F00'.

 4.4 Use the "sysfs"

   In the directory : /sys/class/video4linux/videoX (by sample video0), you
   can read and write some parameters :
   $ cat hflip
   $ echo 0 > hflip

   To display informations about driver :
   $ cat informations

È possibile specificare queste opzioni per il caricamento automatico indicandole in calce al file /etc/modprobe.d/options.

Ad esempio per correggere un flip verticale aggiungere:

# Syntek Webcam
options stk11xx vflip=1

Verifica funzionamento

Verifichiamo con i programmi che usano la webcam, per esempio Camorama, il corretto funzionamento. In questo caso, per installare Camorama:

sudo apt-get install camorama

Eseguite il programma con la webcam accesa.


CategoryNuoviDocumenti CategoryHardware