[sane-devel] umax1220u: sane_start: Invalid argument

D. Hugh Redelmeier hugh at mimosa.com
Thu Dec 18 03:23:13 UTC 2008


| From: m. allan noah <kitno455 at gmail.com>

| You could try to get a debug log of the backend in operation:
| 
| SANE_DEBUG_UMAX1220U=255 scanimage 2>error.log

Thanks.  That seems to give useful information.  Not that I know how
to interpet it.

Near the end, just before the error message, the
UMAX_set_scan_parameters don't look reasonable to me.  Are the
resolutions DPI?  If so, they seem low.  Is it OK to have so many of
the other parameters 0?

Do you see what is causing the diagnostic?

| you might also try a 32 bit system just to see if that is it...

I booted from a Ubuntu 8.10 i386 live CD.  The diagnostic and the
debug output looked similar.

Thanks again.

# scanimage -L
device `umax1220u:libusb:004:003' is a UMAX Astra 2100U flatbed scanner

# SANE_DEBUG_UMAX1220U=255 scanimage -d umax1220u:libusb:004:003 > outfile.pnm
[sanei_debug] Setting debug level of umax1220u to 255.
[umax1220u] sane_init: version_code != 0, authorize != 0
[umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.19
[umax1220u] reading configure file umax1220u.conf
[umax1220u] attach_matching_devices(usb 0x1606 0x0010)
[umax1220u] attach_matching_devices(usb 0x1606 0x0030)
[umax1220u] attach_matching_devices(usb 0x1606 0x0130)
[umax1220u] attach_scanner: libusb:004:003
[umax1220u] attach_scanner: opening libusb:004:003
[umax1220u] UMAX_open_device: `libusb:004:003'
[umax1220u] csend: cmd = 0
[umax1220u] usync: len = 0, cmd = 0
[umax1220u] usync: s0 = 0x4b s4 = 0xc8
[umax1220u] doing xxxops
[umax1220u] UMAX_close_device:
[umax1220u] finished reading configure file
[umax1220u] sane_open
[umax1220u] sane_open: devicename=libusb:004:003
[umax1220u] UMAX_open_device: `libusb:004:003'
[umax1220u] csend: cmd = 0
[umax1220u] usync: len = 0, cmd = 0
[umax1220u] usync: s0 = 0x4b s4 = 0xc8
[umax1220u] doing xxxops
[umax1220u] sane_control_option: handle=0x692080, opt=0, act=0, val=0x7fff95f134e8, info=(nil)
[umax1220u] sane_control_option: handle=0x692080, opt=0, act=0, val=0x7fff95f133c4, info=(nil)
[umax1220u] sane_get_option_descriptor: option = 0
[umax1220u] sane_get_option_descriptor: option = 1
[umax1220u] sane_get_option_descriptor: option = 2
[umax1220u] sane_get_option_descriptor: option = 3
[umax1220u] sane_get_option_descriptor: option = 4
[umax1220u] sane_get_option_descriptor: option = 5
[umax1220u] sane_control_option: handle=0x692080, opt=5, act=0, val=0x60a8a0, info=(nil)
[umax1220u] sane_get_option_descriptor: option = 6
[umax1220u] sane_control_option: handle=0x692080, opt=6, act=0, val=0x60a8a4, info=(nil)
[umax1220u] sane_get_option_descriptor: option = 7
[umax1220u] sane_control_option: handle=0x692080, opt=3, act=0, val=0x7fff95f133c0, info=(nil)
[umax1220u] sane_control_option: handle=0x692080, opt=4, act=0, val=0x7fff95f133c0, info=(nil)
[umax1220u] sane_control_option: handle=0x692080, opt=3, act=0, val=0x7fff95f134dc, info=(nil)
[umax1220u] sane_get_option_descriptor: option = 5
[umax1220u] sane_control_option: handle=0x692080, opt=5, act=1, val=0x7fff95f134e0, info=0x7fff95f133cc
[umax1220u] sane_control_option: handle=0x692080, opt=4, act=0, val=0x7fff95f134dc, info=(nil)
[umax1220u] sane_get_option_descriptor: option = 6
[umax1220u] sane_control_option: handle=0x692080, opt=6, act=1, val=0x7fff95f134e0, info=0x7fff95f133cc
[umax1220u] sane_start
[umax1220u] UMAX_set_scan_parameters:
[umax1220u] color = 1             
[umax1220u] xo    = 0, yo     = 0
[umax1220u] w     = 0, h      = 0
[umax1220u] xres  = 75, yres   = 75
[umax1220u] left  = 0, top    = 0
[umax1220u] right = 0, bottom = 0
scanimage: sane_start: Invalid argument
[umax1220u] sane_cancel: handle = 0x692080
[umax1220u] sane_cancel: canceling is unsupported in this backend
[umax1220u] sane_close
[umax1220u] UMAX_close_device:
[umax1220u] sane_exit

# exit



More information about the sane-devel mailing list