How To Get The Epson Perfection 3170 Photo Scanner To Work
From RockWiki
Background
Some Epson scanners only work with a 3rd party driver provided by epkowa: iscan. This HOWTO describes how to set up iscan on ROCK, using the Epson Perfection 3170 PHOTO scanner as an example. It might work with other scanners as well.
Getting the driver
Download iscan from http://www.avasys.jp/english/linux_e/dl_scan.html Select Perfection 3170 scanner, and other operating system. Then you can download iscan. I use version 1.14. Download the RPM.
Installing iscan on Crystal ROCK
I used a development version of CrystalROCK, dated 21st September 2005. Just install everything, including sane-backends (you don't need the frontends). Do all appropriate post installation configuration (you might want to use stone for this). Then install rpm, libungif, imlib and libusb (in that order):
# rocket emerge rpm libungif imlib libusb
Add the following line to /etc/inetd.conf:
sane-port stream tcp nowait saned.saned /usr/sbin/saned saned
Enable the inetd service for your runlevel. This can also be done using stone.
Install the iscan-1.14.0-3.i386.rpm with:
# rpm -i --nodeps iscan-1.14.0-3.i386.rpm
Then you need to get a libstdc++.so.5 from somewhere (that's included with gcc 3.3) and put it into /usr/lib. ROCK already uses gcc 3.4, but you can manually install gcc 3.3, too:
# rocket emerge gcc33
Basically you should be able to use iscan with Linux 2.6, but I used Linux 2.4. When using Linux 2.4, compile USB scanner support as a module (which is called scanner). Then insert the module like this:
# modprobe scanner vendor=0x4b8 product=0x116
Make sure that you have turned on your scanner before this. If you use a different scanner, check the output of dmesg to find the appropriate vendor and product IDs. The scanner module also MUST NOT be loaded when you call modprobe, use lsmod to see if it is already loaded. If this is the case, just call rmmod scanner before calling modprobe. These steps are not required when you use Linux 2.6.
Then you're ready to rock, simply start iscan from your desktop environment, you should be able to select your scanner and use it.
Trying to compile the sourcecode version of iscan failed for me, but the rpm works fine. Probably it would compile fine with gcc 3.3.
