[MacPorts] #32827: xsane not working with Canon Lide Scanner

MacPorts noreply at macports.org
Mon Jan 9 09:41:33 PST 2012


#32827: xsane not working with Canon Lide Scanner
-----------------------------------------+----------------------------------
 Reporter:  christian.kneissl@…          |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  2.0.3                                
 Keywords:                               |        Port:                                       
-----------------------------------------+----------------------------------
 I tried hours to get (x)sane working via MacPorts for my Canon Lide 210,
 which should be handled by genesys.

 It seems that scanimage has problems to connect to the scanner via libusb,
 because the device is used/opened by another process. Find the Output of
 scanimage -L below. I tried with root and not-privileged user which seems
 to be the same.

 Here are the detailed Version infos:
 {{{
 libusb                         @1.0.8          devel/libusb
 libusb-compat                  @0.1.3          devel/libusb-compat
 sane-backends                  @1.0.22         graphics/sane-backends
 sane-frontends                 @1.0.15git      graphics/sane-frontends
 xsane                          @0.998          graphics/xsane
 }}}

 Permission of Lockfile:
 {{{
 drwxrwxrwx  2 root  admin    /opt/local/var/lock/sane
 }}}


 Output of sane-find-scanner:
 {{{
 /opt/local/var/lock>sane-find-scanner

   # sane-find-scanner will now attempt to detect your scanner. If the
   # result is different from what you expected, first make sure your
   # scanner is powered up and properly connected to your computer.

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

 found USB scanner (vendor=0x05ac, product=0x8215) at libusb:250:007
 found USB scanner (vendor=0x04a9, product=0x190a, chip=GL124?) at
 libusb:250:009
 found USB scanner (vendor=0x0ccd, product=0x0043) at libusb:253:005
   # Your USB scanner was (probably) detected. It may or may not be
 supported by
   # SANE. Try scanimage -L and read the backend's manpage.

   # Not checking for parallel port scanners.

   # Most Scanners connected to the parallel port or other proprietary
 ports
   # can't be detected by this program.

   # You may want to run this program as root to find all devices. Once you
   # found the scanner devices, be sure to adjust access permissions as
   # necessary.
 }}}

 Genesys-Entry:
 {{{
 # Canon LiDE 210
 usb 0x04a9 0x190a
 }}}

 Output of scanimage -L:
 {{{
 /opt/local/etc/sane.d>export SANE_DEBUG_GENESYS=255
 /opt/local/etc/sane.d>export SANE_DEBUG_SANEI_USB=128
 /opt/local/etc/sane.d>export SANE_DEBUG_DLL=255
 chris at iMac:/opt/local/etc/sane.d>scanimage -L
 [sanei_debug] Setting debug level of dll to 255.
 [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
 [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
 [dll] sane_init/read_dlld: attempting to open directory
 `/opt/local/etc/sane.d/dll.d'
 [dll] sane_init/read_dlld: opendir failed: No such file or directory
 [dll] sane_init/read_config: reading dll.conf
 [dll] add_backend: adding backend `genesys'
 [dll] sane_get_devices
 [dll] load: searching backend `genesys' in `/opt/local/lib/sane'
 [dll] load: trying to load `/opt/local/lib/sane/libsane-genesys.1.so'
 [dll] load: dlopen()ing `/opt/local/lib/sane/libsane-genesys.1.so'
 [dll] init: initializing backend `genesys'
 [sanei_debug] Setting debug level of genesys to 255.
 [genesys] SANE Genesys backend version 1.0 build 63 from sane-backends
 1.0.22
 [genesys] SANE Genesys backend built with libusb
 [genesys] sane_init: authorize != null
 [sanei_debug] Setting debug level of sanei_usb to 128.
 [sanei_usb] sanei_usb_init: marking existing devices
 [sanei_usb] sanei_usb_init: Looking for kernel scanner devices
 [sanei_usb] sanei_usb_init: Looking for libusb devices
 libusb:info [process_new_device] allocating new device for location
 0xfa000000
 libusb:info [process_new_device] found device with address 1 at
 001-05ac-8006-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa100000
 libusb:info [process_new_device] found device with address 2 at
 002-0424-2514-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa200000
 libusb:info [process_new_device] found device with address 3 at 003-05ac-
 850b-ef-02
 libusb:info [process_new_device] allocating new device for location
 0xfa110000
 libusb:info [process_new_device] found device with address 4 at
 004-0a5c-4500-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa130000
 libusb:info [process_new_device] found device with address 5 at
 005-05ac-1006-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa111000
 libusb:info [process_new_device] found device with address 7 at
 007-05ac-8215-ff-01
 libusb:info [process_new_device] allocating new device for location
 0xfa132000
 libusb:info [process_new_device] found device with address 6 at
 006-05ac-0250-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfa133000
 libusb:info [process_new_device] found device with address 8 at 008-046d-
 c52b-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfa131000
 libusb:info [process_new_device] found device with address 9 at 009-04a9
 -190a-ff-ff
 libusb:info [process_new_device] allocating new device for location
 0xfd000000
 libusb:info [process_new_device] found device with address 1 at
 001-05ac-8006-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfd100000
 libusb:info [process_new_device] found device with address 2 at
 002-0424-2514-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfd120000
 libusb:info [process_new_device] found device with address 3 at
 003-05ac-8242-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfd140000
 libusb:info [process_new_device] found device with address 5 at
 005-0ccd-0043-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfd110000
 libusb:info [process_new_device] found device with address 4 at
 004-05ac-8403-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfa000000
 libusb:info [process_new_device] found device with address 1 at
 001-05ac-8006-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa100000
 libusb:info [process_new_device] found device with address 2 at
 002-0424-2514-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa200000
 libusb:info [process_new_device] found device with address 3 at 003-05ac-
 850b-ef-02
 libusb:info [process_new_device] allocating new device for location
 0xfa110000
 libusb:info [process_new_device] found device with address 4 at
 004-0a5c-4500-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa130000
 libusb:info [process_new_device] found device with address 5 at
 005-05ac-1006-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfa111000
 libusb:info [process_new_device] found device with address 7 at
 007-05ac-8215-ff-01
 libusb:info [process_new_device] allocating new device for location
 0xfa132000
 libusb:info [process_new_device] found device with address 6 at
 006-05ac-0250-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfa133000
 libusb:info [process_new_device] found device with address 8 at 008-046d-
 c52b-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfa131000
 libusb:info [process_new_device] found device with address 9 at 009-04a9
 -190a-ff-ff
 libusb:info [process_new_device] allocating new device for location
 0xfd000000
 libusb:info [process_new_device] found device with address 1 at
 001-05ac-8006-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfd100000
 libusb:info [process_new_device] found device with address 2 at
 002-0424-2514-09-00
 libusb:info [process_new_device] allocating new device for location
 0xfd120000
 libusb:info [process_new_device] found device with address 3 at
 003-05ac-8242-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfd140000
 libusb:info [process_new_device] found device with address 5 at
 005-0ccd-0043-00-00
 libusb:info [process_new_device] allocating new device for location
 0xfd110000
 libusb:info [process_new_device] found device with address 4 at
 004-05ac-8403-00-00
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8006, interface 0 doesn't look
 like a scanner (9/9)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8006: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0424/0x2514, interface 0 doesn't look
 like a scanner (9/9)
 [sanei_usb] sanei_usb_init: device 0x0424/0x2514: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x05ac/0x850b, interface 0 doesn't look
 like a scanner (239/14)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x850b, interface 1 doesn't look
 like a scanner (239/14)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x850b, interface 2 doesn't look
 like a scanner (239/255)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x850b: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0a5c/0x4500, interface 0 doesn't look
 like a scanner (9/9)
 [sanei_usb] sanei_usb_init: device 0x0a5c/0x4500: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x05ac/0x1006, interface 0 doesn't look
 like a scanner (9/9)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x1006: no suitable interfaces
 [sanei_usb] sanei_usb_init: found libusb device (0x05ac/0x8215) interface
 0  at libusb:250:007
 [sanei_usb] store_device: add dn 0 with libusb:250:007
 [sanei_usb] sanei_usb_init: device 0x05ac/0x0250, interface 0 doesn't look
 like a scanner (0/3)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x0250, interface 1 doesn't look
 like a scanner (0/3)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x0250: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x046d/0xc52b, interface 0 doesn't look
 like a scanner (0/3)
 [sanei_usb] sanei_usb_init: device 0x046d/0xc52b, interface 1 doesn't look
 like a scanner (0/3)
 [sanei_usb] sanei_usb_init: device 0x046d/0xc52b, interface 2 doesn't look
 like a scanner (0/3)
 [sanei_usb] sanei_usb_init: device 0x046d/0xc52b: no suitable interfaces
 [sanei_usb] sanei_usb_init: found libusb device (0x04a9/0x190a) interface
 0  at libusb:250:009
 [sanei_usb] store_device: add dn 1 with libusb:250:009
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8006, interface 0 doesn't look
 like a scanner (9/9)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8006: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0424/0x2514, interface 0 doesn't look
 like a scanner (9/9)
 [sanei_usb] sanei_usb_init: device 0x0424/0x2514: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8242, interface 0 doesn't look
 like a scanner (0/3)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8242: no suitable interfaces
 [sanei_usb] sanei_usb_init: found libusb device (0x0ccd/0x0043) interface
 0  at libusb:253:005
 [sanei_usb] store_device: add dn 2 with libusb:253:005
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8403, interface 0 doesn't look
 like a scanner (0/8)
 [sanei_usb] sanei_usb_init: device 0x05ac/0x8403: no suitable interfaces
 [sanei_usb] sanei_usb_init: found 3 devices
 [sanei_usb] sanei_usb_init: device 00 is libusb:250:007
 [sanei_usb] sanei_usb_init: device 01 is libusb:250:009
 [sanei_usb] sanei_usb_init: device 02 is libusb:253:005
 [genesys] sane_init: little endian machine
 [genesys] probe_genesys_devices: start
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x1405
 [sanei_usb] sanei_usb_find_devices: vendor=0x0461, product=0x0377
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0901
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2213
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x221c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1904
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1909
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1905
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1906
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1907
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x190a
 [genesys] attach: start: devp != NULL, may_wait = 0
 [genesys] attach: trying to open device `libusb:250:009'
 [sanei_usb] sanei_usb_open: trying to open device `libusb:250:009'
 libusb:error [darwin_open] USBDeviceOpen: another process has device
 opened for exclusive access
 libusb:info [darwin_open] device open for access
 [sanei_usb] sanei_usb_open: libusb complained: Device not configured
 [genesys] attach: couldn't open device `libusb:250:009': Invalid argument
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1906
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0426
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0474
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x4803
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0494
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x049b
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a17, product=0x3210
 [sanei_usb] sanei_usb_find_devices: vendor=0x04f9, product=0x2038
 [sanei_usb] sanei_usb_find_devices: vendor=0x1dcc, product=0x4812
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x4800
 [sanei_usb] sanei_usb_find_devices: vendor=0x1dcc, product=0x4810
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x480c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0229
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x04ac
 [sanei_usb] sanei_usb_find_devices: vendor=0x04da, product=0x100f
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x4505
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x4605
 [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0900
 [genesys] probe_genesys_devices: exit
 [genesys] sane_init: exit
 [dll] init: backend `genesys' is version 1.0.63
 [genesys] sane_get_devices: start: local_only = false
 [genesys] probe_genesys_devices: start
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x1405
 [sanei_usb] sanei_usb_find_devices: vendor=0x0461, product=0x0377
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0901
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2213
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x221c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1904
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1909
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1905
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1906
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1907
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x190a
 [genesys] attach: start: devp != NULL, may_wait = 0
 [genesys] attach: trying to open device `libusb:250:009'
 [sanei_usb] sanei_usb_open: trying to open device `libusb:250:009'
 libusb:error [darwin_open] USBDeviceOpen: another process has device
 opened for exclusive access
 libusb:info [darwin_open] device open for access
 [sanei_usb] sanei_usb_open: libusb complained: Device not configured
 [genesys] attach: couldn't open device `libusb:250:009': Invalid argument
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1906
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0426
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0474
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x4803
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0494
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x049b
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a17, product=0x3210
 [sanei_usb] sanei_usb_find_devices: vendor=0x04f9, product=0x2038
 [sanei_usb] sanei_usb_find_devices: vendor=0x1dcc, product=0x4812
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x4800
 [sanei_usb] sanei_usb_find_devices: vendor=0x1dcc, product=0x4810
 [sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x480c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0229
 [sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x04ac
 [sanei_usb] sanei_usb_find_devices: vendor=0x04da, product=0x100f
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x4505
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x4605
 [sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0900
 [genesys] probe_genesys_devices: exit
 [genesys] sane_get_devices: exit
 [dll] sane_get_devices: found 0 devices

 No scanners were identified. If you were expecting something different,
 check that the scanner is plugged in, turned on and detected by the
 sane-find-scanner tool (if appropriate). Please read the documentation
 which came with this software (README, FAQ, manpages).
 [dll] sane_exit: exiting
 [dll] sane_exit: calling backend `genesys's exit function
 [genesys] sane_exit: start
 [genesys] sane_exit: exit
 [dll] sane_exit: finished
 }}}



 Greetings,
 Christian

-- 
Ticket URL: <https://trac.macports.org/ticket/32827>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list