staging.inyokaproject.org

ThinkPad "vergisst" Brother MFC-J4540DWXL

Status: Ungelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

KrischanDO

Anmeldungsdatum:
4. Mai 2015

Beiträge: 114

Hallo, wir haben hier zwei ThinkPad T460S, 22.04.1 LTS, 64bit, meiner 20 GB, der meiner Frau 8 GB, beide auf aktuellem Softwarestand, per WiFi via FritzBox im Netz, dazu seit einer Woche einen Brother MFC-J4540DWXL. Der ist mit fester IP 192.168.178.60 im Netz. Mit dem Script von der Brother Downloadseite habe ich die den Drucker installiert:

Step1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz) The tool will be downloaded into the default "Download" directory. (The directory location varies depending on your Linux distribution.) e.g. /home/(LoginName)/Download Step2. Open a terminal window. Step3. Go to the directory you downloaded the file to in the last step. By using the cd command. e.g. cd Downloads Step4. Enter this command to extract the downloaded file: Command: gunzip linux-brprinter-installer-*.*.*-*.gz e.g. gunzip linux-brprinter-installer-2.1.1-1.gz Step5. Get superuser authorization with the "su" command or "sudo su" command. Step6. Run the tool: Command: bash linux-brprinter-installer-*.*.*-* Brother machine name e.g. bash linux-brprinter-installer-2.1.1-1 MFC-J880DW Step7. The driver installation will start. Follow the installation screen directions. When you see the message "Will you specify the DeviceURI ?", For USB Users: Choose N(No) For Network Users: Choose Y(Yes) and DeviceURI number. The install process may take some time. Please wait until it is complete.

Mein TP druckt und scannt seit einer Woche problemlos. Das meiner Frau hat nach Installation gedruckt und gescannt, auch nach einigen testweisen Neustarts von Drucker und TP. Irgendwann ist der Drucker in der Auswahl verschwunden. Ich habe neu installiert, ging, auch nach mehreren testweisen Neustarts. Nach einem Druck von meinem TP gehen die Druckaufträge von meiner Frau direkt auf "Pausiert" und lassen sich nicht fortsetzen. Testweises Verbinden via USB bringt nichts. Wenn der EPSON WF-5620 (feste IP 192.168.178.30) eingeschaltet ist, wird der in der Brother Installationsroutine unter DNSSD angezeigt.

sabine@sabine-ThinkPad-T460s:~$ cd Downloads/
sabine@sabine-ThinkPad-T460s:~/Downloads$ cd Brother/
sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ sudo bash linux-brprinter-installer-2.2.3-1 MFC-J4540DWXL
[sudo] Passwort für sabine: 
You are going to install following packages.
   mfcj4540npdrv-3.5.0-1.i386.deb
   brscan5-1.2.11-0.amd64.deb
   brscan-skey-0.3.1-2.amd64.deb
OK? [y/N] ->y

