[sane-devel] MacOSX 10.3.2 and Fujitsu fi-4120C

avv.GiovanniRocchi avv.GiovanniRocchi
Fri, 26 Dec 2003 14:29:31 +0100


Il giorno 24/dic/03, alle 18:25, m. allan noah ha scritto:

Thank you all,

> giovanni- do you have the ability to do compilations on your box? are 
> you
> able to work with me to convert the fujitsu backend to work with
> threading?

Allan: I'm able to compile on my box and I would be proud to work with 
you, but I only know a little bit about programming, so I can't be of 
any help. Sorry.

>> Can you enable debugging for fujitsu also? It's easier to understand
>> if the fujitsu messages are also enabled.

Henning: I enabled debugging for fujitsu backend. That's the output:

PB17:/usr/local/bin grocchi$ ./scanimage > ~grocchi/test.pnm
[sanei_debug] Setting debug level of fujitsu to 255.
[fujitsu] sane_init
[sanei_debug] Setting debug level of sanei_usb to 255.
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 024
usb_os_find_busses: Found 025
usb_os_find_busses: Found 026
usb_os_find_devices: Found 001 on 024
usb_os_find_devices: Found 002 on 024
usb_os_open: 04c5:1041
usb_os_open: device opened
usb_control_msg: 128 6 512 0 0xbfffe9b8 8 1000
usb_control_msg: 128 6 512 0 0x500a00 32 1000
usb_os_close: 04c5:1041
usb_os_open: 05ac:8005
USB error: usb_os_open: Another process already has exclusive access to 
the device.
usb_os_find_devices: Found 001 on 025
usb_os_open: 05ac:8005
USB error: usb_os_open: Another process already has exclusive access to 
the device.
usb_os_find_devices: Found 001 on 026
usb_os_find_devices: Found 002 on 026
usb_os_open: 05ac:8203
USB error: usb_os_open: Another process already has exclusive access to 
the device.
usb_os_open: 05ac:8005
USB error: usb_os_open: Another process already has exclusive access to 
the device.
[sanei_usb] sanei_usb_init: device 0x05ac/0x8005 is not configured
[sanei_usb] sanei_usb_init: found libusb device (0x04c5/0x1041) 
interface 0  at libusb:024:002
[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_init: device 0x05ac/0x8203 is not configured
[sanei_usb] sanei_usb_init: found 1 devices
[fujitsu] sane_init: reading config file fujitsu.conf
[sanei_usb] sanei_usb_find_devices: vendor=0x04c5, product=0x1042
[sanei_usb] sanei_usb_find_devices: vendor=0x04c5, product=0x1041
[fujitsu] attach_scanner: libusb:024:002
[fujitsu] attach_scanner: opening libusb:024:002
[fujitsu] attachScanner opening USB device
[sanei_usb] sanei_usb_open: trying to open device `libusb:024:002'
usb_os_open: 04c5:1041
usb_os_open: device opened
usb_set_configuration: called for config 1
Interface 0 of device is 0x0
claim_interface: No interface found; selecting configuration
claim_interface: device has 1 configuration
claim_interface: configuration value is 1
claim_interface: Interface 0 of device is 0xe73
claim_interface: Interface 0 of device from QueryInterface is 0x5009c0
usb_claim_interface: called for interface 0
Interface 0 of device is 0x0
claim_interface: No interface found; selecting configuration
claim_interface: device has 1 configuration
claim_interface: configuration value is 1
claim_interface: Interface 0 of device is 0x1303
claim_interface: Interface 0 of device from QueryInterface is 0x501f20
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 1)
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 2)
[sanei_usb] sanei_usb_open: opened usb device `libusb:024:002' (*dn=0)
[fujitsu] current version
[fujitsu] identify_scanner
[fujitsu] do_inquiry
[fujitsu] inquiry
[fujitsu] 000: 12 00 00 00 60 00
[fujitsu] try inquiry 0
[fujitsu] <cmd<
[fujitsu] 000: 12 00 00 00 60 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 12 00 00 00 60 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 12 00 00 00 60 00 00 00 00 00 00 00    
.......`........
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] try to read 96 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 96 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=96 timeout=30.000000sec
[sanei_usb] 0000: 06 00 02 02 5B 00 00 10 46 55 4A 49 54 53 55 20 
....[...FUJITSU
[sanei_usb] 0010: 66 69 2D 34 31 32 30 43 64 6A 20 20 20 20 20 20 
fi-4120Cdj
[sanei_usb] 0020: 30 4B 30 30 00 00 00 00 00 00 00 00 03 00 00 00 
0K00............
[sanei_usb] 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
................
[sanei_usb] 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
................
[sanei_usb] 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
................
[sanei_usb] sanei_usb_read_bulk: wanted 96 bytes, got 96 bytes
[fujitsu] read 96 bytes
[fujitsu] *** Data read:
[fujitsu] 000: 06 00 02 02 5b 00 00 10 46 55 4a 49 54 53 55 20
[fujitsu] 010: 66 69 2d 34 31 32 30 43 64 6a 20 20 20 20 20 20
[fujitsu] 020: 30 4b 30 30 00 00 00 00 00 00 00 00 03 00 00 00
[fujitsu] 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 96 bytes:
[fujitsu] >rslt>
[fujitsu] 000: 06 00 02 02 5b 00 00 10 46 55 4a 49 54 53 55 20
[fujitsu] 010: 66 69 2d 34 31 32 30 43 64 6a 20 20 20 20 20 20
[fujitsu] 020: 30 4b 30 30 00 00 00 00 00 00 00 00 03 00 00 00
[fujitsu] 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] Found FUJITSU scanner fi-4120Cdj version 0K00 on device 
libusb:024:002, treating as fi-4x20
[fujitsu] get_vital_product_data
[fujitsu] get_vital_product_data
[fujitsu] 000: 12 01 f0 00 64 00
[fujitsu] <cmd<
[fujitsu] 000: 12 01 f0 00 64 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 12 01 f0 00 64 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 12 01 F0 00 64 00 00 00 00 00 00 00    
.......d........
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] try to read 100 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 100 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=100 timeout=30.000000sec
[sanei_usb] 0000: 06 F0 02 00 5F 02 58 02 58 11 02 58 02 58 00 32 
...._.X.X..X.X.2
[sanei_usb] 0010: 00 32 FF FC 00 00 13 EC 00 00 41 A0 8F 00 00 00 
.2........A.....
[sanei_usb] 0020: 92 0A 01 00 00 00 00 00 EF BF 00 04 00 00 00 00 
................
[sanei_usb] 0030: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
................
[sanei_usb] 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
................
[sanei_usb] 0050: 00 00 00 FF 00 00 41 01 A8 40 08 00 00 00 00 00 
......A..@......
[sanei_usb] 0060: 00 00 00 00                                     
................
[sanei_usb] sanei_usb_read_bulk: wanted 100 bytes, got 100 bytes
[fujitsu] read 100 bytes
[fujitsu] *** Data read:
[fujitsu] 000: 06 f0 02 00 5f 02 58 02 58 11 02 58 02 58 00 32
[fujitsu] 010: 00 32 ff fc 00 00 13 ec 00 00 41 a0 8f 00 00 00
[fujitsu] 020: 92 0a 01 00 00 00 00 00 ef bf 00 04 00 00 00 00
[fujitsu] 030: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 050: 00 00 00 ff 00 00 41 01 a8 40 08 00 00 00 00 00
[fujitsu] 060: 00 00 00 00
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 100 bytes:
[fujitsu] >rslt>
[fujitsu] 000: 06 f0 02 00 5f 02 58 02 58 11 02 58 02 58 00 32
[fujitsu] 010: 00 32 ff fc 00 00 13 ec 00 00 41 a0 8f 00 00 00
[fujitsu] 020: 92 0a 01 00 00 00 00 00 ef bf 00 04 00 00 00 00
[fujitsu] 030: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 050: 00 00 00 ff 00 00 41 01 a8 40 08 00 00 00 00 00
[fujitsu] standard options
[fujitsu]   basic x res: 600 dpi
[fujitsu]   basic y res: 600 dpi
[fujitsu]   step x res 1 dpi
[fujitsu]   step y res 1 dpi
[fujitsu]   max x res 600 dpi
[fujitsu]   max y res 600 dpi
[fujitsu]   min x res 50 dpi
[fujitsu]   max y res 50 dpi
[fujitsu]   window width 21.59 cm
[fujitsu]   window length 71.12 cm
[fujitsu] functions:
[fujitsu]    binary scanning: 1
[fujitsu]    gray scanning: 1
[fujitsu]    half-tone scanning: 1
[fujitsu]    color binary scanning: 0
[fujitsu]    color scanning: 1
[fujitsu]    color half-tone scanning: 0
[fujitsu] image memory: 16777216 bytes
[fujitsu] physical functions:
[fujitsu]    operator panel 1
[fujitsu]    barcode 0
[fujitsu]    endorser 0
[fujitsu]    duplex 1
[fujitsu]    flatbed 0
[fujitsu]    adf 1
[fujitsu] image control functions:
[fujitsu]    brightness steps: 0
[fujitsu]    threshold steps: 255
[fujitsu]    contrast steps: 0
[fujitsu]    number of build in gamma patterns: 0
[fujitsu]    number of download gamma patterns: 1
[fujitsu] compression processing functions:
[fujitsu]    compression MR: 0
[fujitsu]    compression MR: 0
[fujitsu]    compression MMR: 0
[fujitsu]    compression JBIG: 0
[fujitsu]    compression JPG1: 1
[fujitsu]    compression JPG2: 0
[fujitsu]    compression JPG3: 0
[fujitsu] image processing functions:
[fujitsu]    black and white reverse: 1
[fujitsu]    automatic binary DTC: 0
[fujitsu]    simplified DTC: 1
[fujitsu]    autline extraction: 0
[fujitsu]    image emphasis: 1
[fujitsu]    automatic separation: 0
[fujitsu]    mirror image: 0
[fujitsu]    white level follower: 0
[fujitsu]

[fujitsu] range: 14149222 46609203
[fujitsu]       ADF: present
[fujitsu]       Duplex Unit: present
[fujitsu]       Duplex Raster Offset: 0
[fujitsu]       Color Raster Offset: 0
[sanei_usb] sanei_usb_close: closing device 0
usb_os_close: 04c5:1041
[fujitsu] attach_scanner: done
[fujitsu] sane_get_devices 0
[fujitsu] sane_open: device libusb:024:002 requested
[fujitsu] sane_open: device libusb:024:002 found
[fujitsu] init_options
[fujitsu] init_options:ok
[fujitsu] calculateDerivedValues
[fujitsu]       top_margin: 0
[fujitsu]       left_margin: 0
[fujitsu]       scan_width: 0
[fujitsu]       scan_height: 0
[fujitsu] calculateDerivedValues: ok
[fujitsu] sane_control_option: get value "filler"
[fujitsu]       cap = 4
[fujitsu] sane_control_option: get value "filler"
[fujitsu]       cap = 4
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "source"
[fujitsu] sane_get_option_descriptor: "mode"
[fujitsu] sane_get_option_descriptor: "duplex"
[fujitsu] sane_get_option_descriptor: "resolution"
[fujitsu] sane_get_option_descriptor: "y-resolution"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "tl-x"
[fujitsu] sane_get_option_descriptor: "tl-y"
[fujitsu] sane_get_option_descriptor: "br-x"
[fujitsu] sane_control_option: get value "br-x"
[fujitsu]       cap = 5
[fujitsu] sane_get_option_descriptor: "br-y"
[fujitsu] sane_control_option: get value "br-y"
[fujitsu]       cap = 5
[fujitsu] sane_get_option_descriptor: "pagewidth"
[fujitsu] sane_get_option_descriptor: "pageheight"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "averaging"
[fujitsu] sane_get_option_descriptor: "brightness"
[fujitsu] sane_get_option_descriptor: "threshold"
[fujitsu] sane_get_option_descriptor: "contrast"
[fujitsu] sane_get_option_descriptor: "rif"
[fujitsu] sane_get_option_descriptor: "compression"
[fujitsu] sane_get_option_descriptor: "dtcselection"
[fujitsu] sane_get_option_descriptor: "gamma"
[fujitsu] sane_get_option_descriptor: "outline"
[fujitsu] sane_get_option_descriptor: "emphasis"
[fujitsu] sane_get_option_descriptor: "autoseparation"
[fujitsu] sane_get_option_descriptor: "mirroring"
[fujitsu] sane_get_option_descriptor: "variancerate"
[fujitsu] sane_get_option_descriptor: "thresholdcurve"
[fujitsu] sane_get_option_descriptor: "gradation"
[fujitsu] sane_get_option_descriptor: "smoothingmode"
[fujitsu] sane_get_option_descriptor: "filtering"
[fujitsu] sane_get_option_descriptor: "background"
[fujitsu] sane_get_option_descriptor: "noiseremoval"
[fujitsu] sane_get_option_descriptor: "matrix2x2"
[fujitsu] sane_get_option_descriptor: "matrix3x3"
[fujitsu] sane_get_option_descriptor: "matrix4x4"
[fujitsu] sane_get_option_descriptor: "matrix5x5"
[fujitsu] sane_get_option_descriptor: "whitelevelfollow"
[fujitsu] sane_get_option_descriptor: "papersize"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "orientation"
[fujitsu] sane_get_option_descriptor: "dropoutcolor"
[fujitsu] sane_get_option_descriptor: "startbutton"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "lampcolor"
[fujitsu] sane_get_option_descriptor: "blueoffset"
[fujitsu] sane_get_option_descriptor: "greenoffset"
[fujitsu] sane_get_option_descriptor: "swapfile"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "sleeptimer"
[fujitsu] sane_control_option: get value "tl-x"
[fujitsu]       cap = 5
[fujitsu] sane_control_option: get value "tl-y"
[fujitsu]       cap = 5
[fujitsu] sane_control_option: get value "tl-x"
[fujitsu]       cap = 5
[fujitsu] sane_get_option_descriptor: "br-x"
[fujitsu] sane_control_option: set value "br-x"
[fujitsu] calculateDerivedValues
[fujitsu]       top_margin: 0
[fujitsu]       left_margin: 0
[fujitsu]       scan_width: 10157
[fujitsu]       scan_height: 14031
[fujitsu] calculateDerivedValues: ok
scanimage: rounded value of br-x from 215 to 215.004
[fujitsu] sane_control_option: get value "tl-y"
[fujitsu]       cap = 5
[fujitsu] sane_get_option_descriptor: "br-y"
[fujitsu] sane_control_option: set value "br-y"
[fujitsu] calculateDerivedValues
[fujitsu]       top_margin: 0
[fujitsu]       left_margin: 0
[fujitsu]       scan_width: 10157
[fujitsu]       scan_height: 14031
[fujitsu] calculateDerivedValues: ok
scanimage: rounded value of br-y from 297 to 296.994
[fujitsu] sane_start
[fujitsu]       object_count = 0
[fujitsu]       duplex_mode = DUPLEX_FRONT
[fujitsu]       use_temp_file = no
[fujitsu] sane_start opening USB device
[sanei_usb] sanei_usb_open: trying to open device `libusb:024:002'
usb_os_open: 04c5:1041
usb_os_open: device opened
usb_set_configuration: called for config 1
Interface 0 of device is 0x0
claim_interface: No interface found; selecting configuration
claim_interface: device has 1 configuration
claim_interface: configuration value is 1
claim_interface: Interface 0 of device is 0x130b
claim_interface: Interface 0 of device from QueryInterface is 0x5022f0
usb_claim_interface: called for interface 0
Interface 0 of device is 0x0
claim_interface: No interface found; selecting configuration
claim_interface: device has 1 configuration
claim_interface: configuration value is 1
claim_interface: Interface 0 of device is 0x1903
claim_interface: Interface 0 of device from QueryInterface is 0x502b30
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 1)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint 
(address: 129), ignoring the new one
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 2)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint 
(address: 2), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:024:002' (*dn=0)
[fujitsu] grab_scanner
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner: ok
[fujitsu] reserve_unit
[fujitsu] 000: 16 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 16 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] grab_scanner: ok
[fujitsu] mode_select
[fujitsu] 000: 15 10 00 00 0c 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 34 06 0f 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 15 10 00 00 0c 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 34 06 0f 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 15 10 00 00 0c 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 15 10 00 00 0C 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 00 00 00 00 34 06 0f 00 00 00 00 00
[fujitsu] try to write 12 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 12 bytes
[sanei_usb] 0000: 00 00 00 00 34 06 0F 00 00 00 00 00             
....4...........
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=12 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 12 bytes, wrote 12 bytes
[fujitsu] wrote 12 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] set_sleep_mode: ok
[fujitsu] set_mode_params
[fujitsu] mode_select
[fujitsu] 000: 15 10 00 00 0e 00 00 00 00 00 39 08 00 00 00 00
[fujitsu] 010: 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 15 10 00 00 0e 00 00 00 00 00 39 08 00 00 00 00
[fujitsu] 010: 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 15 10 00 00 0e 00 00 00 00 00 39 08
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 15 10 00 00 0E 00 00 00 00 00 39 08    
.............9..
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 00 00 00 00 00 00 00 00
[fujitsu] try to write 8 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 8 bytes
[sanei_usb] 0000: 00 00 00 00 00 00 00 00                         
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=8 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 8 bytes, wrote 8 bytes
[fujitsu] wrote 8 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 02 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 02 00 00 00
[fujitsu] Got bad status: 02 op_code=15 ret=0 req_out_len=0 ol=0
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] <cmd<
[fujitsu] 000: 03 00 00 00 12 00 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 03 00 00 00 12 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 03 00 00 00 12 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] try to read 18 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 18 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=18 timeout=30.000000sec
[sanei_usb] 0000: F0 00 45 00 00 00 00 0A 00 00 00 00 26 00 00 80 
..E.........&...
[sanei_usb] 0010: 00 05                                           
................
[sanei_usb] sanei_usb_read_bulk: wanted 18 bytes, got 18 bytes
[fujitsu] read 18 bytes
[fujitsu] *** Data read:
[fujitsu] 000: f0 00 45 00 00 00 00 0a 00 00 00 00 26 00 00 80
[fujitsu] 010: 00 05
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 18 bytes:
[fujitsu] >rslt>
[fujitsu] 000: f0 00 45 00 00 00 00 0a 00 00 00 00 26 00 00 80
[fujitsu] 010: 00 05
[fujitsu]       5/38/0: Invalid field in parm list
[fujitsu] offending byte is 5. (Byte fffffffd in window descriptor 
block)
[fujitsu] sane_start: ERROR: failed to set mode
[fujitsu] send
[fujitsu] send: ok
[fujitsu] object_position: load
[fujitsu] object_position
[fujitsu] 000: 31 01 00 00 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 31 01 00 00 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 31 01 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 31 01 00 00 00 00 00 00 00 00 00 00    
...1............
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner: ok
[fujitsu] object_position: ok
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner: ok
[fujitsu] set_window_param
[fujitsu] Window set
[fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 27 ad 00 00 36 cf 00 00 00 05 08 00 00 00 00 00
[fujitsu] 020: 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00
[fujitsu] 030: 20 00 00 00 00 c0 00 00 27 ad 00 00 36 cf 00 00
[fujitsu] <cmd<
[fujitsu] 000: 24 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 40 00 00 01 2c 01 2c 00 00 00 00 00 00
[fujitsu] 020: 00 00 00 00 27 ad 00 00 36 cf 00 00 00 05 08 00
[fujitsu] 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00
[fujitsu] 040: 00 00 00 00 20 00 00 00 00 c0 00 00 27 ad 00 00
[fujitsu] 050: 36 cf 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 24 00 00 00 00 00 00 00 48 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 24 00 00 00 00 00 00 00 48 00 00 00    
...$.......H....
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 00 00 00 00 00 00 00 40 00 00 01 2c 01 2c 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 27 ad 00 00 36 cf 00 00
[fujitsu] 020: 00 05 08 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 030: 00 80 00 00 00 00 00 00 20 00 00 00 00 c0 00 00
[fujitsu] try to write 64 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 64 bytes
[sanei_usb] 0000: 00 00 00 00 00 00 00 40 00 00 01 2C 01 2C 00 00 
.......@...,.,..
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 27 AD 00 00 36 CF 00 00 
........'...6...
[sanei_usb] 0020: 00 05 08 00 00 00 00 00 00 00 00 00 00 00 00 00 
................
[sanei_usb] 0030: 00 80 00 00 00 00 00 00 20 00 00 00 00 C0 00 00 
........ .......
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=64 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 64 bytes, wrote 64 bytes
[fujitsu] wrote 64 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 27 ad 00 00 36 cf 00 00
[fujitsu] try to write 8 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 8 bytes
[sanei_usb] 0000: 27 AD 00 00 36 CF 00 00                         
'...6...........
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=8 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 8 bytes, wrote 8 bytes
[fujitsu] wrote 8 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] set_window_param: ok
[fujitsu] calculateDerivedValues
[fujitsu]       top_margin: 0
[fujitsu]       left_margin: 0
[fujitsu]       scan_width: 10157
[fujitsu]       scan_height: 14031
[fujitsu] calculateDerivedValues: ok
[fujitsu]       bytes per line = 7617
[fujitsu]       pixels_per_line = 2539
[fujitsu]       lines = 3507
[fujitsu]       brightness (halftone) = 0
[fujitsu]       threshold (line art) = 0
[fujitsu] start_scan
[fujitsu] start_scan
[fujitsu] 000: 1b 00 00 00 01 00 00
[fujitsu] <cmd<
[fujitsu] 000: 1b 00 00 00 01 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 1B 00 00 00 01 00 00 00 00 00 00 00    
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=31 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 00
[fujitsu] try to write 1 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 1 bytes
[sanei_usb] 0000: 00                                              
................
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: Pipe 2: DIR: 0 number: 2
ep_to_pipeRef: pipeRef for ep address 0x02 found: 0x02
usb_bulk_write: endpoint=0x02 size=1 TO=30000
write completed
[sanei_usb] sanei_usb_write_bulk: wanted 1 bytes, wrote 1 bytes
[fujitsu] wrote 1 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] start_scan:ok
[fujitsu] sane_start: ok
[fujitsu] sane_get_parameters
[fujitsu] calculateDerivedValues
[fujitsu]       top_margin: 0
[fujitsu]       left_margin: 0
[fujitsu]       scan_width: 10157
[fujitsu]       scan_height: 14031
[fujitsu] calculateDerivedValues: ok
[fujitsu]       depth 8
[fujitsu]       lines 3507
[fujitsu]       pixels_per_line 2539
[fujitsu]       bytes_per_line 7617
[fujitsu] sane_read, object_count=1
[fujitsu] reader_process started
[fujitsu] reader_process: starting to READ data
[fujitsu] reader_process: read 30468 bytes from front side
[fujitsu] read_large_data_block requested 30468 bytes
[fujitsu] <cmd<
[fujitsu] 000: 28 00 00 00 00 00 00 77 04 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 28 00 00 00 00 00 00 77 04 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 28 00 00 00 00 00 00 77 04 00 00 00    
...(......w.....
Converting ep address to pipeRef.
ep_to_pipeRef: an error occurred getting pipe information on pipe 1
ep_to_pipeRef: No connection to IOService
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or 
directory
USB error: usb_clear_halt: error clearing pipe stall
[fujitsu] wrote 0 bytes
[fujitsu] *** Got error 9 trying to write
[fujitsu] read failed; retry 1
[fujitsu] <cmd<
[fujitsu] 000: 28 00 00 00 00 00 00 77 04 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 28 00 00 00 00 00 00 77 04 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C...............
[sanei_usb] 0010: 00 00 00 28 00 00 00 00 00 00 77 04 00 00 00    
...(......w.....
Converting ep address to pipeRef.
ep_to_pipeRef: interface is 502b30
USB error: ep_to_pipeRef: can't get number of endpoints for interface
usb_bulk_write: endpoint=0x02 size=31 TO=30000

**
Here the process seems to "hang". After ctrl-c I have:
**

[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[sanei_usb] sanei_usb_read_bulk: trying to read 13 bytes
usb_bulk_read: ep addr = 0x81
Converting ep address to pipeRef.
ep_to_pipeRef: Pipe 1: DIR: 1 number: 1
ep_to_pipeRef: pipeRef for ep address 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=13 timeout=30.000000sec
[sanei_usb] 0000: 53 00 00 00 00 00 00 00 00 00 00 00 00          
S...............
[sanei_usb] sanei_usb_read_bulk: wanted 13 bytes, got 13 bytes
[fujitsu] *** Read CSW
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] free_scanner: ok
[fujitsu] do_cancel: close filedescriptor
[sanei_usb] sanei_usb_close: closing device 0
usb_os_close: 04c5:1041
[fujitsu] sane_read: read 0 bytes of 32768
[fujitsu] sane_read: pipe closed
[fujitsu] sane_cancel
[fujitsu] do_cancel
[fujitsu] sane_close
[fujitsu] sane_exit


Bye,

Giovanni