Unable to start scan on Brother DS-640 with resolution higher than 300dpi
The Brother DS-640 works fine with Document Scanner using resolutions 300dpi and lower, but setting 600dpi returns error "Failed to scan - Unable to start scan"
Bellow is debug output (simple-scan --debug
)
[+0.00s] DEBUG: simple-scan.vala:2014: Starting simple-scan 40.7, PID=249299
[+0.00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.03s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0.05s] DEBUG: app-window.vala:2004: Loading state from /home/kmalgich/.cache/simple-scan/state
[+0.05s] DEBUG: app-window.vala:1983: Restoring window to 3434x2001 pixels
[+0.05s] DEBUG: app-window.vala:1987: Restoring window to maximized
[+0.07s] DEBUG: scanner.vala:1616: sane_init () -> SANE_STATUS_GOOD
[+0.07s] DEBUG: scanner.vala:1622: SANE version 1.1.1
[+0.07s] DEBUG: scanner.vala:1683: Requesting redetection of scan devices
[+0.07s] DEBUG: scanner.vala:859: Processing request
[+0.18s] DEBUG: app-window.vala:2079: Saving state to /home/kmalgich/.cache/simple-scan/state
[+3.16s] DEBUG: scanner.vala:348: sane_get_devices () -> SANE_STATUS_GOOD
[+3.16s] DEBUG: scanner.vala:370: Device: name="brother5:bus2;dev3" vendor="Brother" model="DS-640" type="USB scanner"
[+3.16s] DEBUG: scanner.vala:370: Device: name="v4l:/dev/video0" vendor="Noname" model="C922 Pro Stream Webcam" type="virtual device"
[+3.16s] DEBUG: scanner.vala:370: Device: name="airscan:e1:HP ENVY 5530 series [B27E8E]" vendor="eSCL" model="HP ENVY 5530 series [B27E8E]" type="ip=192.168.86.39"
[+3.16s] DEBUG: scanner.vala:370: Device: name="hpaio:/net/envy_5530_series?ip=192.168.86.39&queue=false" vendor="Hewlett-Packard" model="envy_5530_series" type="all-in-one"
[+11.82s] DEBUG: simple-scan.vala:1819: Requesting scan at 600 dpi from device 'brother5:bus2;dev3'
[+11.82s] DEBUG: scanner.vala:1774: Scanner.scan ("brother5:bus2;dev3", dpi=600, scan_mode=ScanMode.COLOR, depth=8, type=single, side=both, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=0ms)
[+11.82s] DEBUG: scanner.vala:859: Processing request
[+11.95s] DEBUG: scanner.vala:920: sane_open ("brother5:bus2;dev3") -> SANE_STATUS_GOOD
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (0)
[+11.95s] DEBUG: scanner.vala:791: Option 0: name='(null)' title='Number of options' type=bool size=4 cap=soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Read-only option that specifies how many options a specific devices supports.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (1)
[+11.95s] DEBUG: scanner.vala:791: Option 1: name='(null)' type=group size=4 cap=advanced
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (2)
[+11.95s] DEBUG: scanner.vala:791: Option 2: name='mode' title='Scan mode' type=string size=30 values=["24bit Color[Fast]", "Black & White", "True Gray", "Gray[Error Diffusion]"] cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Select the scan mode
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (3)
[+11.95s] DEBUG: scanner.vala:791: Option 3: name='resolution' title='Scan resolution' type=int size=4 unit=dpi values=[100, 150, 200, 300, 400, 600, 1200] cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Sets the resolution of the scanned image.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (4)
[+11.95s] DEBUG: scanner.vala:791: Option 4: name='source' title='Scan source' type=string size=64 values=["Automatic Document Feeder(left aligned)"] cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Selects the scan source (such as a document-feeder).
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (5)
[+11.95s] DEBUG: scanner.vala:791: Option 5: name='brightness' title='Brightness' type=fixed size=4 unit=percent min=-50.000000, max=50.000000, quant=65536 cap=soft-select,soft-detect,inactive
[+11.95s] DEBUG: scanner.vala:794: Description: Controls the brightness of the acquired image.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (6)
[+11.95s] DEBUG: scanner.vala:791: Option 6: name='contrast' title='Contrast' type=fixed size=4 unit=percent min=-50.000000, max=50.000000, quant=65536 cap=soft-select,soft-detect,inactive
[+11.95s] DEBUG: scanner.vala:794: Description: Controls the contrast of the acquired image.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (7)
[+11.95s] DEBUG: scanner.vala:791: Option 7: name='MultifeedDetection' title='Multifeed Detection' type=bool size=4 cap=soft-select,soft-detect,inactive,advanced
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (8)
[+11.95s] DEBUG: scanner.vala:791: Option 8: name='AutoDocumentSize' title='Auto Document Size' type=bool size=4 cap=soft-select,soft-detect,advanced
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (9)
[+11.95s] DEBUG: scanner.vala:791: Option 9: name='AutoDeskew' title='Auto Deskew' type=bool size=4 cap=soft-select,soft-detect,advanced
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (10)
[+11.95s] DEBUG: scanner.vala:791: Option 10: name='SkipBlankPage' title='Skip Blank Page' type=bool size=4 cap=soft-select,soft-detect,inactive,advanced
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (11)
[+11.95s] DEBUG: scanner.vala:791: Option 11: name='SkipBlankPageSensitivity' title='Skip Blank Page sensitivity' type=fixed size=4 unit=percent min=0.000000, max=100.000000, quant=65536 cap=soft-select,soft-detect,inactive,advanced
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (12)
[+11.95s] DEBUG: scanner.vala:791: Option 12: name='(null)' title='Geometry' type=group size=4 cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description:
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (13)
[+11.95s] DEBUG: scanner.vala:791: Option 13: name='tl-x' title='Top-left x' type=fixed size=4 unit=mm min=0.000000, max=215.899994, quant=6553 cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Top-left x position of scan area.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (14)
[+11.95s] DEBUG: scanner.vala:791: Option 14: name='tl-y' title='Top-left y' type=fixed size=4 unit=mm min=0.000000, max=355.599991, quant=6553 cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Top-left y position of scan area.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (15)
[+11.95s] DEBUG: scanner.vala:791: Option 15: name='br-x' title='Bottom-right x' type=fixed size=4 unit=mm min=0.000000, max=215.899994, quant=6553 cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Bottom-right x position of scan area.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (16)
[+11.95s] DEBUG: scanner.vala:791: Option 16: name='br-y' title='Bottom-right y' type=fixed size=4 unit=mm min=0.000000, max=355.599991, quant=6553 cap=soft-select,soft-detect
[+11.95s] DEBUG: scanner.vala:794: Description: Bottom-right y position of scan area.
[+11.95s] DEBUG: scanner.vala:998: sane_get_option_descriptor (17)
[+11.95s] WARNING: scanner.vala:1032: Unable to set single page source, trying to set ADF instead
[+11.95s] WARNING: scanner.vala:1033: If Flatbed is existing and it is not set, please file a bug
[+11.95s] DEBUG: scanner.vala:598: sane_control_option (4, SANE_ACTION_SET_VALUE, source="Automatic Document Feeder(left aligned)") -> (SANE_STATUS_GOOD, "Automatic Document Feeder(left aligned)")
[+11.95s] DEBUG: scanner.vala:598: sane_control_option (2, SANE_ACTION_SET_VALUE, mode="24bit Color[Fast]") -> (SANE_STATUS_GOOD, "24bit Color[Fast]")
[+11.95s] DEBUG: scanner.vala:510: sane_control_option (3, SANE_ACTION_SET_VALUE, resolution=600) -> (SANE_STATUS_GOOD, 600)
[+11.95s] DEBUG: scanner.vala:580: sane_control_option (15, SANE_ACTION_SET_VALUE, br-x=option.range.max=215.880234) -> (SANE_STATUS_GOOD)
[+11.95s] DEBUG: scanner.vala:580: sane_control_option (16, SANE_ACTION_SET_VALUE, br-y=option.range.max=355.567444) -> (SANE_STATUS_GOOD)
[+11.95s] DEBUG: scanner.vala:473: sane_control_option (8, SANE_ACTION_SET_VALUE, AutoDocumentSize=SANE_TRUE) -> (SANE_STATUS_GOOD, SANE_TRUE)
[+11.95s] WARNING: scanner.vala:1312: The option brightness (5) is inactive and can't be set, please file a bug
[+11.95s] WARNING: scanner.vala:1312: The option contrast (6) is inactive and can't be set, please file a bug
[+12.35s] DEBUG: scanner.vala:1348: sane_start (page=0, pass=0) -> SANE_STATUS_INVAL
[+12.35s] WARNING: scanner.vala:1375: Unable to start device: Invalid argument
[+12.35s] DEBUG: scanner.vala:821: sane_cancel ()
[+12.35s] DEBUG: scanner.vala:824: sane_close ()
[+40.13s] DEBUG: autosave-manager.vala:201: Deleting autosave records
[+40.13s] DEBUG: scanner.vala:1804: Stopping scan thread
[+40.13s] DEBUG: scanner.vala:859: Processing request
[+40.14s] DEBUG: scanner.vala:1815: sane_exit ()
- Document Scanner version: 40.7
- GNOME version: 41.5
- OS version: Fedora 35
Edited by Kirill Malgichev