Improvviso problema stampante Brother MFC-J4510DW

8 risposte [Ultimo contenuto]
Ritratto di marcoap65
marcoap65
(Geek)
Offline
Geek
Iscritto: 27/08/2015
Messaggi: 103

Salve a tutti, fino a ieri sera la stampante Brother MFC-J4510DW che uso da mesi con Debian 9 andava benissimo. Oggi vado a stampare un file e...nulla! La stampante non dà segni di vita. Dalle notifiche la stampa risulta completata. Ho provato pdf, office, libreoffice. Da ieri ad oggi ho installato un programma (CmapTools con qualche difficoltà ma non mi sembra di aver toccato nulla che riguardasse la stampante: l'unica cosa che ricordo è che ho cancellato dei file che iniziavano per "cmaps", perchè avevo sbagliato la prima installazione).
La stampante l' ho sempre usata via usb e non mi ha mai dato problemi.
Per installarla la prima volta ho seguito il secondo passaggio di questa guida ( scaricato pacchetti, ed usato dpkg).
Dopo aver visto che la stampa non andava ( da win in dual boot stampa) ho rimosso i pacchetti tramite synapctic, ed ho riprovato la procedura ma questa volta mi rimanda questo errore (anche pacchetto per pacchetto):

icaro@icaro:~/Scaricati/st2$ ls
brmfcfaxcups-1.0.0-1.i386.deb  brscan-skey-0.2.4-1.amd64.deb
brmfcfaxlpd-1.0.0-1.i386.deb   mfcj4510dwcupswrapper-3.0.1-1.i386.deb
brscan4-0.4.4-4.amd64.deb      mfcj4510dwlpr-3.0.1-1.i386.deb
icaro@icaro:~/Scaricati/st2$ sudo dpkg --install -f *.deb
[sudo] password di icaro: 
dpkg: errore: azioni -f (--field) e -i (--install) in conflitto
 
Usare dpkg --help per un aiuto sull'installazione e la rimozione dei pacchetti [*].
Usare "apt" o "aptitude" per un'interfaccia alla gestione dei pacchetti.
Usare dpkg -Dhelp per l'elenco delle opzioni di debug per dpkg.
Usare dpkg --force-help per l'elenco delle opzioni di forzatura.
Usare dpkg-deb --help per un aiuto sulla manipolazione dei file *.deb.
 
Le opzioni indicate con [*] producono output prolisso - creare una pipe con "less" o "more".

Se installo senza l'opzione -f ho come risultati:

icaro@icaro:~/Scaricati/st2$ sudo dpkg -i --force-all mfcj4510dwcupswrapper-3.0.1-1.i386.deb
[sudo] password di icaro: 
(Lettura del database... 164999 file e directory attualmente installati.)
Preparativi per estrarre mfcj4510dwcupswrapper-3.0.1-1.i386.deb...
lpadmin: Non esiste la stampante o la classe.
[ ok ] Restarting cups (via systemctl): cups.service.
Estrazione di mfcj4510dwcupswrapper:i386 (3.0.1-1) su (3.0.1-1)...
Configurazione di mfcj4510dwcupswrapper:i386 (3.0.1-1)...
[ ok ] Restarting cups (via systemctl): cups.service.
lpadmin -p MFCJ4510DW -E -v usb://Brother/MFC-J4510DW?serial=BROA4F319739 -P /usr/share/cups/model/Brother/brother_mfcj4510dw_printer_en.ppd
icaro@icaro:~/Scaricati/st2$ sudo dpkg -i --force-all mfcj4510dwlpr-3.0.1-1.i386.deb
(Lettura del database... 164999 file e directory attualmente installati.)
Preparativi per estrarre mfcj4510dwlpr-3.0.1-1.i386.deb...
Estrazione di mfcj4510dwlpr:i386 (3.0.1-1) su (3.0.1-1)...
Configurazione di mfcj4510dwlpr:i386 (3.0.1-1)...
mkdir: impossibile creare la directory "/var/spool/lpd/mfcj4510dw": File o directory non esistente
chown: impossibile accedere a '/var/spool/lpd/mfcj4510dw': File o directory non esistente
chgrp: impossibile accedere a '/var/spool/lpd/mfcj4510dw': File o directory non esistente
chmod: impossibile accedere a '/var/spool/lpd/mfcj4510dw': File o directory non esistente

Questo il risultato del comando lpstat

icaro@icaro:~$ lpstat -t
lo scheduler è in funzione
nessuna destinazione predefinita di sistema
dispositivo per MFC-J4510DW: usb://Brother/MFC-J4510DW?serial=BROA4F319739
MFC-J4510DW sta accettando richieste da ven 06 ott 2017 18:20:03 CEST
la stampante MFC-J4510DW è inattiva.  è stata abilitata da ven 06 ott 2017 18:20:03 CEST

Ho provato ad usare gdebi ed i pacchetti vengono sia disinstallati che reinstallati ma non cambia nulla.

Sono andato anche attraverso il browers nella pagina localhost del servizio Cups (associato alla stampante) ma pur seguendo le indicazioni riportate sul sito della brother non ho risolto il problema.
La mia idea è di disinstallare e poi reinstallare tutto ma i passi da me seguiti fin'ora non hanno portato risultati positivi.

Qualche idea? Grazie

Ritratto di marcoap65
marcoap65
(Geek)
Offline
Geek
Iscritto: 27/08/2015
Messaggi: 103

Aggiungo il listato di alcuni comandi se dovessero servire
cat /var/log/cups/error_log

E [06/Oct/2017:00:28:13 +0200] [cups-deviced] PID 11830 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:00:31:15 +0200] [cups-deviced] PID 12467 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:00:45:30 +0200] [cups-deviced] PID 850 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:08:22:54 +0200] [cups-deviced] PID 910 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:08:25:04 +0200] [cups-deviced] PID 1153 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:15:14:51 +0200] [cups-deviced] PID 884 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:16:53:39 +0200] [cups-deviced] PID 3837 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:16:57:27 +0200] Scheduler shutting down due to program error.
E [06/Oct/2017:16:59:22 +0200] [cups-deviced] PID 4932 (gutenprint52+usb) stopped with status 1!
W [06/Oct/2017:16:59:38 +0200] CreateProfile failed: org.freedesktop.ColorManager.Profile.Internal:failed to register object: Risulta già esportato un oggetto per l\'interfaccia org.freedesktop.ColorManager.Pro$
W [06/Oct/2017:16:59:38 +0200] CreateProfile failed: org.freedesktop.ColorManager.Profile.Internal:failed to register object: Risulta già esportato un oggetto per l\'interfaccia org.freedesktop.ColorManager.Pro$
W [06/Oct/2017:16:59:38 +0200] CreateDevice failed: org.freedesktop.ColorManager.Device.Internal:failed to register object: Risulta già esportato un oggetto per l\'interfaccia org.freedesktop.ColorManager.Devic$
E [06/Oct/2017:17:00:06 +0200] [Client 147] Returning IPP client-error-bad-request for Print-Job (ipp://localhost/printers/Brother-MFC-J4510DW) from localhost
E [06/Oct/2017:17:36:50 +0200] [cups-deviced] PID 6936 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:17:41:13 +0200] [cups-deviced] PID 7220 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:17:50:20 +0200] Brother-MFC-J4510DW: Il file \"/usr/lib/cups/filter/brother_lpdwrapper_mfcj4510dw\" non è disponibile: No such file or directory
E [06/Oct/2017:17:50:20 +0200] MFC-J4510DW: Il file \"/usr/lib/cups/filter/brother_lpdwrapper_mfcj4510dw\" non è disponibile: No such file or directory
E [06/Oct/2017:17:50:22 +0200] [cups-deviced] PID 7931 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:17:52:48 +0200] [cups-deviced] PID 8441 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:17:59:07 +0200] [cups-deviced] PID 9001 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:18:01:58 +0200] [cups-deviced] PID 929 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:18:04:21 +0200] [cups-deviced] PID 1684 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:18:04:59 +0200] [cups-deviced] PID 1771 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:18:05:03 +0200] [Client 90] Returning IPP server-error-not-accepting-jobs for Print-Job (ipp://localhost/printers/MFC-J4510DW) from localhost
E [06/Oct/2017:18:11:05 +0200] [cups-deviced] PID 2759 (gutenprint52+usb) stopped with status 1!
W [06/Oct/2017:18:11:11 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-Gray..\' already exists
W [06/Oct/2017:18:11:11 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-RGB..\' already exists
E [06/Oct/2017:18:11:11 +0200] [Client 261] Returning IPP server-error-not-accepting-jobs for Print-Job (ipp://localhost/printers/MFC-J4510DW) from localhost
W [06/Oct/2017:18:11:24 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-Gray..\' already exists
W [06/Oct/2017:18:11:24 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-RGB..\' already exists
W [06/Oct/2017:18:11:24 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-Gray..\' already exists
W [06/Oct/2017:18:11:24 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-RGB..\' already exists
E [06/Oct/2017:18:22:01 +0200] MFC-J4510DW: Il file \"/usr/lib/cups/filter/brother_lpdwrapper_mfcj4510dw\" non è disponibile: No such file or directory
E [06/Oct/2017:18:22:03 +0200] [cups-deviced] PID 3707 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:18:49:35 +0200] [cups-deviced] PID 891 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:20:16:44 +0200] [cups-deviced] PID 892 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:20:23:06 +0200] [cups-deviced] PID 1795 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:20:33:11 +0200] [cups-deviced] PID 2970 (gutenprint52+usb) stopped with status 1!
W [06/Oct/2017:20:33:24 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-Gray..\' already exists
W [06/Oct/2017:20:33:24 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFC-J4510DW-RGB..\' already exists
E [06/Oct/2017:20:33:24 +0200] [Client 319] Returning IPP server-error-not-accepting-jobs for Print-Job (ipp://localhost/printers/MFC-J4510DW) from localhost
E [06/Oct/2017:21:10:37 +0200] [cups-deviced] PID 902 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:21:32:33 +0200] MFC-J4510DW: Il file \"/usr/lib/cups/filter/brother_lpdwrapper_mfcj4510dw\" non è disponibile: No such file or directory
E [06/Oct/2017:21:32:38 +0200] [cups-deviced] PID 3059 (gutenprint52+usb) stopped with status 1!
E [06/Oct/2017:21:58:24 +0200] Scheduler shutting down due to program error.
I [06/Oct/2017:21:59:44 +0200] Listening to [v1.::1]:631 (IPv6)
I [06/Oct/2017:21:59:44 +0200] Listening to 127.0.0.1:631 (IPv4)
I [06/Oct/2017:21:59:44 +0200] Listening to /var/run/cups/cups.sock (Domain)
I [06/Oct/2017:21:59:44 +0200] Remote access is disabled.
D [06/Oct/2017:21:59:44 +0200] Added auto ServerAlias icaro
I [06/Oct/2017:21:59:44 +0200] Loaded configuration file "/etc/cups/cupsd.conf"

ls -l /dev/usb/lp0 e dmesg | grep usb

root@icaro:/home/icaro# ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 ott  6 22:22 /dev/usb/lp0
root@icaro:/home/icaro# dmesg | grep usb
[    0.809968] usbcore: registered new interface driver usbfs
[    0.809981] usbcore: registered new interface driver hub
[    0.810004] usbcore: registered new device driver usb
[    0.879019] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.879020] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.879021] usb usb1: Product: xHCI Host Controller
[    0.879022] usb usb1: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[    0.879023] usb usb1: SerialNumber: 0000:03:00.0
[    0.879277] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.879290] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    0.879291] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.879292] usb usb2: Product: xHCI Host Controller
[    0.879293] usb usb2: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[    0.879294] usb usb2: SerialNumber: 0000:03:00.0
[    0.896602] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    0.896603] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.896604] usb usb3: Product: EHCI Host Controller
[    0.896605] usb usb3: Manufacturer: Linux 4.9.0-3-amd64 ehci_hcd
[    0.896606] usb usb3: SerialNumber: 0000:00:1a.0
[    0.916539] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    0.916541] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.916542] usb usb4: Product: EHCI Host Controller
[    0.916542] usb usb4: Manufacturer: Linux 4.9.0-3-amd64 ehci_hcd
[    0.916543] usb usb4: SerialNumber: 0000:00:1d.0
[    1.224491] usb 3-1: new high-speed USB device number 2 using ehci-pci
[    1.244491] usb 4-1: new high-speed USB device number 2 using ehci-pci
[    1.372935] usb 3-1: New USB device found, idVendor=8087, idProduct=0024
[    1.372938] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.396926] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
[    1.396928] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.660510] usb 3-1.2: new high-speed USB device number 3 using ehci-pci
[    1.688503] usb 4-1.2: new low-speed USB device number 3 using ehci-pci
[    1.770766] usb 3-1.2: New USB device found, idVendor=058f, idProduct=6364
[    1.770770] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.770773] usb 3-1.2: Product: Mass Storage Device
[    1.770774] usb 3-1.2: Manufacturer: Generic
[    1.770776] usb 3-1.2: SerialNumber: 058F63646476
[    1.802001] usb 4-1.2: New USB device found, idVendor=046d, idProduct=c31c
[    1.802004] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.802006] usb 4-1.2: Product: USB Keyboard
[    1.802007] usb 4-1.2: Manufacturer: Logitech
[    1.884495] usb 4-1.6: new high-speed USB device number 4 using ehci-pci
[    2.010624] usb 4-1.6: New USB device found, idVendor=04f9, idProduct=02b3
[    2.010626] usb 4-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.010628] usb 4-1.6: Product: MFC-J4510DW
[    2.010629] usb 4-1.6: Manufacturer: Brother
[    2.010630] usb 4-1.6: SerialNumber: BROA4F319739
[    2.148032] usb-storage 3-1.2:1.0: USB Mass Storage device detected
[    2.149714] scsi host6: usb-storage 3-1.2:1.0
[    2.151191] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[    2.151214] usbcore: registered new interface driver usblp
[    2.151215] usb-storage 4-1.6:1.3: USB Mass Storage device detected
[    2.151295] scsi host7: usb-storage 4-1.6:1.3
[    2.151362] usbcore: registered new interface driver usb-storage
[    2.178576] usbcore: registered new interface driver uas
[    2.187113] usbcore: registered new interface driver usbhid
[    2.187114] usbhid: USB HID core driver
[    2.237720] hid-generic 0003:058F:6364.0001: hiddev0,hidraw0: USB HID v1.10 Device [Generic Mass Storage Device] on usb-0000:00:1a.0-1.2/input1
[    2.237860] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/0003:046D:C31C.0002/input/input14
[    2.296700] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input0
[    2.298308] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/0003:046D:C31C.0003/input/input15
[    2.356636] hid-generic 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input1
[    8.069745] usblp0: removed
[    8.075054] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[  374.924791] usblp0: removed
[  375.182662] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1328.690886] usblp0: removed
[ 1328.696531] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1344.960313] usblp0: removed
[ 1345.217056] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1391.049638] usblp0: removed
[ 1391.302680] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1397.882861] usblp0: removed
[ 1398.134861] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 2112.559280] usblp0: removed
[ 2112.815223] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 2114.590025] usblp0: removed
[ 2114.852356] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 2161.457897] usblp0: removed
[ 2161.719959] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3289.776650] usb 4-1.6: USB disconnect, device number 4
[ 3289.776808] usblp0: removed
[ 3328.910902] usb 4-1.6: new high-speed USB device number 5 using ehci-pci
[ 3329.030207] usb 4-1.6: New USB device found, idVendor=04f9, idProduct=02b3
[ 3329.030210] usb 4-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3329.030212] usb 4-1.6: Product: MFC-J4510DW
[ 3329.030213] usb 4-1.6: Manufacturer: Brother
[ 3329.030223] usb 4-1.6: SerialNumber: BROA4F319739
[ 3329.031120] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3329.031399] usb-storage 4-1.6:1.3: USB Mass Storage device detected
[ 3329.031613] scsi host7: usb-storage 4-1.6:1.3
[ 3334.149524] usblp0: removed
[ 3334.151840] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3349.288752] usblp0: removed
[ 3349.547177] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3360.630613] usblp0: removed
[ 3360.886417] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3377.523757] usblp0: removed
[ 3377.525558] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3384.863249] usblp0: removed
[ 3384.864350] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3390.199071] usblp0: removed
[ 3390.454368] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3391.321510] usblp0: removed
[ 3391.586159] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3392.936816] usblp0: removed
[ 3393.193904] usblp 4-1.6:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3908.702314] usblp0: removed
[ 3909.386309] usblp: can't set desired altsetting 0 on interface 0
[ 3909.386523] usb 4-1.6: USB disconnect, device number 5
[ 3948.950875] usb 4-1.5: new high-speed USB device number 6 using ehci-pci
[ 3949.060070] usb 4-1.5: New USB device found, idVendor=04f9, idProduct=02b3
[ 3949.060074] usb 4-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3949.060076] usb 4-1.5: Product: MFC-J4510DW
[ 3949.060077] usb 4-1.5: Manufacturer: Brother
[ 3949.060078] usb 4-1.5: SerialNumber: BROA4F319739
[ 3949.060850] usblp 4-1.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3949.061065] usb-storage 4-1.5:1.3: USB Mass Storage device detected
[ 3949.061143] scsi host7: usb-storage 4-1.5:1.3
[ 3954.149145] usblp0: removed
[ 3954.151169] usblp 4-1.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 3965.647186] usblp0: removed
[ 3965.901008] usblp 4-1.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 4313.736259] usblp0: removed
[ 4314.006543] usblp 4-1.5:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3

