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