From owner-freebsd-questions Wed May 12 12: 8:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lix.intercom.es (lix.intercom.es [194.179.21.2]) by hub.freebsd.org (Postfix) with ESMTP id 548A1150D9 for ; Wed, 12 May 1999 12:08:41 -0700 (PDT) (envelope-from megarcia@intercom.es) Received: from intercom.es (iv3-105.intercom.es [195.76.131.105]) by lix.intercom.es (8.7.3/8.6.12) with ESMTP id VAA15647; Wed, 12 May 1999 21:09:27 +0100 Received: (from megarcia@localhost) by intercom.es (8.8.8/8.8.8) id VAA00828; Wed, 12 May 1999 21:03:49 +0200 (CEST) (envelope-from megarcia) Message-ID: <19990512210349.D443@kicelo.org> Date: Wed, 12 May 1999 21:03:49 +0200 From: Manuel Enrique Garcia Cuesta To: rknebel@uplink.net Cc: questions@FreeBSD.org Subject: Re: sane References: <19990511205905.A2078@rknebel.uplink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990511205905.A2078@rknebel.uplink.net>; from Rick Knebel on Tue, May 11, 1999 at 08:59:05PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Rick, I've found this post to be useful for me and my HP 5P, hope it works for you also. Regards Manuel Garcia ========================================= Re: SANE & 3.0-RELEASE? - YES! Author: Randall Hopper Date: 1998/11/26 Forum: mailing.freebsd.current Thanks to a SANE patch for CAM from Corey Kempf , and advice from Corey and Amancio Hasty , SANE is now up-n-running ELF/CAM on my box controlling my SCSI Microtek E6 Scanner (under GIMP no less, without a GIMP recompile). Thaks for the help guys! For the archives, here's what was needed beyond applying Cory's patch, and building/installing SANE: 1) First, for convenience, wire the scanner down to a specific CAM pass-through device. Example kernel config line: device pass0 at scbus0 target 6 unit 0 # CAM passthrough = Scanner 2) Make sure the relevent CAM passthrough and TLI devices exist. In my case they did (/dev/pass0 and /dev/xpt0, respectively). 3) Open up permissions to those devices so the relevent scanner users/groups can access them. E.g.: crw-rw---- 1 root scanner 31, 0 Nov 24 18:32 /dev/pass0 crw-rw---- 1 root scanner 104, 0 Nov 17 17:32 /dev/xpt0 works for me since the scanner grp is all that need xpt0 access. 4) Insert the appropriate /dev/pass? device name into your scanner's SANE config file in /usr/local/etc/sane.d/ (mine: microtek.conf). E.g.: #Uncomment following line to disable "clever precalibration" routines... #noprecal scsi * * Scanner /dev/pass0 NOTE: Unlike pre-CAM SANEs, you cannot create a symlink or hardlink (e.g. /dev/scanner) pointing to the real pass-through device, and then add the symlink path to this file. The config file has to literally contain the /dev/pass? device name. 5) Then fire up the scanner, rescan the bus (camcontrol rescan 0), make sure the scanner is there (camcontrol devlist), and scan away! Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message ============================================= On Tue, May 11, 1999 at 08:59:05PM -0400, Rick Knebel wrote: > Hi, > > I am trying to use sane with my umax scanner. > My scanner is /dev/pass0. > It shows up when I start xscanimage as root but not as a user. > Just to see I reset the permissions for pass0 to make it readable and > writable by everyone and still it does not come up. > > Any idea's > > Thanks > Rick > > -- > Rick Knebel > rknebel@uplink.net > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message