NetBSD Problem Report #17373
Received: (qmail 28543 invoked by uid 605); 24 Jun 2002 05:45:29 -0000
Message-Id: <200206240545.g5O5jMQ05532@ophidian.must-have-coffee.gen.nz>
Date: Mon, 24 Jun 2002 17:45:22 +1200 (NZST)
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@gnats.netbsd.org
Subject: USB printing problem
X-Send-Pr-Version: 3.95
>Number: 17373
>Category: kern
>Synopsis: Can't print via USB, printer and USB always resets
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: mycroft
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 24 05:46:00 +0000 2002
>Closed-Date: Thu Aug 12 13:04:45 +0000 2004
>Last-Modified: Thu Aug 12 13:04:45 +0000 2004
>Originator: Lloyd Parkes
>Release: NetBSD 1.6_BETA1
>Organization:
Must Have Coffee
>Environment:
System: NetBSD ophidian.must-have-coffee.gen.nz 1.6_BETA1 NetBSD 1.6_BETA1 (GENERIC) #0: Wed Jun 5 11:10:45 NZST 2002 lloyd@ophidian.must-have-coffee.gen.nz:/vol/NetBSD/build/i386/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When I try and print something to my Brother HL-1250 printer via USB,
the printer resets itself causing the following messages to appear.
ulpt0: at uhub0 port 2 (addr 2) disconnected
ulpt0 detached
Once the printer reset is complete a second or so later, the printer
device is reattached.
ulpt0 at uhub0 port 2 configuration 1 interface 0
ulpt0: Brother Industries product 0x0007, rev 1.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
>How-To-Repeat:
bash-2.05$ cat foo.pcl > /dev/ulpt0
bash: /dev/ulpt0: Device not configured
Just opening the device is enough to cause this.
>Fix:
No fix known.
>Release-Note:
>Audit-Trail:
From: Bjoern.Labitzke@t-online.de (Bjoern Labitzke)
To: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
Cc: gnats-bugs@gnats.netbsd.org, NetBSD reported bugs <NetBSD-bugs@NetBSD.org>
Subject: Re: kern/17373: USB printing problem
Date: Mon, 24 Jun 2002 11:56:44 +0200
* Lloyd Parkes (lloyd@must-have-coffee.gen.nz) Mon, Jun 24, 2002 at 05:45:22PM +1200:
> >Synopsis: Can't print via USB, printer and USB always resets
> When I try and print something to my Brother HL-1250 printer via USB,
> the printer resets itself causing the following messages to appear.
>
> ulpt0: at uhub0 port 2 (addr 2) disconnected
> ulpt0 detached
>
> Once the printer reset is complete a second or so later, the printer
> device is reattached.
>
> ulpt0 at uhub0 port 2 configuration 1 interface 0
> ulpt0: Brother Industries product 0x0007, rev 1.00/1.00, addr 2, iclass 7/1
> ulpt0: using bi-directional mode
I am using a Brother HL-1050 and see a similar problem. Try to use
ulpn0 instead of ulpt0. Though it does not seem to solve my problem
completely, I am now able to print at least most of the time.
Bjoern
--
Bjoern Labitzke <hermit@cs.tu-berlin.de>
Use GPG! (Don't you use envelopes for your letters?)
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/17373
Date: Thu, 27 Jun 2002 10:50:42 +1200
A kind member of the public pointed out that ulpn* now exists, and this
seems to work. I have also RTFM.
I'm not convinced that resetting a USB device on open is the right thing
to do. Using a quirk table springs to mind.
I may be unreasonable, but I expect computer stuff to work when I plug
it in. I know this will never happen, but I still expect it.
Cheers,
Lloyd
Responsible-Changed-From-To: kern-bug-people->mycroft
Responsible-Changed-By: mycroft
Responsible-Changed-When: Sat Jun 26 20:22:13 UTC 2004
Responsible-Changed-Why:
.
State-Changed-From-To: open->feedback
State-Changed-By: mycroft
State-Changed-When: Sat Jul 3 19:37:46 UTC 2004
State-Changed-Why:
Should be fixed in ulpt.c 1.64.
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/17373
Date: Thu, 12 Aug 2004 19:23:10 +1200
I have tried the new version of ulpt.c and it works for me.
State-Changed-From-To: feedback->closed
State-Changed-By: mycroft
State-Changed-When: Thu Aug 12 13:04:21 UTC 2004
State-Changed-Why:
User confirms fixed.
>Unformatted:
Precise source date is unknown
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.