Closed karsta62 closed 7 years ago
It seems that SANE detects something:
Buttons: --button 0[=(yes|no)] [no] [hardware] This option reflects the status of the scanner buttons. --button 1[=(yes|no)] [inactive] This option reflects the status of the scanner buttons. --button 2[=(yes|no)] [inactive] This option reflects the status of the scanner buttons. --button 3[=(yes|no)] [inactive] This option reflects the status of the scanner buttons. --button 4[=(yes|no)] [inactive] This option reflects the status of the scanner buttons.
Could you please check the following:
scanimage -A
if you run this command while holding one of the buttons pressed (try all buttons, maybe only one of them works)? The difference could be in the [inactive]
or [no]
parts of the output I pasted above.scanimage --button 0 yes
for all buttons 0-4. Also try to escape the space like this: scanimage "--button 0" yes
. It may output something or start whatever the scanner is supposed to do when you press this button or block until you press this button or just hang or break your scanner - I don't know.It has two buttons only. The one that should start scanning software in windows I guess, and the other is for film scanning. I diff'ed the outputs of scanimage -A with and without pressing each of the buttons, but nothing changes. Outputs are equal.
It seems that scanimage (sane-backends) 1.0.25git; backend version 1.0.25 does not have any "button" option. scanimage --help output is the usual help with this additional info:
_Options specific to device `plustek:libusb:001:006': _Scan Mode: --mode Lineart|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --depth 8|14bit [8] Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans. --source Normal|Transparency|Negative [Normal] Selects the scan source (such as a document-feeder). --resolution 50..1200dpi [50] Sets the resolution of the scanned image. --preview[=(yes|no)] [no] Request a preview-quality scan. Geometry: -l 0..215mm [0] Top-left x position of scan area. -t 0..297mm [0] Top-left y position of scan area. -x 0..215mm [103] Width of scan-area. -y 0..297mm [76.21] Height of scan-area. Enhancement: --brightness -100..100% (in steps of 1) [0] Controls the brightness of the acquired image. --contrast -100..100% (in steps of 1) [0] Controls the contrast of the acquired image. --custom-gamma[=(yes|no)] [no] Determines whether a builtin or a custom gamma-table should be used. --gamma-table 0..255,... [inactive] Gamma-correction table. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table). --red-gamma-table 0..255,... [inactive] Gamma-correction table for the red band. --green-gamma-table 0..255,... [inactive] Gamma-correction table for the green band. --blue-gamma-table 0..255,... [inactive] Gamma-correction table for the blue band. Device-Settings: --lamp-switch[=(yes|no)] [no] Manually switching the lamp(s). --lampoff-time 0..999 (in steps of 1) [300] Lampoff-time in seconds. --lamp-off-at-exit[=(yes|no)] [yes] Turn off lamp when program exits --warmup-time -1..999 (in steps of 1) [-1] Warmup-time in seconds. --lamp-off-during-dcal[=(yes|no)] [inactive] Always switches lamp off when doing dark calibration. --calibration-cache[=(yes|no)] [no] Enables or disables calibration data cache. --speedup-switch[=(yes|no)] [yes] Enables or disables speeding up sensor movement. --calibrate [inactive] Performs calibration Analog frontend: --red-gain -1..63 (in steps of 1) [-1] Red gain value of the AFE --green-gain -1..63 (in steps of 1) [-1] Green gain value of the AFE --blue-gain -1..63 (in steps of 1) [-1] Blue gain value of the AFE --red-offset -1..63 (in steps of 1) [-1] Red offset value of the AFE --green-offset -1..63 (in steps of 1) [-1] Green offset value of the AFE --blue-offset -1..63 (in steps of 1) [-1] Blue offset value of the AFE --redlamp-off -1..16363 (in steps of 1) [inactive] Defines red lamp off parameter --greenlamp-off -1..16363 (in steps of 1) [inactive] Defines green lamp off parameter --bluelamp-off -1..16363 (in steps of 1) [inactive] Defines blue lamp off parameter Buttons:
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
List of available devices: plustek:libusb:001:006__
Then there is nothing I can do - you could ask sane-backend developers to add support for buttons in your scanner.
ok, thank you.
kubuntu 16.04 64bit scanimage -L device `plustek:libusb:001:006' is a Canon CanoScan D660U flatbed scanner
scanimage -A attached. Scanner is recognized, but I can't see any "Sensors". Pressing the scanner's button does not do anything. Some time ago (years) I got it working with scanbuttond, but not anymore with anything.
I would be fine if I got the button to start vuescan, simple scan or what ever scanning software gui. scanimage.txt