This file is indexed.

/etc/sane.d/umax.conf is in libsane 1.0.23-3ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#
# Options for the umax backend
#

# define scsi queueing depth
#option scsi-maxqueue 2

# define scsi buffer size in bytes
#option scsi-buffer-size-min 65536
#option scsi-buffer-size-max 262144

# define scan lines that shall be read in one block
#option scan-lines 100
#option preview-lines 20

# define how to handle bad sense codes
#   0 = handle as device busy
#   1 = handle as ok
#   2 = handle as i/o error
#   3 = ignore bad error code - continue sense handler,  
#option handle-bad-sense-error 0

# define if a request sense command shall be executed
#option execute-request-sense 0

# define if the preview bit shall be set when scanning in rgb mode
#option force-preview-bit-rgb 0

# define if slow speed flag shall be set
# BE CAREFUL WITH THIS OPTION, IT MAY DESTROY YOUR SCANNER WHEN SET FALSE
# -1 = automatically set by driver - if known
#  0 = disabled
#  1 = enabled
#option slow-speed 0

# define if care-about-smeraring flag shall be set
# BE CAREFUL WITH THIS OPTION, IT MAY DESTROY YOUR SCANNER WHEN SET FALSE
# -1 = automatically set by driver - if known
#  0 = disabled
#  1 = enabled
#option care-about-smearing 0

# define if the calibration shall be done for selected scanarea or for each ccd pixel
# -1 = automatically set by driver - if known
#  0 = disabled
#  1 = enabled    
#option calibration-full-ccd 1

# define if an offset of the calculate calibration with has to be used
# -99999 = auto
#option calibration-width-offset -99999

# define the number of pixels that is used for calibration
# -1 = disabled
#  0 = not set
#  1 = 1 byte/pixel,
#  2 = 2 bytes/pixel  
#option calibration-bytes-pixel -1

# define if scanner uses the same exposure times for red, green and blue
# -1 = automatically set by driver - if known
#  0 = disabled (own selection for red, green and blue)
#  1 = enabled (same values for red, green and blue)
#options exposure-time-rgb-bind 0

# define if shading data shall be inverted befor sending it back to the scanner
# -1 = automatically set by driver - if known
#  0 = disabled
#  1 = enabled 
#option invert-shading-data 0

# define if the scanner supports lamp control commands
# 0 = automatically set by driver - if known
# 1 = enabled 
#option lamp-control-available 0

# define how 16 bit gamma data is padded
# -1 = automatically set by driver - if known
#  0 = gamma data is msb padded
#  1 = gamma data is lsb padded 
#option gamma-lsb-padded 0

# define connection type of following devices
# 1 = scsi
# 2 = usb
#option connection-type 1

# linux device identification:
#scsi vendor model type bus channel id lun
scsi UMAX * Scanner
scsi LinoHell JADE
scsi LinoHell Office
scsi LinoHell Office2
scsi LinoHell SAPHIR2
scsi LinoHell SAPHIR3
scsi Linotype SAPHIR4
scsi LinoHell OPAL2
scsi HDM LS4H1S
scsi Nikon AX-110
scsi Nikon AX-210
scsi KYE ColorPage-HR5
scsi EPSON Perfection600
scsi ESCORT "Galleria 600S"
scsi TriGem PowerScanII

# Umax Astra 2200 via USB:
# usb vendor product
usb 0x1606 0x0230

# scsi device list
option connection-type 1
/dev/scanner

# usb device list
option connection-type 2
/dev/usbscanner