README.freebsd 1.76 KB
Newer Older
1 2 3 4 5
SANE and FreeBSD
----------------

Building:
---------
6
Don't forget to use GNU make (gmake). E.g. "MAKE=gmake ./configure".
7 8
SANE should compile and install out-of-the-box.

9
If you've installed some of the optional libraries that sane-backends
10
can make use of (see README for list) using Ports then you will need to
11 12 13 14
let configure know about their locations:

MAKE=gmake CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure

15 16
SCSI-scanners:
--------------
17
If the SCSI host adapter is supported, there are no known problems.
18 19 20 21 22 23

USB-scanners:
-------------
USB-Scanners are supported by FreeBSD. The USB scanner driver "uscanner" and
access over libusb can be used.

24 25
For some backends (e.g. gt68xx) you MUST use libusb. The uscanner driver won't
work because it doesn't support control messages or interrupt endpoints.
26

27 28 29 30
If you want to use libusb, your scanner should *not* be claimed by the uscanner
driver. Make sure, that /dev/ugen* and /dev/usb* devices are available. Use
/dev/MAKEDEV to create them, if necessary. Make sure that the user has write
access to the appropriate device files.
31

32 33 34 35 36
To get your scanner detected by the uscanner driver, it may be necessary to add
its vendor and device ids to the kernel and recompile. Use MAKEDEV to generate
the /dev/uscanner* files if they are not already there. Use sane-find-scanner to
find your scanner. scanimage -L should find it automatically. Make sure that the
user has read access to /dev/usb* and read and write access to /dev/uscanner*.
37

38 39
Parport-scanners:
-----------------
40 41 42
I don't have much information about these. The Mustek 600 II N scanner seems to
work, others may or may not work. Please contact me or the SANE mailing list if
you succeeded in using a parport scanner.
43

44
2005-11-01 Henning Meier-Geinitz <henning@meier-geinitz.de>