Posted by khk

Suse 7.1

SuSE 7.1 comes with a new package that screws up^H^H^H^H^H^H^H^H^H enhances your USB experience… The usbmgr is responsible for loading and unloading USB driver modules when you plug-in / turn on your device or remove it from the system again. Unfortunately this package does not know about any of the newer EPSON scanners (SuSE, are you listening?), so you may experience some weird behavior of your system (e.g. the NAK errors which should be fixed by now). You can edit the usbmgr configuration file and add your scanner manually – the file is in /etc/usbmgr/usbmgr.conf. Just search for “Perfection” and add a line for your scanner. … or just download a file that I updated from this site: usbmgr.conf.

Install the sane package and xsane (this will require some other packages like gimp or aalib, but Yast or Yast2 will take care of these dependencies).

Once the software is installed edit the file /etc/sane.d/epson.conf

If you are going to use an USB scanner un-comment the line with usb /dev/usbscanner (this means remove the ‘#’ at the beginning of the line), if you are using a SCSI scanner, everything is already set up correctly.

Set the permissions on the special device file for your scanner. This has to be done as root user:

chmod 666 /dev/usbscanner

For a SCSI scanner this step is a little more complicated. You have to find our first which device is used for the scanner. The program find-scanner can be used for this purpose.

The SuSE 7.1 distribution does not come with the latest version of my backend, but it’s fairly easy to replace the one library that contains the backend. You don’t have to recompile anything, I’ve done this for you. Just download the file libsane-epson.so.1.0.4.gz” and store it in a temporary location (e.g. in /tmp). Then uncompress this file using the command:

gunzip /tmp/libsane-epson.so.1.0.4.gz

If you get an error message, then your browser probably tried to be smart about the file extension, uncompressed the file on the fly, but did not bother to change the extension. If this happened, just use the file name with the .gz extension in the next command.

All that’s left to do is to copy the new backend into the correct location:

cp /tmp/libsane-epson.so.1.0.4 /usr/lib/sane/libsane-epson.so.1.0.4

Or for all “smart browsers” with the wrong extension:
cp /tmp/libsane-epson.so.1.0.4.gz /usr/lib/sane/libsane-epson.so.1.0.4