Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-04-2005, 02:11 PM
|
#1
|
LQ Newbie
Registered: Nov 2005
Distribution: Debian
Posts: 12
Rep:
|
HP DeskJet 5740 problem
Hello;
I'm trying to install my printer (a hp dj 5740) on linux (debian, 2.6.11 kernel). It doesn't work though  .
Dmesg just shows me this:
Code:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:10.0: irq 21, io base 0xd400
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.1[B] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:10.1: irq 21, io base 0xd800
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.2[C] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
usb 1-1: new low speed USB device using uhci_hcd and address 2
uhci_hcd 0000:00:10.2: irq 21, io base 0xdc00
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new low speed USB device using uhci_hcd and address 3
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
I get the error "device descriptor read/64, error -71" everytime i plug in my printer or turn it off/on. Unloading ehci & ohci also didn't help.
There seems to be nothing wrong with usb though; when i plug in a usb mouse it works fine.
Code:
usb 1-2: new low speed USB device using uhci_hcd and address 4
input: Logitech USB-PS/2 Optical Mouse on usb-0000:00:10.0-2
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
(and the mouse works great in X too).
The HPLIP site claims the printer should work with their driver, but not like this ofcourse. What could be the problem?
|
|
|
11-04-2005, 02:18 PM
|
#2
|
LQ Newbie
Registered: Aug 2005
Location: Hotter-than-hell, TX, USA baby
Distribution: debian sid most of the time-sometimes i slack, occasionally i wear a fedora
Posts: 25
Rep:
|
i have had very good luck configuring printers in debian using foomatic, foomatic-gui, and hpijs.
apt-get install those and try foomatic-gui.
however, i am doubtful since the boot-up process does not identify your printer. my usb printer is correctly identified in dmesg output.
have you check any hcl lists?
do you have udev and hal (and maybe hotplug, if you are not using sid) installed?
and have you tried plugging the usb cable in different positions?
Last edited by debian_luva; 11-04-2005 at 02:31 PM.
|
|
|
11-04-2005, 02:30 PM
|
#3
|
LQ Newbie
Registered: Nov 2005
Distribution: Debian
Posts: 12
Original Poster
Rep:
|
Uhm, i forgot to say to printer works fine in windows..
I've got udev & hal & hotplug.
I just installed foomatic, but it can't do anything for me cause the printer hasn't been detected properly  .
|
|
|
11-04-2005, 02:34 PM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: Hotter-than-hell, TX, USA baby
Distribution: debian sid most of the time-sometimes i slack, occasionally i wear a fedora
Posts: 25
Rep:
|
try using a different usb position and reboot...have you tried that and checked dmesg?
|
|
|
11-04-2005, 03:04 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Distribution: Debian
Posts: 12
Original Poster
Rep:
|
Yea i tried different positions (on same bus & on different bus) but it's the same all the time.
|
|
|
11-04-2005, 04:03 PM
|
#6
|
LQ Newbie
Registered: Aug 2005
Location: Hotter-than-hell, TX, USA baby
Distribution: debian sid most of the time-sometimes i slack, occasionally i wear a fedora
Posts: 25
Rep:
|
woody, sarge, etch, or sid? either the required vendor id is not in the data stockpile (think driver/identifier) or your particular printer is just not gonna work with whatever flavor of debian you are using.
i googled the error message "usb 1-1: device descriptor read/64, error -71"
and got a few hits which suggest it might be a kernel/timing error....what kernel are you running in what branch. a kernel upgrade might solve your problem.
i am using the latest (sid) kernel. 2.6.14-1(i think). when i upgraded the kernel, my problem with hotplug--udev,hal,g-vfs and my fd0 floppy problem went away. food for thought.
|
|
|
11-04-2005, 04:14 PM
|
#7
|
LQ Newbie
Registered: Nov 2005
Distribution: Debian
Posts: 12
Original Poster
Rep:
|
Im currently running Debian Sarge with a 2.6.11 kernel with i386 arch. I'll compile a new kernel tomorrow, cause i've got to catch some sleep now :P.
To me the problem looks more like it can't even get the vendor or product id from the printer, since it got a read error, but im not sure.
The printer is the only hardware i cant get to work here, all other hardware is working fine (after some effort  ).
I'll post the results tomorrow. Thanks a lot for helping.
|
|
|
11-05-2005, 06:25 AM
|
#8
|
LQ Newbie
Registered: Nov 2005
Distribution: Debian
Posts: 12
Original Poster
Rep:
|
Kernel 2.6.14 detected it fine  . Im happy now.
Using hpijs/foomatic/cups it even prints  .
Thanks a lot!
|
|
|
11-05-2005, 03:18 PM
|
#9
|
LQ Newbie
Registered: Nov 2005
Distribution: Debian
Posts: 12
Original Poster
Rep:
|
Or so i thought  . It was working for a few hours, but it just crashed out after that  .
This is from when it crashed (from syslog)
Code:
Nov 5 21:25:54 localhost kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -84
Nov 5 21:25:55 localhost kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -84
Nov 5 21:25:55 localhost hpiod: unable to read uri:hp:/usb/ANY?device=/dev/usb/lp0 Device::DeviceID: Input/output error
Nov 5 21:25:55 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport0: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:25:55 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport1: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:25:55 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport2: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:25:55 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport3: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:26:06 localhost kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -84
Nov 5 21:26:07 localhost kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -84
Nov 5 21:26:07 localhost hpiod: unable to read uri:hp:/usb/ANY?device=/dev/usb/lp0 Device::DeviceID: Input/output error
Nov 5 21:26:07 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport0: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:26:07 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport1: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:26:07 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport2: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:26:07 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport3: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:27:07 localhost kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -84
Nov 5 21:27:08 localhost kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -84
Nov 5 21:27:08 localhost hpiod: unable to read uri:hp:/usb/ANY?device=/dev/usb/lp0 Device::DeviceID: Input/output error
Nov 5 21:27:08 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport0: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:27:08 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport1: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:27:08 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport2: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:27:08 localhost hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport3: No such file or directory: io/hpiod/ppdevice.cpp 828
Nov 5 21:28:22 localhost kernel: usb 1-1: USB disconnect, address 4
Nov 5 21:28:22 localhost kernel: drivers/usb/class/usblp.c: usblp0: removed
Nov 5 21:28:22 localhost udev[8770]: removing device node '/dev/usb/lp0'
Nov 5 21:28:22 localhost udev[8773]: removing device node '/dev/usbdev1.4'
Nov 5 21:28:58 localhost kernel: usb 1-1: new low speed USB device using uhci_hcd and address 6
Nov 5 21:28:58 localhost kernel: usb 1-1: device descriptor read/64, error -71
Nov 5 21:28:59 localhost kernel: usb 1-1: device descriptor read/64, error -71
Nov 5 21:28:59 localhost kernel: usb 1-1: new low speed USB device using uhci_hcd and address 7
Nov 5 21:28:59 localhost kernel: usb 1-1: device descriptor read/64, error -71
Nov 5 21:28:59 localhost kernel: usb 1-1: device descriptor read/64, error -71
Nov 5 21:28:59 localhost kernel: usb 1-1: new low speed USB device using uhci_hcd and address 8
Nov 5 21:29:00 localhost kernel: usb 1-1: device not accepting address 8, error -71
Nov 5 21:29:00 localhost kernel: usb 1-1: new low speed USB device using uhci_hcd and address 9
Nov 5 21:29:00 localhost kernel: usb 1-1: device not accepting address 9, error -71
..and it's back to the old errors again, with the difference of the device not accepting address .. part, which wasn't showed with the old kernel errors.
Notice the difference between when it was beiing detected properly:
Code:
Nov 5 14:30:02 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2
Nov 5 14:30:02 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8104
Nov 5 14:30:02 localhost kernel: usbcore: registered new driver usblp
Nov 5 14:30:02 localhost kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
and not working anymore now:
Code:
usb 1-2: new low speed USB device using uhci_hcd and address 21
usb 1-2: device descriptor read/64, error -71
usb 1-2: device descriptor read/64, error -71
usb 1-2: new low speed USB device using uhci_hcd and address 22
usb 1-2: device descriptor read/64, error -71
usb 1-2: device descriptor read/64, error -71
usb 1-2: new low speed USB device using uhci_hcd and address 23
usb 1-2: device not accepting address 23, error -71
usb 1-2: new low speed USB device using uhci_hcd and address 24
usb 1-2: device not accepting address 24, error -71
Notice the printer is now being detected as a low speed device (it worked when it was detected as a HIGH speed device). Maybe the problem lies there. I don't know. Anybody else maybe?
(It's first usb 1-1 & now 1-2 because i tried to change the port again)
Last edited by Scyther; 11-05-2005 at 03:19 PM.
|
|
|
01-09-2006, 06:10 PM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873
|
Does the printer have a parallel cable connector? My Epson printer has USB and printer cable connectors. The USB won't work but the printer cable works fine.
|
|
|
All times are GMT -5. The time now is 04:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|