← Back to team overview

kernel-packages team mailing list archive

[Bug 1312594] Re: 14.04 won't detect common USB scanner

 

Found a workaround: 
The error message "rounding interval to 128 microframes, ep desc says 255 microframes" seems to be caused by the xhci driver that handles USB3.0 ports. Using a USB2.0 port works fine. The same happens with some memory sticks and my Epson Perfection V10 scanner. Will go and buy an old USB2.0 hub to see if that solves the problem and look if I can somehow link this bug to the kernel since the problem seems to lie there.

** Also affects: linux-meta (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1312594

Title:
  14.04 won't detect common USB scanner

Status in “linux” package in Ubuntu:
  Confirmed
Status in “sane-backends” package in Ubuntu:
  Confirmed

Bug description:
  My multifunction Samsung SCX3200 printer is not detected by sane, but
  printing is fine. This scanner is faily generic and supported out of
  the box by the Xerox MFP driver (sane default).

  Printer/scanner as seen by the kernel, device 007 : ID 04e8:3441

  --------------------------------------------------------------------------------------------
  $ lsusb
  Bus 002 Device 003: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 002: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
  Bus 003 Device 007: ID 04e8:3441 Samsung Electronics Co., Ltd
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  --------------------------------------------------------------------------------------------

  The IDs are properly set in udev and sane.d configuration:

  --------------------------------------------------------------------------------------------
  $ cat /lib/udev/rules.d/40-libsane.rules | grep 3441
  ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3441", ENV{libsane_matched}="yes"

  $ cat /etc/sane.d/xerox_mfp.conf | grep 3441
  usb 0x04e8 0x3441
  --------------------------------------------------------------------------------------------

  Problem: sane-find-scanner can't find the scanner:

  --------------------------------------------------------------------------------------------
  $ sudo sane-find-scanner -q
  $ (no output)
  $ sudo scanimage -L

  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).
  $
  --------------------------------------------------------------------------------------------

  The kernel module is properly loaded when the printer is connected, no
  blacklisting :

  --------------------------------------------------------------------------------------------
  $ sudo lsmod | grep usblp
  usblp 22891 0

  $ modinfo usblp
  filename: /lib/modules/3.13.0-24-generic/kernel/drivers/usb/class/usblp.ko
  license: GPL
  description: USB Printer Device Class driver
  author: Michael Gee, Pavel Machek, Vojtech Pavlik, Randy Dunlap, Pete Zaitcev, David Paschal
  srcversion: BD8A318D5C286F1E78768B9
  alias: usb:v04B8p0202d*dc*dsc*dp*ic*isc*ip*in*
  alias: usb:v*p*d*dc*dsc*dp*ic07isc01ip03in*
  alias: usb:v*p*d*dc*dsc*dp*ic07isc01ip02in*
  alias: usb:v*p*d*dc*dsc*dp*ic07isc01ip01in*
  alias: usb:v*p*d*dc07dsc01dp03ic*isc*ip*in*
  alias: usb:v*p*d*dc07dsc01dp02ic*isc*ip*in*
  alias: usb:v*p*d*dc07dsc01dp01ic*isc*ip*in*
  depends:
  intree: Y
  vermagic: 3.13.0-24-generic SMP mod_unload modversions
  signer: Magrathea: Glacier signing key
  sig_key: 00:A5:A6:57:59:DE:47:4B:C5:C4:31:20:88:0C:1B:94:A5:39:F4:31
  sig_hashalgo: sha512
  parm: proto_bias:Favourite protocol number (int)
  --------------------------------------------------------------------------------------------

  Simple-scan will just show a "Unable to start scan" error.

  Also tried:
  - Running simple-scan and xscan as root
  - Adding myself to lp, saned and scanner groups, then log off + log on
  - Power cyling the printer, disconnected and plugged back in
  - Switching USB port (USB2 <-> USB3)
  - Restarting the udev service

  This scanner is faily generic and is supposed to be working OOTB since 12.04:
  http://askubuntu.com/questions/88700/how-do-i-get-a-samsung-scx3200-multifunction-printer-scanner-working
  http://ubuntuforums.org/showthread.php?t=1857478

  I think this may be a bug with libsane.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1312594/+subscriptions