1SANE and FreeBSD
2----------------
3
4Building:
5---------
6Don't forget to use GNU make (gmake). E.g. "MAKE=gmake ./configure".
7SANE should compile and install out-of-the-box.
8
9If you've installed some of the optional libraries that sane-backends
10can make use of (see README for list) using Ports then you will need to
11let configure know about their locations:
12
13MAKE=gmake CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
14
15SCSI-scanners:
16--------------
17If the SCSI host adapter is supported, there are no known problems.
18
19USB-scanners:
20-------------
21USB-Scanners are supported by FreeBSD. The USB scanner driver "uscanner" and
22access over libusb can be used.
23
24For some backends (e.g. gt68xx) you MUST use libusb. The uscanner driver won't
25work because it doesn't support control messages or interrupt endpoints.
26
27If you want to use libusb, your scanner should *not* be claimed by the uscanner
28driver. Make sure, that /dev/ugen* and /dev/usb* devices are available. Use
29/dev/MAKEDEV to create them, if necessary. Make sure that the user has write
30access to the appropriate device files.
31
32To get your scanner detected by the uscanner driver, it may be necessary to add
33its vendor and device ids to the kernel and recompile. Use MAKEDEV to generate
34the /dev/uscanner* files if they are not already there. Use sane-find-scanner to
35find your scanner. scanimage -L should find it automatically. Make sure that the
36user has read access to /dev/usb* and read and write access to /dev/uscanner*.
37
38Parport-scanners:
39-----------------
40I don't have much information about these. The Mustek 600 II N scanner seems to
41work, others may or may not work. Please contact me or the SANE mailing list if
42you succeeded in using a parport scanner.
43
442005-11-01 Henning Meier-Geinitz <henning@meier-geinitz.de>
45