Scanner is correctly identified but scan fails with "sane_start: Invalid argument" as root, and rebooting the computer sometimes makes things work, sometimes not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sane-backends (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
OS/Kernel: Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-80-generic x86_64)
Scanner: Epson Stylus Office BX305FW, USB 2.0, id 0x04b8/0x0863
SANE: libsane_
Epson IScan: iscan_2.30.1-1, iscan-data_1.36.0-1 (latest versions, 2015-03-23)
The scanner is correctly identified, when logged in as root:
# sane-find-scanner
found USB scanner (vendor=0x04b8, product=0x0863) at libusb:001:004
# lsusb
Bus 001 Device 004: ID 04b8:0863 Seiko Epson Corp.
# scanimage -L
device `epkowa:
But scan fails with "scanimage: sane_start: Invalid argument" (scanimage frontend) or "Échec de la numérisation: Impossible de démarrer la numérisation" (simple-scan frontend):
# scanimage -d epkowa:usb:001:004 -v -T
scanimage: sane_start: Invalid argument
The permissions of the device seem nominal:
# ls -l /dev/bus/
crw-rw-r--+ 1 root lp 189, 1 avril 9 12:32 /dev/bus/
And the following line is present in /lib/udev/
ATTRS{
When this problems appears, it stays so for the whole session, but rebooting the computer sometimes makes the problem go away, sometimes not. The only thing I can see that a reboot changes is the USB device ID, all the rest stays the same in the previous commands output.
For instance right now the USB device ID was 001:004 and scan wasn't working, I rebooted and it's 001:002 and scan is working. I don't know if it is relevant, I don't understand what is causing the problem, and I don't know how to investigate further.
SANE support for this scanner with external backend epkowa is normally complete, and everything runs smoothly on the reboots when the problem does not appear. Any help is appreciated. Should I report the bug upstream, or against a different package, perhaps a USB-related or boot-related one?
Changed in sane-backends (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Incomplete |
Changed in sane-backends (Ubuntu): | |
status: | Incomplete → Invalid |
I forgot to mention, but when this problems appears, unplugging and replugging the scanner (or switching it off and on) does not make the problem go away, as far as I have noticed. Only rebooting sometimes make things work.
Updated SANE from 1.0.22 (-7ubuntu1) to 1.0.25 (-git20150516- precise0) using Rolf Bensch's PPA (daily git snapshots, https:/ /launchpad. net/~rolfbensch /+archive/ ubuntu/ sane-git). Now scanimage also reports an epson2 scanner besides the epkowa scanner. I believe this is because support for Epson Stylus Office BX305FW has been added in backend epson2 in SANE 1.0.25, according to the lists of supported devices available on the SANE website. Epson IScan has not changed, same version as reported.
The reported behavior is still present (and still only on some boots, as reported).