[sane-devel] loud noise + partial scans on HP ScanJet 2200c

Ajit Natarajan ajitk at email.com
Fri Dec 14 03:44:53 UTC 2007


Hello,

I see that the awful noise and partial scan issues with scanners
using the Plustek backend have been discussed in sane-devel, but
the solution to the problem is unclear to me.

I am using an HP ScanJet 2200c flatbed.  It uses the plustek backend.
This scanner used to work just fine with earlier versions of Linux.
However, I am encountering issues with Fedora Core 5 and Kubuntu 7.10.

Here is the Kubuntu configuration:

. libusb:
  $ dpkg -l | grep libusb
  ii  libusb-0.1-4   2:0.1.12-7  userspace USB programming library
  ii  libusb-dev     2:0.1.12-7  userspace USB programming library developmen

. sane:
  $ dpkg -l | grep sane
  ii  libsane        1.0.19~cvs20070505-3ubuntu2  API library for scanners
  ii  sane-utils     1.0.19~cvs20070505-3ubuntu2  API library for scanners
                                                  -- utilities
  ii  xsane          0.99+0.991-3ubuntu5          GTK+-based X11 frontend
                                                  for SANE (Scanner Ac
  ii  xsane-common   0.99+0.991-3ubuntu5          GTK+-based X11 frontend
                                                  for SANE (Scanner Ac

. Kernel: 2.6.22-14-generic, 32 bit

The plustek shared library has the version 1.0.18:
$ ls -l | grep plustek
-rw-r--r-- 1 root root    911 2007-12-12 23:49 libsane-plustek.la
-rw-r--r-- 1 root root    980 2007-10-05 20:56 libsane-plustek.la.orig
-rw-r--r-- 1 root root   1001 2007-10-05 20:56 libsane-plustek_pp.la
lrwxrwxrwx 1 root root     28 2007-12-11 01:40 libsane-plustek_pp.so.1 ->
libsane-plustek_pp.so.1.0.18
-rw-r--r-- 1 root root 166500 2007-10-05 20:56 libsane-plustek_pp.so.1.0.18
lrwxrwxrwx 1 root root     25 2007-12-11 01:40 libsane-plustek.so.1 ->
libsane-plustek.so.1.0.18
-rwxr-xr-x 1 root root 408392 2007-12-12 23:49 libsane-plustek.so.1.0.18
-rw-r--r-- 1 root root 197740 2007-10-05 20:56 libsane-plustek.so.1.0.18.orig

I've tried building and using the latest plustek backend from the CVS
source snapshot, but the problem persists.  (The .orig files came
with Kubuntu 7.10.  The non .orig files are built from the CVS
snapshot.  Both exhibit the same problems.)

Symptoms:
. Preview scan in xsane scans the whole page.  However, full scan
  (with or without a previous preview) scans a portion.
. The scan head stops part way during the full scan and starts making
  an awful noise.
. The noise can be stopped by removing the power plug.
. Alternatively, the noise can be stopped by running scanimage -L
  one or more times.
. A further scan without stopping the noise results in a message
  that the scan was canceled even though I did not cancel the scan.

lsusb -v output:
Bus 001 Device 011: ID 03f0:0605 Hewlett-Packard ScanJet 2200c
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol       255
  bMaxPacketSize0         8
  idVendor           0x03f0 Hewlett-Packard
  idProduct          0x0605 ScanJet 2200c
  bcdDevice            1.00
  iManufacturer           1 Hewlett-Packard
  iProduct                2 HP ScanJet 2200C
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              16
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered

scanimage -L output:
device `plustek:libusb:001:011' is a Hewlett-Packard Scanjet 2200c flatbed scanner

The same hardware setup works perfectly with Windows XP.

I have an HP DeskJet D2360 USB printer.

In any case, I would greatly appreciate any suggestions on how
to get the scanner to work.

Thank you.

Ajit



More information about the sane-devel mailing list