I have a fresh install of Leap 15 on an HP laptop. I downloaded and installed drivers for a Brother all-in-one printer as described here:https://en.opensuse.org/SDB:Brother_How_to_setup_a_Networked_Printer_Scanner
The drivers worked fine on this laptop with Leap 42.3 following those same instructions but they’re not working with Leap 15. The installation of the printer seems to go smoothly and I’m prompted in the terminal during the installation if I want to print a test page but the page never prints and the terminal doesn’t return any error messages.
The installation of the Brother scanner driver fails with
"libusb-o.1-4 not found in package names. Trying capabilities"
"No provider of libusb-0.1-4 found."
The CUPS error log contains a number of errors, including:
"cups-brf must be called as root" and "CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ColorManager was not provided by any .serve files."
The printer works fine with my desktop running debian testing. Does anyone have any suggestions about how to solve this? Thanks!
Use the CUPS web interface to send another test page. Examine the CUPS error log (/var/log/cups/error_log) for any errors. You can increase the logging verbosity prior to doing this with
sudo cupsctl --debug-logging
If you want to share that output here, you can copy it to https://susepaste.org/ and post the URL here so that others can review it further.
With respect to the scanner driver error message, what is returned by the following?
lpstat -t
scheduler is running
no system default destination
device for MFCJ985DW: socket://192.168.0.17
MFCJ985DW accepting requests since Sun 27 May 2018 11:37:21 AM MDT
printer MFCJ985DW is idle. enabled since Sun 27 May 2018 11:37:21 AM MDT
The printer model is a Brother MFCJ985DW connected via my home wifi network.
It’s not clear to me what the problem might be with it. The error_log that you posted doesn’t appear to show the entire print job process. I don’t see any communication with the printer or any filters being executed etc. Are you sure that you uploaded the complete log?
While we’re at it, let’s check that the appropriate driver is in place (although I don’t expect any issues here if properly configured)…
Thanks for taking the time to look into this, Deano. Here’s a link to the error log after I tried to print a test page from the cups localhost page a few minutes ago: https://susepaste.org/90178111
And here’s the result of checking for the driver:
egrep -i "name|model|filter" /etc/cups/ppd/*
/etc/cups/ppd/MFCJ985DW.ppd:*PCFileName: "MFC985.PPD"
/etc/cups/ppd/MFCJ985DW.ppd:*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd:*cupsFilter: "application/vnd.cups-pdf 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd:*cupsModelNumber: 15
/etc/cups/ppd/MFCJ985DW.ppd:*ModelName: "Brother MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd:*ShortNickName: "MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd:*NickName: "Brother MFC-J985DW CUPS"
/etc/cups/ppd/MFCJ985DW.ppd:*%==Only for the Model with MP Tray===
/etc/cups/ppd/MFCJ985DW.ppd.O:*PCFileName: "MFC985.PPD"
/etc/cups/ppd/MFCJ985DW.ppd.O:*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd.O:*cupsFilter: "application/vnd.cups-pdf 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd.O:*cupsModelNumber: 15
/etc/cups/ppd/MFCJ985DW.ppd.O:*ModelName: "Brother MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd.O:*ShortNickName: "MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd.O:*NickName: "Brother MFC-J985DW CUPS"
/etc/cups/ppd/MFCJ985DW.ppd.O:*%==Only for the Model with MP Tray===
Okay, checking the job-related output I found the following…
D [27/May/2018:16:32:41 -0600] [Job 19] /usr/lib/cups/filter/brother_lpdwrapper_mfcj985dw: line 129: /opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1: No such file or directory
You might need to reinstall the cupswrapper package again perhaps. I would try doing this manually (method 2 in the guide you linked to).
A further check shows /opt/brother/Printers/mfcj985dw/lpd/filtermfcj985dw is reported missing as well. This file is part of the LPR printer driver (mfcj985dwlpr-1.0.0-0.i386), so you should start over with the driver installation.
In an effort to assist, I downloaded the printer driver packages and installed them (LPR driver first) with my package manager. For reference here’s the details (with files listed)…
Still no luck. I tried installing the drivers individually as in method 2 and also tried reinstalling by method 1. Can’t print. It seems, though, that I have the same files installed that you do:
Very strange. Can you confirm that you’re still getting the same messages (missing files) when sending a print job? (You might find it easier to delete the existing error_log first.)
Ok, that checks out as expected. Your latest log says nothing about any missing files, but again you don’t seem to have captured the complete log for the print job. There should be output related to the job itself and filters being run etc. I suspect you only captured the first part of the relevant output.
I just managed to print! I’m not sure what the problem was but when I went to localhost:631 there were two printers listed, one named MFCJ98DW and the other named MFCJ98DW_Folger (Folger is my surname). On the cups web page the working printer is listed as: Remote printer: Brother MFC-J985DW CUPS
The non-working printer is listed as: Brother MFC-J985DW CUPS.
I have no idea why the printer suddenly started working, or why two printers appeared on the cups page.
Glad to read that it is now working - likely as a result of the re-installation of the driver packages.
Strange, though, because I had re-installed the drivers before. Maybe some odd combination of re-installing the drivers and re-starting cups? Well, thanks for your help!
I had the same problem with another Brother printer. Probably the solution will be the same:
The message “No such file or directory” is misleading, because 32 bit libraries, which are provided by Leap 42.3 and not Leap 15, are not found:
If you run
objdump -p /opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1 | grep NEEDED
you will see probably that libc.so.6 and libm.so.6 are needed. These libraries in turn need ld-linux.so.2.
These “files” are in Leap 42.3 symbolic links to libc-2.22.so, libm-2.22.so and ld-2.22.so in the directory /lib. So I copied these three files from my old Leap 42.3 installation from the directory /lib to the Leap 15 installation /lib and set the symbolic links in the directory /lib
ln -s libc-2.22.so libc-2.22.so
ln -s libm-2.22.so libm-2.22.so
ln -s ld-2.22.so ld-linux.so.2
Finally I could execute brcupsconfpt1 and printing was possible.