[sane-devel] Scanning negatives with Epson Perferction 1260 Photo

Olaf Meeuwissen olaf at epkowa.co.jp
Mon Aug 18 02:01:34 BST 2003


On Fri, Aug 08, 2003 at 12:28:06PM -0400, Gene Heskett wrote:
> On Monday 04 August 2003 21:32, Olaf Meeuwissen wrote:
> >On Tue, Aug 05, 2003 at 09:49:55AM +0900, Olaf Meeuwissen wrote:
> >>
> >> Hmm, .so and .la files need execute permissions.  Should fix that.
> >
> >Damn!  Why don't I read what I write before dashing it of.
> >That should be
> >
> >  .so and .la files do NOT need execute permissions.
> >
> >Sorry if I confused anyone.
> 
> I had that figured out, that was just a little nudge in the ribs Olaf.

Ouch ;-)

> [...], did a make clean, ./configure, make, make install again.
> 
> /usr/local/lib/sane now contains these entries:
> 
> -rw-r--r--    1 root     root       376302 Aug  8 11:47 libsane-epkowa.a
> -rwxr-xr-x    1 root     root          822 Aug  8 11:47 libsane-epkowa.la
> lrwxrwxrwx    1 root     root           23 Aug  8 11:47 libsane-epkowa.so -> libsane-epkowa.so.1.0.6
> lrwxrwxrwx    1 root     root           23 Aug  8 11:47 libsane-epkowa.so.1 -> libsane-epkowa.so.1.0.6
> -rwxr-xr-x    1 root     root       262660 Aug  8 11:47 libsane-epkowa.so.1.0.6
> -rw-r--r--    1 root     root       406094 May 19 13:44 libsane-epson.a
> -rwxr-xr-x    1 root     root          835 May 19 13:44 libsane-epson.la
> lrwxrwxrwx    1 root     root           22 May 19 13:44 libsane-epson.so -> libsane-epson.so.1.0.6
> lrwxrwxrwx    1 root     root           22 May 19 13:44 libsane-epson.so.1 -> libsane-epson.so.1.0.6
> -rwxr-xr-x    1 root     root       266059 Feb 10 00:52 libsane-epson.so.1.0.10
> -rwxr-xr-x    1 root     root       266039 May 19 13:12 libsane-epson.so.1.0.11
> -rwxr-xr-x    1 root     root       277395 May 19 13:44 libsane-epson.so.1.0.6
> -rwxr-xr-x    1 root     root       262570 Jan 11  2003 libsane-epson.so.1.0.9
> -------

Looks fine to me.  The only thing I think a little odd is all those 
epson backends lying around.
Note that older versions of the iscan package would silently clobber 
libsane-epson.so.1.0.6 and the symlinks to it.  You may want to play 
safe and make sure that libsane-epson.so.1.0.6 is the sane-backends'
version.

> So, when I launch iscan from the cli, the only thing that occurs is 
> that the lamp comes on about a second later.  No carriage motion noises 
> have been heard, and its not been a bit over 6 minutes which does seem 
> like thats enough lamp warmup time.

Plenty!

> No gui has come up, I'm still looking at the cli on that screen.  I can 
> ctrl-c it from that shell, but that does not turn off the lamp, and it 
> only goes off when xsane does its initial scan, during which time it 
> does not find the epkowa backend, only the half a dozen associated with 
> bttv and the quickcam, the 2 test backends, and the epson from the 
> plustek backend.

You also don't get the dreaded "Could not send command to scanner" error 
message box from iscan?  Hmm, ...  What output does

  SANE_DEBUG_EPKOWA=256 iscan

generate?  Perhaps that gives a clue.
# You should at least see the result of your epkowa.conf getting parsed.

> So I've got a rather lengthy list of choices presented at the xsane 
> 'choose your driver' screen.
> 
> iscan itself is located in /usr/local/bin/iscan
> 
> There is a line, not commented, for epkowa in /usr/local/etc/sane.d/dll.conf
> 
> and here is the epkowa.conf:
> # epkowa.conf
> #
> # examples for how to configure the SANE EPSON KOWA Backend
> #
> # SCSI scanner:
> # scsi EPSON
> #
> # Parallel port scanner:
> #pio 0x278
> #pio 0x378
> #pio 0x3BC
> #
> # USB scanner - only enable this if you have an EPSON scanner. It 
> # could
> #               otherwise block your non-EPSON scanner from being 
> #               recognized.
> usb /dev/usb/scanner0
> ------------
> 
> Possibly silly Q:  Do I need to move this srcdir, /usr/src/iscan-1.5.2, 
> into the sane-backends-1.11/backends directory and build it from there?

It should not matter where you build.  I built our binaries in two Red 
Hat chroot jails (one for 7.3, the other for 8.0) on my Debian machine 
where I work on iscan compiled from somewhere below $HOME (and it gets
installed someplace very different from where the Debain sane-backends 
are installed to boot).  Everything works fine, even the Perfection 1250 
and 1260.

> This is a RH8.0 system with most updates.  All sane/xsane has been built 
> from tarballs, as has gimp, cups, and a few others, using the gcc-3.2-7 compiler.
> 
> from dmesg "usb.c: registered new driver usbscanner
> scanner.c: 0.4.13:USB Scanner Driver"
> and "hub.c: new USB device 00:11.3-2, assigned address 3
> scanner.c: USB scanner device (0x04b8/0x010f) now attached to scanner"

Vendor and product ID are fine.

> What haven't I checked yet?

I'm running out of ideas :-{
-- 
Olaf Meeuwissen                            EPSON KOWA Corporation, ECS
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!       -- I hack, therefore I am --               LPIC-2



More information about the sane-devel mailing list