Grazie.

Ritratto di marcoap65
marcoap65
(Geek)
Offline
Geek
Iscritto: 27/08/2015
Messaggi: 103

Ho letto e riletto forum e guide. Mi convinco sempre di più che il problema sta nell'output dell'ultimo post, dove si legge "usblp0:removed". Ho provato a seguire questa guida ma non cambia nulla: stampante accesa, riconosciuta, vado in stampa, nelle notifiche mi segnala l'avvenuta stampa ma nulla si muove.
La stampante è multifunzione e lo scanner funziona.
Mi sono accorto che in Cups la stampante è segnata come "Idle".

Ritratto di homeless
homeless
(Guru)
Offline
Guru
Iscritto: 21/10/2011
Messaggi: 1288

Il file /var/log/cups/error_log evidenzia molteplici ripetuti errori, così come pure questo log:

Configurazione di mfcj4510dwlpr:i386 (3.0.1-1)...
mkdir: impossibile creare la directory "/var/spool/lpd/mfcj4510dw": File o directory non esistente
chown: impossibile accedere a '/var/spool/lpd/mfcj4510dw': File o directory non esistente
chgrp: impossibile accedere a '/var/spool/lpd/mfcj4510dw': File o directory non esistente
chmod: impossibile accedere a '/var/spool/lpd/mfcj4510dw': File o directory non esistente

