HP PSC 2175, Ubuntu Hardy, I/O error scanning

Asked by Kevin Safford

Neither Xsane nor hplip recognise the scanner. When I try to scan there is a long pause, and then I get the message about I/O problems that others have reported. I have installed the latest hplip from sourceforge, and uninstalled and reinstalled Xsane, to no avail.

I installed Ubuntu last Friday (dual-boot with XP), and the scanner still works on XP, so no hardware problem. On Ubuntu, I can print but not scan. I've spent a long time trawling the forums, but nothing I've tried has worked. I'd really like to lose XP, but I need my scanner - can anyone help?

Output from hp-check -t follow. 2 warning - one about PDF printer not being installed through hplip, and one about SIP not installed or version not found. I guess I can ignore the first, but what about the second? What is SIP and how would I get it?

Thanks in advance
<hp-check.log>
hp-check[25165]: info: :
Initializing. Please wait...
Ubuntu

8.04

scheduler is running

1.3.7

Linux ubuntu-desktop 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

hp-check[25165]: info: :
hp-check[25165]: info: :---------------
hp-check[25165]: info: :| SYSTEM INFO |
hp-check[25165]: info: :---------------
hp-check[25165]: info: :
hp-check[25165]: info: :Basic system information:
hp-check[25165]: info: :Linux ubuntu-desktop 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

hp-check[25165]: info: :
hp-check[25165]: info: :Distribution:
hp-check[25165]: info: :ubuntu 8.04
hp-check[25165]: info: :
HPOJ running?
hp-check[25165]: info: :No, HPOJ is not running (OK).
hp-check[25165]: info: :
hp-check[25165]: info: :Checking Python version...
hp-check[25165]: info: :OK, version 2.5.2 installed
hp-check[25165]: info: :
hp-check[25165]: info: :Checking PyQt version...
hp-check[25165]: info: :OK, version 3.17 installed.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking SIP version...
error: SIP not installed or version not found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for CUPS...
hp-check[25165]: info: :Status: scheduler is running
hp-check[25165]: info: :Version: 1.3.7
hp-check[25165]: info: :error_log is set to level: warn
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dbus/python-dbus...
hp-check[25165]: info: :dbus daemon is running.
hp-check[25165]: info: :python-dbus version: 0.82.4
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :------------------------------------
hp-check[25165]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[25165]: info: :------------------------------------
hp-check[25165]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: dbus - Message bus system...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: libtool - Library building support services...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: libusb - USB library...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: python-devel - Python development files...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: SANE - Scanning library...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :----------------------
hp-check[25165]: info: :| HPLIP INSTALLATION |
hp-check[25165]: info: :----------------------
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :Currently installed HPLIP version...
hp-check[25165]: info: :HPLIP 2.8.7 currently installed in '/usr/share/hplip'.
hp-check[25165]: info: :
hp-check[25165]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[25165]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=2.8.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.8.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp/

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.7.4
restricted-build=no

hp-check[25165]: info: :
hp-check[25165]: info: :--------------------------
hp-check[25165]: info: :| DISCOVERED USB DEVICES |
hp-check[25165]: info: :--------------------------
hp-check[25165]: info: :
hp-check[25165]: info: : Device URI Model
hp-check[25165]: info: : -------------------------------- ------------------
hp-check[25165]: info: : hp:/usb/PSC_2170_Series?serial=M HP PSC 2170 Series
  Y395F86VV73
hp-check[25165]: info: :
hp-check[25165]: info: :---------------------------------
hp-check[25165]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[25165]: info: :---------------------------------
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :PDF
hp-check[25165]: info: :---
hp-check[25165]: info: :Type: Unknown
hp-check[25165]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[25165]: info: :Device URI: cups-pdf:/
hp-check[25165]: info: :PPD: /etc/cups/ppd/PDF.ppd
hp-check[25165]: info: :PPD Description: Generic PDF file generator
hp-check[25165]: info: :Printer status: printer PDF is idle. enabled since Tue 22 Apr 2008 18:54:42 BST

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[25165]: info: :PSC_2170
hp-check[25165]: info: :--------
hp-check[25165]: info: :Type: Printer
hp-check[25165]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[25165]: info: :Device URI: hp:/usb/PSC_2170_Series?serial=MY395F86VV73
hp-check[25165]: info: :PPD: /etc/cups/ppd/PSC_2170.ppd
hp-check[25165]: info: :PPD Description: HP PSC 2170 series Foomatic/hpijs, hpijs 2.8.7
hp-check[25165]: info: :Printer status: printer PSC_2170 is idle. enabled since Sun 31 Aug 2008 18:29:01 BST

