[sane-devel] OS X and umax 1220u

Henning Meier-Geinitz henning@meier-geinitz.de
Sat, 10 Jan 2004 11:06:40 +0100


Hi,

On Sat, Jan 10, 2004 at 12:53:01AM -0600, David Minor wrote:
> dminor@ginger:~$ scanimage
> [sanei_debug] Setting debug level of umax1220u to 128.
> [umax1220u] sane_init: version_code != 0, authorize != 0
> [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from  sane-backends 1.0.13
> [umax1220u] reading configure file umax1220u.conf
> [umax1220u] attach_matching_devices(usb 0x1606 0x0010)
> [umax1220u] attach_scanner: libusb:001:005
> [umax1220u] attach_scanner: opening libusb:001:005
> [umax1220u] UMAX_open_device: `libusb:001:005'
> [umax1220u] csend: cmd = 0
> [umax1220u] usync: len = 0, cmd = 0
> [umax1220u] usync: s0 = 0x53 s4 = 0xc8
> [umax1220u] doing xxxops
> [umax1220u] UMAX_close_device:

Ok, the device was closed and open successfully. That's in sane_init,
when SANE scans for devices.

> [umax1220u] attach_matching_devices(usb 0x1606 0x0030)
> [umax1220u] attach_matching_devices(usb 0x1606 0x0130)

Some other USB devices (non-scanners).

> [umax1220u] sane_get_devices(local_only = 0)

The frontend asks for a list of devices ...

> [umax1220u] sane_open
> [umax1220u] sane_open: devicename=libusb:001:005
> [umax1220u] UMAX_open_device: `libusb:001:005'

...and wants to sane_open the device (the same as above).

> [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': Invalid argument

Bu this time the open fails.

I don't know why and I'm not thte backend maintainer but maybe you get
more information if you enable debugging for USB also (in addition to
SANEI_USB_UAMX1220): SANE_DEBUG_SANEI_USB=255

To reduce the amount of data you get, you should disabel everything
but umax1220u in dll.conf.

Bye,
  Henning