[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?



On 4/6/20, Brian <ad44@cityscape.co.uk> wrote:
> A complete error_log is needed. The Printing section of the wiki should
> help you get one.

 following the documentation on in the case of a USB connected printer:

 https://wiki.ubuntu.com/DebuggingPrintingProblems

 * usb kernel modules loaded for the line printer (usblp):

$ date; lsmod | grep usb
Mo 6. Apr 15:41:20 CEST 2020
usbnet                 45056  2 rndis_host,cdc_ether
mii                    16384  1 usbnet
usblp                  20480  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
usbcore               253952  9
rndis_host,usbnet,usbhid,ehci_hcd,cdc_ether,ohci_pci,usblp,ohci_hcd,ehci_pci
usb_common             16384  1 usbcore

 * messages in /var/log/syslog

# date; tail -f /var/log/syslog
Mo 6. Apr 15:44:27 CEST 2020
Apr  6 15:40:28 lbrtchx udev-configure-printer: Re-enabled printer
ipp://localhost/printers/Xerox_Phaser_6125N
Apr  6 15:42:44 lbrtchx kernel: [30620.642787] usb 1-1: USB
disconnect, device number 13
Apr  6 15:42:44 lbrtchx kernel: [30620.643243] usblp0: removed
Apr  6 15:42:44 lbrtchx udev-configure-printer: remove
/devices/pci0000:00/0000:00:12.2/usb1/1-1
Apr  6 15:42:44 lbrtchx udev-configure-printer: URI of detected
printer: usb://Xerox/Phaser%206125N?serial=LAL056826, normalized:
xerox phaser 6125n serial lal056826
Apr  6 15:42:44 lbrtchx udev-configure-printer: URI of print queue:
usb://Xerox/Phaser%206125N?serial=LAL056826, normalized: xerox phaser
6125n serial lal056826
Apr  6 15:42:44 lbrtchx udev-configure-printer: Queue
ipp://localhost/printers/Xerox_Phaser_6125N has matching device URI
Apr  6 15:42:44 lbrtchx udev-configure-printer: Disabled printer
ipp://localhost/printers/Xerox_Phaser_6125N as the corresponding
device was unplugged or turned off
Apr  6 15:42:44 lbrtchx systemd[1]: printer.target: Unit not needed
anymore. Stopping.
Apr  6 15:42:44 lbrtchx systemd[1]: Stopped target Printer.

 * after reconnecting the USB printer cable:

...

Apr  6 15:42:44 lbrtchx udev-configure-printer: Disabled printer
ipp://localhost/printers/Xerox_Phaser_6125N as the corresponding
device was unplugged or turned off
Apr  6 15:42:44 lbrtchx systemd[1]: printer.target: Unit not needed
anymore. Stopping.
Apr  6 15:42:44 lbrtchx systemd[1]: Stopped target Printer.
Apr  6 15:45:01 lbrtchx CRON[15218]: (root) CMD (command -v debian-sa1
> /dev/null && debian-sa1 1 1)
Apr  6 15:45:37 lbrtchx kernel: [30793.845579] usb 1-1: new high-speed
USB device number 14 using ehci-pci
Apr  6 15:45:37 lbrtchx kernel: [30793.995029] usb 1-1: New USB device
found, idVendor=0924, idProduct=3d61
Apr  6 15:45:37 lbrtchx kernel: [30793.995039] usb 1-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr  6 15:45:37 lbrtchx kernel: [30793.995044] usb 1-1: Product: Phaser 6125N
Apr  6 15:45:37 lbrtchx kernel: [30793.995049] usb 1-1: Manufacturer: Xerox
Apr  6 15:45:37 lbrtchx kernel: [30793.995053] usb 1-1: SerialNumber: LAL056826
Apr  6 15:45:37 lbrtchx kernel: [30793.998315] usblp 1-1:1.0: usblp0:
USB Bidirectional printer dev 14 if 0 alt 0 proto 2 vid 0x0924 pid
0x3D61
Apr  6 15:45:37 lbrtchx mtp-probe: checking bus 1, device 14:
"/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1"
Apr  6 15:45:37 lbrtchx mtp-probe: bus: 1, device: 14 was not an MTP device
Apr  6 15:45:37 lbrtchx systemd[1]: Reached target Printer.
Apr  6 15:45:37 lbrtchx systemd[1]: Started Configure Plugged-In Printer.
Apr  6 15:45:37 lbrtchx udev-configure-printer: add usb-001-014
Apr  6 15:45:37 lbrtchx udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:12.2/usb1/1-1
Apr  6 15:45:37 lbrtchx udev-configure-printer: MFG:Xerox MDL:Phaser
6125N SERN:- serial:LAL056826
Apr  6 15:45:43 lbrtchx kernel: [30799.238348] usblp0: removed
Apr  6 15:45:43 lbrtchx kernel: [30799.245755] usblp 1-1:1.0: usblp0:
USB Bidirectional printer dev 14 if 0 alt 0 proto 2 vid 0x0924 pid
0x3D61
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI contains USB serial number
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI match:
usb://Xerox/Phaser%206125N?serial=LAL056826
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI of detected
printer: usb://Xerox/Phaser%206125N?serial=LAL056826, normalized:
xerox phaser 6125n serial lal056826
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI of print queue:
usb://Xerox/Phaser%206125N?serial=LAL056826, normalized: xerox phaser
6125n serial lal056826
Apr  6 15:45:43 lbrtchx udev-configure-printer: Queue
ipp://localhost/printers/Xerox_Phaser_6125N has matching device URI
Apr  6 15:45:43 lbrtchx udev-configure-printer: Re-enabled printer
ipp://localhost/printers/Xerox_Phaser_6125N


 * USB connected printer correctly detected by the USB subsystem?:

$ date; lsusb
Mo 6. Apr 15:48:13 CEST 2020
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 014: ID 0924:3d61 Xerox
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$

 * USB connected printer correctly detected by the USB subsystem and
are ownerships and permissions correctly set?:

$ date; ls -l /dev/usb/lp* /dev/bus/usb/*/*
Mo 6. Apr 15:57:05 CEST 2020
crw-rw-r-- 1 root root    189,   0 Apr  6 01:10 /dev/bus/usb/001/001
crw-rw-r-- 1 root root    189,   1 Apr  6 01:10 /dev/bus/usb/001/002
crw-rw-r-- 1 root plugdev 189,   2 Apr  6 01:10 /dev/bus/usb/001/003
crw-rw-r-- 1 root lp      189,  13 Apr  6 15:45 /dev/bus/usb/001/014
crw-rw-r-- 1 root root    189, 128 Apr  6 01:10 /dev/bus/usb/002/001
crw-rw-r-- 1 root root    189, 256 Apr  6 01:10 /dev/bus/usb/003/001
crw-rw-r-- 1 root root    189, 384 Apr  6 01:10 /dev/bus/usb/004/001
crw-rw---- 1 root lp      180,   0 Apr  6 15:45 /dev/usb/lp0


 * printer's device ID strings

# date; usb_printerid /dev/usb/lp0
Mo 6. Apr 15:58:13 CEST 2020
GET_DEVICE_ID string:
MFG:Xerox;CMD:HBPL;MDL:Phaser 6125N;DES:Xerox Phaser 6125 Color Laser
Printer, Letter/A4
Size;CLS:PRINTER;STS:AAAPAQD/AP8AAAAAAAIAA2QDZANkAzwDZAMAA2QDQBoAAAAAt4IAAAAAAAAAAAAAIQAAEAAAAAAQ
DA==;
#
~
 I don't think exactly where the problem may be/how to troubleshoot the problem?

 lbrtchx


Reply to: