[sane-devel] Xerox Workcentre 3225 support?

Bernhard Reiter bernhard at intevation.de
Wed Mar 23 20:48:31 UTC 2016


Dear Sane-People, Dear Johannes,

Am Montag, 21. März 2016, 14:21:17 schrieb Bernhard Reiter:
> > > Xerox WorkCentre 3225 connected with USB.

one step further, but still not working.
Ideas for the next steps appreciated!

Should I create an entry in the tracker as indicated on the webpages now?

Best Regards,
Bernhard

== Overview

I've used on of my ehci-pci usb ports and with
#Xerox WorkCentre 3225
usb 0x0924 0x42dc
in /etc/sane.d/xerox_mfp.conf

scanimage -L 
reliably identifies the scanner.

Next I've switched to sane-backends-1.0.25-116.1.x86_64
and sane-backends-autoconfig from
http://download.opensuse.org/repositories/graphics/openSUSE_13.1/

But scanning does not work.
Probably because of differences of the xerox models.

scanimage >/tmp/image.pnm
will lead to 
scanimage: sane_read: Error during device I/O
and the xerox device resets itself.

== Details

export SANE_DEBUG_XEROX_MFP=128
# scanimage -L
[sanei_debug] Setting debug level of xerox_mfp to 128.
[xerox_mfp] sane_init: Xerox backend (build 13), version != null, 
authorize != null
[xerox_mfp] sane_xerox_mfp_get_devices: 0x7ffe81063158, 0
[xerox_mfp] list_one_device: libusb:002:008
[xerox_mfp] usb_dev_open: open 0x155ee20
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[xerox_mfp] [70] a8 00 43 10 58 65 72 6f 78 20 20 20 57 6f 72 6b 43 65 6e 
74 72 65 20 33 32 32 35 20 20 20 20 20 20 20 20 20 11 33 86 2b 00 00 27 e0 
00 00 41 a0 00 01 51 00 00 01 00 00 00 00 41 a0 00 00 36 d8 00 00 05 05 11 
00
[xerox_mfp] dev_inquiry: found Xerox/WorkCentre 3225
[xerox_mfp] usb_dev_close: closing dev 0x155ee20
device `xerox_mfp:libusb:002:008' is a Xerox WorkCentre 3225 multi-
function peripheral

scanimage >/tmp/image.pnm
[sanei_debug] Setting debug level of xerox_mfp to 128.
[xerox_mfp] sane_init: Xerox backend (build 13), version != null, 
authorize != null
[xerox_mfp] sane_xerox_mfp_get_devices: 0x7ffc94072388, 0
[xerox_mfp] list_one_device: libusb:002:008
[xerox_mfp] usb_dev_open: open 0x95be20
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[xerox_mfp] [70] a8 00 43 10 58 65 72 6f 78 20 20 20 57 6f 72 6b 43 65 6e 
74 72 65 20 33 32 32 35 20 20 20 20 20 20 20 20 20 11 33 86 2b 00 00 27 e0 
00 00 41 a0 00 01 51 00 00 01 00 00 00 00 41 a0 00 00 36 d8 00 00 05 05 11 
00
[xerox_mfp] dev_inquiry: found Xerox/WorkCentre 3225
[xerox_mfp] usb_dev_close: closing dev 0x95be20
[xerox_mfp] sane_xerox_mfp_open: 'libusb:002:008'
[xerox_mfp] usb_dev_open: open 0x95be20
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 0, <0>, 
0x7ffc9407245c, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 0, <0> => 0000000b, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 0, <0>, 
0x7ffc94072398, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 0, <0> => 0000000b, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 1
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 2
[xerox_mfp] sane_xerox_mfp_get_option_descriptorscanimage: sane_read: 
Error during device I/O
: 0x95be20, 3
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 4
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 5
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 6
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 7
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 8
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 9
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 10
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 9, <0>, 0x60c624, 
(nil)
[xerox_mfp] sane_xerox_mfp_control_option: 9, <0> => 00d811bf, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 7, <0>, 
0x7ffc9407239c, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 7, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 10, <0>, 0x60c628, 
(nil)
[xerox_mfp] sane_xerox_mfp_control_option: 10, <0> => 01292e14, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 8, <0>, 
0x7ffc9407239c, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 8, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 7, <0>, 
0x7ffc94072490, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 7, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 9
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 9, <1>, 
0x7ffc940724b0, 0x7ffc9407239c
[xerox_mfp] sane_xerox_mfp_control_option: 9, <1> => 00d811bf, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 8, <0>, 
0x7ffc94072490, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 8, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x95be20, 10
[xerox_mfp] sane_xerox_mfp_control_option: 0x95be20, 10, <1>, 
0x7ffc940724b0, 0x7ffc9407239c
[xerox_mfp] sane_xerox_mfp_control_option: 10, <1> => 01292e14, 0
[xerox_mfp] sane_xerox_mfp_start: 0x95be20
[xerox_mfp] :: dev_command(RESERVE_UNIT[0x16], 32)
[xerox_mfp] [32] a8 00 1d 00...
[xerox_mfp] OFF xi: 0000 yi: 0000, WIN xp: 000027df yp 000036d7, MAX 
000027e0 000041a0
[xerox_mfp] :: dev_command(SET_WINDOW[0x24], 32)
[xerox_mfp] [32] a8 00 1d 00 00 01 00 00 00 00 09 f7 00 00 0d b5 00...
[xerox_mfp] :: dev_command(OBJECT_POSITION[0x31], 32)
[xerox_mfp] [32] a8 00 1d 00 00 01 00...
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(10 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(100 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(200 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(400 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(800 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] [32] a8 08 1d 80 00 00 00 10 00 01 05 00 00 01 00...
[xerox_mfp] dev_command(READ[0x28]): => 3: Device busy
[xerox_mfp] (READ) sleeping(1000 ms).. [0 0]
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] usb_dev_request: sanei_usb_read_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
[xerox_mfp] sane_xerox_mfp_get_parameters: 0x95be20, 0x7ffc94072490
[xerox_mfp] sane_xerox_mfp_read: 0x95be20, 0x9640f0, 32768, 0x7ffc94072464
[xerox_mfp] :: dev_command(READ[0x28], 32)
[xerox_mfp] usb_dev_request: sanei_usb_write_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
[xerox_mfp] READ_IMAGE
[xerox_mfp] :: dev_command(READ_IMAGE[0x29], 32)
[xerox_mfp] usb_dev_request: sanei_usb_write_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
scanimage: sane_read: Error during device I/O
[xerox_mfp] sane_xerox_mfp_cancel: 0x95be20
[xerox_mfp] sane_xerox_mfp_close: 0x95be20 (libusb:002:008)
[xerox_mfp] usb_dev_close: closing dev 0x95be20
[xerox_mfp] :: dev_command(ABORT[0x6], 32)
[xerox_mfp] usb_dev_request: sanei_usb_write_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
[xerox_mfp] dev_stop: 0x95be20, scanning 1, reserved 1
[xerox_mfp] :: dev_command(RELEASE_UNIT[0x17], 32)
[xerox_mfp] usb_dev_request: sanei_usb_write_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
[xerox_mfp] total image 0*1734 size 0 (win 10207*14039), 0*0 0 data: 0, 
out 0 bytes

The scanner starts making noises for a while saying "scanning .." in 
German and then displays a short error message and goes to initialize 
itself. On subsequent scans it might just hang and I need to reset the 
mfp.

The displayed error message is
PCS_Parser.c 20
55 cpcs



-- 
www.intevation.de/~bernhard (CEO)    www.fsfe.org (Founding GA Member)
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20160323/e10e9c2e/attachment-0001.sig>


More information about the sane-devel mailing list