From owner-freebsd-current@FreeBSD.ORG Tue Aug 19 00:10:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CD6C16A4BF for ; Tue, 19 Aug 2003 00:10:57 -0700 (PDT) Received: from horse09.daimi.au.dk (horse09.daimi.au.dk [130.225.18.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687CB43F93 for ; Tue, 19 Aug 2003 00:10:55 -0700 (PDT) (envelope-from djn@daimi.au.dk) Received: (from djn@localhost) by horse09.daimi.au.dk (8.11.7/8.11.7) id h7J7ArO24357 for freebsd-current@freebsd.org; Tue, 19 Aug 2003 09:10:53 +0200 Date: Tue, 19 Aug 2003 09:10:53 +0200 From: Daniel Nielsen To: FreeBSD Current Message-ID: <20030819071052.GA23940@daimi.au.dk> Mail-Followup-To: FreeBSD Current References: <20030818110251.GA10975@daimi.au.dk> <20030818125910.GR70636@cicely12.cicely.de> <20030818145328.GA5193@daimi.au.dk> <20030818183129.GW70636@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030818183129.GW70636@cicely12.cicely.de> User-Agent: Mutt/1.4i X-PGP-Key: http://www.daimi.au.dk/~djn/djn.asc Subject: Re: USB Printer? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 07:10:57 -0000 On 18/08-03 20.31, Bernd Walter wrote: > On Mon, Aug 18, 2003 at 04:53:29PM +0200, Daniel Nielsen wrote: > > On 18/08-03 14.59, Bernd Walter wrote: > > > On Mon, Aug 18, 2003 at 01:02:51PM +0200, Daniel Nielsen wrote: > > > > Hi. > > > > > > > > I installed 5.1-RELEASE on a compuiter with a nforce2 mobo, worked > > > > nice... Then I bought a Brother-5050 Laser printer > > > > (Postscript). Installed and configured cups. cups worked fine. Then I > > > > realized, the printer only works if it is turned on before my freebsd > > > > boots. > > > > > > > > When I power it up, it is detected by the freebsd usb-system: > > > > > > > > zits root # dmesg | grep ulpt > > > > ulpt0: Brother HL-5050, rev 2.00/1.00, addr 3, iclass 7/1 > > > > ulpt0: using bi-directional mode > > > > zits root # > > > > > > > > And when I turn it off: > > > > zits root # dmesg | grep ulpt > > > > > > > > ulpt0: at uhub0 port 2 (addr 3) disconnected > > > > ulpt0: detached > > > > zits root # > > > > > > > > but when I send a job to the printer, the CUPS usb backend just > > > > hangs, locking /dev/ulpt0 > > > > > > > > I tried cat /root/some-file > /dev/ulpt0 , and it also just hangs. > > > > > > /dev/ulpt0 shouldn't exist after ulpt0 was detached. > > > > It doesn't... I wasn't being clear, I only try the cat thing after the > > printer is attached and turned on. > > What does ps -axl say. I'll have to check when I get home. > What kind of USB controller do you have? Its the onboard nvidia nforce2 controller, USB 2 is enabled in BIOS. Switching it off doesn't help > Are other full-speed USB devices working on this usb controller (mices > are often low speed)? No. I only have 2 usb devices, mouse and printer. /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey