[sane-devel] ScanSnap S1100 fails with out of memory

Per Dalgas Jakobsen pdj at knaldgas.dk
Sat Jun 9 19:16:58 UTC 2012


Hi

I'm trying to get a Fujitsu ScanSnap S1100 to work on my Debian Wheezy.

Running "scanimage >test.pnm" results in "Out of memory" error.

# SANE_DEBUG_SNAPSCAN=255 scanimage 2>debug.log >test.pnm
---
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] sane_snapscan_get_devices (0x7fff558d43b8, 0)
scanimage: sane_start: Out of memory
[snapscan] sane_snapscan_exit
---

# SANE_DEBUG_SANEI_USB=255 scanimage 2>debug.log >test.pnm
---
...
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:003'
[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: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 
0x81), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint 
(address: 0x02), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0)
scanimage: sane_start: Out of memory
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 000 1B D0                                           ..
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 06                                              .
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 1 bytes
[sanei_usb] 000 00                                              .
[sanei_usb] sanei_usb_write_bulk: wanted 1 bytes, wrote 1 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 06                                              .
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[sanei_usb] sanei_usb_close: closing device 0
---

Any ideas of what may be wrong here, or rather, how to fix it :)

# scanimage -V
scanimage (sane-backends) 1.0.22; backend version 1.0.22

~Per




More information about the sane-devel mailing list