I'm having trouble getting scanimage to detect my UMAX 1220u scanner on 
Mac OS X 10.3.1. sane-find-device finds it, reporting:

        scanimage (sane-backends) 1.0.13; backend version 1.0.13

          # No SCSI scanners found. If you expected something different, make 
sure that
          # you have loaded a SCSI driver for your SCSI adapter.

        found USB scanner (vendor=0x1606, product=0x0010) at libusb:024:002
          # Your USB scanner was (probably) detected. It may or may not be 
supported by
          # SANE. Try scanimage -L and read the backend's manpage.

        [snip]

scanimage -L says: "no scanners were identified", adding the 
environment variable SANE_DEBUG_UMAX1220U gives:

        [Albus-Dumbledores-Computer:/usr/local] albus% scanimage -L
        [sanei_debug] Setting debug level of umax1220u to 1.
        [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from 
sane-backends 1.0.13
        [umax1220u] UMAX_open_device: couldn't open device `libusb:024:002': 
Invalid argument
        [umax1220u] ERROR: attach_scanner: opening libusb:024:002 failed

        [snip]

Adding the environment variable SANE_DEBUG_SANEI_USB=3D5 gives:

        [sanei_debug] Setting debug level of umax1220u to 1.
        [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from 
sane-backends 1.0.13
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0010
        [sanei_usb] sanei_usb_open: libusb complained: usb_claim_interface: 
couldn't claim interface
        [umax1220u] UMAX_open_device: couldn't open device `libusb:024:002': 
Invalid argument
        [umax1220u] ERROR: attach_scanner: opening libusb:024:002 failed
        [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0030
        [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0130
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0230
        [sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner' in list
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x1a20
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x1a26
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x2022
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x1a2a
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x2040
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x2060
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x207e
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20c0
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20b0
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20de
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20fc
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20fe
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x0002
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x0001
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2061
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2093
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2091
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2095
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2097
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x208d
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x20ff
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x208f
        [sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x20fd
        [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0114
        [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011f
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0010
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0011
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0015
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0013
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0013
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0011
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0010
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0015
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0016
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0007
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x000f
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x000f
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0005
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0012
        [sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1000
        [sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1001
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2007
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2008
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2009
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2013
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2015
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2016
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0505
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0605
        [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010f
        [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011d
        [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0060
        [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0160
        [sanei_usb] sanei_usb_find_devices: vendor=0x049f, product=0x001a
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2206
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2207
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220d
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220e
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0006
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0001
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0008
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0002
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0873
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0010
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x1005
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x1105
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0101
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0401
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0201
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0601
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x05d8, product=0x4002
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x021e
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0218
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0219
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x021d
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x021c
        [sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0210
        [sanei_usb] sanei_usb_find_devices: vendor=0x043d, product=0x002d
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0401
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0400
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0403
        [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0413
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2011
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x201b
        [sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2017
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x04b0, product=0x4000
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2204
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x05d8, product=0x4003
        [sanei_usb] sanei_usb_find_devices: vendor=0x05d8, product=0x4006
        [sanei_usb] sanei_usb_find_devices: vendor=0x05d8, product=0x4005
        [sanei_usb] sanei_usb_find_devices: vendor=0x05d8, product=0x4009
        [sanei_debug] Setting debug level of sanei_usb to 3.
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0a24
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0a23
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0a16
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0a13
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0a18
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0701
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0701
        [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0801
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x026a
        [sanei_usb] sanei_usb_find_devices: vendor=0x0686, product=0x4004
        [sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0268

The most interesting line appears to be:

        [sanei_usb] sanei_usb_open: libusb complained: usb_claim_interface: 
couldn't claim interface

The config file for the scanner looks like this (the default content)

        # Options for the umax1220u backend
        
        # Autodetect the UMAX Astra 1220U
        usb 0x1606 0x0010
        
        # The following line enables autodetection for the
        # Astra 2000U and Astra 2100U. However, this driver
        # isn't entirely compatible, so expect color problems :)
        usb 0x1606 0x0030
        usb 0x1606 0x0130
        
        # device list for non-linux-systems (enable if autodetect fails):
        #/dev/scanner
        #/dev/usb/scanner0

I'm not sure if this file needed to be modified.

Any help would be appreciated.

Thanks,

alexb


Reply via email to