Page 1 of 1

MGA 5 - Brother MFC - Can't open scanner

PostPosted: Jul 10th, '16, 01:53
by laidlaws
Running MGA 5 Official with a recent GeFORCE motherboard and separate GeFORCE video card.

Printer is a Brother MFC-J825DW. Installed driver packages from Brother and amended 60-libsane-rules as recommended.

Xsane reports "No scanners found."

Scanner is detected by root:

found USB scanner (vendor=0x04f9 [Brother], product=0x0283 [MFC-J825DW]) at libusb:001:002
Code: Select all
ls -la /dev/bus/usb/* gives

crw-rw-r--+ 1 root lp 189, 1 Jul 9 21:36 002


But adding myself to the "lp" group made no difference, even after a reboot.
Using "sudo" I needed to specify a DISPLAY.
Using "su -" produced the Xsane license screen.

"strace xsane" terminates with

Code: Select all
open("/lib64/tls/x86_64/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/x86_64", 0x7ffc3e4c59e0) = -1 ENOENT (No such file or directory)
open("/lib64/tls/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls", 0x7ffc3e4c59e0)      = -1 ENOENT (No such file or directory)
open("/lib64/x86_64/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/x86_64", 0x7ffc3e4c59e0)   = -1 ENOENT (No such file or directory)
open("/lib64/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64", {st_mode=S_IFDIR|0755, st_size=135168, ...}) = 0
open("/usr/lib64/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

A recent release of nVidia in March this year (364.12) has support for Wayland, but I am running the MATE desktop. Some Wayland libs were updated recently.

Will provide any further info requested.

Re: MGA 5 - Brother MFC - Can't open scanner

PostPosted: Jul 10th, '16, 12:28
by laidlaws
(Thanks Isadora. It has been too long.)

I mentioned that I can get the Xsane license up with "su -', but I still can't find a scanner to open.
Those messages about the nVidia library are written after I close the dialog box. The real problem seems to be higher up, but I don't really understand the output.

Re: MGA 5 - Brother MFC - Can't open scanner

PostPosted: Jul 10th, '16, 12:37
by isadora
;)

Re: MGA 5 - Brother MFC - Can't open scanner

PostPosted: Jul 14th, '16, 15:40
by laidlaws
Attaching output of strace, running xsane in an xterm. Box came up saying "no scanners," and I closed it. That caused an exit.

Re: MGA 5 - Brother MFC - Can't open scanner

PostPosted: Jul 18th, '16, 20:13
by bstrik
I have the same problem.
dmesg shows:
Code: Select all
usb 1-1: usbfs: interface 0 claimed by usblp while 'xscanimage' sets config #1
usb 1-1: usbfs: process 3353 (xscanimage) did not claim interface 1 before use

Re: MGA 5 - Brother MFC - Can't open scanner

PostPosted: Aug 12th, '16, 05:22
by bstrik
It seems you have to use the same usb port as when you initialy installed the scanner.
Somehow it remembers the usb port.