0

The application closes (core dumps) when scanner starts to scan after I click the scan button. Brother MFC L2750DW connected via USB, simplescan is latest version. simple-scan is already the newest version (3.20.0-0ubuntu1).

dmesg log:

[  534.647562] usb 1-1: USB disconnect, device number 2
[  534.647720] usblp0: removed
[  544.048024] usb 1-1: new high-speed USB device number 3 using ehci-pci
[  544.180971] usb 1-1: New USB device found, idVendor=04f9, idProduct=043a
[  544.180975] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  544.180979] usb 1-1: Product: MFC-L2750DW series
[  544.180982] usb 1-1: Manufacturer: Brother
[  544.180984] usb 1-1: SerialNumber: E78115L7N286679
[  544.183377] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x043A
[  588.518742] usb 1-1: usbfs: interface 0 claimed by usblp while 'scan-thread' sets config #1
[  588.518772] usb 1-1: usbfs: process 4387 (scan-thread) did not claim interface 1 before use
[  589.757458] usb 1-1: usbfs: interface 0 claimed by usblp while 'scan-thread' sets config #1
[  589.757477] usb 1-1: usbfs: process 4387 (scan-thread) did not claim interface 1 before use
[  669.868311] usb 1-1: usbfs: interface 0 claimed by usblp while 'scan-thread' sets config #1
[  669.868342] usb 1-1: usbfs: process 5213 (scan-thread) did not claim interface 1 before use
[  671.105444] usb 1-1: usbfs: interface 0 claimed by usblp while 'scan-thread' sets config #1
[  671.105465] usb 1-1: usbfs: process 5213 (scan-thread) did not claim interface 1 before use
[  675.906193] scan-thread[5213]: segfault at 3ec ip 00007f12109cb26f sp 00007f1212547870 error 4 in libsane-brother4.so.1.0.7[7f12109b6000+25000]

From simplescan --debug log:

[+6.95s] DEBUG: scanner.vala:546: sane_control_option (4, SANE_ACTION_SET_VALUE, "FlatBed") -> (SANE_STATUS_GOOD, "FlatBed")
[+6.95s] DEBUG: scanner.vala:546: sane_control_option (2, SANE_ACTION_SET_VALUE, "24bit Color") -> (SANE_STATUS_GOOD, "24bit Color")
[+6.95s] DEBUG: scanner.vala:462: sane_control_option (3, SANE_ACTION_SET_VALUE, 300) -> (SANE_STATUS_GOOD, 300)
[+6.95s] DEBUG: scanner.vala:502: sane_control_option (10, SANE_ACTION_SET_VALUE, 210.000000) -> (SANE_STATUS_GOOD, 209.980774)
[+6.95s] DEBUG: scanner.vala:502: sane_control_option (11, SANE_ACTION_SET_VALUE, 297.000000) -> (SANE_STATUS_GOOD, 296.972809)
[+11.18s] DEBUG: scanner.vala:1213: sane_start (page=0, pass=0) -> SANE_STATUS_GOOD
[+11.18s] DEBUG: scanner.vala:1230: sane_get_parameters () -> SANE_STATUS_GOOD
[+11.18s] DEBUG: scanner.vala:1242: Parameters: format=SANE_FRAME_RGB last_frame=SANE_TRUE bytes_per_line=7392 pixels_per_line=2464 lines=3437 depth=8
[+11.18s] DEBUG: simple-scan.vala:348: Page is 2464 pixels wide, 3437 pixels high, 8 bits per pixel
[+11.21s] DEBUG: simple-scan.vala:282: Getting color profile for device brother4:bus8;dev1
[+11.21s] DEBUG: simple-scan.vala:302: Unable to find colord device brother4:bus8;dev1: property match 'Serial'='sane:brother4:bus8;dev1' does not exist
[+11.31s] DEBUG: ui.vala:2124: Saving state to /home/alexey/.cache/simple-scan/state
  • Compare your installed versions to this answer and if different follow the answer to update them: https://askubuntu.com/questions/1012496/how-to-get-a-brother-dcp-350c-scanner-working/1013560#1013560 – WinEunuuchs2Unix Jun 08 '18 at 03:35

1 Answers1

0

from this index page of Brother Linux Support http://support.brother.com/g/s/id/linux/en/index.html?c=us_ot&lang=en&comple=on&redirect=on

one can access the FAQ page for scanners http://support.brother.com/g/s/id/linux/en/faq_scn.html?c=us_ot&lang=en&redirect=on

3 things to check on:

1) http://support.brother.com/g/s/id/linux/en/faq_scn.html?c=us_ot&lang=en&redirect=on#f00107 check libusb-0.1-4 is installed .. even if networked! Install with sudo apt install libusb-0.1-4

2) http://support.brother.com/g/s/id/linux/en/faq_scn.html?c=us_ot&lang=en&redirect=on#f00101 Copy the specified files under /usr/lib64/ to /usr/lib/. Hint: your device is brscan4

so

sudo sudo cp /usr/lib64/sane/libsane-brother4.so.1.0.7 /usr/lib/sane

sudo cp /usr/lib64/sane/libsane-brother4.so /usr/lib/sane

sudo cp /usr/lib64/sane/libsane-brother4.so.1 /usr/lib/sane

3) if usb-connected; needs udev rule

if networked, check all here http://support.brother.com/g/s/id/linux/en/instruction_scn1b.html?c=us_ot&lang=en&redirect=on

....... yes, it could all be a lot simpler ..

pdc
  • 1,122