From owner-freebsd-stable@FreeBSD.ORG Fri May 21 09:35:20 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1FE51065672 for ; Fri, 21 May 2010 09:35:20 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id D90148FC27 for ; Fri, 21 May 2010 09:35:20 +0000 (UTC) Received: from omta08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by qmta05.emeryville.ca.mail.comcast.net with comcast id L9aT1e0040FhH24A59bMWq; Fri, 21 May 2010 09:35:21 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta08.emeryville.ca.mail.comcast.net with comcast id L9bL1e0073S48mS8U9bLvB; Fri, 21 May 2010 09:35:21 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 722999B419; Fri, 21 May 2010 02:35:19 -0700 (PDT) Date: Fri, 21 May 2010 02:35:19 -0700 From: Jeremy Chadwick To: Torfinn Ingolfsen Message-ID: <20100521093519.GA43161@icarus.home.lan> References: <86vdahhd4f.fsf@siegel.tg.intern> <20100521110459.925a01b9.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100521110459.925a01b9.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: [8-STABLE] USB printer disconnecting when trying to print X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 09:35:21 -0000 On Fri, May 21, 2010 at 11:04:59AM +0200, Torfinn Ingolfsen wrote: > On Fri, 21 May 2010 10:29:04 +0200 > Thomas Gellekum wrote: > > > echo "hallo" > /dev/ulpt0 > > [...] > > Any ideas on how to debug this are welcome. > > Most of todays printers do NOT understand plain text, usually you need a driver which transforms whatever you want to print into > the language the printer understands. > See http://www.openprinting.org/printer/Brother/Brother-HL-1250 > for more info. As someone who used to own a Brother MFC-5490CN printer, here are some points/items I came across when trying to get FreeBSD working with it. Note that I did not try USB because I don't use it; I use wired Ethernet/IP, but from the USB errors you see it looks like your situation is the same. - Brother has officially stated they do not support FreeBSD: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/faq_prn.html#5 - Linux emulation will be required. I refused to go down this road, and brandelf(1) is not enough. - Looking through forums and discussion threads for Linux, I found a lot of people encountering what I did: communicating with the printer via IP (specifically LPR mode) worked, but the instant it saw any sort of I/O data, the printer would lock up and require a power-cycle, while showing (if my memory serves me right) "READING" or "COMMUNICATING" on its LCD immediately prior to locking up. - I encountered the same problem when attempting to use its PCL emulation mode. I had no problem telnetting to the printer and doing administrative commands/things, including printing, under Windows -- except, of course, once the unit was locked up. I no longer own the printer in question for reasons unrelated, but the overall experience itself left me so irritated that since purchasing a non-Brother printer I haven't even bothered to try and get FreeBSD to print to it. The fact that one needs "OS drivers" to print to a printer is absolutely preposterous; I don't know when this became the norm, but it wasn't like this in the early-to-late 90s. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |