LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 11-04-2005, 02:11 PM   #1
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Rep: Reputation: 0
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?
 
Old 11-04-2005, 02:18 PM   #2
debian_luva
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: Reputation: 15
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.
 
Old 11-04-2005, 02:30 PM   #3
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
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 .
 
Old 11-04-2005, 02:34 PM   #4
debian_luva
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: Reputation: 15
try using a different usb position and reboot...have you tried that and checked dmesg?
 
Old 11-04-2005, 03:04 PM   #5
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Yea i tried different positions (on same bus & on different bus) but it's the same all the time.
 
Old 11-04-2005, 04:03 PM   #6
debian_luva
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: Reputation: 15
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.
 
Old 11-04-2005, 04:14 PM   #7
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 11-05-2005, 06:25 AM   #8
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Kernel 2.6.14 detected it fine . Im happy now.

Using hpijs/foomatic/cups it even prints .

Thanks a lot!
 
Old 11-05-2005, 03:18 PM   #9
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 01-09-2006, 06:10 PM   #10
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP deskjet 3920 problem linus johann Linux - Hardware 4 02-14-2007 04:49 PM
Unable to print to HP Deskjet 5740 with CUPS Davidian1024 Linux From Scratch 1 08-01-2005 11:36 AM
Knoppix - problem in setup HP Deskjet 5740 USB printer satimis Linux - Distributions 3 06-07-2005 07:32 AM
HP Deskjet 6540 problem tunin Linux - Hardware 1 05-01-2005 07:01 PM
HP Deskjet foomatic problem technodude90 Linux - Hardware 1 03-24-2005 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration