Failing to scan from HP DeskJet 3639
This is strange. For what felt like ever simple-scan would perfectly use my DeskJets flatbed scanner.
A few weeks (might be months) ago this stopped. Since then any attempt to start a scan will fail with the message "Document feeder empty"
I looked around, saw that there are several modes (Single Page, All pages from feeder, Multiple pages from flatbed). I do not recall ever messing around with those..
Anyway, the builtin webserver of the printer works ok, with the issue that it won't concat multiple pages or allow me to rotate or anything really.
I started in debug mode, this is what I captured (set simple-scan to Multiple pages from flatbed):
~ simple-scan -d [+0,00s] DEBUG: simple-scan.vala:2015: Starting simple-scan 44.0, PID=26452 [+0,00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created [+0,14s] DEBUG: app-window.vala:2002: Loading state from /home/josha/.config/simple-scan/state [+0,14s] DEBUG: app-window.vala:1981: Restoring window to 1091x1082 pixels [+0,16s] DEBUG: scanner.vala:1619: sane_init () -> SANE_STATUS_GOOD [+0,16s] DEBUG: scanner.vala:1625: SANE version 1.2.1 [+0,16s] DEBUG: scanner.vala:1686: Requesting redetection of scan devices [+0,16s] DEBUG: scanner.vala:863: Processing request [+0,31s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+0,46s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+1,79s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+4,39s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+5,39s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+8,52s] DEBUG: scanner.vala:348: sane_get_devices () -> SANE_STATUS_GOOD [+8,52s] DEBUG: scanner.vala:374: Device: name="escl:https://192.168.188.142:443" vendor="HP" model="DeskJet 3630 series [10DA07]" type="platen scanner" [+8,73s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+22,29s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+23,67s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+24,11s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+25,24s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+25,68s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+27,00s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+27,53s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+27,86s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+28,48s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+28,77s] DEBUG: simple-scan.vala:1820: Requesting scan at 300 dpi from device 'escl:https://192.168.188.142:443' [+28,77s] DEBUG: scanner.vala:1777: Scanner.scan ("escl:https://192.168.188.142:443", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=batch, side=both, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=0ms) [+28,77s] DEBUG: scanner.vala:863: Processing request [+29,01s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+29,50s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+30,88s] DEBUG: scanner.vala:924: sane_open ("escl:https://192.168.188.142:443") -> SANE_STATUS_GOOD [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (0) [+30,88s] DEBUG: scanner.vala:795: Option 0: name='(null)' title='Number of options' type=int size=4 cap=soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Read-only option that specifies how many options a specific device supports. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (1) [+30,88s] DEBUG: scanner.vala:795: Option 1: name='(null)' title='Scan mode' type=group size=0 [+30,88s] DEBUG: scanner.vala:798: Description: [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (2) [+30,88s] DEBUG: scanner.vala:795: Option 2: name='mode' title='Scan mode' type=string size=6 values=["Gray", "Color"] cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Selects the scan mode (e.g., lineart, monochrome, or color). [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (3) [+30,88s] DEBUG: scanner.vala:795: Option 3: name='resolution' title='Scan resolution' type=int size=4 unit=dpi values=[75, 100, 200, 300, 600, 1200] cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Sets the resolution of the scanned image. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (4) [+30,88s] DEBUG: scanner.vala:795: Option 4: name='source' title='Scan source' type=string size=8 values=["Flatbed"] cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Selects the scan source (such as a document-feeder). [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (5) [+30,88s] DEBUG: scanner.vala:795: Option 5: name='(null)' title='Geometry' type=group size=0 cap=advanced [+30,88s] DEBUG: scanner.vala:798: Description: Scan area and media size options [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (6) [+30,88s] DEBUG: scanner.vala:795: Option 6: name='tl-x' title='Top-left x' type=fixed size=4 unit=mm min=0,000000, max=215,222656, quant=0 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Top-left x position of scan area. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (7) [+30,88s] DEBUG: scanner.vala:795: Option 7: name='tl-y' title='Top-left y' type=fixed size=4 unit=mm min=0,000000, max=296,333328, quant=0 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Top-left y position of scan area. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (8) [+30,88s] DEBUG: scanner.vala:795: Option 8: name='br-x' title='Bottom-right x' type=fixed size=4 unit=mm min=0,677322, max=215,899994, quant=0 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Bottom-right x position of scan area. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (9) [+30,88s] DEBUG: scanner.vala:795: Option 9: name='br-y' title='Bottom-right y' type=fixed size=4 unit=mm min=0,677322, max=297,010666, quant=0 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Bottom-right y position of scan area. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (10) [+30,88s] DEBUG: scanner.vala:795: Option 10: name='(null)' title='Enhancement' type=group size=0 cap=advanced [+30,88s] DEBUG: scanner.vala:798: Description: [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (11) [+30,88s] DEBUG: scanner.vala:795: Option 11: name='preview' title='Preview' type=bool size=4 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Request a preview-quality scan. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (12) [+30,88s] DEBUG: scanner.vala:795: Option 12: name='preview-in-gray' title='Force monochrome preview' type=bool size=4 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Request that all previews are done in monochrome mode. On a three-pass scanner this cuts down the number of passes to one and on a one-pass scanner, it reduces the memory requirements and scan-time of the preview. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (13) [+30,88s] DEBUG: scanner.vala:795: Option 13: name='brightness' title='Brightness' type=int size=4 min=0, max=2000, quant=1 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Controls the brightness of the acquired image. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (14) [+30,88s] DEBUG: scanner.vala:795: Option 14: name='contrast' title='Contrast' type=int size=4 min=0, max=2000, quant=1 cap=soft-select,soft-detect [+30,88s] DEBUG: scanner.vala:798: Description: Controls the contrast of the acquired image. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (15) [+30,88s] DEBUG: scanner.vala:795: Option 15: name='sharpen' title='Sharpen' type=int size=4 min=48, max=467651488, quant=32627 cap=soft-select,soft-detect,inactive [+30,88s] DEBUG: scanner.vala:798: Description: Set sharpen value. [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (16) [+30,88s] DEBUG: scanner.vala:795: Option 16: name='threshold' title='Threshold' type=int size=4 min=0, max=255, quant=1 cap=soft-select,soft-detect,inactive [+30,88s] DEBUG: scanner.vala:798: Description: Select minimum-brightness to get a white point [+30,88s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (17) [+30,88s] DEBUG: scanner.vala:602: sane_control_option (4, SANE_ACTION_SET_VALUE, source="Flatbed") -> (SANE_STATUS_GOOD, "Flatbed") [+30,88s] DEBUG: scanner.vala:602: sane_control_option (2, SANE_ACTION_SET_VALUE, mode="Color") -> (SANE_STATUS_GOOD, "Color") [+30,88s] DEBUG: scanner.vala:514: sane_control_option (3, SANE_ACTION_SET_VALUE, resolution=300) -> (SANE_STATUS_GOOD, 300) [+30,88s] DEBUG: scanner.vala:584: sane_control_option (8, SANE_ACTION_SET_VALUE, br-x=option.range.max=215,899994) -> (SANE_STATUS_GOOD) [+30,88s] DEBUG: scanner.vala:584: sane_control_option (9, SANE_ACTION_SET_VALUE, br-y=option.range.max=297,010666) -> (SANE_STATUS_GOOD) [+30,88s] DEBUG: scanner.vala:449: scale_int: scaling 0 [min: -100, max: 100] to 1000 [min: 0, max: 2000] [+30,88s] DEBUG: scanner.vala:514: sane_control_option (13, SANE_ACTION_SET_VALUE, brightness=1000) -> (SANE_STATUS_GOOD, 1000) [+30,88s] DEBUG: scanner.vala:449: scale_int: scaling 0 [min: -100, max: 100] to 1000 [min: 0, max: 2000] [+30,88s] DEBUG: scanner.vala:514: sane_control_option (14, SANE_ACTION_SET_VALUE, contrast=1000) -> (SANE_STATUS_GOOD, 1000) [+34,84s] DEBUG: scanner.vala:1352: sane_start (page=0, pass=0) -> SANE_STATUS_NO_DOCS [+34,84s] DEBUG: scanner.vala:1325: sane_cancel () [+34,84s] DEBUG: scanner.vala:825: sane_cancel () [+34,84s] DEBUG: scanner.vala:828: sane_close () [+34,84s] CRITICAL: page_get_has_data: assertion 'self != NULL' failed [+34,84s] CRITICAL: book_delete_page: assertion 'page != NULL' failed [+35,07s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+38,82s] DEBUG: autosave-manager.vala:201: Deleting autosave records [+38,82s] WARNING: autosave-manager.vala:214: Failed to delete autosaves: Error opening directory “/home/josha/.cache/simple-scan/autosaves”: No such file or directory [+38,82s] DEBUG: scanner.vala:1807: Stopping scan thread [+38,82s] DEBUG: scanner.vala:863: Processing request [+38,82s] DEBUG: scanner.vala:1818: sane_exit ()Visually same result when setting mode to single page:
~ simple-scan -d [+0,00s] DEBUG: simple-scan.vala:2015: Starting simple-scan 44.0, PID=26625 [+0,00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created [+0,14s] DEBUG: app-window.vala:2002: Loading state from /home/josha/.config/simple-scan/state [+0,14s] DEBUG: app-window.vala:1981: Restoring window to 1091x1082 pixels [+0,16s] DEBUG: scanner.vala:1619: sane_init () -> SANE_STATUS_GOOD [+0,16s] DEBUG: scanner.vala:1625: SANE version 1.2.1 [+0,16s] DEBUG: scanner.vala:1686: Requesting redetection of scan devices [+0,16s] DEBUG: scanner.vala:863: Processing request [+0,31s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+0,46s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+1,57s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+2,02s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+3,18s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+9,23s] DEBUG: scanner.vala:348: sane_get_devices () -> SANE_STATUS_GOOD [+9,23s] DEBUG: scanner.vala:374: Device: name="escl:https://192.168.188.142:443" vendor="HP" model="DeskJet 3630 series [10DA07]" type="platen scanner" [+9,44s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+10,41s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+10,61s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+10,77s] DEBUG: simple-scan.vala:1820: Requesting scan at 300 dpi from device 'escl:https://192.168.188.142:443' [+10,77s] DEBUG: scanner.vala:1777: Scanner.scan ("escl:https://192.168.188.142:443", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, side=both, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=0ms) [+10,77s] DEBUG: scanner.vala:863: Processing request [+11,18s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+12,76s] DEBUG: scanner.vala:924: sane_open ("escl:https://192.168.188.142:443") -> SANE_STATUS_GOOD [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (0) [+12,76s] DEBUG: scanner.vala:795: Option 0: name='(null)' title='Number of options' type=int size=4 cap=soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Read-only option that specifies how many options a specific device supports. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (1) [+12,76s] DEBUG: scanner.vala:795: Option 1: name='(null)' title='Scan mode' type=group size=0 [+12,76s] DEBUG: scanner.vala:798: Description: [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (2) [+12,76s] DEBUG: scanner.vala:795: Option 2: name='mode' title='Scan mode' type=string size=6 values=["Gray", "Color"] cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Selects the scan mode (e.g., lineart, monochrome, or color). [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (3) [+12,76s] DEBUG: scanner.vala:795: Option 3: name='resolution' title='Scan resolution' type=int size=4 unit=dpi values=[75, 100, 200, 300, 600, 1200] cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Sets the resolution of the scanned image. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (4) [+12,76s] DEBUG: scanner.vala:795: Option 4: name='source' title='Scan source' type=string size=8 values=["Flatbed"] cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Selects the scan source (such as a document-feeder). [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (5) [+12,76s] DEBUG: scanner.vala:795: Option 5: name='(null)' title='Geometry' type=group size=0 cap=advanced [+12,76s] DEBUG: scanner.vala:798: Description: Scan area and media size options [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (6) [+12,76s] DEBUG: scanner.vala:795: Option 6: name='tl-x' title='Top-left x' type=fixed size=4 unit=mm min=0,000000, max=215,222656, quant=0 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Top-left x position of scan area. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (7) [+12,76s] DEBUG: scanner.vala:795: Option 7: name='tl-y' title='Top-left y' type=fixed size=4 unit=mm min=0,000000, max=296,333328, quant=0 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Top-left y position of scan area. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (8) [+12,76s] DEBUG: scanner.vala:795: Option 8: name='br-x' title='Bottom-right x' type=fixed size=4 unit=mm min=0,677322, max=215,899994, quant=0 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Bottom-right x position of scan area. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (9) [+12,76s] DEBUG: scanner.vala:795: Option 9: name='br-y' title='Bottom-right y' type=fixed size=4 unit=mm min=0,677322, max=297,010666, quant=0 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Bottom-right y position of scan area. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (10) [+12,76s] DEBUG: scanner.vala:795: Option 10: name='(null)' title='Enhancement' type=group size=0 cap=advanced [+12,76s] DEBUG: scanner.vala:798: Description: [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (11) [+12,76s] DEBUG: scanner.vala:795: Option 11: name='preview' title='Preview' type=bool size=4 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Request a preview-quality scan. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (12) [+12,76s] DEBUG: scanner.vala:795: Option 12: name='preview-in-gray' title='Force monochrome preview' type=bool size=4 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Request that all previews are done in monochrome mode. On a three-pass scanner this cuts down the number of passes to one and on a one-pass scanner, it reduces the memory requirements and scan-time of the preview. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (13) [+12,76s] DEBUG: scanner.vala:795: Option 13: name='brightness' title='Brightness' type=int size=4 min=0, max=2000, quant=1 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Controls the brightness of the acquired image. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (14) [+12,76s] DEBUG: scanner.vala:795: Option 14: name='contrast' title='Contrast' type=int size=4 min=0, max=2000, quant=1 cap=soft-select,soft-detect [+12,76s] DEBUG: scanner.vala:798: Description: Controls the contrast of the acquired image. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (15) [+12,76s] DEBUG: scanner.vala:795: Option 15: name='sharpen' title='Sharpen' type=int size=4 min=48, max=-2021667936, quant=32713 cap=soft-select,soft-detect,inactive [+12,76s] DEBUG: scanner.vala:798: Description: Set sharpen value. [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (16) [+12,76s] DEBUG: scanner.vala:795: Option 16: name='threshold' title='Threshold' type=int size=4 min=0, max=255, quant=1 cap=soft-select,soft-detect,inactive [+12,76s] DEBUG: scanner.vala:798: Description: Select minimum-brightness to get a white point [+12,76s] DEBUG: scanner.vala:1002: sane_get_option_descriptor (17) [+12,76s] DEBUG: scanner.vala:602: sane_control_option (4, SANE_ACTION_SET_VALUE, source="Flatbed") -> (SANE_STATUS_GOOD, "Flatbed") [+12,76s] DEBUG: scanner.vala:602: sane_control_option (2, SANE_ACTION_SET_VALUE, mode="Color") -> (SANE_STATUS_GOOD, "Color") [+12,76s] DEBUG: scanner.vala:514: sane_control_option (3, SANE_ACTION_SET_VALUE, resolution=300) -> (SANE_STATUS_GOOD, 300) [+12,76s] DEBUG: scanner.vala:584: sane_control_option (8, SANE_ACTION_SET_VALUE, br-x=option.range.max=215,899994) -> (SANE_STATUS_GOOD) [+12,76s] DEBUG: scanner.vala:584: sane_control_option (9, SANE_ACTION_SET_VALUE, br-y=option.range.max=297,010666) -> (SANE_STATUS_GOOD) [+12,76s] DEBUG: scanner.vala:449: scale_int: scaling 0 [min: -100, max: 100] to 1000 [min: 0, max: 2000] [+12,76s] DEBUG: scanner.vala:514: sane_control_option (13, SANE_ACTION_SET_VALUE, brightness=1000) -> (SANE_STATUS_GOOD, 1000) [+12,76s] DEBUG: scanner.vala:449: scale_int: scaling 0 [min: -100, max: 100] to 1000 [min: 0, max: 2000] [+12,76s] DEBUG: scanner.vala:514: sane_control_option (14, SANE_ACTION_SET_VALUE, contrast=1000) -> (SANE_STATUS_GOOD, 1000) [+16,48s] DEBUG: scanner.vala:1352: sane_start (page=0, pass=0) -> SANE_STATUS_NO_DOCS [+16,48s] DEBUG: scanner.vala:1325: sane_cancel () [+16,48s] DEBUG: scanner.vala:825: sane_cancel () [+16,48s] DEBUG: scanner.vala:828: sane_close () [+16,48s] CRITICAL: page_get_has_data: assertion 'self != NULL' failed [+16,48s] CRITICAL: book_delete_page: assertion 'page != NULL' failed [+16,70s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+18,68s] DEBUG: app-window.vala:2078: Saving state to /home/josha/.config/simple-scan/state [+19,26s] DEBUG: autosave-manager.vala:201: Deleting autosave records [+19,26s] WARNING: autosave-manager.vala:214: Failed to delete autosaves: Error opening directory “/home/josha/.cache/simple-scan/autosaves”: No such file or directory [+19,26s] DEBUG: scanner.vala:1807: Stopping scan thread [+19,26s] DEBUG: scanner.vala:863: Processing request [+19,26s] DEBUG: scanner.vala:1818: sane_exit ()Nothing changes when switching between Text and Image