Submission for USB scanning in FreeBSD
Jon Drews
jon.drews at gmail.com
Sat Jul 24 01:52:53 UTC 2004
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.
More information about the freebsd-doc
mailing list