unable to enumerate USB device on port 1

Asked by renato

Hello,

I got an error when I try to print something. I have a hp photosmart 7260 connected via USB.
Here is my dmesg log after I restart the printer and plug it in.

May 19 11:47:10 lenovo kernel: [ 3349.738330] usb 2-1.1: New USB device found, idVendor=03f0, idProduct=b002
May 19 11:47:10 lenovo kernel: [ 3349.738336] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 19 11:47:10 lenovo kernel: [ 3349.738339] usb 2-1.1: Product: photosmart 7200 series
May 19 11:47:10 lenovo kernel: [ 3349.738342] usb 2-1.1: Manufacturer: hp
May 19 11:47:10 lenovo kernel: [ 3349.738344] usb 2-1.1: SerialNumber: CN38F2B2HDI5
May 19 11:47:10 lenovo kernel: [ 3349.740256] usblp 2-1.1:1.0: usblp0: USB Bidirectional printer dev 43 if 0 alt 0 proto 2 vid 0x03F0 pid 0xB002
May 19 11:47:10 lenovo kernel: [ 3349.740372] usb-storage 2-1.1:1.2: USB Mass Storage device detected
May 19 11:47:10 lenovo kernel: [ 3349.740461] scsi7 : usb-storage 2-1.1:1.2
May 19 11:47:10 lenovo logger: loading HP Device 002 043
May 19 11:47:10 lenovo colord: Device added: sysfs-hp-photosmart_7200_series
May 19 11:47:10 lenovo udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0
May 19 11:47:10 lenovo udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0
May 19 11:47:10 lenovo udev-configure-printer: Device already handled
May 19 11:47:11 lenovo kernel: [ 3350.760635] scsi 7:0:0:0: Direct-Access HP photosmart 7200 1.00 PQ: 0 ANSI: 2
May 19 11:47:11 lenovo kernel: [ 3350.761016] sd 7:0:0:0: Attached scsi generic sg2 type 0
May 19 11:47:11 lenovo kernel: [ 3350.787955] sd 7:0:0:0: [sdb] Attached SCSI removable disk
<<!-- OK until here -->>

<<!-- After I try to print or enable the printer-->>
May 19 11:47:45 lenovo dbus[654]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
May 19 11:47:45 lenovo dbus[654]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
May 19 11:48:46 lenovo kernel: [ 3445.584016] usblp0: removed

May 19 11:49:18 lenovo kernel: [ 3478.041297] usb 2-1.1: reset full-speed USB device number 43 using ehci-pci
May 19 11:49:31 lenovo hp[5123]: io/hpmud/musb.c 1446: unable to write data hp:/usb/photosmart_7200_series?serial=CN38F2B2HDI5: 45 second io timeout
May 19 11:49:33 lenovo kernel: [ 3493.120264] usb 2-1.1: device descriptor read/64, error -110
May 19 11:49:49 lenovo kernel: [ 3508.303160] usb 2-1.1: device descriptor read/64, error -110
May 19 11:49:49 lenovo kernel: [ 3508.479222] usb 2-1.1: reset full-speed USB device number 43 using ehci-pci
May 19 11:50:04 lenovo kernel: [ 3523.558209] usb 2-1.1: device descriptor read/64, error -110
May 19 11:50:19 lenovo kernel: [ 3538.741245] usb 2-1.1: device descriptor read/64, error -110
May 19 11:50:19 lenovo kernel: [ 3538.917327] usb 2-1.1: reset full-speed USB device number 43 using ehci-pci
May 19 11:50:24 lenovo kernel: [ 3543.939903] usb 2-1.1: device descriptor read/8, error -110
May 19 11:50:29 lenovo kernel: [ 3549.062190] usb 2-1.1: device descriptor read/8, error -110
May 19 11:50:30 lenovo kernel: [ 3549.238139] usb 2-1.1: reset full-speed USB device number 43 using ehci-pci
May 19 11:50:35 lenovo kernel: [ 3554.260597] usb 2-1.1: device descriptor read/8, error -110
May 19 11:50:40 lenovo kernel: [ 3559.382910] usb 2-1.1: device descriptor read/8, error -110
May 19 11:50:40 lenovo hp[5123]: io/hpmud/musb.c 763: invalid deviceid ret=-4: No such device
May 19 11:50:40 lenovo hp[5123]: prnt/backend/hp.c 625: ERROR: 5021 device communication error!
May 19 11:50:40 lenovo hp[5123]: io/hpmud/musb.c 544: aborting outstanding 7/1/2 write
May 19 11:50:40 lenovo kernel: [ 3559.487091] sd 7:0:0:0: Device offlined - not ready after error recovery
May 19 11:50:40 lenovo kernel: [ 3559.487138] usb 2-1.1: USB disconnect, device number 43
May 19 11:50:40 lenovo udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1
May 19 11:50:40 lenovo colord: device removed: sysfs-hp-photosmart_7200_series
May 19 11:50:40 lenovo kernel: [ 3559.558816] usb 2-1.1: new full-speed USB device number 44 using ehci-pci
May 19 11:50:40 lenovo kernel: [ 3559.630849] usb 2-1.1: device descriptor read/64, error -32
May 19 11:50:40 lenovo kernel: [ 3559.806943] usb 2-1.1: device descriptor read/64, error -32
May 19 11:50:40 lenovo kernel: [ 3559.983022] usb 2-1.1: new full-speed USB device number 45 using ehci-pci
May 19 11:50:40 lenovo kernel: [ 3560.055057] usb 2-1.1: device descriptor read/64, error -32
May 19 11:50:41 lenovo kernel: [ 3560.231132] usb 2-1.1: device descriptor read/64, error -32
May 19 11:50:41 lenovo kernel: [ 3560.407214] usb 2-1.1: new full-speed USB device number 46 using ehci-pci
May 19 11:50:41 lenovo kernel: [ 3560.815317] usb 2-1.1: device not accepting address 46, error -32
May 19 11:50:41 lenovo kernel: [ 3560.887437] usb 2-1.1: new full-speed USB device number 47 using ehci-pci
May 19 11:50:42 lenovo kernel: [ 3561.295509] usb 2-1.1: device not accepting address 47, error -32
May 19 11:50:42 lenovo kernel: [ 3561.295641] hub 2-1:1.0: unable to enumerate USB device on port 1

The log looks OK until I request a print of a text document. It instantly outputs this line:
>> May 19 11:48:46 lenovo kernel: [ 3445.584016] usblp0: removed <<

The log grows from that point on until the USB device is disconnected. It also disappear from lsusb.
The final msg is "unable to enumerate USB device on port 1"

How should I proceed in this case ?

Thx.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
renato
Solved:
Last query:
Last reply:
Revision history for this message
renato (skyrenato) said :
#1

Added the following commands in attempt to fix it:

lpadmin -p HP -o usb-no-reattach-deftault=true
lpadmin -p HP -o usb-unidir-default=true

Managed to get rid of the "usblp0: removed". But now the print job is kept in the queue with
status "retained". And the printer state over CUPS is "Idle - "Filter failed".

Not checking /var/log/cups/error_log for strange things..

Revision history for this message
Thomas Krüger (thkrueger) said :
#2

The error code error -110 indicates, that the power pool for the devices is exceeded. This usually happens when you are using a passive hub and the devices connected request more than 500mA (USB 2.0) or 900mA (USB3.0). You should use an active USB hub (with power supply) or try to plug the device into other ports.

If you want to see the power consumption of the devices, run the command

lsusb -v

Look for lines with "MaxPower".

Revision history for this message
renato (skyrenato) said :
#3

Hi Thomas, thx for the help!

I'm connecting all usbs directly. But I changed them a couple of times to test the port. Also removed one by one to test.
At the end I switched to the front port and also reinstalled the entire cups thing (hplip).

It seems to be working just fine now!