hp-check[25165]: info: :Communication status: Good
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :----------------------
hp-check[25165]: info: :| SANE CONFIGURATION |
hp-check[25165]: info: :----------------------
hp-check[25165]: info: :
hp-check[25165]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[25165]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking output of 'scanimage -L'...
hp-check[25165]: info: :device `hpaio:/usb/PSC_2170_Series?serial=MY395F86VV73' is a Hewlett-Packard PSC_2170_Series all-in-one

hp-check[25165]: info: :
hp-check[25165]: info: :---------------------
hp-check[25165]: info: :| PYTHON EXTENSIONS |
hp-check[25165]: info: :---------------------
hp-check[25165]: info: :
hp-check[25165]: info: :Checking 'cupsext' CUPS extension...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking 'pcardext' Photocard extension...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking 'hpmudext' I/O extension...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :Checking 'scanext' SANE scanning extension...
hp-check[25165]: info: :OK, found.
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :-----------------
hp-check[25165]: info: :| USB I/O SETUP |
hp-check[25165]: info: :-----------------
hp-check[25165]: info: :
hp-check[25165]: info: :
hp-check[25165]: info: :Checking for permissions of USB attached printers...
hp-check[25165]: info: :
HP Device 0x2b11 at 001:004:
hp-check[25165]: info: : Device URI: hp:/usb/PSC_2170_Series?serial=MY395F86VV73
hp-check[25165]: info: : Device node: /dev/bus/usb/001/004
hp-check[25165]: info: : Mode: 0666
hp-check[25165]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/001/004

# owner: root

# group: lp

user::rw-

group::rw-

other::rw-

hp-check[25165]: info: :
hp-check[25165]: info: :-----------
hp-check[25165]: info: :| SUMMARY |
hp-check[25165]: info: :-----------
hp-check[25165]: info: :
error: 2 errors and/or warnings.
hp-check[25165]: info: :
hp-check[25165]: info: :Please refer to the installation instructions at:
hp-check[25165]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[25165]: info: :
hp-check[25165]: info: :Done.
</hp-check.log>

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Kevin Safford
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Kevin,

Run:

sudo tail -f /var/log/syslog

and then in another terminal run xsane, when you get the error go back to the syslog and post all of the output.

Thanks!

Aaron

Revision history for this message
Kevin Safford (kevin-safford) said :
#2

Aaron

Thank you for the response; here's the output from the log:

<log>
kevin@ubuntu-desktop:~$ sudo tail -f /var/log/syslog
[sudo] password for kevin:
Sep 3 13:17:01 ubuntu-desktop /USR/SBIN/CRON[9380]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 3 13:19:11 ubuntu-desktop hcid[5213]: Default passkey agent (:1.190, /org/bluez/passkey) registered
Sep 3 13:19:11 ubuntu-desktop hcid[5213]: Default authorization agent (:1.190, /org/bluez/auth) registered
Sep 3 13:19:13 ubuntu-desktop python: hp-systray(init)[9540]: error: option -s not recognized
Sep 3 13:19:18 ubuntu-desktop NetworkManager: <info> Updating allowed wireless network lists.
Sep 3 13:19:18 ubuntu-desktop NetworkManager: <WARN> nm_dbus_get_networks_cb(): error received: org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless networks stored..
Sep 3 13:19:51 ubuntu-desktop spamd[9770]: spamd: server started on UNIX domain socket /home/kevin/.evolution/cache/tmp/spamd-socket-path-HuvtuT (running version 3.2.4)
Sep 3 13:19:51 ubuntu-desktop spamd[9770]: spamd: server pid: 9770
Sep 3 13:19:51 ubuntu-desktop spamd[9770]: spamd: server successfully spawned child process, pid 9788
Sep 3 13:19:51 ubuntu-desktop spamd[9770]: prefork: child states: I
Sep 3 13:27:40 ubuntu-desktop kernel: [105302.966723] ppdev0: registered pardevice
Sep 3 13:27:40 ubuntu-desktop kernel: [105302.981497] ppdev0: unregistered pardevice
Sep 3 13:28:25 ubuntu-desktop xsane: io/hpmud/mlc.c 179: unable to read MlcReverseCmd header: Resource temporarily unavailable
Sep 3 13:28:25 ubuntu-desktop xsane: io/hpmud/musb.c 1583: invalid MlcCredit from peripheral, trying miser
Sep 3 13:29:10 ubuntu-desktop xsane: io/hpmud/mlc.c 179: unable to read MlcReverseCmd header: Resource temporarily unavailable
Sep 3 13:29:10 ubuntu-desktop xsane: io/hpmud/musb.c 1588: invalid MlcCredit from peripheral
Sep 3 13:29:20 ubuntu-desktop xsane: io/hpmud/hpmud.c 323: device_cleanup: device uri=hp:/usb/PSC_2170_Series?serial=MY395F86VV73
Sep 3 13:29:20 ubuntu-desktop xsane: io/hpmud/hpmud.c 335: device_cleanup: close device dd=1...
Sep 3 13:29:20 ubuntu-desktop xsane: io/hpmud/hpmud.c 337: device_cleanup: done closing device dd=1
</log>

Kevin

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Kevin,

Please run lsusb -v and post the output.

Thanks!

A

Revision history for this message
Kevin Safford (kevin-safford) said :
#4

Hi Aaron

Here is the output:

kevin@ubuntu-desktop:~$ lsusb -v

Bus 004 Device 001: ID 0000:0000
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x0000
  idProduct 0x0000
  bcdDevice 2.06
  iManufacturer 3
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    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 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      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 0x0004 1x 4 bytes
        bInterval 12
can't get hub descriptor: Operation not permitted
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  idVendor 0x0000
  idProduct 0x0000
  bcdDevice 2.06
  iManufacturer 3
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    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 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      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 0x0002 1x 2 bytes
        bInterval 255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

Bus 002 Device 002: ID 03f0:2b11 Hewlett-Packard
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x2b11
  bcdDevice 1.00
  iManufacturer 1 Hewlett-Packard
  iProduct 2 PSC 2170 Series
  iSerial 3 MY395F86VV73
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 122
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 2mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 204
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        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 0x81 EP 1 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 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 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
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 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 0x84 EP 4 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x05 EP 5 OUT
        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 0x85 EP 5 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 0x86 EP 6 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 3
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x07 EP 7 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0020 1x 32 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x87 EP 7 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0020 1x 32 bytes
        bInterval 0
Device Status: 0x0001
  Self Powered

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  idVendor 0x0000
  idProduct 0x0000
  bcdDevice 2.06
  iManufacturer 3
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    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 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      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 0x0002 1x 2 bytes
        bInterval 255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  idVendor 0x0000
  idProduct 0x0000
  bcdDevice 2.06
  iManufacturer 3
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    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 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      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 0x0002 1x 2 bytes
        bInterval 255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
kevin@ubuntu-desktop:~$

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Okay that looks okay. Are you printing through a usb hub?

A

Revision history for this message
Kevin Safford (kevin-safford) said :
#6

No, direct through a USB port at the back of the box.

Revision history for this message
Kevin Safford (kevin-safford) said :
#7

hplip found the scanner today, and xsane is working.

I have no idea why this is; the only changes that I have made to printers are:

1. To give a desktop (non-privileged) user the right to manage printers.
2. To replace an almost-empty colour print cartridge.

I've installed all the latest updates as they come along, but I don't remember seeing anything printer-related in them.

Thank you Aaron, for the time you spent looking at my problem and giving me advice. It's a shame we didn't get to the bottom of it, but I'm happy it's working now, and am closing this problem. (And it scans really fast compared to how it ran under Windows.)

Revision history for this message
Kevin Safford (kevin-safford) said :
#8

My joy was short-lived; it didn't survive a restart of the computer. I made no configuration changes to the printer setup, but now have exactly the same problem if I try to scan: a window appears telling me it is looking for a device, there is a long delay and eventually I get an I/O error message.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#9

Run: groups and post the output.

A

Revision history for this message
Kevin Safford (kevin-safford) said :
#10

kevin@ubuntu-desktop:~$ groups
kevin adm dialout fax cdrom floppy tape audio dip video plugdev scanner fuse lpadmin admin sambashare sharedfiles
kevin@ubuntu-desktop:~$

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#11

That looks okay. I've tested the PSC 2170 on an Ubuntu system and it does scan okay. This tells me that there is either a hardware or software install problem. Can you test on a windows system to be sure it's scanning okay?

Thanks.

Aaron

Revision history for this message
Kevin Safford (kevin-safford) said :
#12

Hi Aaron

Last time I tried (a couple of weeks ago), it scanned OK on Windows - see original post. I suspect it's an installation problem. I'm now getting printer-related errors when I try to run Wine. What would I need to do to uninstall completely and do a clean reinstall?

Revision history for this message
Kevin Safford (kevin-safford) said :
#13

Hi Aaron

Yes, I can confirm that the scanner still works under XP. I'm running it from the same box - just booted into Windows. Useful exercise doing that - it reminded me how much I like the HP scanner, and how painful it is using Windows.

When I installed Ubuntu, I had the printer connected, and Ubuntu it picked up automatically, before hplip was installed. Could something be lurking in one of the cups configuration directories, that's preventing hplip from working properly? I don't know my way around the system well enough to know where to start looking yet - any pointers gratefully received.

Thanks

Kevin

Revision history for this message
Launchpad Janitor (janitor) said :
#14

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Kevin Safford (kevin-safford) said :
#15

Now solved (hopefully for good this time). Today update manager updated a string of packages, and following a reboot, Xsane launches OK.

Revision history for this message
Kevin Safford (kevin-safford) said :
#16

Closing the thread.

Revision history for this message
Kevin Safford (kevin-safford) said :
#17

Some more information:

I had to boot into Windows today, after which the scanner again failed to work when I booted back into Linux. I could get it to work only by powering off the scanner, and then powering it on again.

I hope this is useful to anyone with the same problem.