In particolare, quest'ultima sequenza di errori sembra rappresentare, in fase di installazione dei moduli della stampante, l'impossibilità di creare le directory destinate a contenere la coda di stampa, cioè i file che ospitano i dati destinati ad contenere le informazioni da inviare alla stampante che, se non raccolte, non possono essere inviate alla stampante medesima.

Inoltre, dai comandi che hai inviato, risulta che una parte dei pacchetti dei "driver" per la stampante sono per architettura a 32 bit (i386), mentre la parte relativa al supporto dello scanner sono a 64 bit (amd64). Esistono "driver" a 64 bit anche per la stampante ?

Hai abilitato il supporto per l'architettura a 32bit (i386) tramite "multiarch" sul tuo computer ?

In sintesi, sembrerebbe che i malfunzionamenti riferiti possano essere riconducibili a qualche pasticcio in fase di installazione dei "driver" della stampante.

Infine, se desideri metterci a parte dei pacchetti installati a partire dall'ultimo giorno da te conosciuto di funzionamento corretto della stampante, nella directory /var/log/apt/ trovi il log che la cronologia dei pacchetti installati: ciò al fine di verificare se il malfunzionamento possa correlarsi all'installazione di un qualche pacchetto (magari non Debian).

Ritratto di marcoap65
marcoap65
(Geek)
Offline
Geek
Iscritto: 27/08/2015
Messaggi: 103

