From owner-freebsd-current@FreeBSD.ORG Mon Aug 18 07:53:38 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 EB6F837B405 for ; Mon, 18 Aug 2003 07:53:34 -0700 (PDT) Received: from horse05.daimi.au.dk (horse05.daimi.au.dk [130.225.18.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCEC43FB1 for ; Mon, 18 Aug 2003 07:53:31 -0700 (PDT) (envelope-from djn@daimi.au.dk) Received: (from djn@localhost) by horse05.daimi.au.dk (8.11.7/8.11.7) id h7IErTa05525 for freebsd-current@freebsd.org; Mon, 18 Aug 2003 16:53:29 +0200 Date: Mon, 18 Aug 2003 16:53:29 +0200 From: Daniel Nielsen To: FreeBSD Current Message-ID: <20030818145328.GA5193@daimi.au.dk> Mail-Followup-To: FreeBSD Current References: <20030818110251.GA10975@daimi.au.dk> <20030818125910.GR70636@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030818125910.GR70636@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: Mon, 18 Aug 2003 14:53:38 -0000 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. > > If the printer enters standby after boot, then it also doesn't print, > > with the same symptoms. > > > > I then tried upgrading to -CURRENT (about a week ago), but it still > > doesn't work. It works perfectly from Knoppix 3.2 and winXP, so I'm > > pretty sure it is a freeBSD usb problem. I should also mention, that > > I'm using a USB mouse, and it works fine even disconnecting and > > reconnecting after boot. > > That something work with another OS doesn't say anything about that it's > an OS problem. > It could also mean that the other OS has a workaround for a broken > device. That might be, I'm not an OS expert... Still doesn't change the fact that it doesn't work in freeBSD though. /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey