Photosmart C3100: I/O error
My neighboors are running Ubuntu 7.10, and they bought a new printer, a HP (on my advice). It's a Photosmart C3100.
When I first plugged it in the computer, Ubuntu immedeately detected it and said it was ready to print. When I tried to print however, the printer picked paper, but didn't do anything. On the screen, I got an "unknown error".
Then I tried to plug the printer into another USB-port, and restarted the computer, and the printer worked better. Well, it prints now but does it very slow. Most of the times it stops when half of the document has been done, so it won't finish. I then get the same "unknown error". This is what the syslog sais:
io/hpmud/musb.c 625: invalid deviceid wIndex=1, retrying wIndex=100: Broken pipe
ERROR: i/o printing; will retry in 30 seconds
usbfs: process 6040 (hp) did not claim interface 0 before use
How can I fix this so my neighbours can print properly? Or is it a bug?
BTW, thanks for hplip, I really like to see that some vendors take open source seriously!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Aaron Albright
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Is it possible to connect the printer to a windows system and verify that it's working ok? and/or do you have a different usb cable that we could try to print with?
Also please run hp-check -t and post the output.
A
Revision history for this message
|
#2 |
I'll try it on a Windows-machine as soon as possible, also on another Ubuntu-machine. Your command is not recognized.
Will post more asap.
Thanks!
Revision history for this message
|
#3 |
I tried it on another Ubuntu machine, Feisty this time. It was detected and installed properly, and it grabs paper but then again it does nothing. I get the same i/o error messages in the syslog as with the other (Gutsy) computer.
I was hoping it wouldn't work with Windows too, but unfortunately, it worked perfect. It just prints at full speed.
Any clues?
Revision history for this message
|
#4 |
Sorry for posting so much messages. I tried again on the Feisty-box, and sometimes it prints something but it stops and then I get all kinds of errors in the syslog:
hpiod: unable to write data hp:/usb/
ERROR: i/o printing; will retry in 30 seconds
And sometimes (even after 2-3 minutes) it prints again some lines:
INFO: Printing...
The drivers etc. seem all to work just fine, but there's something wrong with the connection... Oh, and scanning works just fine. No problems at all.
Hope this is my last message for now ;)
Thanks in advance!
Revision history for this message
|
#5 |
I installed hplip 2.7.10 (latest version). It still doesn't work properly, but at least now i can run hp-check -t. Here is the output:
hp-check[31611]: info: :
Initializing. Please wait...
Distributor ID: Ubuntu
Release: 7.04
scheduler is running
1.2.8
Linux margreetdesktop 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux
hp-check[31611]: info: :
hp-check[31611]: info: :---------------
hp-check[31611]: info: :| SYSTEM INFO |
hp-check[31611]: info: :---------------
hp-check[31611]: info: :
hp-check[31611]: info: :Basic system information:
hp-check[31611]: info: :Linux margreetdesktop 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux
hp-check[31611]: info: :
hp-check[31611]: info: :Distribution:
hp-check[31611]: info: :ubuntu 7.04
hp-check[31611]: info: :
HPOJ running?
hp-check[31611]: info: :No, HPOJ is not running (OK).
hp-check[31611]: info: :
hp-check[31611]: info: :Checking Python version...
hp-check[31611]: info: :OK, version 2.5.1 installed
hp-check[31611]: info: :
hp-check[31611]: info: :Checking PyQt version...
hp-check[31611]: info: :OK, version 3.17 installed.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking SIP version...
hp-check[31611]: info: :OK, Version 4.5 installed
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for CUPS...
hp-check[31611]: info: :Status: scheduler is running
hp-check[31611]: info: :Version: 1.2.8
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for Reportlab...
hp-check[31611]: info: :OK, version >= 2.0
hp-check[31611]: info: :
hp-check[31611]: info: :----------------
hp-check[31611]: info: :| DEPENDENCIES |
hp-check[31611]: info: :----------------
hp-check[31611]: info: :
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: libtool - Library building support services...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: libusb - USB library...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: python-devel - Python development files...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: SANE - Scanning library...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: scanimage - Shell scanning program...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
hp-check[31611]: info: :To install this dependency, execute this command:
hp-check[31611]: info: :sudo apt-get install --yes --force-yes libsane
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :
hp-check[31611]: info: :------
hp-check[31611]: info: :| HPLIP INSTALLATION |
hp-check[31611]: info: :------
hp-check[31611]: info: :
hp-check[31611]: info: :
hp-check[31611]: info: :Currently installed HPLIP version...
hp-check[31611]: info: :HPLIP 2.7.10 currently installed in '/usr/share/hplip'.
hp-check[31611]: info: :
hp-check[31611]: info: :Current contents of '/etc/hp/
hp-check[31611]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207
[hplip]
version=2.7.10
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
foomatic=
# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-
foomatic-
internal-
hp-check[31611]: info: :
hp-check[31611]: info: :------
hp-check[31611]: info: :| INSTALLED PRINTERS |
hp-check[31611]: info: :------
hp-check[31611]: info: :
hp-check[31611]: info: :
hp-check[31611]: info: :PhotoSmart-C3100
hp-check[31611]: info: :----------------
hp-check[31611]: info: :Type: Printer
hp-check[31611]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[31611]: info: :Device URI: hp:/usb/
hp-check[31611]: info: :PPD: /etc/cups/
hp-check[31611]: info: :PPD Description: HP PhotoSmart C3100 Foomatic/hpijs (recommended)
hp-check[31611]: info: :Printer status: printer PhotoSmart-C3100 now printing PhotoSmart-
i/o printing; will retry in 30 seconds...
hp-check[31611]: info: :Photosmart_C3100
hp-check[31611]: info: :----------------
hp-check[31611]: info: :Type: Printer
hp-check[31611]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[31611]: info: :Device URI: hp:/usb/
hp-check[31611]: info: :PPD: /etc/cups/
hp-check[31611]: info: :PPD Description: HP PhotoSmart C3100 Foomatic/hpijs (recommended)
hp-check[31611]: info: :Printer status: printer Photosmart_C3100 is idle. enabled since di 04 dec 2007 15:52:17 CET
hp-check[31611]: info: :
hp-check[31611]: info: :------
hp-check[31611]: info: :| SANE CONFIGURATION |
hp-check[31611]: info: :------
hp-check[31611]: info: :
hp-check[31611]: info: :'hpaio' in '/etc/sane.
hp-check[31611]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking output of 'scanimage -L'...
error: scanimage not found.
hp-check[31611]: info: :
hp-check[31611]: info: :------
hp-check[31611]: info: :| PYTHON EXTENSIONS |
hp-check[31611]: info: :------
hp-check[31611]: info: :
hp-check[31611]: info: :Checking 'cupsext' CUPS extension...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking 'pcardext' Photocard extension...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking 'hpmudext' I/O extension...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :Checking 'scanext' SANE scanning extension...
hp-check[31611]: info: :OK, found.
hp-check[31611]: info: :
hp-check[31611]: info: :
hp-check[31611]: info: :-----------------
hp-check[31611]: info: :| USB I/O SETUP |
hp-check[31611]: info: :-----------------
hp-check[31611]: info: :
hp-check[31611]: info: :
hp-check[31611]: info: :Checking for permissions of USB attached printers...
hp-check[31611]: info: :HP Device 0x5611 at 004:004:
hp-check[31611]: info: : Device URI: hp:/usb/
hp-check[31611]: info: : Device node: /dev/bus/
hp-check[31611]: info: : Mode: 0666
hp-check[31611]: info: :
hp-check[31611]: info: :-----------
hp-check[31611]: info: :| SUMMARY |
hp-check[31611]: info: :-----------
hp-check[31611]: info: :
error: 1 error or warning.
hp-check[31611]: info: :
hp-check[31611]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[31611]: info: :sudo apt-get install --yes --force-yes libsane
hp-check[31611]: info: :
hp-check[31611]: info: :Please refer to the installation instructions at:
hp-check[31611]: info: :http://
Revision history for this message
|
#6 |
Everything looks okay. Can you run:
lsusb -v
a few times and post the output?
Thanks!
A
Revision history for this message
|
#7 |
Thanks for your reply!
This is the output of lsusb -v, while printer is turned on.
Bus 004 Device 004: ID 03f0:5611 Hewlett-Packard
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x03f0 Hewlett-Packard
idProduct 0x5611
bcdDevice 1.00
iManufacturer 1 HP
iProduct 2 Photosmart C3100 series
iSerial 3 CN78RC502204P9
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 131
bNumInterfaces 4
bConfigurat
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 3
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 7
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigura
Device Status: 0x0001
Self Powered
Bus 004 Device 003: ID 05e3:0606 Genesys Logic, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0606
bcdDevice 7.02
iManufacturer 0
iProduct 1
iSerial 0
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 12
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
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 12
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 hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 255
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 hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 255
Bus 001 Device 003: ID 04f2:0112 Chicony Electronics Co., Ltd KU-8933 Keyboard with PS/2 Mouse port
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04f2 Chicony Electronics Co., Ltd
idProduct 0x0112 KU-8933 Keyboard with PS/2 Mouse port
bcdDevice 1.00
iManufacturer 4
iProduct 20
iSerial 0
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurat
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
HID Device Descriptor:
bLength 9
bcdHID 1.10
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
HID Device Descriptor:
bLength 9
bcdHID 1.10
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
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 hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 255
Revision history for this message
|
#8 |
Any news? Can you make anything of the output?
Sorry, don't wanna be impatient, but I'll have to return the printer to my neighbours in a few days ;)
Thanks!
Revision history for this message
|
#9 |
Are you plugged straight into the computer or using a hub?
A
Revision history for this message
|
#10 |
I've verified with a Photosmart C3100 and HPLIP 2.7.10 that it prints correctly.
Linux can be more picky about I/O errors there may be a problem with the usb cable, a usb hub, or the printer. The fact that the printer does the same thing on a different system seems to indicate that the computer hardware is probably not of issue.
I know this doesn't help much..but it -should- work perfectly. and I can't reproduce which greatly limits other suggestions I might have...
Sorry!
A
Revision history for this message
|
#11 |
Ok, thanks for your answer. Is it possible that a new USB-PCI chip would help? Maybe I'll install something like that in the future, for now I'll let them print using Windows.
Thanks for all your help!
Revision history for this message
|
#12 |
Thanks Aaron Albright, that solved my question.