[sane-devel] ScanSnap 1300i: Error during device I/O

m. allan noah kitno455 at gmail.com
Mon Feb 2 20:00:23 UTC 2015


I assume your usb ports are controlled by the xhci_hcd driver. This
driver behaves differently from the older ehci_hcd driver, and
requires a patch to sane-backends. If you build our development
version from git, you will have this patch, and the scanner should
work.

allan

On Mon, Feb 2, 2015 at 2:35 PM, Laurent Charrière <lcharriere at gmail.com> wrote:
> Hi,
>
> Gavin Carr at http://www.openfusion.net/linux/scansnap_1300i reports that he
> was able to get his Fujitsu ScanSnap 1300i ADF scanner to work with SANE on
> Centos 6.
>
> I tried to do the same things he did (update /etc/sane.d/epjitsu.conf, add a
> udev rule) on Fedora 20 and 21, but I'm running into an "Error during device
> I/O":
>
> * sane-find-scanners finds the scanner
> found USB scanner (vendor=0x04c5 [FUJITSU], product=0x128d [ScanSnap
> S1300i]) at libusb:002:003
>
> * scanimage -L sees it:
> device `epjitsu:libusb:002:003' is a FUJITSU ScanSnap S1300i scanner
>
> * scanimage -d epjitsu:libusb:002:003 --format=tiff >image.tiff
> scanimage: sane_start: Error during device I/O
>
> (If the sheet is not engaged in the ADF, the above command causes the
> scanner to start feeding it, as it does on a Mac).
>
> * Trying to use the Centos 6 binaries and libraries on Fedora 20 yields the
> same I/O error on Fedora 20. On Fedora 21, I get scanimage: open of device
> epjitsu:libusb:002:003 failed: Invalid argument.
>
> Setting SANE_DEBUG_FUJITSU to 35 and SANE_DEBUG_SANEI_USB to 128, the
> following is the last few lines of the output I get:
> [sanei_usb] 000 1B D2                                           ..
> [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_read_bulk: trying to read 24584 bytes
> [sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
> scanimage: sane_start: Error during device I/O
> [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 15                                              .
> [sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
> [sanei_usb] sanei_usb_close: closing device 0
>
> dmesg says the following about the scanner:
> [ 3775.121145] usb 2-1.1: new high-speed USB device number 3 using ehci-pci
> [ 3775.209209] usb 2-1.1: New USB device found, idVendor=04c5,
> idProduct=128d
> [ 3775.209214] usb 2-1.1: New USB device strings: Mfr=1, Product=2,
> SerialNumber=0
> [ 3775.209217] usb 2-1.1: Product: ScanSnap S1300i
> [ 3775.209220] usb 2-1.1: Manufacturer: FUJITSU
>
> (I'm including the dmesg snippet because Gavin's dmesg reports that the
> device is using ehci_hcd).
>
> The device is connected to a Lenovo Thinkpad T410. I tried two different USB
> ports with the same result. The device works fine when connected to a Mac.
> The Thinkpad USB ports work fine otherwise.
>
> Does anybody have any suggestions as to the next steps I can take to
> investigate this?
>
> Thanks,
>
> Laurent
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request at lists.alioth.debian.org



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list