Grazie per la risposta, ho ricontrollato la procedura di installazione dei driver ed ho visto che gli errori del file /var/log/cups/error_log (mkdir: impossibile creare la directory "/var/spool/lpd/mfcj4510dw": File o directory non esistente ) erano dovuti ad un procedura pre-installazione solo per Debian, indicata sul sito, che non avevo rieseguito.
Ripetuta l'installazione con dpkg, i driver vengono installati ( quelli per la stampante sono sempre stati i386, dal sito, ed ho la multiarch abilitata), la stampante/fax/scanner vengono riconosciuti, lo scanner funziona ( e non aveva problemi neppure prima) ma la situazione della stampante non cambia. i documenti risultano inviati al sistema nelle notifiche, eppure non stampa.
Il fatto strano è che è accaduto tutto dopo che l'unica mia azione sul sistema era stata l'installazione di CmapTools ( un programma didattico per fare mappe concettuali). Ho seguito la guida dal sito, solo che la prima volta avevo scelto come directory di installazione una differente da quella di default( su secondo hd) ed il programma non andava. Non riuscendo a reinstallare ho rimosso manualmente ( come root) tutti i file contenenti il nome Cmaps ( li ho guardati ad uno ad uno e non erano molti). Ho reinstallato il programma nella /home e tutto è andato bene. Ho usato il pc regolarmente e la sera quando ho provato a stampare mi è iniziato lo stato per cui dando la stampa sembra andare tutto bene ( no msg) ma semplicemente la stampante non dà segni di vita.
In questi due giorni, come detto, ho provato a fare varie prove, seguendo soprattutto la guida indicata nel mio ultimo post, ma nulla sembra cambiare. Ora ho riportato la situazione come quando ho cominciato a non stampare.

log di apt .

Start-Date: 2017-10-01  00:14:49
Commandline: packagekit role='remove-packages'
Requested-By: icaro (1000)
Remove: lightsoff:amd64 (1:3.22.2-1)
End-Date: 2017-10-01  00:14:50
 
Start-Date: 2017-10-01  00:15:03
Commandline: packagekit role='remove-packages'
Requested-By: icaro (1000)
Remove: tali:amd64 (1:3.22.0-1)
End-Date: 2017-10-01  00:15:04
 
Start-Date: 2017-10-01  00:15:11
Commandline: packagekit role='remove-packages'
Requested-By: icaro (1000)
Remove: swell-foop:amd64 (1:3.22.2-1)
End-Date: 2017-10-01  00:15:12
 
Start-Date: 2017-10-01  01:01:41
Commandline: apt autoremove
Requested-By: icaro (1000)
Remove: gir1.2-gdata-0.0:amd64 (0.17.6-2), gir1.2-zpj-0.0:amd64 (0.0.3-3), gir1.2-gepub-0.4:amd64 (0.4-1), unoconv:amd64 (0.7-1.1), libgepub0:amd64 (0.4-1)
End-Date: 2017-10-01  01:01:43
 
Start-Date: 2017-10-01  07:37:01
Commandline: /usr/bin/unattended-upgrade
Upgrade: libidn2-0:amd64 (0.16-1, 0.16-1+deb9u1)
End-Date: 2017-10-01  07:37:02
 
Start-Date: 2017-10-01  22:43:31
Commandline: packagekit role='install-packages'
Requested-By: icaro (1000)
Install: caja-common:amd64 (1.16.6-1, automatic), engrampa-common:amd64 (1.16.0-2, automatic), mate-icon-theme:amd64 (1.16.2-1, automatic), zip:amd64 (3.0-11+b1, automatic), engrampa:amd64 (1.16.0-2), libcaja-e$
End-Date: 2017-10-01  22:43:40
 
Start-Date: 2017-10-01  22:46:20
Commandline: packagekit role='remove-packages'
Requested-By: icaro (1000)
Remove: engrampa:amd64 (1.16.0-2)
End-Date: 2017-10-01  22:46:21
 
Start-Date: 2017-10-05  23:07:38
Commandline: apt autoremove
Requested-By: icaro (1000)
Remove: caja-common:amd64 (1.16.6-1), engrampa-common:amd64 (1.16.0-2), mate-icon-theme:amd64 (1.16.2-1), libcaja-extension1:amd64 (1.16.6-1)
End-Date: 2017-10-05  23:07:45
 
