


sane-dc25(5)                                         sane-dc25(5)


NNAAMMEE
       sane-dc25  - SANE backend for Kodak DC20/DC25 Digital Cam-
       eras

DDEESSCCRRIIPPTTIIOONN
       The ssaannee--ddcc2255 library implements a  SANE  (Scanner  Access
       Now  Easy)  backend that provides access to Kodak DC20 and
       DC25 cameras.  At present, only the DC25 has been  tested,
       but  since  the code is based on a DC20 interface program,
       it is likely to work for that model also.

DDEEVVIICCEE NNAAMMEESS
       The current version of the backend only allows one  camera
       to be connected.  The device name is always "0".

CCOONNFFIIGGUURRAATTIIOONN
       The  contents of the _d_c_2_5_._c_o_n_f specify the serial port and
       baud rate to use.  The baud  rate  specifies  the  maximum
       rate  to  use  while downloading pictures.  (The camera is
       always initialized using 9600 baud, then switches  to  the
       higher  rate).   On  my  90MHz  Pentium, I usually have no
       problems downloading at 115200 baud as long as the  system
       is not excessively busy and the "interrupt-unmask flag" is
       set in the IDE driver (hdparm -u1).  Supported baud  rates
       are: 9600, 19200, 38400, 57600, and 115200.

       The  dumpinquiry  line  causes  some information about the
       camera to be printed  to  stderr  during  startup.   Note:
       This  is not compatible with saned, so make sure you don't
       have any dumpinquiry lines if you are  using  saned  (i.e.
       scanning on a remote machine using a network).

       Empty  lines  and  lines starting with a hash mark (#) are
       ignored.  A sample configuration file is shown below:

              port=/dev/ttyS0
              # this is a comment
              baud=115200
              dumpinquiry


FFIILLEESS
       _/_u_s_r_/_l_o_c_a_l_/_e_t_c_/_s_a_n_e_._d_/_d_c_2_5_._c_o_n_f
              The backend configuration file (see  also  descrip-
              tion of SSAANNEE__CCOONNFFIIGG__DDIIRR below).

       _/_u_s_r_/_l_o_c_a_l_/_l_i_b_/_l_i_b_s_a_n_e_-_d_c_2_5_._a
              The static library implementing this backend.

       _/_u_s_r_/_l_o_c_a_l_/_l_i_b_/_l_i_b_s_a_n_e_-_d_c_2_5_._s_o
              The  shared library implementing this backend (pre-
              sent on systems that support dynamic loading).





                          12 April 1999                         1





sane-dc25(5)                                         sane-dc25(5)


EENNVVIIRROONNMMEENNTT
       SSAANNEE__CCOONNFFIIGG__DDIIRR
              This environment variable  specifies  the  list  of
              directories  that  may  contain  the  configuration
              file.  Under UNIX, the directories are separated by
              a  colon (`:'), under OS/2, they are separated by a
              semi-colon (`;').  If this variable is not set, the
              configuration  file  is  searched  in  two  default
              directories: first, the current  working  directory
              (".")  and  then  in /usr/local/etc/sane.d.  If the
              value of the environment  variable  ends  with  the
              directory  separator  character,  then  the default
              directories are searched after the explicitly spec-
              ified  directories.  For example, setting SSAANNEE__CCOONN--
              FFIIGG__DDIIRR to "/tmp/config:" would result in  directo-
              ries "tmp/config", ".", and "/usr/local/etc/sane.d"
              being searched (in this order).

       SSAANNEE__DDEEBBUUGG__DDCC2255
              If the library was compiled with debugging  support
              enabled,  this  environment  variable  controls the
              debug level for  this  backend.   A  value  of  128
              requests  maximally  copious  debug output; smaller
              levels reduce verbosity.


SSEEEE AALLSSOO
AAUUTTHHOORR
       Peter Fales, psfales@earthling.net


BBUUGGSS
       Known bugs/limitations are:

       I haven't figured out how to trigger an option reload fol-
       lowing  a "scan."  This causes problems when a new picture
       is snapped for example, the slider that is used to  select
       the  picture  from  the  camera may not be updated immedi-
       ately.

       More general comments, suggestions,  and  inquiries  about
       frontends or SANE should go to ssaannee--ddeevveell@@mmoossttaanngg..ccoomm, the
       SANE Developers mailing list.














                          12 April 1999                         2


