1sane-coolscan2(5) SANE Scanner Access Now Easy sane-coolscan2(5)
2
3
4
6 sane-coolscan2 - SANE backend for Nikon Coolscan film scanners
7
9 The sane-coolscan2 library implements a SANE (Scanner Access Now Easy)
10 backend that provides access to Nikon Coolscan film scanners. Some
11 functions of this backend should be considered beta-quality software.
12 Most functions have been stable for a long time, but of course new
13 development can not and will not function properly from the very first
14 day. Please report any strange behaviour to the maintainer of the back‐
15 end.
16
17
18 At present, the following scanners are known to work with this backend:
19
20 Model: Connection Type
21 --------------------------- -------------------
22 LS-30 (Coolscan III) SCSI
23 LS-2000 SCSI
24 LS-40 ED (Coolscan IV) USB
25 LS-4000 ED IEEE 1394
26 LS-8000 ED IEEE 1394
27
28 Please send mail to the backend author (andras@users.sourceforge.net)
29 to report successes or failures.
30
31
33 The options the backend supports can either be selected through command
34 line options to programs like scanimage(1) or through GUI elements in
35 xscanimage(1) or xsane(1).
36
37 Valid command line options and their syntax can be listed by using:
38
39 scanimage --help -d coolscan2:<interface>:<device>
40
41 where <interface> and <device> specify the device in question, as in
42 the configuration file (see next section). The -d parameter and its
43 argument can be omitted to obtain information on the first scanner
44 identified. Use the command:
45
46 scanimage -L
47
48 to list all devices recognized by your SANE installation.
49
50 The options should be fully described by the description or tooltips
51 given by frontend. Here is a description of some of the most important
52 options, in the syntax with which they must be supplied to scanim‐
53 age(1):
54
55 --frame <n>
56 This option specifies which frame to operate on, if a motorized
57 film strip feeder or APS adapter are used. The frame number <n>
58 ranges from 1 to the number of frames available, which is sensed
59 each time the backend is initialized (usually each time you
60 start the frontend).
61
62 --subframe <x>
63 This option shifts the scan window by the specified amount
64 (default unit is mm).
65
66 --infrared=yes/no
67 If set to "yes", the scanner will read the infrared channel,
68 thus allowing defect removal in software. The infrared image is
69 read during a second scan, with no options altered. The backend
70 must not be restarted between the scans. If you use scanim‐
71 age(1), perform a batch scan with batch-count=2 to obtain the IR
72 information.
73
74 --depth <n>
75 Here <n> can either be 8 or the maximum number of bits supported
76 by the scanner (10, 12, or 14). It specifies whether or not the
77 scanner reduces the scanned data to 8 bits before sending it to
78 the backend. If 8 bits are used, some information and thus image
79 quality is lost, but the amount of data is smaller compared to
80 higher depths. Also, many imaging programs and image formats
81 cannot handle depths greater than 8 bits.
82
83 --autofocus
84 Perform autofocus operation. Unless otherwise specified by the
85 other options ( --focus-on-centre and friends), focusing is per‐
86 formed on the centre of the selected scan area.
87
88 --ae-wb
89
90 --ae Perform a pre-scan to calculate exposure values automatically.
91 --ae-wb will maintain the white balance, while --ae will adjust
92 each channel separately.
93
94 --exposure
95 Multiply all exposure times with this value. This allows expo‐
96 sure correction without modifying white balance.
97
98 --load Load the next slide when using the slide loader.
99
100 --eject
101 Eject the film strip or mounted slide when using the slide
102 loader.
103
104 --reset
105 Reset scanner. The scanner will perform the same action as when
106 power is turned on: it will eject the film strip and calibrate
107 itself. Use this whenever the scanner refuses to load a film
108 strip properly, as a result of which --eject does not work.
109
110
112 The configuration file /etc/sane.d/coolscan2.conf specifies the
113 device(s) that the backend will use. Owing to the nature of the sup‐
114 ported connection types SCSI, USB, and IEEE 1394, the default configu‐
115 ration file supplied with the SANE distribution should work without
116 being edited.
117
118 Each line in the configuration file is either of the following, where
119 all entries are case-sensitive:
120
121 blank or starting with a '#' character
122 These lines are ignored, thus '#' can be used to include com‐
123 ments.
124
125 containing only the word "auto"
126 This instructs the backend to probe for a scanner by scanning
127 the buses for devices with known identifiers. This is the
128 default action when no configuration file is present.
129
130 a line of the form <interface>:<device>
131 Here <interface> can be one of "scsi" or "usb", and <device> is
132 the device file of the scanner. Note that IEEE 1394 devices are
133 handled by the SBP-2 module in the kernel and appear to SANE as
134 SCSI devices.
135
136
138 /usr/lib64/sane/libsane-coolscan2.a
139 The static library implementing this backend.
140
141 /usr/lib64/sane/libsane-coolscan2.so
142 The shared library implementing this backend (present on systems
143 that support dynamic loading).
144
145 /etc/sane.d/coolscan2.conf
146 Configuration file for this backend, read each time the backend
147 is initialized.
148
149
151 SANE_DEBUG_COOLSCAN2
152 If the library was compiled with debug support enabled, this
153 environment variable controls the debug level for this backend.
154 E.g., a value of 128 requests all debug output to be printed.
155 Smaller levels reduce verbosity.
156
157
159 sane-scsi(5), sane-usb(5), scanimage(1), xscanimage(1), xsane(1)
160
161
163 Currently, the SANE protocol does not allow automatically updating
164 options whenever the hardware changes. Thus the number of choices for
165 the --frame option will be fixed when the backend is initialized (usu‐
166 ally when the user runs the frontend). In particular, if there is no
167 film strip in the automatic film strip feeder when the backend is ini‐
168 tialized, the frame option will not appear at all. Also, restarting the
169 frontend after swapping film adapters is strongly recommended.
170
171 Linux kernels prior to 2.4.19 had a patch that truncated INQUIRY data
172 from IEEE 1394 scanners to 36 bytes, discarding vital information about
173 the scanner. The IEEE 1394 models therefore only work with 2.4.19 or
174 later.
175
176 No real bugs currently known, please report any to the backend main‐
177 tainer or the SANE developers' email list.
178
179
181 The backend is written and maintained by András Major
182 <andras@users.sourceforge.net>.
183
184
185
186 11 Jul 2008 sane-coolscan2(5)