Bug 6137 - libsane-xerox_mfp (at least) don't recognise the scanners it should
Summary: libsane-xerox_mfp (at least) don't recognise the scanners it should
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 23:07 CEST by Fabrice Jade
Modified: 2013-07-23 18:58 CEST (History)
1 user (show)

See Also:
Source RPM: lib64sane1-1.0.22-7.mga2.x86_64.rpm
CVE:
Status comment:


Attachments

Description Fabrice Jade 2012-05-28 23:07:07 CEST
As explained in man sane, in debug mode with a Samsung CLX3175 mfp, with the lib64sane1-1.0.22-7.mga2.x86_64.rpm I get:
bash-4.2$ scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[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 `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `xerox_mfp'
[dll] sane_get_devices
[dll] load: searching backend `xerox_mfp' in `/usr/lib64/sane'
[dll] load: trying to load `/usr/lib64/sane/libsane-xerox_mfp.so.1'
[dll] load: dlopen()ing `/usr/lib64/sane/libsane-xerox_mfp.so.1'
[dll] init: initializing backend `xerox_mfp'
[sanei_debug] Setting debug level of xerox_mfp to 128.
[xerox_mfp] sane_init: Xerox backend (build 12), version != null, 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: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: Looking for libusb devices
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: found libusb device (0x0bc7/0x0008) interface 0  at libusb:001:002
[sanei_usb] store_device: add dn 0 with libusb:001:002
[sanei_usb] sanei_usb_init: device 0x045e/0x0750, interface 0 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x045e/0x0750, interface 1 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x045e/0x0750: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x045e/0x00cb, interface 0 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x045e/0x00cb: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: found libusb device (0x04e8/0x342a) interface 0  at libusb:002:009
[sanei_usb] store_device: add dn 1 with libusb:002:009
[sanei_usb] sanei_usb_init: device 0x0bda/0x0151, interface 0 doesn't look like a scanner (0/8)
[sanei_usb] sanei_usb_init: device 0x0bda/0x0151: no suitable interfaces
[sanei_usb] sanei_usb_init: found 2 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:001:002
[sanei_usb] sanei_usb_init: device 01 is libusb:002:009
[dll] init: backend `xerox_mfp' is version 1.0.12
[xerox_mfp] sane_xerox_mfp_get_devices: 0x7fff77eca2b8, 0
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x3da4
[sanei_usb] sanei_usb_find_devices: vendor=0x413c, product=0x5124
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x3d5d
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342a
[xerox_mfp] list_one_device: libusb:002:009
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x0000
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x341b
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x341f
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x3426
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342b
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342c
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342e
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x3433
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x4265
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x3434
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x343c
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x420c
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x4293
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x4294
[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 `xerox_mfp's exit function
[dll] sane_exit: finished

If I use the Debian libsane-xerox_mfp I get:
bash-4.2$ scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[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 `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `xerox_mfp'
[dll] sane_get_devices
[dll] load: searching backend `xerox_mfp' in `/usr/lib64/sane'
[dll] load: trying to load `/usr/lib64/sane/libsane-xerox_mfp.so.1'
[dll] load: dlopen()ing `/usr/lib64/sane/libsane-xerox_mfp.so.1'
[dll] init: initializing backend `xerox_mfp'
[sanei_debug] Setting debug level of xerox_mfp to 128.
[xerox_mfp] sane_init: Xerox backend (build 11) 0x7fffa00dd6ec, 0x405400
[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: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: Looking for libusb devices
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: found libusb device (0x0bc7/0x0008) interface 0  at libusb:001:002
[sanei_usb] store_device: add dn 0 with libusb:001:002
[sanei_usb] sanei_usb_init: device 0x045e/0x0750, interface 0 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x045e/0x0750, interface 1 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x045e/0x0750: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x045e/0x00cb, interface 0 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x045e/0x00cb: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: found libusb device (0x04e8/0x342a) interface 0  at libusb:002:009
[sanei_usb] store_device: add dn 1 with libusb:002:009
[sanei_usb] sanei_usb_init: device 0x0bda/0x0151, interface 0 doesn't look like a scanner (0/8)
[sanei_usb] sanei_usb_init: device 0x0bda/0x0151: no suitable interfaces
[sanei_usb] sanei_usb_init: found 2 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:001:002
[sanei_usb] sanei_usb_init: device 01 is libusb:002:009
[dll] init: backend `xerox_mfp' is version 1.0.11
[xerox_mfp] sane_xerox_mfp_get_devices: 0x7fffa00dd758, 0
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x3da4
[sanei_usb] sanei_usb_find_devices: vendor=0x413c, product=0x5124
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x3d5d
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342a
[xerox_mfp] list_one_device: libusb:002:009
[xerox_mfp] dev_open: open 0x12764b0
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:009'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 3 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x03)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 4 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x04)
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 1
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: interface 1 not detected as a scanner by sanei_usb_init, ignoring.
[sanei_usb] sanei_usb_open: opened usb device `libusb:002:009' (*dn=1)
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 1B A8 12 00                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1024 bytes
[sanei_usb] 000 A8 00 43 10 53 61 6D 73 75 6E 67 20 53 61 6D 73 ..C.Samsung Sams
[sanei_usb] 010 75 6E 67 20 43 4C 58 2D 33 31 37 30 20 53 65 72 ung CLX-3170 Ser
[sanei_usb] 020 69 65 73 20 1D 33 04 2B 00 00 27 D8 00 00 41 A0 ies .3.+..'...A.
[sanei_usb] 030 00 01 51 00 00 01 00 00 00 00 41 A0 00 00 36 D8 ..Q.......A...6.
[sanei_usb] 040 00 01 05 05 00 00                               ......          
[sanei_usb] sanei_usb_read_bulk: wanted 1024 bytes, got 70 bytes
[xerox_mfp] [70] a8 00 43 10 53 61 6d 73 75 6e 67 20 53 61 6d 73 75 6e 67 20 43 4c 58 2d 33 31 37 30 20 53 65 72 69 65 73 20 1d 33 04 2b 00 00 27 d8 00 00 41 a0 00 01 51 00 00 01 00 00 00 00 41 a0 00 00 36 d8 00 01 05 05 00...
[xerox_mfp] dev_inquiry: found Samsung/Samsung CLX-3170 Series
[xerox_mfp] dev_close: closing dev 0x12764b0
[sanei_usb] sanei_usb_close: closing device 1
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x0000
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x341b
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x341f
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x3426
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342b
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342c
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x342e
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x3433
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x4265
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x3434
[sanei_usb] sanei_usb_find_devices: vendor=0x04e8, product=0x343c
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x420c
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x4293
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x4294
[sanei_usb] sanei_usb_find_devices: vendor=0x0924, product=0x3da4
[dll] sane_get_devices: found 1 devices
device `xerox_mfp:libusb:002:009' is a Samsung Samsung CLX-3170 Series multi-function peripheral
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `xerox_mfp's exit function
[dll] sane_exit: finished
Comment 1 Dan Fandrich 2013-07-22 22:36:10 CEST
The version numbers are exactly the same in both cases, which is interesting. Is it a permissions problem? Is there any difference if you run "sudo scanimage -L"?

CC: (none) => dan

Comment 2 Fabrice Jade 2013-07-23 18:57:06 CEST
Sorry, can't test this, don't run anymore on Mageia 2.
Comment 3 Manuel Hiebel 2013-07-23 18:58:28 CEST
closing then

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME


Note You need to log in before you can comment on or make changes to this bug.