| 1 |
.TH sane\-dc25 5 "11 Jul 2008" "" "SANE Scanner Access Now Easy" |
| 2 |
.IX sane\-dc25 |
| 3 |
.SH NAME |
| 4 |
sane\-dc25 \- SANE backend for Kodak DC20/DC25 Digital Cameras |
| 5 |
.SH DESCRIPTION |
| 6 |
The |
| 7 |
.B sane\-dc25 |
| 8 |
library implements a SANE (Scanner Access Now Easy) backend that |
| 9 |
provides access to Kodak DC20 and DC25 cameras. At present, only |
| 10 |
the DC25 has been tested, but since the code is based on a DC20 |
| 11 |
interface program, it is likely to work for that model also. |
| 12 |
.SH "DEVICE NAMES" |
| 13 |
The current version of the backend only allows one camera to be |
| 14 |
connected. The device name is always "0". |
| 15 |
.SH CONFIGURATION |
| 16 |
The contents of the |
| 17 |
.I dc25.conf |
| 18 |
specify the serial port and baud rate to use. The baud rate |
| 19 |
specifies the maximum rate to use while downloading pictures. (The |
| 20 |
camera is always initialized using 9600 baud, then switches to the |
| 21 |
higher rate). On my 90MHz Pentium, I usually have no problems downloading |
| 22 |
at 115200 baud as long as the system is not excessively busy and |
| 23 |
the "interrupt-unmask flag" is set in the IDE driver |
| 24 |
.RI ( "hdparm \-u1" ). |
| 25 |
Supported baud rates are: 9600, 19200, 38400, 57600, and 115200. |
| 26 |
.PP |
| 27 |
The dumpinquiry line causes some information about the camera to |
| 28 |
be printed to stderr during startup. Note: This is not compatible |
| 29 |
with saned, so make sure you don't have any dumpinquiry lines if you are |
| 30 |
using saned (i.e. scanning on a remote machine using a |
| 31 |
network). |
| 32 |
.PP |
| 33 |
Empty lines and lines starting with a hash mark (#) are |
| 34 |
ignored. A sample configuration file is shown below: |
| 35 |
.PP |
| 36 |
.RS |
| 37 |
port=/dev/ttyS0 |
| 38 |
.br |
| 39 |
# this is a comment |
| 40 |
.br |
| 41 |
baud=115200 |
| 42 |
.br |
| 43 |
dumpinquiry |
| 44 |
.RE |
| 45 |
.PP |
| 46 |
.SH FILES |
| 47 |
.TP |
| 48 |
.I /etc/sane.d/dc25.conf |
| 49 |
The backend configuration file (see also description of |
| 50 |
.B SANE_CONFIG_DIR |
| 51 |
below). |
| 52 |
.TP |
| 53 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-dc25.a |
| 54 |
The static library implementing this backend. |
| 55 |
.TP |
| 56 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-dc25.so |
| 57 |
The shared library implementing this backend (present on systems that |
| 58 |
support dynamic loading). |
| 59 |
|
| 60 |
.SH ENVIRONMENT |
| 61 |
.TP |
| 62 |
.B SANE_CONFIG_DIR |
| 63 |
This environment variable specifies the list of directories that may |
| 64 |
contain the configuration file. On *NIX systems, the directories are |
| 65 |
separated by a colon (`:'), under OS/2, they are separated by a |
| 66 |
semi-colon (`;'). If this variable is not set, the configuration file |
| 67 |
is searched in two default directories: first, the current working |
| 68 |
directory (".") and then in |
| 69 |
.IR /etc/sane.d . |
| 70 |
If the value of the |
| 71 |
environment variable ends with the directory separator character, then |
| 72 |
the default directories are searched after the explicitly specified |
| 73 |
directories. For example, setting |
| 74 |
.B SANE_CONFIG_DIR |
| 75 |
to "/tmp/config:" would result in directories |
| 76 |
.IR tmp/config , |
| 77 |
.IR . , |
| 78 |
and |
| 79 |
.I "/etc/sane.d" |
| 80 |
being searched (in this order). |
| 81 |
.TP |
| 82 |
.B SANE_DEBUG_DC25 |
| 83 |
If the library was compiled with debugging support enabled, this |
| 84 |
environment variable controls the debug level for this backend. |
| 85 |
A value of 128 requests maximally copious debug output; smaller |
| 86 |
levels reduce verbosity. |
| 87 |
|
| 88 |
.SH "SEE ALSO" |
| 89 |
.BR sane (7) |
| 90 |
|
| 91 |
.SH AUTHOR |
| 92 |
Peter Fales, |
| 93 |
.IR dc25\-devel@fales\-lorenz.net . |
| 94 |
|
| 95 |
.SH BUGS |
| 96 |
Known bugs/limitations are: |
| 97 |
.PP |
| 98 |
I haven't figured out how to trigger an option reload following a "scan." |
| 99 |
This causes problems when a new picture is snapped for example, the |
| 100 |
slider that is used to select the picture from the camera may not be |
| 101 |
updated immediately. |
| 102 |
.PP |
| 103 |
More general comments, suggestions, and inquiries about frontends |
| 104 |
or SANE should go to the SANE Developers mailing list |
| 105 |
(see |
| 106 |
.I http://www.sane\-project.org/mailing\-lists.html |
| 107 |
for details). |
| 108 |
You must be subscribed to the list, otherwise your mail won't be |
| 109 |
sent to the subscribers. |