Yes I am marking this Invalid because the issue hasn't manifested itself
since mid-2015. See comment 3 for more details. Fingers crossed that it
doesn't come back.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1442111

Title:
  Scanner is correctly identified but scan fails with "sane_start:
  Invalid argument" as root, and rebooting the computer sometimes makes
  things work, sometimes not

Status in sane-backends package in Ubuntu:
  Invalid

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_1.0.22-7ubuntu1, libsane-common_1.0.22-7ubuntu1, 
sane-utils_1.0.22-7ubuntu1 (up-to-date 12.04 LTS)
  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:usb:001:004' is a Epson Stylus Office 
BX305F/BX305FW/TX320F/ME OFFICE 620F/WorkForce 320 Series flatbed scanner

  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/usb/001/004
    crw-rw-r--+ 1 root lp 189, 1 avril  9 12:32 /dev/bus/usb/001/004

  And the following line is present in /lib/udev/rules.d/40-iscan.rules:

    ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0863",
  ENV{libsane_matched}="yes"

  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1442111/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to