Public bug reported:

I have a HP Scanject 2100c and a Canoscan LIDE-25 both of which use the
Sane plustek backend for comms. My PC only has a USB 3 root hub, when
either of these devices are connected, either directly or via an
external USB 2 hub, they do not work.

In general (although not always), 'scanimage -L' will detect the scanner
ok:

device `plustek:libusb:001:012' is a Hewlett-Packard Scanjet 2100c
flatbed scanner

however there is always about a 30s delay before the shell prompt is
returned. Scanning always fails however, using the suggested method on
the sane HOW-TO page:

scanimage -vvv -format pnm >outfile.pnm
Calling sane_exit

is the usual response. By enabling debug on the plustek backend, the
response I normally get results in the following:

[plustek] Vendor ID=0x03F0, Product ID=0x0505
[plustek] usbio_DetectLM983x
[plustek]  * could not read version register!
[plustek] open failed: -1
[plustek] sane_get_devices (0x7fff0686dbc8, 0)

In an effort to try and diagnose this, I've build the latest SANE
backends from scratch and tried out the latest libusb none of which has
resolved the issue. My original kernel was a 3.5.x, I pushed it up to
3.8.0-30 this also made no difference.

My guess based on what I've seen is that this is related to the USB 3
hub. The HP Scanjet worked ok on my old Linux box (a 2.6.27 kernel with
USB 2 hub) and I've had the Canon one working (albeit not that reliably)
on a Raspberry Pi with a 3.6.11 kernel. The key difference (aside from
this being a 64 bit flavour of Linux) is the USB.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libsane 1.0.22-7ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-30.44~precise1-generic 3.8.13.6
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: amd64
Date: Mon Nov 11 19:41:08 2013
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 
(20130214)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
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/1250196

Title:
  sane plustek backend not working on USB 3 root hub

Status in “sane-backends” package in Ubuntu:
  New

Bug description:
  I have a HP Scanject 2100c and a Canoscan LIDE-25 both of which use
  the Sane plustek backend for comms. My PC only has a USB 3 root hub,
  when either of these devices are connected, either directly or via an
  external USB 2 hub, they do not work.

  In general (although not always), 'scanimage -L' will detect the
  scanner ok:

  device `plustek:libusb:001:012' is a Hewlett-Packard Scanjet 2100c
  flatbed scanner

  however there is always about a 30s delay before the shell prompt is
  returned. Scanning always fails however, using the suggested method on
  the sane HOW-TO page:

  scanimage -vvv -format pnm >outfile.pnm
  Calling sane_exit

  is the usual response. By enabling debug on the plustek backend, the
  response I normally get results in the following:

  [plustek] Vendor ID=0x03F0, Product ID=0x0505
  [plustek] usbio_DetectLM983x
  [plustek]  * could not read version register!
  [plustek] open failed: -1
  [plustek] sane_get_devices (0x7fff0686dbc8, 0)

  In an effort to try and diagnose this, I've build the latest SANE
  backends from scratch and tried out the latest libusb none of which
  has resolved the issue. My original kernel was a 3.5.x, I pushed it up
  to 3.8.0-30 this also made no difference.

  My guess based on what I've seen is that this is related to the USB 3
  hub. The HP Scanjet worked ok on my old Linux box (a 2.6.27 kernel
  with USB 2 hub) and I've had the Canon one working (albeit not that
  reliably) on a Raspberry Pi with a 3.6.11 kernel. The key difference
  (aside from this being a 64 bit flavour of Linux) is the USB.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libsane 1.0.22-7ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-30.44~precise1-generic 3.8.13.6
  Uname: Linux 3.8.0-30-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.5
  Architecture: amd64
  Date: Mon Nov 11 19:41:08 2013
  InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release 
amd64 (20130214)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: sane-backends
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to