Comment 0 for bug 1343773

jimjimovich (jimjimovich) wrote :

When choosing the preference to scan both front and back sides of my document, only the first side is scanned. Duplex scanning for this scanner works in XSane. Here is the debug output for the scanner when attempting a duplex scan.

~$ simple-scan -d
[+0.00s] DEBUG: simple-scan.vala:596: Starting Simple Scan 3.12.1, PID=30955
[+0.00s] DEBUG: Connecting to session manager
[+0.04s] DEBUG: ui.vala:1648: Loading state from /home/jim/.cache/simple-scan/state
[+0.04s] DEBUG: ui.vala:1629: Restoring window to 600x372 pixels
[+0.04s] DEBUG: ui.vala:1633: Restoring window to maximized
[+0.04s] DEBUG: autosave-manager.vala:64: Loading autosave information
[+0.04s] DEBUG: autosave-manager.vala:258: Waiting to autosave...
[+0.04s] DEBUG: autosave-manager.vala:82: Loading automatically saved page page-0
[+0.04s] DEBUG: autosave-manager.vala:82: Loading automatically saved page page-1
[+0.05s] DEBUG: autosave-manager.vala:82: Loading automatically saved page page-2
[+0.05s] DEBUG: autosave-manager.vala:82: Loading automatically saved page page-3
[+0.05s] DEBUG: autosave-manager.vala:82: Loading automatically saved page page-4
[+0.05s] DEBUG: autosave-manager.vala:82: Loading automatically saved page page-5
[+0.09s] DEBUG: scanner.vala:1443: sane_init () -> SANE_STATUS_GOOD
[+0.09s] DEBUG: scanner.vala:1449: SANE version 1.0.23
[+0.09s] DEBUG: scanner.vala:1510: Requesting redetection of scan devices
[+0.09s] DEBUG: scanner.vala:802: Processing request
[+1.05s] DEBUG: autosave-manager.vala:280: Autosaving book information
[+1.05s] DEBUG: autosave-manager.vala:297: Autosaving page page-0
[+1.05s] DEBUG: autosave-manager.vala:297: Autosaving page page-1
[+1.05s] DEBUG: autosave-manager.vala:297: Autosaving page page-2
[+1.05s] DEBUG: autosave-manager.vala:297: Autosaving page page-3
[+1.05s] DEBUG: autosave-manager.vala:297: Autosaving page page-4
[+1.05s] DEBUG: autosave-manager.vala:297: Autosaving page page-5
[+1.06s] DEBUG: ui.vala:1739: Saving state to /home/jim/.cache/simple-scan/state
[+2.71s] DEBUG: scanner.vala:338: sane_get_devices () -> SANE_STATUS_GOOD
[+2.71s] DEBUG: scanner.vala:350: Device: name="brother4:net1;dev0" vendor="Brother" model="BrotherScanner" type="MFC-8910DW"
[+4.57s] DEBUG: simple-scan.vala:310: Requesting scan at 300 dpi from device 'brother4:net1;dev0'
[+4.57s] DEBUG: scanner.vala:1556: Scanner.scan ("brother4:net1;dev0", dpi=300, scan_mode=ScanMode.GRAY, depth=2, type=ScanType.SINGLE, paper_width=2159, paper_height=2794, brightness=0, contrast=0)
[+4.57s] DEBUG: scanner.vala:802: Processing request
[+5.19s] DEBUG: ui.vala:1739: Saving state to /home/jim/.cache/simple-scan/state
[+5.94s] DEBUG: scanner.vala:863: sane_open ("brother4:net1;dev0") -> SANE_STATUS_GOOD
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (0)
[+5.94s] DEBUG: scanner.vala:734: Option 0: name='(null)' title='Number of options' type=bool size=4 cap=,soft-detect
[+5.94s] DEBUG: scanner.vala:737: Description: Read-only option that specifies how many options a specific devices supports.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (1)
[+5.94s] DEBUG: scanner.vala:734: Option 1: name='(null)' title='Mode' type=group size=4 cap=,advanced
[+5.94s] DEBUG: scanner.vala:737: Description:
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (2)
[+5.94s] DEBUG: scanner.vala:734: Option 2: name='mode' title='Scan mode' type=string size=30 values=["Black & White", "Gray[Error Diffusion]", "True Gray", "24bit Color", "24bit Color[Fast]"] cap=,soft-select,soft-detect
[+5.94s] DEBUG: scanner.vala:737: Description: Select the scan mode
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (3)
[+5.94s] DEBUG: scanner.vala:734: Option 3: name='resolution' title='Scan resolution' type=int size=4 unit=dpi values=[100, 150, 200, 300, 400, 600, 1200, 2400, 4800, 9600] cap=,soft-select,soft-detect
[+5.94s] DEBUG: scanner.vala:737: Description: Sets the resolution of the scanned image.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (4)
[+5.94s] DEBUG: scanner.vala:734: Option 4: name='source' title='Scan source' type=string size=64 values=["FlatBed", "Automatic Document Feeder(left aligned)", "Automatic Document Feeder(left aligned,Duplex)", "Automatic Document Feeder(centrally aligned)", "Automatic Document Feeder(centrally aligned,Duplex)"] cap=,soft-select,soft-detect
[+5.94s] DEBUG: scanner.vala:737: Description: Selects the scan source (such as a document-feeder).
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (5)
[+5.94s] DEBUG: scanner.vala:734: 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
[+5.94s] DEBUG: scanner.vala:737: Description: Controls the brightness of the acquired image.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (6)
[+5.94s] DEBUG: scanner.vala:734: 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
[+5.94s] DEBUG: scanner.vala:737: Description: Controls the contrast of the acquired image.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (7)
[+5.94s] DEBUG: scanner.vala:734: Option 7: name='(null)' title='Geometry' type=group size=4 cap=,advanced
[+5.94s] DEBUG: scanner.vala:737: Description:
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (8)
[+5.94s] DEBUG: scanner.vala:734: Option 8: 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
[+5.94s] DEBUG: scanner.vala:737: Description: Top-left x position of scan area.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (9)
[+5.94s] DEBUG: scanner.vala:734: Option 9: 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
[+5.94s] DEBUG: scanner.vala:737: Description: Top-left y position of scan area.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (10)
[+5.94s] DEBUG: scanner.vala:734: Option 10: 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
[+5.94s] DEBUG: scanner.vala:737: Description: Bottom-right x position of scan area.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (11)
[+5.94s] DEBUG: scanner.vala:734: Option 11: 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
[+5.94s] DEBUG: scanner.vala:737: Description: Bottom-right y position of scan area.
[+5.94s] DEBUG: scanner.vala:884: sane_get_option_descriptor (12)
[+5.94s] DEBUG: scanner.vala:546: sane_control_option (4, SANE_ACTION_SET_VALUE, "FlatBed") -> (SANE_STATUS_GOOD, "FlatBed")
[+5.95s] DEBUG: scanner.vala:546: sane_control_option (2, SANE_ACTION_SET_VALUE, "True Gray") -> (SANE_STATUS_GOOD, "True Gray")
[+5.95s] DEBUG: scanner.vala:462: sane_control_option (3, SANE_ACTION_SET_VALUE, 300) -> (SANE_STATUS_GOOD, 300)
[+5.95s] DEBUG: scanner.vala:502: sane_control_option (10, SANE_ACTION_SET_VALUE, 215.900000) -> (SANE_STATUS_GOOD, 215.880234)
[+5.95s] DEBUG: scanner.vala:502: sane_control_option (11, SANE_ACTION_SET_VALUE, 279.400000) -> (SANE_STATUS_GOOD, 279.374420)
[+11.03s] DEBUG: scanner.vala:1209: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD
[+11.03s] DEBUG: scanner.vala:1226: sane_get_parameters () -> SANE_STATUS_GOOD
[+11.03s] DEBUG: scanner.vala:1238: Parameters: format=SANE_FRAME_GRAY last_frame=SANE_TRUE bytes_per_line=2480 pixels_per_line=2480 lines=3298 depth=8
[+11.03s] DEBUG: simple-scan.vala:254: Page is 2480 pixels wide, 3298 pixels high, 2 bits per pixel
[+11.03s] DEBUG: simple-scan.vala:188: Getting color profile for device brother4:net1;dev0
[+11.04s] DEBUG: simple-scan.vala:208: Unable to find colord device brother4:net1;dev0: property match 'Serial'='sane:brother4:net1;dev0' does not exist
[+11.13s] DEBUG: ui.vala:1739: Saving state to /home/jim/.cache/simple-scan/state