Start-Date: 2017-10-05  23:09:16
Commandline: apt-get install lib32z1
Requested-By: icaro (1000)
End-Date: 2017-10-05  23:09:17
 
Start-Date: 2017-10-05  23:09:37
Commandline: apt-get install lib32ncurses5
Requested-By: icaro (1000)
Install: lib32tinfo5:amd64 (6.0+20161126-1, automatic), lib32ncurses5:amd64 (6.0+20161126-1)
End-Date: 2017-10-05  23:09:37
 
Start-Date: 2017-10-05  23:37:28
Commandline: /usr/sbin/synaptic
Requested-By: icaro (1000)
Remove: mfcj4510dwcupswrapper:i386 (3.0.1-1), brother-udev-rule-type1:amd64 (1.0.2), brscan4:amd64 (0.4.4-3), mfcj4510dwlpr:i386 (3.0.1-1), brscan-skey:amd64 (0.2.4-1), printer-driver-ptouch:amd64 (1.4.2-2+b1),$
End-Date: 2017-10-05  23:37:31
 
Start-Date: 2017-10-05  23:42:23
Commandline: /usr/sbin/synaptic
Requested-By: icaro (1000)
Purge: mfcj4510dwcupswrapper:i386 (3.0.1-1), brother-udev-rule-type1:amd64 (1.0.2), brmfcfaxcups:i386 (1.0.0-2), brscan4:amd64 (0.4.4-3), mfcj4510dwlpr:i386 (3.0.1-1), brscan-skey:amd64 (0.2.4-1)
End-Date: 2017-10-05  23:42:25
 
Start-Date: 2017-10-06  08:23:16
Commandline: /usr/bin/unattended-upgrade
Upgrade: dnsmasq-base:amd64 (2.76-5+b1, 2.76-5+deb9u1)
End-Date: 2017-10-06  08:23:17
 
Start-Date: 2017-10-06  16:56:51
Commandline: apt-get install system-config-printer
Install: system-config-printer:amd64 (1.5.7-3)
End-Date: 2017-10-06  16:56:53
 
Start-Date: 2017-10-06  18:18:01
Commandline: apt-get install nmap
Requested-By: icaro (1000)
Install: liblinear3:amd64 (2.1.0+dfsg-2, automatic), nmap:amd64 (7.40-1), ndiff:amd64 (7.40-1, automatic)
End-Date: 2017-10-06  18:18:03
 
Start-Date: 2017-10-06  21:32:31
Commandline: apt-get install lib32stdc++6
Install: lib32stdc++6:amd64 (6.3.0-18), lib32gcc1:amd64 (1:6.3.0-18, automatic)
End-Date: 2017-10-06  21:32:32
 
Start-Date: 2017-10-06  23:45:24
Commandline: apt-get remove cups
Requested-By: icaro (1000)
Remove: printer-driver-splix:amd64 (2.0.0+svn315-6), printer-driver-hpcups:amd64 (3.16.11+repack0-3), printer-driver-postscript-hp:amd64 (3.16.11+repack0-3), task-print-server:amd64 (3.39), hplip:amd64 (3.16.11$
End-Date: 2017-10-06  23:45:26
 
Start-Date: 2017-10-06  23:46:18
Commandline: apt-get install cups
Requested-By: icaro (1000)
Install: printer-driver-gutenprint:amd64 (5.2.11-1+b2, automatic), cups:amd64 (2.2.1-8)
Start-Date: 2017-10-06  23:57:55
Commandline: apt-get upgrade
Requested-By: icaro (1000)
Upgrade: libcurl3:amd64 (7.52.1-5, 7.52.1-5+deb9u1), curl:amd64 (7.52.1-5, 7.52.1-5+deb9u1), libcurl3-gnutls:amd64 (7.52.1-5, 7.52.1-5+deb9u1)
End-Date: 2017-10-06  23:57:57
 
Start-Date: 2017-10-06  23:58:11
Commandline: apt autoremove
Requested-By: icaro (1000)
Remove: python3-pexpect:amd64 (4.2.1-1), hplip-data:amd64 (3.16.11+repack0-3), libart-2.0-2:amd64 (2.3.21-2), python3-reportlab-accel:amd64 (3.3.0-2), python3-pil:amd64 (4.0.0-4), hp-ppd:amd64 (0.9-0.3), python$
End-Date: 2017-10-06  23:58:14
 
Start-Date: 2017-10-07  15:15:43
Commandline: apt-get remove cups
Requested-By: icaro (1000)
Remove: printer-driver-gutenprint:amd64 (5.2.11-1+b2), cups:amd64 (2.2.1-8)
End-Date: 2017-10-07  15:15:44
 
Start-Date: 2017-10-07  15:16:01
Commandline: apt autoremove
Requested-By: icaro (1000)
Remove: cups-server-common:amd64 (2.2.1-8), ssl-cert:amd64 (1.0.39), libcupsmime1:amd64 (2.2.1-8), cups-core-drivers:amd64 (2.2.1-8), cups-daemon:amd64 (2.2.1-8), libcupscgi1:amd64 (2.2.1-8), cups-browsed:amd64$
End-Date: 2017-10-07  15:16:03
 
Start-Date: 2017-10-07  15:17:29
Commandline: apt-get install cups
Requested-By: icaro (1000)
Install: cups-server-common:amd64 (2.2.1-8, automatic), ssl-cert:amd64 (1.0.39, automatic), libcupsmime1:amd64 (2.2.1-8, automatic), printer-driver-gutenprint:amd64 (5.2.11-1+b2, automatic), cups-core-drivers:a$
End-Date: 2017-10-07  15:17:35
 
Start-Date: 2017-10-07  16:11:57
Commandline: apt-get upgrade
Requested-By: icaro (1000)
Upgrade: speech-dispatcher-espeak-ng:amd64 (0.8.6-4, 0.8.6-4+deb9u1), speech-dispatcher-audio-plugins:amd64 (0.8.6-4, 0.8.6-4+deb9u1), libfreerdp-codec1.1:amd64 (1.1.0~git20140921.1.440916e+dfsg1-13+deb9u1, 1.1$
End-Date: 2017-10-07  16:12:42
 
Start-Date: 2017-10-08  16:04:33
Commandline: apt-get install lib32stdc++
Install: lib32gcc-6-dev-sparc64-cross:amd64 (6.3.0-18cross1, automatic), lib32ubsan0:amd64 (6.3.0-18, automatic), lib32gcc-6-dev-mips64-cross:amd64 (6.3.0-18cross1, automatic), lib32asan3-ppc64-cross:amd64 (6.3$
End-Date: 2017-10-08  16:05:00
 
Start-Date: 2017-10-08  16:05:46
Commandline: /usr/sbin/synaptic
Requested-By: icaro (1000)
Purge: mfcj4510dwcupswrapper:i386 (3.0.1-1), brmfcfaxcups:i386 (1.0.0-2), brmfcfaxlpd:i386 (1.0.0-2), brscan4:amd64 (0.4.4-4), mfcj4510dwlpr:i386 (3.0.1-1), brscan-skey:amd64 (0.2.4-1)
End-Date: 2017-10-08  16:05:48

log cups error dopo la reinstallazione dei driver ed una prova di stampa

D [08/Oct/2017:16:36:49 +0200] [Job 235] Unloading...
D [08/Oct/2017:16:36:49 +0200] [Job 236] Unloading...
D [08/Oct/2017:16:36:49 +0200] [Job 238] Unloading...
D [08/Oct/2017:16:36:49 +0200] [Job 239] Unloading...
D [08/Oct/2017:16:36:49 +0200] cupsdAddCert: Adding certificate for PID 0
D [08/Oct/2017:16:36:49 +0200] Closing client 1607 after 300 seconds of inactivity.
D [08/Oct/2017:16:36:49 +0200] [Client 1607] Closing connection.
D [08/Oct/2017:16:36:49 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [08/Oct/2017:16:36:49 +0200] Report: clients=0
D [08/Oct/2017:16:36:49 +0200] Report: jobs=4
D [08/Oct/2017:16:36:49 +0200] Report: jobs-active=1
D [08/Oct/2017:16:36:49 +0200] Report: printers=2
D [08/Oct/2017:16:36:49 +0200] Report: stringpool-string-count=10549
D [08/Oct/2017:16:36:49 +0200] Report: stringpool-alloc-bytes=10120
D [08/Oct/2017:16:36:49 +0200] Report: stringpool-total-bytes=219896
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Server address is "/var/run/cups/cups.sock".
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Accepted from localhost (Domain)
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Waiting for request.
I [08/Oct/2017:16:48:18 +0200] Expiring subscriptions...
D [08/Oct/2017:16:48:18 +0200] cupsdAddCert: Adding certificate for PID 0
D [08/Oct/2017:16:48:18 +0200] Report: clients=1
D [08/Oct/2017:16:48:18 +0200] Report: jobs=4
D [08/Oct/2017:16:48:18 +0200] Report: jobs-active=1
D [08/Oct/2017:16:48:18 +0200] Report: printers=2
D [08/Oct/2017:16:48:18 +0200] Report: stringpool-string-count=10549
D [08/Oct/2017:16:48:18 +0200] Report: stringpool-alloc-bytes=10120
D [08/Oct/2017:16:48:18 +0200] Report: stringpool-total-bytes=219896
D [08/Oct/2017:16:48:18 +0200] [Client 1614] POST / HTTP/1.1
D [08/Oct/2017:16:48:18 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Read: status=200
D [08/Oct/2017:16:48:18 +0200] [Client 1614] No authentication data provided.
D [08/Oct/2017:16:48:18 +0200] [Client 1614] 2.0 Renew-Subscription 1381
D [08/Oct/2017:16:48:18 +0200] Renew-Subscription /
D [08/Oct/2017:16:48:18 +0200] cupsdIsAuthorized: requesting-user-name="icaro"
D [08/Oct/2017:16:48:18 +0200] cupsdMarkDirty(----S)
D [08/Oct/2017:16:48:18 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Returning IPP successful-ok for Renew-Subscription (/) from localhost
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Content-Length: 106
D [08/Oct/2017:16:48:18 +0200] [Client 1614] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [08/Oct/2017:16:48:18 +0200] [Client 1614] con->http=0x55c502577b20
D [08/Oct/2017:16:48:18 +0200] [Client 1614] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=106, response=0x55c50256b630(IPP_STATE_DATA), pipe_pid=0, file=-1
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [08/Oct/2017:16:48:18 +0200] [Client 1614] bytes=0, http_state=0, data_remaining=106
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Flushing write buffer.
D [08/Oct/2017:16:48:18 +0200] [Client 1614] New state is HTTP_STATE_WAITING
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Waiting for request.
D [08/Oct/2017:16:48:18 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [08/Oct/2017:16:48:18 +0200] [Client 1614] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [08/Oct/2017:16:48:18 +0200] [Client 1614] Closing connection.
D [08/Oct/2017:16:48:18 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
I [08/Oct/2017:16:48:19 +0200] Expiring subscriptions...
I [08/Oct/2017:16:48:49 +0200] Saving subscriptions.conf...
D [08/Oct/2017:16:48:49 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
I [08/Oct/2017:16:48:49 +0200] Expiring subscriptions...

posto questo output se può essere utile

root@icaro:/var/log/apt# dmesg | grep usb
[    0.806782] usbcore: registered new interface driver usbfs
[    0.806795] usbcore: registered new interface driver hub
[    0.806826] usbcore: registered new device driver usb
[    0.825162] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.825165] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.825167] usb usb1: Product: EHCI Host Controller
[    0.825168] usb usb1: Manufacturer: Linux 4.9.0-3-amd64 ehci_hcd
[    0.825170] usb usb1: SerialNumber: 0000:00:1a.0
[    0.890600] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.890602] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.890604] usb usb2: Product: xHCI Host Controller
[    0.890606] usb usb2: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[    0.890607] usb usb2: SerialNumber: 0000:03:00.0
[    0.891073] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.891096] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    0.891097] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.891098] usb usb3: Product: xHCI Host Controller
[    0.891099] usb usb3: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[    0.891100] usb usb3: SerialNumber: 0000:03:00.0
[    0.909166] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    0.909167] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.909168] usb usb4: Product: EHCI Host Controller
[    0.909169] usb usb4: Manufacturer: Linux 4.9.0-3-amd64 ehci_hcd
[    0.909170] usb usb4: SerialNumber: 0000:00:1d.0
[    1.153122] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.237127] usb 4-1: new high-speed USB device number 2 using ehci-pci
[    1.301595] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.301597] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.385746] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
[    1.385749] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.589822] usb 1-1.2: new high-speed USB device number 3 using ehci-pci
[    1.673173] usb 4-1.2: new low-speed USB device number 3 using ehci-pci
[    1.699851] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6364
[    1.699854] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.699855] usb 1-1.2: Product: Mass Storage Device
[    1.699857] usb 1-1.2: Manufacturer: Generic
[    1.699858] usb 1-1.2: SerialNumber: 058F63646476
[    1.703707] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    1.703840] scsi host6: usb-storage 1-1.2:1.0
[    1.703992] usbcore: registered new interface driver usb-storage
[    1.704890] usbcore: registered new interface driver uas
[    1.707200] usbcore: registered new interface driver usbhid
[    1.707201] usbhid: USB HID core driver
[    1.708816] hid-generic 0003:058F:6364.0001: hiddev0,hidraw0: USB HID v1.10 Device [Generic Mass Storage Device] on usb-0000:00:1a.0-1.2/input1
[    1.790835] usb 4-1.2: New USB device found, idVendor=046d, idProduct=c31c
[    1.790837] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.790838] usb 4-1.2: Product: USB Keyboard
[    1.790839] usb 4-1.2: Manufacturer: Logitech
[    1.796088] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/0003:046D:C31C.0002/input/input3
[    1.853350] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input0
[    1.860629] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/0003:046D:C31C.0003/input/input4
[    1.920759] hid-generic 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input1
[    1.950375] usbcore: registered new interface driver usblp
[ 1178.437852] usb 1-1.1: new high-speed USB device number 4 using ehci-pci
[ 1178.567501] usb 1-1.1: New USB device found, idVendor=04f9, idProduct=02b3
[ 1178.567504] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1178.567505] usb 1-1.1: Product: MFC-J4510DW
[ 1178.567507] usb 1-1.1: Manufacturer: Brother
[ 1178.567508] usb 1-1.1: SerialNumber: BROA4F319739
[ 1178.568755] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1178.569061] usb-storage 1-1.1:1.3: USB Mass Storage device detected
[ 1178.569178] scsi host7: usb-storage 1-1.1:1.3
[ 1183.702100] usblp1: removed
[ 1183.703429] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1185.505960] usblp1: removed
[ 1185.507128] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1190.515011] usblp1: removed
[ 1190.516553] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1195.520738] usblp1: removed
[ 1195.522206] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1200.527574] usblp1: removed
[ 1200.529298] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1205.533457] usblp1: removed
[ 1205.535024] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1210.540712] usblp1: removed
[ 1210.542043] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1214.569178] usb 1-1.1: USB disconnect, device number 4
[ 1214.569396] usblp1: removed
[ 1217.608979] usb 1-1.1: new high-speed USB device number 5 using ehci-pci
[ 1217.718186] usb 1-1.1: New USB device found, idVendor=04f9, idProduct=02b3
[ 1217.718189] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1217.718191] usb 1-1.1: Product: MFC-J4510DW
[ 1217.718192] usb 1-1.1: Manufacturer: Brother
[ 1217.718194] usb 1-1.1: SerialNumber: BROA4F319739
[ 1217.718991] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1217.719366] usb-storage 1-1.1:1.3: USB Mass Storage device detected
[ 1217.719557] scsi host7: usb-storage 1-1.1:1.3
[ 1220.549409] usblp1: removed
[ 1220.553387] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1222.817307] usblp1: removed
[ 1222.818673] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1225.557570] usblp1: removed
[ 1225.559132] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1230.562636] usblp1: removed
[ 1230.564461] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1230.783927] usblp1: removed
[ 1231.043382] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1235.568078] usblp1: removed
[ 1235.569119] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1240.574748] usblp1: removed
[ 1240.576246] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1245.579944] usblp1: removed
[ 1245.580986] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1250.585330] usblp1: removed
[ 1250.586992] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1255.589360] usblp1: removed
[ 1255.590698] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1260.595635] usblp1: removed
[ 1260.598353] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1265.602586] usblp1: removed
[ 1265.604232] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1270.615306] usblp1: removed
[ 1270.618074] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1275.628458] usblp1: removed
[ 1275.629971] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1280.633773] usblp1: removed
[ 1280.634833] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1285.638161] usblp1: removed
[ 1285.640107] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1290.644052] usblp1: removed
[ 1290.645603] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1295.649834] usblp1: removed
[ 1295.651319] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1300.655380] usblp1: removed
[ 1300.656657] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1305.660791] usblp1: removed
[ 1305.662044] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1310.664603] usblp1: removed
[ 1310.665758] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1315.669417] usblp1: removed
[ 1315.671698] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1320.676633] usblp1: removed
[ 1320.677967] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1325.682298] usblp1: removed
[ 1325.683698] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1330.688001] usblp1: removed
[ 1330.690182] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1335.693435] usblp1: removed
[ 1335.695010] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1340.699016] usblp1: removed
[ 1340.700438] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1345.703078] usblp1: removed
[ 1345.704622] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1350.708116] usblp1: removed
[ 1350.709854] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1355.722424] usblp1: removed
[ 1355.724007] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1359.068546] usb 1-1.1: usbfs: interface 0 claimed by usblp while 'scan-thread' sets config #1
[ 1360.127277] usb 1-1.1: usbfs: interface 0 claimed by usblp while 'scan-thread' sets config #1
[ 1360.127289] usb 1-1.1: usbfs: process 4936 (scan-thread) did not claim interface 1 before use
[ 1360.728151] usblp1: removed
[ 1360.729800] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1365.733577] usblp1: removed
[ 1365.736885] usblp 1-1.1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02B3
[ 1370.740379] usblp1: removed

