[sane-devel] Re: HELP! Epson Perfection 4180 Photo

brinkleybw at bigfoot.com brinkleybw at gmail.com
Sun Jul 9 05:26:44 UTC 2006


I ran the following command and copied the debug output below.  I'd not seen
this message before, but it reports that the scanner is "already open".
This occurs after I click on the Scan button.

/var/tmp/iscan_pkg$ SANE_DEBUG_EPKOWA=255 sudo iscan
[sanei_debug] Setting debug level of epkowa to 255.
[epkowa] sane_init: iscan 2.1.0
[epkowa] sane_init, ># epkowa.conf -- sample configuration for the EPKOWA
SANE backend<
[epkowa] sane_init, ># Copyright (C) 2004  Olaf Meeuwissen<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># See sane-epkowa(5), sane-scsi(5) and sane-usb(5) for
details.<
[epkowa] sane_init, ><
[epkowa] sane_init, ># SCSI scanners can be configured simply by listing the
path to the<
[epkowa] sane_init, ># device.  For example, if your system claims to have a
/dev/scanner<
[epkowa] sane_init, ># SCSI device, all you have to do is uncomment the
following line:<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#/dev/scanner<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># In the interest of maintainability, most
installations would have<
[epkowa] sane_init, ># /dev/scanner sym-linked to the real SCSI scanner
device node.<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># An alternative way that works for many operating
systems and is a<
[epkowa] sane_init, ># little bit more generic, is to have the backend probe
for your SCSI<
[epkowa] sane_init, ># scanner with the following configuration command:<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#scsi EPSON<
[epkowa] sane_init, ><
[epkowa] sane_init, ># On systems with libusb, the following line is
sufficient to get the<
[epkowa] sane_init, ># backend to recognise your USB scanners.  It presumes,
however, that<
[epkowa] sane_init, ># the scanner---more precisely, it's USB product
ID---is known to the<
[epkowa] sane_init, ># backend.<
[epkowa] sane_init, ># For all USB scanners that are officially supported by
this backend,<
[epkowa] sane_init, ># this presumption is true.  A list of such scanners
can be found in<
[epkowa] sane_init, ># sane-epkowa(5).<
[epkowa] sane_init, >#<
[epkowa] sane_init, >usb 0x04b8 0x0118<
[epkowa] attach_one_usb(libusb:004:004)
[epkowa] EPKOWA SANE Backend 2.1.0 - 2006-05-22
[epkowa] attach(libusb:004:004, 3)
[epkowa] attach: opening libusb:004:004
[epkowa] Found valid EPSON scanner: 0x4b8/0x118 (vendorID/productID)
[epkowa] reset()
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 40 @
[epkowa] receive buf, expected = 1, got = 1
[epkowa] buf[0] 15 .
[epkowa] get_identity_information()
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 49 I
[epkowa] receive buf, expected = 4, got = 1
[epkowa] buf[0] 15 .
[epkowa] code   15
[epkowa] type    1 0x31
[epkowa] level   8 0x38
[epkowa] no option equipment installed
[epkowa] Unknown type 1 or level 8, using B3
[epkowa] fbf tlx 0.000000 tly 0.000000 brx 0.000000 bry 0.000000 [mm]
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 44 D
[epkowa] receive buf, expected = 1, got = 1
[epkowa] buf[0] 15 .
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 44 D
[epkowa] receive buf, expected = 1, got = 1
[epkowa] buf[0] 15 .
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 44 D
[epkowa] receive buf, expected = 1, got = 1
[epkowa] buf[0] 15 .
[epkowa] Max. supported color depth = 8
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 66 f
[epkowa] receive buf, expected = 4, got = 1
[epkowa] buf[0] 15 .
[epkowa] code   15
[epkowa] model :
[epkowa] scanner model:
[epkowa] sane_init, ><
[epkowa] sane_init, ># For any USB scanner not known to the backend (yet),
you may, at your<
[epkowa] sane_init, ># own peril(!!), force the backend to recognise and use
it via libusb.<
[epkowa] sane_init, ># You can do so by the following configuration
command:<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#   usb <USB vendor ID> <USB product ID><
[epkowa] sane_init, >#<
[epkowa] sane_init, ># SEIKO EPSON's USB vendor ID is '0x04b8' (without
quotes).  In order<
[epkowa] sane_init, ># to find the USB product ID, use lsusb(1) or, on Linux
systems, peek<
[epkowa] sane_init, ># at the information in /proc/bus/usb/devices.<
[epkowa] sane_init, ># A sample configuration for the Perfection 1650
(GT-8200), which has<
[epkowa] sane_init, ># a product ID of 0x0110, would look as follows:<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#usb 0x04b8 0x0110<
[epkowa] sane_init, ><
[epkowa] sane_init, ># When not accessing your USB scanner via libusb, you
may need to use<
[epkowa] sane_init, ># one of the configuration commands below or commands
that are almost<
[epkowa] sane_init, ># the same.  These commands typically access the
scanner via a kernel<
[epkowa] sane_init, ># scanner module.<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#usb /dev/usb/scanner0<
[epkowa] sane_init, >#usb /dev/usbscanner0<
[epkowa] sane_init, >#usb /dev/uscanner0<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># Linux had a scanner module until version 2.6.2.  As
of version 2.6.3<
[epkowa] sane_init, ># libusb is your only option.  Linux' scanner module
can be loaded via<
[epkowa] sane_init, ># the modprobe(8) command like so:<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#   modprobe scanner vendor=<USB vendor ID>
product=<USB product ID><
[epkowa] sane_init, >#<
[epkowa] sane_init, ># If the scanner module already knows the vendor and
product IDs, you<
[epkowa] sane_init, ># do not have to specify them.  If you want to have
this done automa-<
[epkowa] sane_init, ># tically every time you boot, you can add the above
line, except for<
[epkowa] sane_init, ># the modprobe command itself, to your /etc/modules
file.<
[epkowa] sane_init, ><
[epkowa] sane_init, ># Although not tested with this backend, parallel port
scanners should<
[epkowa] sane_init, ># be usable.  You can configure them as shown below,
but I do not know<
[epkowa] sane_init, ># much about the details.  Information is welcome.<
[epkowa] sane_init, >#<
[epkowa] sane_init, >#pio 0x278<
[epkowa] sane_init, >#pio 0x378<
[epkowa] sane_init, >#pio 0x3BC<
[epkowa] sane_get_devices()
[epkowa] sane_open(libusb:004:004)
[epkowa] init_options()
[epkowa] open_scanner()
[epkowa] setvalue(option = 43, value = 0xbffacda0)
[epkowa] setvalue(option = 43, value = 0xbffab970)
[epkowa] setvalue(option = 2, value = 0xbffab970)
[epkowa] setvalue(option = 8, value = 0xbffab560)
[epkowa] setvalue(option = 18, value = 0xbffab580)
[epkowa] setvalue(option = 19, value = 0xbffab580)
[epkowa] setvalue(option = 20, value = 0xbffab580)
[epkowa] setvalue(option = 9, value = 0xbffab950)
[epkowa] setvalue(option = 24, value = 0xbffab94c)
[epkowa] setvalue(option = 25, value = 0xbffab94c)
[epkowa] setvalue(option = 26, value = 0xbffab94c)
[epkowa] setvalue(option = 27, value = 0xbffab94c)
[epkowa] setvalue(option = 28, value = 0xbffab94c)
[epkowa] setvalue(option = 29, value = 0xbffab94c)
[epkowa] setvalue(option = 30, value = 0xbffab94c)
[epkowa] setvalue(option = 31, value = 0xbffab94c)
[epkowa] setvalue(option = 32, value = 0xbffab94c)
[epkowa] setvalue(option = 10, value = 0xbffab9a4)
[epkowa] setvalue(option = 17, value = 0xbffab9a4)
[epkowa] setvalue(option = 37, value = 0xbffab98c)
[epkowa] set = 0.000000
[epkowa] setvalue(option = 38, value = 0xbffab98c)
[epkowa] set = 0.000000
[epkowa] setvalue(option = 39, value = 0xbffab98c)
[epkowa] set = 0.000000
[epkowa] setvalue(option = 40, value = 0xbffab98c)
[epkowa] set = 0.000000
[epkowa] sane_start()
[epkowa] open_scanner()
[epkowa] scanner is already open: fd = 0
[epkowa] reset()
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 40 @
[epkowa] receive buf, expected = 1, got = 1
[epkowa] buf[0] 15 .
[epkowa] close_scanner(fd = 0)
[epkowa] close_scanner(fd = -1)
[epkowa] close_scanner(fd = -1)
[epkowa] close_scanner(fd = -1)
[epkowa] sane_exit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060709/79136523/attachment.htm


More information about the sane-devel mailing list