1sane-dc210(5) SANE Scanner Access Now Easy sane-dc210(5)
2
3
4
6 sane-dc210 - SANE backend for Kodak DC210 Digital Camera
7
9 The sane-dc210 library implements a SANE (Scanner Access Now Easy)
10 backend that provides access to the Kodak DC210 camera. THIS IS
11 EXTREMELY ALPHA CODE! USE AT YOUR OWN RISK!!
12
14 The current version of the backend only allows one camera to be con‐
15 nected. The device name is always "0".
16
18 The contents of the dc210.conf specify the serial port and baud rate to
19 use. The baud rate specifies the maximum rate to use while downloading
20 pictures. (The camera is always initialized using 9600 baud, then
21 switches to the higher rate). On my 90MHz Pentium, I usually have no
22 problems downloading at 115200 baud as long as the system is not exces‐
23 sively busy and the "interrupt-unmask flag" is set in the IDE driver
24 (hdparm -u1). Supported baud rates are: 9600, 19200, 38400, 57600, and
25 115200.
26
27 The dumpinquiry line causes some information about the camera to be
28 printed.
29
30 cmdrespause specifies how many usec (1,000,000ths of a) between writing
31 the command and reading the result should be used. 125000 seems to be
32 the lowest I could go reliably.
33
34 breakpause is the time in 1,000,000ths of a usec between sending the
35 "back to default" break sending commands.
36
37 Empty lines and lines starting with a hash mark (#) are ignored. A
38 sample configuration file is shown below:
39
40 port=/dev/ttyS0
41 # this is a comment
42 baud=115200
43 dumpinquiry
44 cmdrespause=125000
45 breakpause=1000000
46
48 /etc/sane.d/dc210.conf
49 The backend configuration file (see also description of
50 SANE_CONFIG_DIR below).
51
52 /usr/lib64/sane/libsane-dc210.a
53 The static library implementing this backend.
54
55 /usr/lib64/sane/libsane-dc210.so
56 The shared library implementing this backend (present on systems
57 that support dynamic loading).
58
59
61 SANE_CONFIG_DIR
62 This environment variable specifies the list of directories that
63 may contain the configuration file. Under UNIX, the directories
64 are separated by a colon (`:'), under OS/2, they are separated
65 by a semi-colon (`;'). If this variable is not set, the config‐
66 uration file is searched in two default directories: first, the
67 current working directory (".") and then in /etc/sane.d. If the
68 value of the environment variable ends with the directory sepa‐
69 rator character, then the default directories are searched after
70 the explicitly specified directories. For example, setting
71 SANE_CONFIG_DIR to "/tmp/config:" would result in directories
72 tmp/config, ., and /etc/sane.d being searched (in this order).
73
74 SANE_DEBUG_DC210
75 If the library was compiled with debugging support enabled, this
76 environment variable controls the debug level for this backend.
77 A value of 128 requests maximally copious debug output; smaller
78 levels reduce verbosity.
79
80
82 sane(7)
83
84
86 Brian J. Murrell
87
88 This backend is based somewhat on the dc25 backend included in this
89 package by Peter Fales.
90
91 The manpage was copied from the dc25 backend and somewhat edited by
92 Henning Meier-Geinitz.
93
94
96 Known bugs/limitations are: ?
97
98 More general comments, suggestions, and inquiries about frontends or
99 SANE should go to the SANE Developers mailing list (see
100 http://www.sane-project.org/mailing-lists.html for details). You must
101 be subscribed to the list, otherwise your mail won't be sent to the
102 subscribers.
103
104
105
106 11 Jul 2008 sane-dc210(5)