L'ultimo output continua con altre decine di righe identiche!

Un altro fatto che mi accade da ieri sera è che nelle notifiche di sistema mi segnala che ci sono problemi nell'aggiornamento, quando clicco sulla notifica parte il paccheto di gnome "Software" che mi rimanda un messaggio di errore perchè non riesce ad installare i driver Brother, c'è un link da seguire ma quando lo seguo mi porta in questa pagina . Eppure i driver sono installati, sono gli stessi che ho installato mesi fa quando ho usato la stampante la prima volta ( sempre su Debian 9 ). L'apt-get update ed upgrade non danno problemi.
Non riesco proprio a capire cosa possa essere accaduto.

Ritratto di homeless
homeless
(Guru)
Offline
Guru
Iscritto: 21/10/2011
Messaggi: 1288

Vedi https://wiki.archlinux.org/index.php/CUPS/Troubleshooting#Conflict_with_usblp e metti in backlist il modulo usblp

Ritratto di marcoap65
marcoap65
(Geek)
Offline
Geek
Iscritto: 27/08/2015
Messaggi: 103

Ho scaricato il file .bin dal sito di CmapTools. Sono andato nella cartella ed ho dato sh *nomefile.bin (mettendo il nome del .bin scaricato). Partito l'installer ho cambiato la directory di installazione ed ho selezionato una sull'hd secondario. L'installazione si è completata. Ho avviato ma mi dava un errore tipo: directory che non ricordo non trovata). Poi ho provato prima a disinstallare da synapctic ma non ho trovato il pacchetto. Ho provato a reinstallare ma mi dava un altro errore per cui ho dato questo comando : sudo chmod a+rwx *nomefile.bin che ho trovato in una guida su come installare cmaps se si hanno problemi. Il software ha continuato a darmi errori. Per cui ho cancellato manualmente come root tutti i file con il nome"CmapTools". Ho rilanciato il primo comando, installato nella directory di default ed il programma ha funzionato bene. Poi ho usato il pc, spento, riacceso qualche volta e poi il silenzio della stampante.

