Fwd: USB to parallel for printer HP LaserJet 4mL

Matthias Apitz guru at unixarea.de
Sat Jun 21 11:13:55 UTC 2014


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 at 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


More information about the freebsd-usb mailing list