Subject: kern/36110: ulpt problem with HP Laserjet 1022nw
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Magnus Henoch <mange@freemail.hu>
List: netbsd-bugs
Date: 03/30/2007 17:00:00
>Number: 36110
>Category: kern
>Synopsis: ulpt problem with HP Laserjet 1022nw
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 30 17:00:00 +0000 2007
>Originator: Magnus Henoch
>Release: NetBSD 4.99.16
>Organization:
>Environment:
System: NetBSD zemdatav 4.99.16 NetBSD 4.99.16 (IBOOK) #5: Fri Mar 30 18:37:11 CEST 2007 magnus@zemdatav:/media/e/netbsd/obj/sys/arch/macppc/compile/IBOOK macppc
Architecture: powerpc
Machine: macppc
>Description:
I have a HP Laserjet 1022nw printer connected to a USB port:
ulpt0 at uhub4 port 4 configuration 1 interface 0
ulpt0: Hewlett-Packard HP LaserJet 1022nw, rev 2.00/1.00, addr 3, iclass 7/1
ulpt0: using bi-directional mode
However, it always appears as "busy" in CUPS. I compiled
ulpt.c with ulptdebug = 5, and got the following debug output
after plugging it in:
ulptopen: flags=0x0
ulpt_status: status=0x00 err=0
ulpt_open: waiting a while
ulpt_status: status=0x00 err=0
ulpt_open: waiting a while
[ ...124 identical lines... ]
ulpt_status: status=0x00 err=0
ulpt_open: waiting a while
ulptopen: done, error=16
After 30 seconds, the driver tries again, with the same result.
>How-To-Repeat:
>Fix:
>Unformatted: