Date: Wed, 25 Nov 1998 18:06:56 -0500 From: Randall Hopper <aa8vb@pagesz.net> To: current@FreeBSD.ORG Subject: Re: SANE & 3.0-RELEASE? - YES! Message-ID: <19981125180656.A2751@pagesz.net> In-Reply-To: <19981122201349.B19160@pagesz.net>; from Randall Hopper on Sun, Nov 22, 1998 at 08:13:49PM -0500 References: <19981122101554.A8319@pagesz.net> <199811222319.QAA00516@panzer.plutotech.com> <19981122201349.B19160@pagesz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to a SANE patch for CAM from Corey Kempf <ckempf@enigami.com>,
and advice from Corey and Amancio Hasty <hasty@rah.star-gate.com>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981125180656.A2751>
