How do I get Brother printer drivers to work on Fedora?

Skippy le Grand Gourou

I have two Brother printers : a QL-1050 label printer (USB-plugged) and an MFC-9330CDW (wifi).

Both work fine with an Ubuntu laptop, but I struggle to get them to print under Fedora 28 (actually had the same issue with F23 but never managed to fix the issue).

I downloaded the official drivers on the Brother website :

mfc9330cdwcupswrapper.i386
mfc9330cdwlpr.i386
ql1050cupswrapper.i386
ql1050lpr.i386

I also installed the following 32 bit packages, since Brother doesn't bother providing 64 bit drivers :

glibc.i686
libgcc.i686
libstdc++.i686
nss-softokn-freebl.i686

Both printers are correctly detected by CUPS, but neither will print, be it through lpr, evince, eog, firefox… The job silently disappears from the queue, but nothing is printed and the printer never actually reacts.

This is probably because the Brother filter fails silently, as hinted by the CUPS logs in debug level :

$ journalctl -u cups
…
juil. 23 17:14:24 Schenker cupsd[17868]: [Job 36] PID 17877 (/usr/lib/cups/filter/pdftops) exited with no errors.
juil. 23 17:14:24 Schenker cupsd[17868]: [Job 36] /usr/lib/cups/filter/brother_lpdwrapper_mfc9330cdw : ligne 133 : 17902 Erreur de segmentation /opt/brother/Printers/mfc9330cdw/cupswrapper/brcupsconfpt1 MFC9330CDW $PPDC $LOGCLEVEL \"$CUPSOPTION\" \"mfc9330cdw\" $BRPRINTERRCFILE >> $LOGFILE
juil. 23 17:14:24 Schenker cupsd[17868]: [Job 36] /opt/brother/Printers/mfc9330cdw/lpd/filtermfc9330cdw : ligne 63 : 17914 Fini                    eval cat $INPUT_TEMP
juil. 23 17:14:24 Schenker cupsd[17868]: [Job 36] 17915                       | $PSCONV $PSCONV_OP
juil. 23 17:14:24 Schenker cupsd[17868]: [Job 36] 17916 Erreur de segmentation  | $BRCONV $BRCONV_OP
juil. 23 17:14:24 Schenker cupsd[17868]: [Job 36] PID 17878 (/usr/lib/cups/filter/brother_lpdwrapper_mfc9330cdw) exited with no errors.
…

(As you have probably guessed, "Erreur de segmentation" is the French for "segmentation fault".)

My guess is that the driver is trying to use 64 bit libraries instead of the 32 bit ones. How do I check that, and/or what could I do to force it to use 32 bit libs ?

Edit : Apparently they do use the 32 bit libraries :

$ ldd /opt/brother/Printers/mfc9330cdw/cupswrapper/brcupsconfpt1
linux-gate.so.1 (0xf7ed4000)
libc.so.6 => /lib/libc.so.6 (0xf7d10000)
/lib/ld-linux.so.2 (0xf7ed6000)

I have to mention I have read this FAQ and that brother_lpdwrapper_mfc9330cdw does exist in both /usr/lib/cups/filter/ and /usr/lib64/cups/filter/. The former is actually used (indeed I was able to change the debug level in it).

Skippy le Grand Gourou

Actually the issue has nothing to do with the architecture. By "chance" my laptop froze and I found myself in a "Failed to load SELinux policy. Freezing." situation at boot, then with SELinux disabled awkwardly the printer worked.

Apparently it is known that SELinux prevents Brother printer drivers to do their job since Fedora 21.

The solution is quite simple. Quoting the closing comment of the bug report linked above :

There is a boolean for this.

setsebool -P cups_execmem 1

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How do I get Slick carousel to work?

분류에서Dev

How do I get a Samsung SCX3200 multifunction printer/scanner working?

분류에서Dev

How do I run bootchart on Fedora 23

분류에서Dev

How do I add a network printer in Ubuntu 12.04?

분류에서Dev

How do I install new Intel HDA sound drivers?

분류에서Dev

How do I install and enable wireless drivers on laptop with Ubuntu?

분류에서Dev

How do I install sqlite3 ODBC drivers with unixODBC?

분류에서Dev

How do I get PowerPoint drag with MouseWheel to work?

분류에서Dev

How do I get navbar-collapse to work with animated hamburger?

분류에서Dev

Several Brother printer models not printing

분류에서Dev

Brother HL-L2340DW printer

분류에서Dev

Brother HL-L2340DW printer

분류에서Dev

After installing Ubuntu how do I know that all devices have their necessary drivers

분류에서Dev

How do I install drivers using Burn and DPInst after MSI installation?

분류에서Dev

How do I get the linksys WUSB6300 wireless adapter to work on linux

분류에서Dev

How do I get the linksys WUSB6300 wireless adapter to work on linux

분류에서Dev

How do I get add-apt-repository to work through a proxy?

분류에서Dev

How do I get Rails to work with a newer version of Ruby on Windows 7?

분류에서Dev

How do I get my logic in this Java program to make my loop work?

분류에서Dev

How can I get FacetFilter work properly?

분류에서Dev

How to I get GCC compiler to work?

분류에서Dev

No black ink printing for MFC 490CW Brother printer?

분류에서Dev

Brother printer hl1112 stopped working on 14.04 after an update

분류에서Dev

How do I get root in terminal?

분류에서Dev

How do I get the multiprocessing running?

분류에서Dev

How do I get started with Translations?

분류에서Dev

How do I get information from a UITableViewCell?

분류에서Dev

How do I get iPads to upload images?

분류에서Dev

How do I get the level of depth of a list?

Related 관련 기사

  1. 1

    How do I get Slick carousel to work?

  2. 2

    How do I get a Samsung SCX3200 multifunction printer/scanner working?

  3. 3

    How do I run bootchart on Fedora 23

  4. 4

    How do I add a network printer in Ubuntu 12.04?

  5. 5

    How do I install new Intel HDA sound drivers?

  6. 6

    How do I install and enable wireless drivers on laptop with Ubuntu?

  7. 7

    How do I install sqlite3 ODBC drivers with unixODBC?

  8. 8

    How do I get PowerPoint drag with MouseWheel to work?

  9. 9

    How do I get navbar-collapse to work with animated hamburger?

  10. 10

    Several Brother printer models not printing

  11. 11

    Brother HL-L2340DW printer

  12. 12

    Brother HL-L2340DW printer

  13. 13

    After installing Ubuntu how do I know that all devices have their necessary drivers

  14. 14

    How do I install drivers using Burn and DPInst after MSI installation?

  15. 15

    How do I get the linksys WUSB6300 wireless adapter to work on linux

  16. 16

    How do I get the linksys WUSB6300 wireless adapter to work on linux

  17. 17

    How do I get add-apt-repository to work through a proxy?

  18. 18

    How do I get Rails to work with a newer version of Ruby on Windows 7?

  19. 19

    How do I get my logic in this Java program to make my loop work?

  20. 20

    How can I get FacetFilter work properly?

  21. 21

    How to I get GCC compiler to work?

  22. 22

    No black ink printing for MFC 490CW Brother printer?

  23. 23

    Brother printer hl1112 stopped working on 14.04 after an update

  24. 24

    How do I get root in terminal?

  25. 25

    How do I get the multiprocessing running?

  26. 26

    How do I get started with Translations?

  27. 27

    How do I get information from a UITableViewCell?

  28. 28

    How do I get iPads to upload images?

  29. 29

    How do I get the level of depth of a list?

뜨겁다태그

보관