Debian Codegraph @

doc/plustek/FAQ

raw
1 Plustek-Driver TROUBLESHOOTING/FAQ - 19.04.2001
2 -----------------------------------------------
3
4 The driver exists now since March 2000, this is the first trial to setup
5 a FAQ. This leads into the following:
6 First we have a part, which is more a troubleshooting section and the second
7 one is the FAQ.
8 To search through this text, search for "SYMPTOM" or "Q:".
9
10 If you have some more FAQ entries, let me know <[email protected]>
11
12 THANKS to Jochen <[email protected]>, who roamed through the
13 mailing-list and gathered the different questions.
14
15 *******************************************************************************
16 * General *
17 *******************************************************************************
18
19 SYMPTOM: Scanner makes awful noise
20 --------
21
22 PROBLEM:
23 --------
24 This can have two major causes:
25 - You have an ASIC96001/3 based scanner, then the sensor hits the
26 scanbed: !!! TURN OFF SCANNER POWER !!!
27
28 - You have an ASIC98001 based scanner, then the motor control does
29 not work correctly --> hit the cancel button
30
31 SOLUTION:
32 ---------
33 For the first case (ASIC 96001/3), there's no solution available. This
34 happens, when the driver can't keep track of the stepper motor. The image
35 you get is normally unusable.
36 The second case is often reported when the printer driver lp.o is
37 already loaded. So remove lp.o before loading pt_drv.
38
39
40 SYMPTOM: Printer starts to print while scanning
41 --------
42
43 PROBLEM:
44 --------
45 It has been reported, that some printers (esp. HP printers) start to
46 print, even during startup of the driver. This is a problem to printers
47 which use a bidirectional protocol for talking with the system.
48
49
50 SOLUTION:
51 ---------
52 There is no possibility to handle this problem inside the driver.
53 One possibility is to switch off the bidirectional communication of the
54 printer. The other one is to connect the printer to another parallel port.
55
56
57 *******************************************************************************
58 * SANE-topics *
59 *******************************************************************************
60
61 Here you will not find how to setup xscanimage to work with GIMP or
62 how to compile sane to obtain xscanimage, for such questions, please
63 refer to the mailing lists at SANE (http://www.sane-project.org)
64
65
66 SYMPTOM: error in loading shared libraries: libsane.so.1: cannot open
67 -------- shared object file: No such file or directory
68
69 PROBLEM:
70 --------
71 The shared libraries for SANE have been installed to a
72 directory which is not in your "library path"
73
74 SOLUTION:
75 ---------
76 SANE installs its shared libraries to PREFIX/lib/sane.
77 PREFIX is in general /usr or /usr/local. You should
78 either add the path to your /etc/ld.so.conf file or
79 set links to the libraries from a wellknown lib-path.
80 (i.e. ln -s /usr/lib/sane/libsane.so.1 /usr/lib/libsane.so.1)
81 In any case you should run "ldconfig -v"
82
83
84
85 SYMPTOM: "no SANE devices found"
86 --------
87 While testing with "scanimage -L" nothing happens. And when starting scanimage
88 this message is displayed.
89
90 PROBLEM:
91 --------
92 The frontend cannot find any sane-device, this might have several causes:
93 - the driver is not loaded
94 - you have no access to the driver
95 - the backend is not enabled
96 - the driver is not specified
97 - version conflict between the loaded driver and the backend
98
99 SOLUTION:
100 ---------
101 Driver not loaded: check "cat /proc/pt_drv" if this does not exist, load
102 the driver (see INSTALL)
103
104 No access to the driver: check "ls -l /dev/pt_drv*" and you should get
105
106 crw-rw-r-- 1 root root 40, 0 Aug 29 15:18 /dev/pt_drv
107 crw-rw-r-- 1 root root 40, 0 Aug 29 15:18 /dev/pt_drv0
108 crw-rw-r-- 1 root root 40, 1 Aug 29 15:18 /dev/pt_drv1
109 crw-rw-r-- 1 root root 40, 2 Aug 29 15:18 /dev/pt_drv2
110 crw-rw-r-- 1 root root 40, 3 Aug 29 15:18 /dev/pt_drv3
111
112 If not, call "make load" in the driver source directory. This call sometimes
113 fails, so you might create the entries by using mknod:
114 mknod -m 0664 /dev/pt_drv c 40 0
115 mknod -m 0664 /dev/pt_drv0 c 40 0
116 mknod -m 0664 /dev/pt_drv1 c 40 1
117 mknod -m 0664 /dev/pt_drv2 c 40 2
118 mknod -m 0664 /dev/pt_drv3 c 40 3
119
120 The backend is not enabled: Check the SANE configuration in /etc/sane.d,
121 /usr/etc/sane.d or /usr/local/etc/sane.d (depending on your installation).
122 Your dll.conf MUST include an enabled "plustek" entry (no "#" in front of
123 that line)
124
125 The driver is not specified: Check the sane configuration (see above)
126 for the file plustek.conf and make sure that it contains at least
127 /dev/pt_drv as entry.
128
129 Version conflict: After enabling the SANE debug messages you will
130 get something like upon starting scanimage:
131 ioctl PT_DRV_OPEN_DEVICE failed(-9019)
132 Version problem, please recompile driver!
133 In this case, you MUST recompile the backend AND the driver and reinstall
134 both. This feature makes sure, that both always will use the same ioctl
135 interface.
136
137
138 PROBLEM:
139 --------
140 I have SANE-1.0.4 and there's no backend-directory after unpacking, so
141 what to do?
142
143 SOLUTION:
144 ---------
145 You're wrong there is a backend directory!!!
146 Since SANE-1.0.4, there are two packages:
147 sane-backends
148 sane-frontends
149 For the installation, you need the backend tarball. This should give
150 you something like:
151 sane-1.0.4/sane-backends
152 and there below sane-backends is the backend directory. So you have
153 to unpack the plustek-sane...tgz in sane-backends.
154
155
156
157 *******************************************************************************
158 * F A Q *
159 *******************************************************************************
160
161 Q: What does "Turbo" mean ?
162
163 A: Turbo does not mean, that the scanner is faster ;-)
164 There are currently three OpticPro9636P Scanners.
165 OP9636P
166 OP9636P+
167 OP9636PTurbo
168 The + and the Turbo models are quite the same and the difference between
169 the Turbo and the non-Turbo is the scan-sensor. The Turbo uses the same
170 like the newer OP9636T/12000T and the non-Turbo uses the older ones
171 from the OP9630....
172
173
174 Q: Is it possible to use the front-button of my Plustek 9630P ?
175
176 A: It is possible since version 0.37. After loading the driver,
177 use the proc filesystem to get the button value:
178 cat /proc/pt_drv/device0/button0
179
180
181 Q: Is it possible to use the scanner in gimp ?
182
183 A: You should be able to use xscanimage with gimp:
184 1. Login as root
185 2. Go into the gimp plug-in directory
186 (on SuSE it is: /usr/lib/gimp/1.1/plug-ins/ )
187 3. Find xscanimage : which xscanimage
188 4. Create a symbolic link to xscanimage :
189 ln -s "/path/to/"xscanimage xscanimage
190 5. logout as root
191 Now call gimp, in the xtns menu you should find
192 now the Acquire Image menu entry. That's all.
193 If not, start gimp from an xterm and have a look at the output.
194
195 Q: I wonder if Mandrake 7.1's sane rpm file has this support already built in.
196 My scanner light is coming on yet Xscanimage seems to report that there
197 is no scanner present.
198
199 A: The backend code will be included in Version 1.0.3 of sane and
200 AFAIK Mandrake 7.1 only includes 1.0.2.
201 Anyway go to the plustek-driver download page at
202 http://home.t-online.de/home/g-jaeger/plustek.html
203 download and install the driver.
204
205
206 Q: Mandrake installs sane by default at install-time.
207 Is there a way to install the driver with the preinstalled sane
208 or should the preinstalled sane be removed first?
209 If so, how do I remove the preinstalled sane?
210
211 A: I recommend to uninstall the previous one.
212 I think Mandrake uses RPM for managing the packages. To remove sane
213 do the following (as root)
214
215 Ask for all installed packages and filter sane:
216 rpm -qa | grep sane
217 you should get something like this:
218 sane-1.0.1-94
219 Now remove this package:
220
221 rpm -e sane-1.0.1-94
222
223 After these steps, sane should be removed.
224 I'm not sure, but you might have to remove the /etc/sane.d manually...
225 Now got to your sane-1.0.3 stuff and reinstall this
226 as described. Before using, you might have a look
227 at the dll.conf and enable only the plustek backend.
228
229
230 Q: Now that there's a sane 1.0.3, how do i uninstall sane 1.0.2?
231 Or can i install it over?
232
233 A: In general you can install it over. BUT this has caused
234 quite a lot of trouble, so I recommend to remove the 1.0.2
235 completely and install 1.0.3...
236
237 try the rpm-tool:
238 Get a list of the installed packages and filter out sane:
239
240 rpm -qa | grep sane
241
242 You should get something like:
243
244 sane-1.0.2-48
245
246 Then use rpm to remove sane:
247
248 rpm -e sane-1.0.2-48
249
250 The other way is:
251
252 rm -rf /etc/sane.d
253 rm -rf /usr/lib/sane
254 rm -rf /usr/lib/libsane*
255 rm -rf /usr/include/sane
256 rm -rf /usr/etc/sane.d
257 rm -rf /usr/share/sane*
258 rm -rf /usr/local/lib/sane
259 rm -rf /usr/local/lib/libsane*
260 rm -rf /usr/local/include/sane
261 rm -rf /usr/local/etc/sane.d
262 rm -rf /usr/local/share/sane*
263
264 This should cover all the directories where maybe some
265 sane files are installed...