My parents have a PC running Linux Mint 18.3 Cinnamon (64-bit, 4.13-26 kernel, fresh install), and have just purchased a Brother MFC-L2730DW multi-function device, which is connected via USB. Whilst it prints without problem, there is one issue with scanning.
When selecting the "24-bit" colour option, libsane-brother4.so.1.0.7 segfaults with the following in /var/log/syslog, almost immediately after requesting a scan or preview:
Code: Select all
Jan 21 13:07:48 LinuxMintPC kernel: [ 738.461869] usb 3-9: usbfs: interface 0 claimed by usblp while 'xsane' sets config #1
Jan 21 13:07:48 LinuxMintPC kernel: [ 738.461880] usb 3-9: usbfs: process 3908 (xsane) did not claim interface 1 before use
Jan 21 13:07:58 LinuxMintPC kernel: [ 749.340537] xsane[3908]: segfault at 3ec ip 00007f4cf880f26f sp 00007ffef012c3d0 error 4 in libsane-brother4.so.1.0.7[7f4cf87fa000+25000]
I'm wondering if this is a config issue, and the 24-bit option shouldn't be being displayed - I set up the printer using Brother's automated install script, which produced the following error at the end:
Code: Select all
Setting up brscan-skey (0.2.4-1) ...
ls: cannot access '/etc/udev/rules.d/*.rules': No such file or directory
Hit Enter/Return key.
I've tried to read through the install script source, but it's massive and a bit beyond my shell script reading abilities. I did find this post, which indicates that the last step output by the installer can be:
Code: Select all
brsaneconfig4 -a name=<name> model=<model> ip=<ip>
Any ideas?
Thanks!
P.S. Full output from the installer:
Code: Select all
user@LinuxMintPC ~/Downloads/Drivers/Brother/MFC-L2730DW $ sudo ./linux-brprinter-installer-2.2.0-1
[sudo] password for user:
Input model name ->MFC-L2730DW
You are going to install following packages.
mfcl2730dwpdrv-4.0.0-1.i386.deb
brscan4-0.4.4-3.amd64.deb
brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y
dpkg -x mfcl2730dwpdrv-4.0.0-1.i386.deb /
dpkg-deb: building package 'mfcl2730dwpdrv' in 'mfcl2730dwpdrv-4.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcl2730dwpdrv-4.0.0-1a.i386.deb
dpkg -i --force-all mfcl2730dwpdrv-4.0.0-1a.i386.deb
Selecting previously unselected package mfcl2730dwpdrv:i386.
(Reading database ... 241850 files and directories currently installed.)
Preparing to unpack mfcl2730dwpdrv-4.0.0-1a.i386.deb ...
Unpacking mfcl2730dwpdrv:i386 (4.0.0-1) ...
Setting up mfcl2730dwpdrv:i386 (4.0.0-1) ...
lpadmin -p MFCL2730DW -E -v usb://Brother/MFC-L2730DW%20series?serial=Redacted -P /usr/share/ppd/brother/brother-MFCL2730DW-cups-en.ppd
#
Will you specify the Device URI? [Y/n] ->n
Test Print? [y/N] ->y
wait 5s.
lpr -P MFCL2730DW /usr/share/cups/data/testprint
You are going to install following packages.
brscan4-0.4.4-3.amd64.deb
=========================================
Brother License Agreement
<snip!>
=========================================
Do you agree? [Y/n] ->y
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.4-3.amd64.deb
--2018-01-21 12:29:49-- http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.4-3.amd64.deb
Resolving www.brother.com (www.brother.com)... 213.123.252.41, 213.123.252.83
Connecting to www.brother.com (www.brother.com)|213.123.252.41|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 74110 (72K) [text/plain]
Saving to: ‘brscan4-0.4.4-3.amd64.deb’
brscan4-0.4.4-3.amd 100%[===================>] 72.37K --.-KB/s in 0.03s
2018-01-21 12:29:49 (2.42 MB/s) - ‘brscan4-0.4.4-3.amd64.deb’ saved [74110/74110]
dpkg -i --force-all brscan4-0.4.4-3.amd64.deb
Selecting previously unselected package brscan4.
(Reading database ... 241883 files and directories currently installed.)
Preparing to unpack brscan4-0.4.4-3.amd64.deb ...
Unpacking brscan4 (0.4.4-3) ...
Setting up brscan4 (0.4.4-3) ...
This software is based in part on the work of the Independent JPEG Group.
You are going to install following packages.
brscan-skey-0.2.4-1.amd64.deb
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Selecting previously unselected package brscan-skey.
(Reading database ... 241923 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
ls: cannot access '/etc/udev/rules.d/*.rules': No such file or directory
Hit Enter/Return key.