[sane-devel] Reflecta ProScan 7200

Vleeshouwers, J.M. J.M.Vleeshouwers at tue.nl
Sat Apr 30 23:01:40 UTC 2011


Michael & Noah,

Well, I got it to work:
 $ scanimage -L
 device `pie:libusb:001:005' is a PIE      SF Scanner film scanner

I mixed up your instructions a bit, starting with Noah's simple version:

1. Install the libusb-dev package
// libusb-dev already installed (2:0.1.12-14ubuntu0.2)

2. Install gcc package and it's required dependencies
// gcc-4.4 already installed (4.4.3-4ubuntu5)

3. Download latest sane-backends from http://www.sane-project.org/snapshots/ & extract to <extrdir>

4. Execute in a terminal:
 $ cd <extrdir>
 $ BACKENDS=pie ./configure --prefix=/usr --sysconfdir=/etc --disable-locking
 $ make
// The backend compiles without a problem.

5. Get Michael's files (http://wwwuser.gwdg.de/~mrickma/sane-proscan-7200/status-270411/files.tar.gz),
extract Makefile.am, pie-scidef.h, pie.c, pie.conf.in, pie.h, pie_usb.c to <extrdir>/backend,
extract pie.desc to <extrdir>/doc/descriptions. 

6. Touch Michael's files, configure & rebuild:
 $ autoreconf --force
 $ BACKENDS=pie ./configure --prefix=/usr --sysconfdir=/etc --disable-locking
 $ make
// Again without a problem. But I'm not a make/automake/autoconf expert so it took me a while to find out why the first two steps are necessary.

7. "Install" newly compiled files; I used Michael's instructions for that:
 $ sudo cp <extrdir>/tools/udev/libsane.rules /lib/udev/rules.d/40-libsane.rules
 $ sudo cp <extrdir>/backend/pie.conf /etc/sane.d/pie.conf
 $ sudo cp <extrdir>/backend/.libs/libsane-pie.so.1.0.23 /usr/lib/sane/libsane-pie.so.1.0.20
 $ sudo cp <extrdir>/backend/.libs/libsane.so.1.0.23 /usr/lib/libsane.so.1.0.20
// I shall use the script Michael suggests, that is cleaner.
// At first, I forgot the first two copies, but they are certainly necessary.

8. Test with sane-find-scanner and scanimage
 $ sane-find-scanner
// Finds the scanner: found USB scanner (vendor=0x05e3, product=0x0145, chip=GL841?) at libusb:001:004 (but that's not new). 
 $ scanimage -L
// See above.

I did not get all this right straight-away, though. What took most of my time was finding out that I needed to
switch the scanner off and on again after having compiled the libraries in their final version.

Thanks for the help, I'll start experimenting with it!

Yours,

Jan


More information about the sane-devel mailing list