From owner-freebsd-usb@FreeBSD.ORG Mon Mar 28 17:51:03 2005 Return-Path: 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 68F7A16A4CE for ; Mon, 28 Mar 2005 17:51:03 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB9CE43D41 for ; Mon, 28 Mar 2005 17:51:02 +0000 (GMT) (envelope-from mala@hinterbergen.de) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DFyOE-0001VR-00 for freebsd-usb@freebsd.org; Mon, 28 Mar 2005 19:51:02 +0200 Received: from [217.230.5.163] (helo=router.hinter.bergen) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1DFyOD-00064j-00 for freebsd-usb@freebsd.org; Mon, 28 Mar 2005 19:51:02 +0200 Received: from ws02.hinter.bergen (ws02.hinter.bergen [192.168.42.12]) by router.hinter.bergen (Postfix) with ESMTP id 5D8C61CF966 for ; Mon, 28 Mar 2005 17:31:32 +0000 (UTC) Received: from ws02.hinter.bergen ([127.0.0.1]) by ws02.hinter.bergen with esmtp (Exim 3.35 #1 (Debian)) id 1DFyMf-0008ED-00 for ; Mon, 28 Mar 2005 17:49:25 +0000 Message-ID: <424843A5.1060602@ws02.hinter.bergen> Date: Mon, 28 Mar 2005 17:49:25 +0000 From: Manuel Tobias Schiller User-Agent: Mozilla Thunderbird 1.0 (X11/20050124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2556f92019e74251702a17d2f7e6a8ec Subject: USB printing problem: /dev/ulpt0: device busy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 17:51:03 -0000 Hello everybody, Eugene Rogoza has alerted me to this issue. I can reproduce the behaviour he is talking about on my virtual FreeBSD 5.3 system running under Linux as host OS. Any attempt to access the device file (both /dev/ulpt0 and /dev/unlpt0) fail with the message "Device busy". The FreeBSD kernel does recognize the printer when attached to the USB port, and it correctly associates the ulpt driver with it. This behaviour is quite obviously not due to faulty hardware emulation in the virtual machine as Mr. Rogoza has also experienced it. I'd really like to help to make my driver for Minolta PagePro 1[23][05]0W printers work under FreeBSD, too - even when the printer is connected to a USB port. Any help, hint or idea as to what might cause this behaviour would be greatly appreciated. Manuel Schiller Tue, Mar 1 2005, Eugene Rogoza wrote: > Hello everybody, > > I'm experiencing certain problems with USB printing. I have a Minolta > PagePro 1300W printer connected to USB port. FreeBSD 5.3 recognizes > the printer just fine and creates /dev/ulpt0 and /dev/unlpt0 device > nodes. > > But the simple test like > > echo "test" > /dev/ulpt0 (or /dev/unlpt0) fails with the message >"/dev/ulpt0: device busy". And, respectively, if simple tests fail, > then the complicated printing via ghostscript -> filter -> driver also > doesn't work. > > I suppose some program uses the device already, but I don't know what > it can be - I'm not running lpd (device is busy either with lpd > running or not). > > There isn't really much regarding this problem on the net. Usually > people have their USB printers working. > > Any suggestions are appreciated. > >Eugene Rogoza >