[sane-devel] Fujitsu S1300 - sane-find-scanner works - scanimage works once

m. allan noah kitno455 at gmail.com
Sat Jan 31 18:44:14 UTC 2015


I patched sane's USB support library a couple months ago to address
this issue. Please upgrade to Rolf's PPA, or build sane-backends from
source yourself.

sudo add-apt-repository ppa:rolfbensch/sane-git

allan

On Sat, Jan 31, 2015 at 1:17 PM, Todd Blumer <toddmblumer at gmail.com> wrote:
> I've got a Fujitsu S1300 connected to a laptop running Ubuntu 14.04 64-bit
> (have also tried in the past to resolve this same problem under Ubuntu 12.10
> 32-bit same computer). Every thing seems to be installed properly (drivers,
> user permissions, etc.) per instructions found all over the internet.
> Symptoms basically boil down to this:
>
> 1) sane-find-scanner works every time, always finds the scanner
>
> 2) scanimage -L works once after USB has been plugged in, then fails during
> repeated attempts
>
> I've seen this behavior described all over the internet (including in the
> sane-devel lists) for various devices using the sane back end, but have
> failed to find a valid solution, or at least one that actually fixes the
> problem for me.
>
> Suggestions I've tried:
> 1) I don't have a USB hub to remove from the system.
> 2) All USB ports on computer display same behavior, 2.0 and 3.0
> 3) I don't have the option in my BIOS to "Disable USB 3.0", my options look
> like ([ ] marks current setting):
> USB Configuration:
>      Legacy USB Support
>           [Enabled]
>           Disabled
>           Auto
>      XHCI Pre-boot Mode
>           [Smart Auto]
>           Enabled
> 4) Setting GRUB_CMDLINE_LINUX="usbcore.autosuspend=-1" in /etc/default/grub
> (and rebooting) had no effect
>
> Things I've learned:
> 1) This scanner works properly on this computer when accessed via Windows 7
> running in Virtualbox (in Ubuntu 14.04).
> 2) Running SANE_DEBUG_EPJITSU=20 scanimage -L: First time of course works.
> Second time, when it fails to find the scanner, the diff in the output
> between first and second attempt start to diverge at a line (from the
> second's) that says: "[epjitsu] in: return error 'Error during device I/O'"
> I've included that output below.
>
> Any suggestions? I've spent countless hours researching and trying things at
> different times over the last couple of years. Its my last chain to that
> other operating system, I'd really like to cut it.
>
> (first attempt after plugging in scanner USB)
> ~$ SANE_DEBUG_EPJITSU=20 scanimage -L
> [sanei_debug] Setting debug level of epjitsu to 20.
> [epjitsu] sane_init: start
> [epjitsu] sane_init: epjitsu backend 1.0.20, from sane-backends 1.0.23
> [epjitsu] sane_init: finish
> [epjitsu] sane_get_devices: start
> [epjitsu] sane_get_devices: reading config file epjitsu.conf
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/60f_0A00.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x10c7'
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300_0C00.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x1156'
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300M_0C00.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x117f'
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/1300_0C26.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11ed'
> [epjitsu] attach_one: start 'libusb:003:003'
> [epjitsu] attach_one: init struct
> [epjitsu] attach_one: connect fd
> [epjitsu] connect_fd: start
> [epjitsu] connect_fd: opening USB device
> [epjitsu] connect_fd: finish
> [epjitsu] load_fw: start
> [epjitsu] get_stat: start
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] load_fw: read firmware file /usr/share/sane/epjitsu/1300_0C26.nal
> ok
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] get_stat: start
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] get_ident: start
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] get_ident: finish
> [epjitsu] attach_one: Found FUJITSU scanner ScanSnap S1300 at libusb:003:003
> [epjitsu] attach_one: Found S300/S1300
> [epjitsu] get_stat: start
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] attach_one: init options
> [epjitsu] attach_one: init settings
> [epjitsu] change_params: start
> [epjitsu] change_params: finish
> [epjitsu] disconnect_fd: start
> [epjitsu] disconnecting usb device
> [epjitsu] disconnect_fd: finish
> [epjitsu] attach_one: finish
> [epjitsu] sane_get_devices: found scanner libusb:003:003
> [epjitsu] sane_get_devices: found 1 scanner(s)
> [epjitsu] sane_get_devices: finish
> device `epjitsu:libusb:003:003' is a FUJITSU ScanSnap S1300 scanner
> [epjitsu] sane_exit: start
> [epjitsu] destroy: start
> [epjitsu] teardown_buffers: start
> [epjitsu] teardown_buffers: finish
> [epjitsu] destroy: finish
> [epjitsu] sane_exit: finish
> ~$
>
> (Second attempt after plugging scanner USB)
> ~$ SANE_DEBUG_EPJITSU=20 scanimage -L
> [sanei_debug] Setting debug level of epjitsu to 20.
> [epjitsu] sane_init: start
> [epjitsu] sane_init: epjitsu backend 1.0.20, from sane-backends 1.0.23
> [epjitsu] sane_init: finish
> [epjitsu] sane_get_devices: start
> [epjitsu] sane_get_devices: reading config file epjitsu.conf
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/60f_0A00.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x10c7'
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300_0C00.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x1156'
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300M_0C00.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x117f'
> [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/1300_0C26.nal'
> [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11ed'
> [epjitsu] attach_one: start 'libusb:003:003'
> [epjitsu] attach_one: init struct
> [epjitsu] attach_one: connect fd
> [epjitsu] connect_fd: start
> [epjitsu] connect_fd: opening USB device
> [epjitsu] connect_fd: finish
> [epjitsu] load_fw: start
> [epjitsu] get_stat: start
> [epjitsu] do_cmd: start
> [epjitsu] in: return error 'Error during device I/O'
> [epjitsu] get_stat: error checking status
> [epjitsu] load_fw: read firmware file /usr/share/sane/epjitsu/1300_0C26.nal
> ok
> [epjitsu] do_cmd: start
> [epjitsu] do_cmd: finish
> [epjitsu] load_fw: bad stat on cmd 1
> [epjitsu] destroy: start
> [epjitsu] teardown_buffers: start
> [epjitsu] teardown_buffers: finish
> [epjitsu] destroy: finish
> [epjitsu] attach_one: firmware load failed
> [epjitsu] sane_get_devices: found 0 scanner(s)
> [epjitsu] sane_get_devices: finish
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
> [epjitsu] sane_exit: start
> [epjitsu] sane_exit: finish
> ~$
>
>
> --
> 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