README FIRST
============

THIS IS A RC2 RELEASE:
I found it stable on all my linuxboxes!

MY PLAN AFTER STABLE VERSION:
I'll release a new version with daemon patch that Christophe Lucas
sent to me. It allows to run in daemon mode sn9c102-webcam-lk.

DOWNLOAD
This software is under development so you could found new good releases
in my little home-page:
http://www.lookee.it/index.php?p=5

I thank:
Christophe Lucas for his help and his patch
Luca Risolia for his drivers
Marco Comparato for his support to fix the memory leak bug on device.c
Igor Lopes Guerreiro for his bugreport and suggestions

This program is based on:

sn9c102-tools  from http://go.lamarinapunto.com
sn9c102-webcam form http://odie.mcom.fr/~clucas/articles/sn9c102.html
ftplib         from http://nbpfaus.net/~pfau/ftplib

and it requires:
- Image-Magick library (http://www.imagemagick.org)
- SDL library (http://www.libsdl.org)
- linux kernel > version 2.6.10
- snc9c10x driver installed (or other?)

more information about sn9c10x driver available on:
http://www.linux-projects.org/modules/news
available only for linux kernel >= 2.6.10

CONFIGURATION
file webcam.conf contains parameters to ftp-upload:

don't touch these parameters (if you don't know what you're doing):
dev,xres,yres

insert 'y' in the enable_ftp key if you wish activate the ftp_upload
funcion.

insert 'y' in the enable_ftp_monitor if you wish show an image when
images are uploaded by ftp

the following: user, password, host: that I hope are self explanatory :-) 

ftp_rate: choose your auto ftp upload delay (10 means about 15 sec)
you could see the right ftp rate time in sec by interface after first upload

remote_file: is the name (with full path) for the remote file after upload!

TIPS:
for slow connection: the program uploads a file called as remote_file but
with .tmp in tail of the name. after the full upload, by an ftp command,
the program rename the .tmp tailed filename in the real remote file name.

for eg.
remote_file name is: /webcam/luke.jpg

programs uploads and overwrite by ftp: /webcam/luke.jpg.tmp
and after the upload it quickly renames:
/webcam/luke.jpg.tmp in /webcam/luke.jpg

you can ignore this procedure :-) but don't put important information
on file called as remote_file followed by .tmp :-)

COMPILE
$ make

RUN

$ ./webcam

have fun!

HELP
Please send me your comment, greets, patches and bugfixes!

--
lookee
luca at lookee.it
http://www.lookee.it
http://siracusa.linux.it
