Date: Wed, 12 May 1999 21:03:49 +0200 From: Manuel Enrique Garcia Cuesta <megarcia@intercom.es> To: rknebel@uplink.net Cc: questions@FreeBSD.org Subject: Re: sane Message-ID: <19990512210349.D443@kicelo.org> In-Reply-To: <19990511205905.A2078@rknebel.uplink.net>; from Rick Knebel on Tue, May 11, 1999 at 08:59:05PM -0400 References: <19990511205905.A2078@rknebel.uplink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <aa8vb@pagesz.net>
Date: 1998/11/26
Forum: mailing.freebsd.current
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
=============================================
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990512210349.D443>