Ritratto di homeless
homeless
(Guru)
Offline
Guru
Iscritto: 21/10/2011
Messaggi: 1288

il programma *nomefile.bin potrebbe aver potenzialmente fatto qualunque cosa.

Vedi https://wiki.archlinux.org/index.php/CUPS/Troubleshooting#Conflict_with_usblp e metti in backlist il modulo usblp

Ritratto di marcoap65
marcoap65
(Geek)
Offline
Geek
Iscritto: 27/08/2015
Messaggi: 103

Avevo provato quella procedura, come quella di mettere questa regola

ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082f", MODE="0664", GROUP="scanner",
  ENV{libsane_matched}="yes"
nella cartella udev. Purtroppo nessuna delle due ha funzionato.
Ora ho rimesso il blackist del modulo usblp, ed ho ridato l'output di dmesg con questo risultato
root@icaro:/home/icaro# dmesg | grep usb
[    0.820206] usbcore: registered new interface driver usbfs
[    0.820221] usbcore: registered new interface driver hub
[    0.820250] usbcore: registered new device driver usb
[    0.841515] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.841517] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.841518] usb usb1: Product: EHCI Host Controller
[    0.841519] usb usb1: Manufacturer: Linux 4.9.0-3-amd64 ehci_hcd
[    0.841520] usb usb1: SerialNumber: 0000:00:1a.0
[    0.906796] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.906798] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.906799] usb usb2: Product: xHCI Host Controller
[    0.906801] usb usb2: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[    0.906802] usb usb2: SerialNumber: 0000:03:00.0
[    0.907144] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.907165] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    0.907166] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.907168] usb usb3: Product: xHCI Host Controller
[    0.907169] usb usb3: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[    0.907170] usb usb3: SerialNumber: 0000:03:00.0
[    0.929399] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    0.929401] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.929402] usb usb4: Product: EHCI Host Controller
[    0.929402] usb usb4: Manufacturer: Linux 4.9.0-3-amd64 ehci_hcd
[    0.929403] usb usb4: SerialNumber: 0000:00:1d.0
[    1.169345] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.257333] usb 4-1: new high-speed USB device number 2 using ehci-pci
[    1.317828] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.317830] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.405681] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
[    1.405693] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.605333] usb 1-1.1: new high-speed USB device number 3 using ehci-pci
[    1.693323] usb 4-1.2: new low-speed USB device number 3 using ehci-pci
[    1.714427] usb 1-1.1: New USB device found, idVendor=04f9, idProduct=02b3
[    1.714429] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.714431] usb 1-1.1: Product: MFC-J4510DW
[    1.714432] usb 1-1.1: Manufacturer: Brother
[    1.714433] usb 1-1.1: SerialNumber: BROA4F319739
[    1.793317] usb 1-1.2: new high-speed USB device number 4 using ehci-pci
[    1.811040] usb 4-1.2: New USB device found, idVendor=046d, idProduct=c31c
[    1.811043] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.811044] usb 4-1.2: Product: USB Keyboard
[    1.811045] usb 4-1.2: Manufacturer: Logitech
[    1.910026] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6364
[    1.910028] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.910029] usb 1-1.2: Product: Mass Storage Device
[    1.910031] usb 1-1.2: Manufacturer: Generic
[    1.910032] usb 1-1.2: SerialNumber: 058F63646476
[    2.080411] usb-storage 1-1.1:1.3: USB Mass Storage device detected
[    2.081647] scsi host6: usb-storage 1-1.1:1.3
[    2.081729] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.095525] scsi host7: usb-storage 1-1.2:1.0
[    2.095615] usbcore: registered new interface driver usb-storage
[    2.099382] usbcore: registered new interface driver usbhid
[    2.099384] usbhid: USB HID core driver
[    2.099711] usbcore: registered new interface driver uas
[    2.186255] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/0003:046D:C31C.0001/input/input13
[    2.250979] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input0
[    2.252686] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/0003:046D:C31C.0002/input/input15
[    2.309473] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.0-1.2/input1
[    2.310022] hid-generic 0003:058F:6364.0003: hiddev0,hidraw2: USB HID v1.10 Device [Generic Mass Storage Device] on usb-0000:00:1a.0-1.2/input1

Il programma CmapTools lo uso da tanti anni in ambiente didattico, e penso sia sviluppato in modo serio, è anche molto diffuso nel mondo. Il .bin lo ho scaricato direttamente dal sito ed ho seguito la procedura indicata lì( ora che ricordo, lo ho scaricato non nella /home, ma nel secondo hd).