kopia lustrzana https://gitlab.com/sane-project/backends
Changed configuration file back to remain compatible with the old format.
rodzic
2c60f5a9d2
commit
b8f5bc2c16
|
@ -139,7 +139,7 @@
|
||||||
#include "../include/sane/sanei.h"
|
#include "../include/sane/sanei.h"
|
||||||
#include "../include/sane/saneopts.h"
|
#include "../include/sane/saneopts.h"
|
||||||
|
|
||||||
#define BACKEND_VERSION "0.46-7"
|
#define BACKEND_VERSION "0.46-8"
|
||||||
#define BACKEND_NAME plustek
|
#define BACKEND_NAME plustek
|
||||||
#include "../include/sane/sanei_backend.h"
|
#include "../include/sane/sanei_backend.h"
|
||||||
#include "../include/sane/sanei_config.h"
|
#include "../include/sane/sanei_config.h"
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define _SECTION "[merlin-device]"
|
#define _SECTION "[usb]"
|
||||||
#define _DEFAULT_DEVICE "auto"
|
#define _DEFAULT_DEVICE "auto"
|
||||||
|
|
||||||
/** to disable the backend... */
|
/** to disable the backend... */
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# each device needs at least two lines:
|
# each device needs at least two lines:
|
||||||
# - [merlin-device] vendor-ID and product-ID
|
# - [usb] vendor-ID and product-ID
|
||||||
# - device devicename
|
# - device devicename
|
||||||
# i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)
|
# i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)
|
||||||
# [merlin-device] 0x07B3 0x0017
|
# [usb] 0x07B3 0x0017
|
||||||
# device /dev/usbscanner
|
# device /dev/usbscanner
|
||||||
# or
|
# or
|
||||||
# device libusb:bbb:ddd
|
# device libusb:bbb:ddd
|
||||||
|
@ -17,15 +17,15 @@
|
||||||
# warmup, lOffOnEnd, lampOff
|
# warmup, lOffOnEnd, lampOff
|
||||||
#
|
#
|
||||||
# For autodetection use
|
# For autodetection use
|
||||||
# [merlin-device]
|
# [usb]
|
||||||
# device /dev/usbscanner
|
# device /dev/usbscanner
|
||||||
#
|
#
|
||||||
# or simply
|
# or simply
|
||||||
# [merlin-device]
|
# [usb]
|
||||||
#
|
#
|
||||||
# or if you want a specific device but you have no idea about the
|
# or if you want a specific device but you have no idea about the
|
||||||
# device node or you use libusb, simply set vendor- and product-ID
|
# device node or you use libusb, simply set vendor- and product-ID
|
||||||
# [merlin-device] 0x07B3 0x0017
|
# [usb] 0x07B3 0x0017
|
||||||
# device auto
|
# device auto
|
||||||
#
|
#
|
||||||
# NOTE: autodetection is safe, as it uses the info it got
|
# NOTE: autodetection is safe, as it uses the info it got
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
# at your USB-port, that you have specified...
|
# at your USB-port, that you have specified...
|
||||||
#
|
#
|
||||||
|
|
||||||
[merlin-device]
|
[usb]
|
||||||
|
|
||||||
#
|
#
|
||||||
# options for the previous USB entry
|
# options for the previous USB entry
|
||||||
|
@ -129,5 +129,5 @@ device auto
|
||||||
|
|
||||||
#
|
#
|
||||||
# to define a new device, start with a new section:
|
# to define a new device, start with a new section:
|
||||||
# [merlin-device]
|
# [usb]
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.TH sane-plustek 5 "28 September 2003" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
.TH sane-plustek 5 "27 October 2003" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
||||||
.IX sane-plustek
|
.IX sane-plustek
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sane-plustek \- SANE backend for Plustek parallel port and
|
sane-plustek \- SANE backend for Plustek parallel port and
|
||||||
|
@ -178,11 +178,11 @@ entries in the configuration file
|
||||||
.br
|
.br
|
||||||
.I @CONFIGDIR@/plustek.conf
|
.I @CONFIGDIR@/plustek.conf
|
||||||
.TP
|
.TP
|
||||||
.I [merlin-device] vendor-id product-id
|
.I [usb] vendor-id product-id
|
||||||
.TP
|
.TP
|
||||||
.I device /dev/usbscanner
|
.I device /dev/usbscanner
|
||||||
.PP
|
.PP
|
||||||
.I merlin-device
|
.I [usb]
|
||||||
tells the backend, that the following devicename (here
|
tells the backend, that the following devicename (here
|
||||||
.I /dev/usbscanner
|
.I /dev/usbscanner
|
||||||
) has to be interpreted as USB scanner device. If vendor- and
|
) has to be interpreted as USB scanner device. If vendor- and
|
||||||
|
|
Ładowanie…
Reference in New Issue