[sane-devel] MacOSX 10.3.2 and Fujitsu fi-4120C
avv. Giovanni Rocchi
grocchi at studiolegalegrassi.it
Wed Dec 24 13:52:10 GMT 2003
Hi,
after posted here my problem this morning I set SANE_DEBUG_SANEI_USB to
255.
Running scanimage -L I have this:
> PB17:/usr/local/bin grocchi$ ./scanimage -L
> [sanei_debug] Setting debug level of fujitsu to 0.
> [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 0x500a20 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
> [sanei_usb] sanei_usb_find_devices: vendor=0x04c5, product=0x1042
> [sanei_usb] sanei_usb_find_devices: vendor=0x04c5, product=0x1041
> [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 0x5009e0
> 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 0x501f40
> [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)
> [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
> [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
> [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
> [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
> [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.. at ......
> [sanei_usb] 0060: 00 00 00 00
> ................
> [sanei_usb] sanei_usb_read_bulk: wanted 100 bytes, got 100 bytes
> [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
> [sanei_usb] sanei_usb_close: closing device 0
> usb_os_close: 04c5:1041
> device `fujitsu:libusb:024:002' is a FUJITSU fi-4120Cdj scanner
trying to scan a page I have this:
> PB17:/usr/local/bin grocchi$ ./scanimage > ~grocchi/test.pnm
> [sanei_debug] Setting debug level of fujitsu to 0.
> [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
> [sanei_usb] sanei_usb_find_devices: vendor=0x04c5, product=0x1042
> [sanei_usb] sanei_usb_find_devices: vendor=0x04c5, product=0x1041
> [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)
> [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
> [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
> [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
> [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
> [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.. at ......
> [sanei_usb] 0060: 00 00 00 00
> ................
> [sanei_usb] sanei_usb_read_bulk: wanted 100 bytes, got 100 bytes
> [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
> [sanei_usb] sanei_usb_close: closing device 0
> usb_os_close: 04c5:1041
> scanimage: rounded value of br-x from 215 to 215.004
> scanimage: rounded value of br-y from 297 to 296.994
> [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)
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> ....... at ...,.,..
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> [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
> ^Cscanimage: received signal 2
> scanimage: trying to stop scanner
> [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 17 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
> [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
> [sanei_usb] sanei_usb_close: closing device 0
> usb_os_close: 04c5:1041
Any idea?
Thank you very much.
Giovanni Rocchi
More information about the sane-devel
mailing list