1141cc406Sopenharmony_ciSANE and FreeBSD
2141cc406Sopenharmony_ci----------------
3141cc406Sopenharmony_ci
4141cc406Sopenharmony_ciBuilding:
5141cc406Sopenharmony_ci---------
6141cc406Sopenharmony_ciDon't forget to use GNU make (gmake). E.g. "MAKE=gmake ./configure".
7141cc406Sopenharmony_ciSANE should compile and install out-of-the-box.
8141cc406Sopenharmony_ci
9141cc406Sopenharmony_ciIf you've installed some of the optional libraries that sane-backends
10141cc406Sopenharmony_cican make use of (see README for list) using Ports then you will need to
11141cc406Sopenharmony_cilet configure know about their locations:
12141cc406Sopenharmony_ci
13141cc406Sopenharmony_ciMAKE=gmake CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
14141cc406Sopenharmony_ci
15141cc406Sopenharmony_ciSCSI-scanners:
16141cc406Sopenharmony_ci--------------
17141cc406Sopenharmony_ciIf the SCSI host adapter is supported, there are no known problems.
18141cc406Sopenharmony_ci
19141cc406Sopenharmony_ciUSB-scanners:
20141cc406Sopenharmony_ci-------------
21141cc406Sopenharmony_ciUSB-Scanners are supported by FreeBSD. The USB scanner driver "uscanner" and
22141cc406Sopenharmony_ciaccess over libusb can be used.
23141cc406Sopenharmony_ci
24141cc406Sopenharmony_ciFor some backends (e.g. gt68xx) you MUST use libusb. The uscanner driver won't
25141cc406Sopenharmony_ciwork because it doesn't support control messages or interrupt endpoints.
26141cc406Sopenharmony_ci
27141cc406Sopenharmony_ciIf you want to use libusb, your scanner should *not* be claimed by the uscanner
28141cc406Sopenharmony_cidriver. Make sure, that /dev/ugen* and /dev/usb* devices are available. Use
29141cc406Sopenharmony_ci/dev/MAKEDEV to create them, if necessary. Make sure that the user has write
30141cc406Sopenharmony_ciaccess to the appropriate device files.
31141cc406Sopenharmony_ci
32141cc406Sopenharmony_ciTo get your scanner detected by the uscanner driver, it may be necessary to add
33141cc406Sopenharmony_ciits vendor and device ids to the kernel and recompile. Use MAKEDEV to generate
34141cc406Sopenharmony_cithe /dev/uscanner* files if they are not already there. Use sane-find-scanner to
35141cc406Sopenharmony_cifind your scanner. scanimage -L should find it automatically. Make sure that the
36141cc406Sopenharmony_ciuser has read access to /dev/usb* and read and write access to /dev/uscanner*.
37141cc406Sopenharmony_ci
38141cc406Sopenharmony_ciParport-scanners:
39141cc406Sopenharmony_ci-----------------
40141cc406Sopenharmony_ciI don't have much information about these. The Mustek 600 II N scanner seems to
41141cc406Sopenharmony_ciwork, others may or may not work. Please contact me or the SANE mailing list if
42141cc406Sopenharmony_ciyou succeeded in using a parport scanner.
43141cc406Sopenharmony_ci
44141cc406Sopenharmony_ci2005-11-01 Henning Meier-Geinitz <henning@meier-geinitz.de>
45