From owner-freebsd-hardware@FreeBSD.ORG Sun Apr 2 05:47:39 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1166516A422 for ; Sun, 2 Apr 2006 05:47:39 +0000 (UTC) (envelope-from j_guojun@lbl.gov) Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F27D43D67 for ; Sun, 2 Apr 2006 05:47:35 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 54219 invoked from network); 2 Apr 2006 05:47:34 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.175.93 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 2 Apr 2006 05:47:34 -0000 Message-ID: <442F6234.4010403@lbl.gov> Date: Sat, 01 Apr 2006 21:33:40 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Carlos Silva References: <442DFEE5.4040407@yourdot-mail.com> <442E82F2.8040702@bah.homeip.net> <442EACAF.4010606@yourdot-mail.com> <442EAEF1.5050307@bah.homeip.net> <442EB292.1000007@yourdot-mail.com> <442F15C6.4070409@lbl.gov> <442F1698.5050500@yourdot-mail.com> <442F1DB5.8090003@lbl.gov> <442F1EE3.8050904@yourdot-mail.com> <442F2251.8010205@lbl.gov> In-Reply-To: <442F2251.8010205@lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hardware@freebsd.org Subject: Re: cups X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2006 05:47:39 -0000 Carlos Silva wrote: > >> my logs from the error are: >> ..... (skipped) >> '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' >> '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=PHOTOSMART >> 1115' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' >> '-dDuplex=false' '-r300' >> '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' >> '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 > >> D [25/Mar/2006:23:37:55 +0000] [Job 7] **** Unable to open the >> initial device, quitting. >> D [25/Mar/2006:23:37:55 +0000] [Job 7] renderer return value: 1 >> D [25/Mar/2006:23:37:55 +0000] [Job 7] renderer received signal: 1 >> D [25/Mar/2006:23:37:55 +0000] [Job 7] tail process done writing data >> to STDOUT > By looking closely, somewhere in filter configuration (mime.convs?) is messed up. clause '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 means: to read data from stdin and send result to stderr (not stdout, weird); then, redirection says to redirect 3 (stderr) to 1 (stdin, even weird), this loops; and then redirect 1 (stdin) to 2 (stdout), thus input (stdin , 1) is empty because it is redirected to stdout (2) and all input are directly sent to stdout (bypass the filter ???). -Jin