From 6a1c09a35590516e67674a45101ce5d3bd38dbc2 Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Thu, 20 Apr 2006 17:22:06 +0000 Subject: [PATCH] Made config file more readable. Instead of commenting every single line, the explanations are given once at the top. Don't repeat options that aren't changed anyway. --- ChangeLog | 7 + backend/artec_eplus48u.conf.in | 388 +-------------------------------- 2 files changed, 17 insertions(+), 378 deletions(-) diff --git a/ChangeLog b/ChangeLog index e2880b218..2377c6e47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-04-20 Henning Meier-Geinitz + + * backend/artec_eplus48u.conf.in: Made config file more + readable. Instead of commenting every single line, the + explanations are given once at the top. Don't repeat options + that aren't changed anyway. + 2006-04-18 Giuseppe Sacco * Updated italian translation diff --git a/backend/artec_eplus48u.conf.in b/backend/artec_eplus48u.conf.in index 2c3bc9342..0b20c6e55 100644 --- a/backend/artec_eplus48u.conf.in +++ b/backend/artec_eplus48u.conf.in @@ -1,10 +1,9 @@ # artec_eplus48u - SANE Backend configuration file -# ---------------------------------------------------------------------------- # This section is for use with the Artec E+ 48U scanner # This scanner is also sold as # Tevion MD 9693, Medion MD 9705, Medion MD 9693, Medion MD4394 -# +# This sections contains verbose description of each option. # For other scanners, see below. # # The USB section: @@ -13,26 +12,21 @@ # Every device configuration in this file must begin with an usb entry. usb 0x05d8 0x4003 -# # Path to the firmware file # This file comes with the Windows driver # The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/Artec48.usb + +# Is the scanner an Artec E Plus Pro (or compatible)? 0 = no, 1 = yes option ePlusPro 0 -# # for adjusting the default gamma values -# - option redGamma 1.0 option greenGamma 1.0 option blueGamma 1.0 option masterGamma 1.9 #Use this options to set the default offset and exposure time values. - option redOffset 0x28 option greenOffset 0x2f option blueOffset 0x2f @@ -43,445 +37,83 @@ option blueExposure 0xdc # The vendor and model string # This string is displayed by the frontends. If you do not want to get your # scanner reported as "Artec E+ 48U", then change the option accordingly. - option vendorString "Artec" option modelString "E+ 48U" -# # device-name # # If autodetection does not work, then you can specify the device here # The device entry must be the last one in this config file (or the last one before a # new usb entry). - #If you are using libusb, a device looks like this: #device libusb:001:002 - #If you are using the scanner module (kernel driver), a device looks like this: #device /dev/usbscanner # ---------------------------------------------------------------------------- + # Since the Trust Easy Webscan 19200 uses a different product id, we add # another usb section here. -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4006 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/Artec48.usb - -# -# for adjusting the default gamma values -# -option ePlusPro 1 -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The Trust Easy Webscan 19200 -# has a different product id, therefore we can overwrite the vendor and model -# string here. - option vendorString "Trust" option modelString "Easy Webscan 19200" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner - # ---------------------------------------------------------------------------- + # Since the Memorex Mem48U uses a different product id, we add # another usb section here. -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4005 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/Artec48.usb - -# -# for adjusting the default gamma values -# - -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The Memorex MEM 48U -# has a different product id, therefore we can overwrite the vendor and model -# string here. - option vendorString "Memorex" option modelString "MEM 48U" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner - # ---------------------------------------------------------------------------- + # Since the Trust 240H Easy Webscan Gold uses a different product id, we add # another usb section here. -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4007 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/Artec48.usb - -# -# for adjusting the default gamma values -# option ePlusPro 1 -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The Trust 240H Easy Webscan Gold -# has a different product id, therefore we can overwrite the vendor and model -# string here. - option vendorString "Trust" option modelString "240H Easy Webscan Gold" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner - - # ---------------------------------------------------------------------------- + # Since the UMAX AstraSlim SE uses a different product id, we add # another usb section here. -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4009 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/Artec48.usb - -# -# for adjusting the default gamma values -# - -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The UMAX AstraSlim SE -# has a different product id, therefore we can overwrite the vendor and model -# string here. - -option vendorString "Umax" +option vendorString "UMAX" option modelString "AstraSlim SE" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner - # ---------------------------------------------------------------------------- + # This section is for the Artec E+ Pro # Note, that the name of the firmware file is called 1200.usb for # this device -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4004 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/1200.usb - -# -# Tell the backend that this is an Artec E+ Pro -# by setting the option ePlusPro to 1 -# - option ePlusPro 1 - -# -# for adjusting the default gamma values -# - -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The Artec E+ Pro -# has a different product id, therefore we can overwrite the vendor and model -# string here. - option vendorString "Artec" option modelString "E+ Pro" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner - - # ---------------------------------------------------------------------------- + # This section is for the UMAX AstraSlim 1200 SE # Note, that the name of the firmware file is called 1200.usb for # this device -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4010 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/1200.usb - -# -# for adjusting the default gamma values -# - -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The UMAX AstraSlim 1200 SE -# has a different product id, therefore we can overwrite the vendor and model -# string here. - option vendorString "UMAX" option modelString "AstraSlim 1200 SE" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner - # ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- # Since the Yakumo Scan50 uses a different product id, we add # another usb section here. -# Another USB section: -# each device needs at least the following line: -# usb vendor-ID and product-ID -# Every device configuration in this file must begin with an usb entry. - usb 0x05d8 0x4011 - -# -# Path to the firmware file -# This file comes with the Windows driver -# The scanner won't work without it -# - option artecFirmwareFile @DATADIR@/sane/artec_eplus48u/Artec48.usb - -# -# for adjusting the default gamma values -# -option ePlusPro 1 -option redGamma 1.0 -option greenGamma 1.0 -option blueGamma 1.0 -option masterGamma 1.9 - -#Use this options to set the default offset and exposure time values. -#If calibrate device is set to 0, this values are used instead of the values -#which were calculated during calibration. - -option redOffset 0x28 -option greenOffset 0x2f -option blueOffset 0x2f -option redExposure 0xa7 -option greenExposure 0x116 -option blueExposure 0xdc - -# The vendor and model string -# This string is displayed by the frontends. The Yakumo Scan50 -# has a different product id, therefore we can overwrite the vendor and model -# string here. - option vendorString "Yakumo" option modelString "Scan50" -# -# device-name -# -# If autodetection does not work, then you can specify the device here -# The device entry must be the last one in this config file (or the last one before a -# new usb entry). - -#If you are using libusb, a device looks like this: -#device libusb:001:002 - -#If you are using the scanner module (kernel driver), a device looks like this: -#device /dev/usbscanner