From owner-freebsd-current@FreeBSD.ORG Mon Aug 18 11:31:39 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 2702B37B401 for ; Mon, 18 Aug 2003 11:31:38 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B71D443F93 for ; Mon, 18 Aug 2003 11:31:36 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h7IIVXaK016606 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Mon, 18 Aug 2003 20:31:34 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h7IIVVA4020377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 18 Aug 2003 20:31:32 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h7IIVVNS039388 for ; Mon, 18 Aug 2003 20:31:31 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h7IIVVs1039387 for freebsd-current@freebsd.org; Mon, 18 Aug 2003 20:31:31 +0200 (CEST) Date: Mon, 18 Aug 2003 20:31:30 +0200 From: Bernd Walter To: FreeBSD Current Message-ID: <20030818183129.GW70636@cicely12.cicely.de> References: <20030818110251.GA10975@daimi.au.dk> <20030818125910.GR70636@cicely12.cicely.de> <20030818145328.GA5193@daimi.au.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030818145328.GA5193@daimi.au.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i Subject: Re: USB Printer? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 18:31:39 -0000 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. What kind of USB controller do you have? Are other full-speed USB devices working on this usb controller (mices are often low speed)? -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de