Distribution: Gentoo Hardware Environment: amd64 Software Environment: gentoo linux, udev, hald, dbus Problem Description: can't communicate correctly to USB printer Steps to reproduce: With an HP LaserJet 1018, after installing the driver, and use CUPS to setup this printer, when you try to print, you will see this in dmesg: (A connect, try to print and disconnect device): usb 2-10: new high speed USB device using ehci_hcd and address 3 usb 2-10: configuration #1 chosen from 1 choice drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117 usb 2-4: reset high speed USB device using ehci_hcd and address 2 drivers/usb/class/usblp.c: usblp0: failed reading printer status drivers/usb/class/usblp.c: usblp0: error -110 reading printer status drivers/usb/class/usblp.c: usblp0: error -110 reading printer status drivers/usb/class/usblp.c: usblp0: error -110 reading printer status drivers/usb/class/usblp.c: usblp0: error -110 reading printer status drivers/usb/class/usblp.c: usblp0: error -110 reading printer status drivers/usb/class/usblp.c: usblp0: error -110 reading printer status drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -71 drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -71 drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status drivers/usb/class/usblp.c: usblp0: error -71 reading printer status usb 2-10: USB disconnect, address 3 drivers/usb/class/usblp.c: usblp0: removed Please someone explain me the error code and one possible workarround if applicable. Thanks
Has this printer worked properly with other older versions of the kernel?
I have been searching for workarrounds and the printer works perfectly if I restart coldplug service (I notified this to gentoo bugzilla). But anyway, what are these numbers trying to say?
There is no "coldplug service" anymore for Gentoo, so that shouldn't mean anything. And that's very odd if it does. Try booting without the device plugged in, and then plug it in after boot has finished. Attach the kernel log from what happens there (if you can build your kernel with CONFIG_USB_DEBUG enabled too, that would be great.)
When I boot with printer on, I don't have problems, becuase when coldplug starts at boot (I have rc-update add coldplug boot), it loads the firmware and it works. The problem appears when I turn off and on the printer, or when I boot with the printer turned off (and after I want to use it turning it on). The only way to get it working is doing: "/etc/init.d/coldplug restart" And by the way, it works (with the above workarround) with this kernel.
I am not sure how this works with Gentoo, but I think distros include hald daemon now for the hot pluggable devices like cameras, printers, etc. It is part of the dbus facility, and it is used on Ubuntu for example. Does Gentoo have some user level facility of this kind? Anyway, any updates/findings on the problem? Thanks, --Natalie
David, This is a ZjStream printer I take it? If so I found the one I have here needed fairly recent firmware which I sucked out of the windows drivers from HP's website.
What is the status on this problem? David, were you able to get printer working with newer distro or kernel?