From owner-freebsd-questions@FreeBSD.ORG Sun Apr 6 10:05:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8822737B401 for ; Sun, 6 Apr 2003 10:05:26 -0700 (PDT) Received: from freshaire.wiz.com (freshaire.wiz.com [66.143.183.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5501743FBF for ; Sun, 6 Apr 2003 10:05:25 -0700 (PDT) (envelope-from marc@wiz.com) Received: from freshaire.wiz.com (localhost [127.0.0.1]) by freshaire.wiz.com (8.12.6/8.12.6) with ESMTP id h36H5Odr004831 for ; Sun, 6 Apr 2003 12:05:24 -0500 (CDT) (envelope-from marc@freshaire.wiz.com) Received: (from marc@localhost) by freshaire.wiz.com (8.12.6/8.12.6/Submit) id h36H5OZS004830 for freebsd-questions@freebsd.org; Sun, 6 Apr 2003 12:05:24 -0500 (CDT) Date: Sun, 6 Apr 2003 12:05:24 -0500 From: Marc Wiz To: freebsd-questions@freebsd.org Message-ID: <20030406170524.GB4490@freshaire.wiz.com> References: <20030406161652.GA4518@freshaire.wiz.com> <16016.23766.995945.259510@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16016.23766.995945.259510@guru.mired.org> User-Agent: Mutt/1.4i Subject: Re: USB Printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 17:05:26 -0000 On Sun, Apr 06, 2003 at 11:59:02AM -0500, Mike Meyer wrote: > In <20030406161652.GA4518@freshaire.wiz.com>, Marc Wiz typed: > > Now here comes the interesting part since I figured it would be a > > good idea to start debugging this with a simple setup (no printer > > spooler, etc.) I have tried to do echo "hello there" > /dev/ulpt0 > > and nothing happens. > > It takes about 30 seconds before the command ends. > > This was interpreted as meaning that this was a winprinter. However... Right :-) That's why I did what I did with another OS :-) > > > If I try the echo using Linux the printer works just fine. I.e. a page is > > printed with "hello there". > > That's not good. That sounds like it isn't a winprinter, but the > driver is just not working. I don't know anything about USB (yet :-) but I wonder why other USB printers work. > > > The code is compiled into the kernel (not a module) > > > > Any suggestions as to how to proceed? Are there any driver debug options > > that can be enabled either for USB or the printer code? > > You can enable USB_DEBUG at kernel build time, then use "gdb -k" to > set ulptdebug in ulpt.c to positive values - increasing values get you > increasing levels of debug information. Thanks! I will build a new kernel and try that. Marc -- Marc Wiz marc@wiz.com Yes, that really is my last name.