From owner-freebsd-questions@FreeBSD.ORG Mon Jul 3 19:03:10 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 AC16916A47B for ; Mon, 3 Jul 2006 19:03:10 +0000 (UTC) (envelope-from rainer.heesen@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 5008E43D48 for ; Mon, 3 Jul 2006 19:03:09 +0000 (GMT) (envelope-from rainer.heesen@gmx.de) Received: (qmail invoked by alias); 03 Jul 2006 19:03:07 -0000 Received: from pD9E81E57.dip0.t-ipconnect.de (EHLO desktop.heesen-bonn.de) [217.232.30.87] by mail.gmx.net (mp019) with SMTP; 03 Jul 2006 21:03:07 +0200 X-Authenticated: #514428 From: Rainer Heesen To: sigsegv@radiotube.org Date: Mon, 3 Jul 2006 21:03:05 +0200 User-Agent: KMail/1.9.3 References: <200607021653.13546.rainer.heesen@gmx.de> <44A8318A.3070902@radiotube.org> In-Reply-To: <44A8318A.3070902@radiotube.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607032103.06324.rainer.heesen@gmx.de> X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: cups 1.2 - no output 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: Mon, 03 Jul 2006 19:03:10 -0000 the permissions of /dev/ulp* are: crw-rw---- 1 root cups 0, 169 Jul 3 20:35 /dev/ulpt0 crw-rw---- 1 root cups 0, 170 Jul 3 20:35 /dev/unlpt0 the directory /var/cache/cups is group writable when I start a print job I get the message printer Minolta now printing Minolta-59. enabled since Mon Jul 3 20:53:42 2006 USB port busy; will retry in 30 seconds... Minolta-59 guest 18432 Mon Jul 3 20:53:42 2006 however, there is now output of fstat | grep ulpt0 'fstat |grep cups' gives this output cups usb 1657 root / 2 drwxr-xr-x 512 r cups usb 1657 wd / 2 drwxr-xr-x 512 r cups usb 1657 text /usr 7632315 -rwxr-xr-x 22297 r cups usb 1657 0 /dev 21 crw-rw-rw- null r cups usb 1657 1 /dev 21 crw-rw-rw- null w cups usb 1657 2* pipe c5826d78 <-> c5826cc0 0 rw cups usb 1657 3* pipe c5826580 <-> c58264c8 0 rw cups usb 1657 4 /var 4022 -rw-r----- 18382 r root cupsd 1652 root / 2 drwxr-xr-x 512 r root cupsd 1652 wd / 2 drwxr-xr-x 512 r root cupsd 1652 text /usr 6743296 -rwxr-xr-x 595608 r root cupsd 1652 0* internet6 stream tcp c4eb0570 root cupsd 1652 1 /var 3206 -rw-r--r-- 695444 rw root cupsd 1652 2* internet stream tcp c4acfae0 root cupsd 1652 3* local stream c57a6c08 root cupsd 1652 4* internet dgram udp c48775a0 root cupsd 1652 5* pipe c5826198 <-> c5826250 0 rw root cupsd 1652 6* pipe c5826250 <-> c5826198 0 rw root cupsd 1652 7* internet6 stream tcp c49b8cb0 root cupsd 1652 8 /var 3069 -rw-r--r-- 311933 rw root cupsd 1652 9* internet6 stream tcp c4acf740 root cupsd 1652 11 /dev 21 crw-rw-rw- null r root cupsd 1652 14* pipe c5826cc0 <-> c5826d78 0 rw root cupsd 1652 16 /dev 21 crw-rw-rw- null r Am Sonntag 02 Juli 2006 22:50 schrieb Jan-Espen Pettersen: > Rainer Heesen wrote: > > USB port busy; will retry in 30 seconds... > > fstat | grep ulpt0 > > .. will reveal which process is eventually having ulpt0 open, and > causing 'device busy'. > The usb backend seems to get this error while trying to open /dev/ulpt0. > > Please also make sure that either the cups user or cups group has read > and write access to /dev/ulpt0. > I think most people use permissions like: root:cups 0660 (-rw-rw----). > > Jan-Espen Pettersen