From owner-freebsd-questions@FreeBSD.ORG Sun Jul 2 02:37:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3539116A55B for ; Sun, 2 Jul 2006 02:37:26 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2467544C3B for ; Sun, 2 Jul 2006 02:14:49 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from c-68-59-28-54.hsd1.sc.comcast.net (jn@c-68-59-28-54.hsd1.sc.comcast.net [68.59.28.54]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k622ElER046366; Sat, 1 Jul 2006 19:14:48 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org, sigsegv@radiotube.org Date: Sat, 1 Jul 2006 22:14:46 -0400 User-Agent: KMail/1.9.3 References: <200606301737.32015.rainer.heesen@gmx.de> <44A6A3D5.9020607@radiotube.org> <44A6A58F.7090602@radiotube.org> In-Reply-To: <44A6A58F.7090602@radiotube.org> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607012214.47054.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: Re: CUPS, USB printers & "Permission Denied" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 02:37:26 -0000 On Saturday 01 July 2006 12:40, Jan-Espen Pettersen wrote: > > The problem is that read operations on usb printers might just > > block/hang with no data from the printer (?). ulpt doesn't have > > non-blocking I/O, so I've made a patch that simply times out read > > operations, and disables further reads if it detects a blocking/stall > > condition. It is possible that this breaks the back-channel, as I'm > > unsure if we can expect a printer to send inbound data before we > > actually write anything out? > > > > It looks like there are similar problems with other backends? I've only > > looked at the usb backend yet. > > Sorry, the attachment got cleared by mailman. > http://www.radiotube.org/patch-backend_usb-unix.c > > Put it into /usr/ports/print/cups-base/files if you would like to test > it. That works for me with my USB Lexmark E210. (The file:/ URI workaround also works). Thanks! Are you coordinating anything with the cups project or the port maintainer to explore this issue? JN