XandrosInstallation- Epson3170ScannerUSBInstalling an Epson 3170 USB Scanner on XandrosNot all distributions are created equal and one of the places that may show is in the USB scanner devices provided. Should these be missing on your system, you need to add these yourself. For the Debian-based Xandros distribution, this is the case. Note that this only applies to USB scanner devices for kernels that do not use the device file system, a.k.a. devfs. Again, for the Xandros distribution, this is the case. (i.e. Xandros does not use devfs, so these instructions apply). View this page in French: ArchLUG2Fr : XandrosInstallation- Epson3170ScannerUSB For Xandros 3If you have Xandros 3, see Xandros3Kwikis. You can install the "iscan" package straight from the ArchLUG APT repositories You will also need to install the iscan plugin package that is specific to your model of Epson Scanner:
After that, you will need to restart your hotplug service by running '/etc/init.d/xandros-hotplug restart' You can find more information about the Linux drivers for Epson products at the Epkowa/Avasys site A word about Image ScanWhile Image Scan is nice and quite functional, I have found Ed Hamrick's VueScan (http://www.hamrick.com/) to be unbelievably useful, and worth the nominal fee he charges for it. It is a huge timesaver if you are scanning slides, since it can batch scan all four slides with the holder, color-correct them, and auto-name them with an incrementing counter. And the Pro version will enable color calibration features to calibrate targets with your slides, prints, and your printer. Highly recommended if you're going to be doing lots of scanning, or your scanning needs are to supplement your photography hobby and/or professional interests. If you do decide to take a look at VueScan, you will still need to install the Epkowa SANE back-end as described below, and then you will need to run the following command: cd /usr/lib ; ln -s iscan/libesint32.so libesint32.so And add the following to the end of your /etc/profile file: export SANEI_EPKOWA_FIRMWAREFILE=/usr/share/iscan/esfw32.bin And finally, make sure that you've added or enabled the 'epkowa' driver and disabled the 'epson' driver in /etc/sane.d/dll.conf. Epkowa appears to have removed the firmware images from the distributed RPM, so you will need to extract it from the source tarball in the non-free directory. Or, you can use a direct link to esfw32.bin here Getting the Gimp to use iScanln -s /usr/bin/iscan /usr/lib/gimp/2.0/plug-ins/ For Xandros 2Pre-requisitesFirst off, you should use Xandros Networks to install the following packages. You will need to enable the 'Debian unsupported site' to do so, and use the Search feature, looking in the Expert section of the Search Results.
Get the Epkowa SANE backendThen you'll need to download the Epkowa SANE backend drivers from here:
Create your scanner deviceFirst of all, you need to check what device name to use. This is specified in /etc/sane.d/epson.conf and most likely is set to /dev/usb/scanner0. I will use that in the remainder, adjust if necessary. The USB scanner devices are allotted major 180 and minors from 48 to 63, so you can use up to 16 USB scanners with your system. Scanner users will need read and write access to the device. Device nodes are made with the mknod and usually requires root permissions. If that was all Greek to you, don't worry, here are the commands to add a working /dev/usb/scanner0: # mknod /dev/usb/scanner0 c 180 48 # chmod 0666 /dev/usb/scanner0 The 'mknod' command creates the device. The 'c' indicates that a scanner is a character device, and the '180' is the 'major' device number reserved for USB scanner devices. The '48' is the first 'minor' device number in the range 48 through 63, reserved for the first scanner device. For additional scanners, simply increase the minor device number by one for each scanner, giving you a maximum of 16 connected scanners. If you have more USB scannersAdditional USB scanner devices may be added with something like: # mknod /dev/usb/scanner1 c 180 49 # chmod 0666 /dev/usb/scanner1 Advanced Security OptionsIf you do not understand this next section, skip it. For the security conscious amongst you, you may not want to give blanket write access (that final 6 in 0666) to the scanner, but create a group for all users that may operate a scanner and use a more restrictive permission mask, at most 0664, on the devices. Let's say you want to add a scanner group with users sam and robin and make the access permissions are restrictive as possible. You do that with: # groupadd scanner # chgrp scanner /dev/usb/scanner0 # chmod 0660 /dev/usb/scanner0 # for user in sam robin; do useradd -G scanner $user; done Loading the Linux driverFor the Epson 3170, you will need to verify the USB Vendor and Product codes assigned for your scanner. You can see them by issuing the command: # cat /proc/bus/usb/devices Look for the line: S: Product=EPSON Scanner And above it, you should see a line similar to: P: Vendor=04b8 ProdID=0116 Rev= 1.00 If you have a different scanner, the Vendor and ProdID values may be different. And if you have a different version of the scanner firmware, the Revision value may be different as well. To load the USB scanner support, issue the command (substituting your Vendor and Product ID codes, which are hexadecimal values, and will require a '0x' prefix): # insmod scanner vendor=0x04b8 product=0x0116 To make this permanently load in your Xandros system, add the following line to the end of the /etc/devices/drivers file. 90 scanner vendor=0x04b8 product=0x0116 Then, run the xangenmodules program as root to regenerate the /etc/modules file. Compiling Image ScanUnpack the Epkowa Image Scan for Linux package: tar xzvf iscan-1.9.0-5.redhat.8.0.tar.gz Configure, Compile and Install (as root): # Change directories to where the iscan package unpacked itself cd iscan-1.9.0 # # Configure the package ./configure # # Compile the package make # # Become the 'root' user to install the iscan package # You will be moved to the 'root' user's home directory. su - # # Change directories back to where you compiled iscan cd /home/<your_username>/iscan-1.9.0 # # Install the package make install # # You are done, go back to being a regular user exit Putting in the magic smoke to make it workIf you try to run iscan, you'll get the following error: iscan: error while loading shared libraries: libesmod.so.1: cannot open shared object file: No such file or directory So here's the magic you won't find anywhere else that makes it work: You now need to also tell Xandros to look in /usr/local/lib for the libraries that were installed. To do that add the following line to the /etc/ld.so.conf file: /usr/local/lib You may need to either reboot your system or run the 'ldconfig' command, because this information is cached when the system comes up. For versions prior to 1.6:
cd /usr/share; ln -s /usr/local/share/iscan iscan Using your new scannerSimply run the command 'iscan'. You can setup shortcuts and menu options as you like. Enjoy! More info - might be helpful for 2.6 kernels or distros with poor hotplug support: Back to XandrosKwikis |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||