From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 20 21:29:20 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D2316A423 for ; Mon, 20 Mar 2006 21:29:20 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A795243D55 for ; Mon, 20 Mar 2006 21:29:10 +0000 (GMT) (envelope-from j@uriah.heep.sax.de) Received: from localhost (localhost [127.0.0.1]) by uriah.heep.sax.de (Postfix) with ESMTP id C64FD276 for ; Mon, 20 Mar 2006 22:29:08 +0100 (MET) Received: from uriah.heep.sax.de (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.2-10) id 32094-0C2E43EA; Mon, 20 Mar 2006 22:29:08 +0100 Received: from uriah.heep.sax.de (localhost [127.0.0.1]) by uriah.heep.sax.de (Postfix) with ESMTP id 7275513C for ; Mon, 20 Mar 2006 22:29:02 +0100 (MET) Received: from uriah.heep.sax.de (localhost [127.0.0.1]) by uriah.heep.sax.de (Postfix) with ESMTP for ; Mon, 20 Mar 2006 22:29:02 +0100 (MET) Received: (from j@localhost) by uriah.heep.sax.de (8.13.4/8.13.1/Submit) id k2KLT2qs032086; Mon, 20 Mar 2006 22:29:02 +0100 (MET) (envelope-from j) Date: Mon, 20 Mar 2006 22:29:02 +0100 (MET) Message-Id: <200603202129.k2KLT2qs032086@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <200601250851.k0P8pNeQ065463@lurza.secnetix.de> In-Reply-To: <200601250851.k0P8pNeQ065463@lurza.secnetix.de> From: j@uriah.heep.sax.de (Joerg Wunsch) X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on uriah.heep.sax.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.5 tests=none autolearn=failed version=3.0.2 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.33.0.19; VDF: 6.33.0.62; host: uriah.heep.sax.de) Subject: Re: SCSI scanner, sym/ncr driver, pt(4) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 21:29:20 -0000 (Yeah, an old thread, I know.) Oliver Fromme wrote: > However, the SANE back-end driver (man pages sane-epson(5) and > sane-sscsi(5)) doesn't want to use /dev/pt0. Well, as I personally dislike the idea to hand out pass(4) devices to mortal users (not only because their numbering could move, but also because they allow much more to the application than pt(4)), I'm still sticking to pt(4) for my HP ScanJet 4c. Here's my configuration: /etc/rc.local: (yeah, should be moved to the correct file) /sbin/devfs rule add path pt0 mode 600 user daemon /usr/local/etc/sane.d/hp.conf: scsi HP # Uncomment the following if you have "Error during device I/O" on SCSI # option dumb-read # /dev/pt0 option connect-device /etc/inetd.conf: sane stream tcp nowait daemon:daemon /usr/local/sbin/saned saned No idea whether it would work for your scanner as well. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)