From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 19:22:23 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FE4C16A4DA for ; Sun, 13 Aug 2006 19:22:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BD6B43D6A for ; Sun, 13 Aug 2006 19:22:17 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7DJJwjT043669; Sun, 13 Aug 2006 13:19:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 13 Aug 2006 13:20:07 -0600 (MDT) Message-Id: <20060813.132007.2130803053.imp@bsdimp.com> To: casper@mail.web.am From: "M. Warner Losh" In-Reply-To: <44DF684D.4090201@mail.web.am> References: <44DF684D.4090201@mail.web.am> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 13 Aug 2006 13:20:00 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: Bug in ultp ? (amd64 + HP 1020 printer) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 19:22:23 -0000 In message: <44DF684D.4090201@mail.web.am> Gaspar Chilingarov writes: : Hello all! : : I'm running latest -current (Aug 13) on AMD64 and got the following : problem -- HP 1020 printer does not respond at all to the commands. : At first -- the firmwre should be loaded there (on attch) and then : image data to be output on the printed (I've converted it from ps with : gs and foo2zjs). : : In linux (Ubuntu) on the same hardware I've succeeded to boot system, : run : cat firmware > /dev/usblp0 : cat testpage > /dev/usblp0 : : and it worked. I've also ensured that no initializations scripts for : printer are run on startup. Both commands work without any delays. : : on freebsd first command -- cat firmvare > /dev/ulpt0 just hangs and a : little bit later in syslog i can see : kernel: ulpt0: offline : : I've tried compiling kernel with and without ehci -- it does not affect : anything. Now I have kernel compiled with debugging, but usb stack : prints too much log data - so if someone is interesed - just please let : me know with which log level and with which options I should try to : connect printer and send there a data. There used to be a bug where we'd wait for the printer to come online. Now we just print the offline message. Can you tell me what state the cat process is in (using top) when it hangs? Warner