dpkg -x mfcj4540npdrv-3.5.0-1.i386.deb /
dpkg-deb: Paket »mfcj4540npdrv« wird in »mfcj4540npdrv-3.5.0-1a.i386.deb« gebaut.
dpkg -b ./brother_driver_packdir mfcj4540npdrv-3.5.0-1a.i386.deb
dpkg -i --force-all mfcj4540npdrv-3.5.0-1a.i386.deb
(Lese Datenbank ... 228865 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von mfcj4540npdrv-3.5.0-1a.i386.deb ...
Entpacken von mfcj4540npdrv:i386 (3.5.0-1) über (3.5.0-1) ...
Restarting cups (via systemctl): cups.service.
mfcj4540npdrv:i386 (3.5.0-1) wird eingerichtet ...
mkdir: das Verzeichnis »/var/spool/lpd/mfcj4540n“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
chown: Zugriff auf '/var/spool/lpd/mfcj4540n' nicht möglich: Datei oder Verzeichnis nicht gefunden
chgrp: Zugriff auf '/var/spool/lpd/mfcj4540n' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/var/spool/lpd/mfcj4540n' nicht möglich: Datei oder Verzeichnis nicht gefunden
Restarting cups (via systemctl): cups.service.
lpadmin -p MFCJ4540N -E -v usb://dev/usb/lp0 -P /usr/share/cups/model/Brother/brother_mfcj4540n_printer_en.ppd
lpadmin: Druckertreiber sind veraltet und werden in einer zukünftigen Version von CUPS nicht mehr funktionieren.
#
Will you specify the Device URI? [Y/n] ->y


0: cups-brf:/
1: serial:/dev/ttyS4?baud=115200
2: beh
3: hp
4: http
5: lpd
6: ipps
7: socket
8: ipp
9: https
10: hpfax
11: dnssd://Brother%20MFC-J4540DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b422009a7526
12 (I): Specify IP address.
13 (A): Auto. (usb://dev/usblp0)

select the number of destination Device URI. ->11

lpadmin -p MFCJ4540N -v dnssd://Brother%20MFC-J4540DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b422009a7526 -E
Test Print? [y/N] ->y

wait 5s.
lpr -P MFCJ4540N /usr/share/cups/data/testprint
You are going to install following packages.
   brscan5-1.2.11-0.amd64.deb
dpkg -i --force-all brscan5-1.2.11-0.amd64.deb
(Lese Datenbank ... 228865 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von brscan5-1.2.11-0.amd64.deb ...
Entpacken von brscan5 (1.2.11-0) über (1.2.11-0) ...
brscan5 (1.2.11-0) wird eingerichtet ...
This software is based in part on the work of the Independent JPEG Group.
You are going to install following packages.
   brscan-skey-0.3.1-2.amd64.deb
dpkg -i --force-all brscan-skey-0.3.1-2.amd64.deb
(Lese Datenbank ... 228865 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von brscan-skey-0.3.1-2.amd64.deb ...
Entpacken von brscan-skey (0.3.1-2) über (0.3.1-2) ...
brscan-skey (0.3.1-2) wird eingerichtet ...
 enter IP address ->192.168.178.60

brsaneconfig5 -a name=MFC-J4540N model=MFC-J4540N ip=192.168.178.60
sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$

Und hier die Ergebnisse der Abfragen:

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ dpkg -l *cups* lpr* | grep ii
ii  bluez-cups                5.64-0ubuntu1       amd64        Bluetooth printer driver for CUPS
ii  cups                      2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed              1.28.15-0ubuntu1    amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                  2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client               2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common               2.4.1op1-1ubuntu4.1 all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers         2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon               2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters              1.28.15-0ubuntu1    amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers 1.28.15-0ubuntu1    amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils            2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper            0.2.6-1ubuntu5      amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                 2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common        2.4.1op1-1ubuntu4.1 all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64            2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - Core library
ii  libcupsfilters1:amd64     1.28.15-0ubuntu1    amd64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64       2.4.1op1-1ubuntu4.1 amd64        Common UNIX Printing System(tm) - Raster image library
ii  printer-driver-hpcups     3.21.12+dfsg0-1     amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups:amd64        2.0.1-5build1       amd64        Python3 bindings for CUPS
ii  python3-cupshelpers       1.5.16-0ubuntu3     all          Python utility modules around the CUPS printing system

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ dpkg -l libusb* | grep ii
ii  libusb-0.1-4:amd64 2:0.1.12-32build3 amd64        userspace USB programming library
ii  libusb-1.0-0:amd64 2:1.0.25-1ubuntu2 amd64        userspace USB programming library
ii  libusbmuxd6:amd64  2.0.2-3build2     amd64        USB multiplexor daemon for iPhone and iPod Touch devices - library

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ dpkg -l | egrep Brother
ii  brscan-skey                                0.3.1-2                                    amd64        Brother Linux scanner S-KEY tool
ii  brscan5                                    1.2.11-0                                   amd64        Brother Scanner Driver brscan5
ii  mfcj4340dwpdrv:i386                        3.5.0-1                                    i386         Brother Printer Driver
ii  mfcj4540npdrv:i386                         3.5.0-1                                    i386         Brother Printer Driver
ii  printer-driver-brlaser                     6-3                                        amd64        printer driver for (some) Brother laser printers
ii  printer-driver-ptouch                      1.6-2build1                                amd64        printer driver Brother P-touch label printers

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ dpkg -l | egrep 'iscan*|esci-*|epson'
sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ 

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ systemctl --no-pager status sane* cups*
● cups-browsed.service - Make remote CUPS printers available locally
     Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2023-01-21 17:44:00 CET; 23min ago
   Main PID: 6722 (cups-browsed)
      Tasks: 3 (limit: 9132)
     Memory: 1.8M
        CPU: 56ms
     CGroup: /system.slice/cups-browsed.service
             └─6722 /usr/sbin/cups-browsed

Jan 21 17:44:00 sabine-ThinkPad-T460s systemd[1]: Started Make remote CUPS printers available locally.

● cups.socket - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.socket; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2023-01-21 17:44:00 CET; 23min ago
   Triggers: ● cups.service
     Listen: /run/cups/cups.sock (Stream)
     CGroup: /system.slice/cups.socket

Jan 21 17:44:00 sabine-ThinkPad-T460s systemd[1]: Listening on CUPS Scheduler.

● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2023-01-21 17:44:00 CET; 23min ago
TriggeredBy: ● cups.socket
             ● cups.path
       Docs: man:cupsd(8)
   Main PID: 6720 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 5 (limit: 9132)
     Memory: 19.0M
        CPU: 8.293s
     CGroup: /system.slice/cups.service
             ├─6720 /usr/sbin/cupsd -l
             ├─7089 /usr/lib/cups/notifier/dbus dbus:// ""
             ├─7090 /usr/lib/cups/notifier/dbus dbus:// ""
             ├─7091 /usr/lib/cups/notifier/dbus dbus:// ""
             └─7092 /usr/lib/cups/notifier/dbus dbus:// ""

Jan 21 17:44:00 sabine-ThinkPad-T460s systemd[1]: Starting CUPS Scheduler...
Jan 21 17:44:00 sabine-ThinkPad-T460s systemd[1]: Started CUPS Scheduler.
Jan 21 17:44:02 sabine-ThinkPad-T460s hpfax[6741]: [6741]: error: Failed to create /var/spool/cups/tmp/.hplip

● cups.path - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.path; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2023-01-21 17:44:00 CET; 23min ago
   Triggers: ● cups.service

Jan 21 17:44:00 sabine-ThinkPad-T460s systemd[1]: Started CUPS Scheduler.
sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ 

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ lpstat -t 
Zeitplandienst läuft
keine systemvoreingestellten Ziele
lpstat: Keine Druckziele hinzugefügt.
lpstat: Keine Druckziele hinzugefügt.
lpstat: Keine Druckziele hinzugefügt.
lpstat: Keine Druckziele hinzugefügt.

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ lpinfo -v
direct hp
serial serial:/dev/ttyS4?baud=115200
file cups-brf:/
network beh
network ipps
network lpd
network https
network socket
network http
network ipp
direct hpfax
network dnssd://Brother%20MFC-J4540DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b422009a7526

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ uname -rm
5.15.0-58-generic x86_64

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 138a:0090 Validity Sensors, Inc. VFS7500 Touch Fingerprint Sensor
Bus 001 Device 004: ID 04f2:b52c Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 002: ID 04b3:310b IBM Corp. Red Wheel Mouse
Bus 001 Device 006: ID 04f9:0486 Brother Industries, Ltd MFC-J4540DW
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ dmesg | grep printer
dmesg: Lesen des Kernelpuffers ist fehlgeschlagen: Vorgang nicht zulässig

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ id
uid=1000(sabine) gid=1000(sabine) Gruppen=1000(sabine),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare)

sabine@sabine-ThinkPad-T460s:~/Downloads/Brother$ ls -l /etc/cups/ppd/*
-rw-r----- 1 root lp 14111 Jan 21 18:12 /etc/cups/ppd/MFC_J4540DW.ppd

Bin für Hinweise sehr dankbar. Es ist nicht lustig, wenn man den Drucker mit "Funktioniert jetzt alles" übergeben hat und dann, wenn die Liebste etwas Berufliches drucken muss, die Alarmmeldung kommt. 😉

Beste Grüße Christian

KrischanDO

(Themenstarter)

Anmeldungsdatum:
4. Mai 2015

Beiträge: 114

Nachtrag: Als ich gerade den Drucker vom TP meiner Frau aus angepingt (192.168.178.60) habe, hat ping nach dem ersten ping dann 192.168.178.42 zurückgegeben.

KrischanDO

(Themenstarter)

Anmeldungsdatum:
4. Mai 2015

Beiträge: 114

Das scheint ein Netzwerkproblem zu sein. Wenn der Brother bei Druckjobs vom TP meiner Frau nicht reagiert, kommt bei ping 192.168.178.60 host unreachable und es wird an 192.168.178.42 weitergepingt. "WLAN wiederherstellen" im Drucker macht ihn mit ...60 wieder erreichbar und er druckt.

Antworten |