代码拉取完成,页面将自动刷新
SANE and NetBSD
----------------
Building:
---------
Don't forget to use GNU make (gmake). E.g. "MAKE=gmake ./configure".
SANE should compile and install out-of-the-box.
SCSI-scanners:
--------------
SANE only supports the generic /dev/uk? devices. /dev/ss? won't work. If your
scanner is detected by the ss driver, disable the driver with the "config"
utility or compile a new kernel without ss. Set a link /dev/scanner to /dev/uk0
(or whatever you use) and/or edit your backend's config file
appropriately. Don't forget to set up permissions to the device file correctly
for access by a non-root user (read/write). Auto-configuration using the "scsi
*" lines in the config files doesn't work.
Scanners with higher resolutions need bigger SCSI buffers. Therefore, edit
sanei/sanei_scsi.c and look for these lines:
#ifndef MAX_DATA
# define MAX_DATA (32*1024)
#endif
Increase the buffer size to e.g. 128 * 1024. Recompile.
USB-scanners:
-------------
USB-Scanners are supported in principle. Using libusb is recommended.
Problems when using libusb:
Older kernels may need to be compiled WITHOUT DIAGNOSTIC. Disable it in the
config file or use a GENERIC kernel without DIAGNOSTIC. If it is, you will get
errors like "ugenioctl: USB_SET_TIMEOUT, no pipe".
When using libusb, make sure, that /dev/ugen* and /dev/usb* devices are
available. Use /dev/MAKEDEV to create them, if necessary.
If you want to use libusb, disable the uscanner driver.
Problems with uscanner driver:
The uscanner driver also works (tested with the plustek backend). As the
uscanner driver can't detect the vendor and product ids automatically, it's
necessary to add the name of the device file to the backends's configuration
file. Some backends also need the vendor and product id of the scanner.
Some backends won't work with the uscanner driver because they need USB
control messages. Use libusb instead.
Parport-scanners:
-----------------
I don't have any information about these. Please contact me or the SANE mailing
list if you succeeded in using one of these.
2003-04-24 Henning Meier-Geinitz <henning@meier-geinitz.de>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。