From owner-freebsd-doc@FreeBSD.ORG Sat Jul 24 01:52:52 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D29A216A4CE for ; Sat, 24 Jul 2004 01:52:52 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C90943D3F for ; Sat, 24 Jul 2004 01:52:52 +0000 (GMT) (envelope-from jon.drews@gmail.com) Received: by mproxy.gmail.com with SMTP id 78so31603rnl for ; Fri, 23 Jul 2004 18:52:51 -0700 (PDT) Received: by 10.38.82.2 with SMTP id f2mr3521rnb; Fri, 23 Jul 2004 18:52:51 -0700 (PDT) Message-ID: <8cb27cbf0407231852d41b5b4@mail.gmail.com> Date: Fri, 23 Jul 2004 20:52:51 -0500 From: Jon Drews To: freebsd-doc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Submission for USB scanning in FreeBSD X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 01:52:53 -0000 Hi: I have seen quite a few questions on how to setup document scanning in FreeBSD and so I thought would submit this. Admittedly, it deals only with USB scanning; I have no experience with SCSI. I have used this in both 4.X and CURRENT. I also need to add the relevant man pages, as they are a good source of information also. Anyway here is a preliminary "howto"; feedback is welcome. USB Document Scanning in FreeBSD _____________________________________________________ Go to http://www.sane-project.org/sane-supported-devices.html and determine if your scanner is supported. 1) Install /usr/ports/graphics/sane-backends/, /usr/ports/graphics/sane-frontends/ and/or /usr/ports/graphics/xsane/ 2) run: # sane-find-scanner as root. In the case of my Epson, it found /dev/uscanner0 3) For an Epson scanner edit /usr/local/etc/sane.d/epson.conf and put in the device that sane-find-scanner discovered. In my case, the epson.conf file looks like so. Be sure to comment out the line "scsi EPSON". # epson.conf # # here are some examples for how to configure the EPSON backend # # SCSI scanner: #scsi EPSON # # Parallel port scanner: #pio 0x278 #pio 0x378 #pio 0x3BC # # USB scanner - only enable this if you have an EPSON scanner. It could # otherwise block your non-EPSON scanner from being # recognized. # Depending on your distribution, you may need either the # first or the second entry. #usb /dev/usbscanner0 #usb /dev/usb/scanner0 usb /dev/uscanner0 4) Add your account to group operator like so: operator:*:5:root,$ACCOUNT_THAT_HAS_SCANNER 5) Start Xsane or one of the other front ends and begin scanning.