From owner-freebsd-usb@FreeBSD.ORG Sat Jun 21 11:13:55 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D313CD2 for ; Sat, 21 Jun 2014 11:13:55 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07C0B298D for ; Sat, 21 Jun 2014 11:13:54 +0000 (UTC) Received: from [93.104.30.195] (helo=localhost.my.domain) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1WyJEv-0000uR-EQ; Sat, 21 Jun 2014 13:13:45 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5LBDgsO002074; Sat, 21 Jun 2014 13:13:43 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id s5LBDfwI002073; Sat, 21 Jun 2014 13:13:41 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 21 Jun 2014 13:13:41 +0200 From: Matthias Apitz To: Hans Petter Selasky Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL Message-ID: <20140621111341.GA2044@La-Habana> Reply-To: Matthias Apitz References: <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org> <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org> <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org> <20140617055446.GA1427@La-Habana> <539FDFB1.1090007@selasky.org> <20140617065534.GA1634@La-Habana> <539FE8C4.9090606@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <539FE8C4.9090606@selasky.org> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.30.195 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2014 11:13:55 -0000 El día Tuesday, June 17, 2014 a las 09:05:40AM +0200, Hans Petter Selasky escribió: > I think the USB stack is trying to reset the ULPT device, because it > does not respond on the control endpoint any more. See TIMEOUT messages > in dmesg and usbdump. By setting "no_cs_fail" to non-zero this behaviour > is disabled. Hi, Thanks to Hans, the printing works now. But is terrible slow: printing a 2.9 MByte Postscript file (containing a bit map, because it was concerted from a PDF file) gives: $ ls -l fra.ps -rw-r--r-- 1 guru wheel 2951274 19 jun 17:44 fra.ps $ date ; cat fra.ps > /dev/unlpt0 ; date ; cat fra.ps > /dev/ulpt0 ; date Sat Jun 21 11:43:12 CEST 2014 Sat Jun 21 11:58:48 CEST 2014 Sat Jun 21 12:14:51 CEST 2014 i.e. takes around 15 minutes, regardeless of the used device, 3.2K per second. Just for the records matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign