On Sat, Feb 04 2023 at 9:39 +01, Jörg Frings-Fürst wrote: > severity 1030306 normal > tags 1030306 + moreinfo > thanks > > Hello Janusz, > > thank you for spending your time helping to make Debian better with > this bug report. > > Am Donnerstag, dem 02.02.2023 um 14:47 +0100 schrieb Janusz S.Bień: >> Package: simple-scan >> Version: 3.38.1-1 >> Severity: grave
[...] >> After I switched Samsung Xpress M2070FW from USB to W-Fi practically >> every attempt to scan ends >> with this bug. Scanning with GIMP and SANE still works. >> > > Which driver do you use? How to check this? > > Please open the terminal, and run simple-scan with debug mode: > > - simple-scan --debug > - try to reproduce the issue > - copy the output from terminal to file and attach to this bug report --8<---------------cut here---------------start------------->8--- jsbien@JSBbuster:~$ simple-scan --debug [+0.00s] DEBUG: simple-scan.vala:2012: Starting simple-scan 3.38.1, PID=56873 [+0.00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created [+0.04s] DEBUG: app-window.vala:1990: Loading state from /home/jsbien/.cache/simple-scan/state [+0.04s] DEBUG: app-window.vala:1969: Restoring window to 1280x1333 pixels [+0.08s] DEBUG: scanner.vala:1548: sane_init () -> SANE_STATUS_GOOD [+0.08s] DEBUG: scanner.vala:1554: SANE version 1.0.31 [+0.08s] DEBUG: scanner.vala:1615: Requesting redetection of scan devices [+0.08s] DEBUG: scanner.vala:828: Processing request [+0.24s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+9.32s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD [+9.32s] DEBUG: scanner.vala:353: Device: name="xerox_mfp:tcp 192.168.0.155" vendor="Samsung" model="M2070 Series" type="multi-function peripheral" [+9.43s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+12.27s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+13.69s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+15.61s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+16.81s] DEBUG: simple-scan.vala:1817: Requesting scan at 300 dpi from device 'xerox_mfp:tcp 192.168.0.155' [+16.81s] DEBUG: scanner.vala:1683: Scanner.scan ("xerox_mfp:tcp 192.168.0.155", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=1480, paper_height=2100, brightness=-100, contrast=-96, delay=3000ms) [+16.81s] DEBUG: scanner.vala:828: Processing request [+16.81s] DEBUG: scanner.vala:889: sane_open ("xerox_mfp:tcp 192.168.0.155") -> SANE_STATUS_GOOD [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (0) [+16.81s] DEBUG: scanner.vala:760: Option 0: title='Number of options' type=int size=4 cap=soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Read-only option that specifies how many options a specific device supports. [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (1) [+16.81s] DEBUG: scanner.vala:760: Option 1: name='standard' title='Standard' type=group size=4 [+16.81s] DEBUG: scanner.vala:763: Description: Source, mode and resolution options [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (2) [+16.81s] DEBUG: scanner.vala:760: Option 2: name='resolution' title='Scan resolution' type=int size=4 unit=dpi values=[75, 100, 150, 200, 300, 600] cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Sets the resolution of the scanned image. [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (3) [+16.81s] DEBUG: scanner.vala:760: Option 3: name='mode' title='Scan mode' type=string size=9 values=["Lineart", "Halftone", "Gray", "Color"] cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Selects the scan mode (e.g., lineart, monochrome, or color). [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (4) [+16.81s] DEBUG: scanner.vala:760: Option 4: name='highlight' title='Threshold' type=fixed size=4 unit=percent min=30.000000, max=70.000000, quant=655360 cap=soft-select,soft-detect,inactive [+16.81s] DEBUG: scanner.vala:763: Description: Select minimum-brightness to get a white point [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (5) [+16.81s] DEBUG: scanner.vala:760: Option 5: name='source' title='Scan source' type=string size=8 values=["Flatbed", "ADF", "Auto"] cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Selects the scan source (such as a document-feeder). [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (6) [+16.81s] DEBUG: scanner.vala:760: Option 6: name='geometry' title='Geometry' type=group size=4 [+16.81s] DEBUG: scanner.vala:763: Description: Scan area and media size options [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (7) [+16.81s] DEBUG: scanner.vala:760: Option 7: name='tl-x' title='Top-left x' type=fixed size=4 unit=mm min=0.000000, max=216.069321, quant=65536 cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Top-left x position of scan area. [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (8) [+16.81s] DEBUG: scanner.vala:760: Option 8: name='tl-y' title='Top-left y' type=fixed size=4 unit=mm min=0.000000, max=297.179993, quant=65536 cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Top-left y position of scan area. [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (9) [+16.81s] DEBUG: scanner.vala:760: Option 9: name='br-x' title='Bottom-right x' type=fixed size=4 unit=mm min=0.000000, max=216.069321, quant=65536 cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Bottom-right x position of scan area. [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (10) [+16.81s] DEBUG: scanner.vala:760: Option 10: name='br-y' title='Bottom-right y' type=fixed size=4 unit=mm min=0.000000, max=297.179993, quant=65536 cap=soft-select,soft-detect [+16.81s] DEBUG: scanner.vala:763: Description: Bottom-right y position of scan area. [+16.81s] DEBUG: scanner.vala:910: sane_get_option_descriptor (11) [+16.81s] DEBUG: scanner.vala:571: sane_control_option (5, SANE_ACTION_SET_VALUE, source="Auto") -> (SANE_STATUS_GOOD, "Auto") [+16.81s] DEBUG: scanner.vala:571: sane_control_option (3, SANE_ACTION_SET_VALUE, mode="Color") -> (SANE_STATUS_GOOD, "Color") [+16.81s] DEBUG: scanner.vala:483: sane_control_option (2, SANE_ACTION_SET_VALUE, resolution=300) -> (SANE_STATUS_GOOD, 300) [+16.81s] DEBUG: scanner.vala:523: sane_control_option (9, SANE_ACTION_SET_VALUE, br-x=148.000000) -> (SANE_STATUS_GOOD, 148.000000) [+16.81s] DEBUG: scanner.vala:523: sane_control_option (10, SANE_ACTION_SET_VALUE, br-y=210.000000) -> (SANE_STATUS_GOOD, 210.000000) [+16.94s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+17.86s] DEBUG: app-window.vala:2065: Saving state to /home/jsbien/.cache/simple-scan/state [+21.95s] DEBUG: scanner.vala:1284: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD [+21.95s] DEBUG: scanner.vala:1321: sane_get_parameters () -> SANE_STATUS_GOOD [+21.95s] DEBUG: scanner.vala:1333: Parameters: format=SANE_FRAME_RGB last_frame=SANE_TRUE bytes_per_line=5244 pixels_per_line=1748 lines=2522 depth=8 [+21.96s] DEBUG: simple-scan.vala:1712: Page is 1748 pixels wide, 2522 pixels high, 8 bits per pixel [+21.96s] DEBUG: simple-scan.vala:1646: Getting color profile for device xerox_mfp:tcp 192.168.0.155 [+21.97s] DEBUG: simple-scan.vala:1666: Unable to find colord device xerox_mfp:tcp 192.168.0.155: property match 'Serial'='sane:xerox_mfp:tcp 192.168.0.155' does not exist Not a JPEG file: starts with 0x00 0x00 jsbien@JSBbuster:~$ --8<---------------cut here---------------end--------------->8--- When I print, the device is recognized as two, and only one works. I decided to live with it and not trying to solve it. At first simple-scan also was finding two devices and one of them worked. Now it finds only one them, the non-working one... However I have vague memories that the problem occurred also from time to time with USB connection. Best regards Janusz -- , Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien