Brother HL-2270DW 停止打印

Brother HL-2270DW 停止打印

不确定为什么我的打印机突然停止打印。我Brother HL-2270DW通过 USB 连接。

当我拔下并重新插入 USB 线时,显示/var/log/syslog以下内容。唯一真正让我印象深刻的是:udev-configure-printer: failed to claim interface

Mar 31 19:21:54 spaceship kernel: [  592.888013] usb 1-1: new high-speed USB device number 6 using ehci_hcd
Mar 31 19:21:55 spaceship mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-1"
Mar 31 19:21:55 spaceship kernel: [  593.022311] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0042
Mar 31 19:21:55 spaceship mtp-probe: bus: 1, device: 6 was not an MTP device
Mar 31 19:21:55 spaceship udev-configure-printer: add /devices/pci0000:00/0000:00:02.1/usb1/1-1/1-1:1.0
Mar 31 19:21:55 spaceship udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:02.1/usb1/1-1
Mar 31 19:21:55 spaceship udev-configure-printer: Device vendor/product is 04F9:0042
Mar 31 19:21:55 spaceship udev-configure-printer: add /devices/pci0000:00/0000:00:02.1/usb1/1-1/1-1:1.0/usb/lp0
Mar 31 19:21:55 spaceship udev-configure-printer: failed to claim interface
Mar 31 19:21:55 spaceship udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:02.1/usb1/1-1
Mar 31 19:21:55 spaceship udev-configure-printer: MFG:Brother MDL:HL-2270DW series SERN:- serial:E2N539264
Mar 31 19:21:56 spaceship kernel: [  594.102843] usblp0: removed
Mar 31 19:21:56 spaceship udev-configure-printer: add /devices/pci0000:00/0000:00:02.1/usb1/1-1/1-1:1.0/usb/lp0
Mar 31 19:21:56 spaceship kernel: [  594.108433] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0042
Mar 31 19:21:56 spaceship udev-configure-printer: URI contains USB serial number
Mar 31 19:21:56 spaceship udev-configure-printer: URI match: usb://Brother/HL-2270DW%20series?serial=E2N539264
Mar 31 19:21:56 spaceship udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:02.1/usb1/1-1
Mar 31 19:21:56 spaceship udev-configure-printer: Device already handled
Mar 31 19:21:56 spaceship udev-configure-printer: Consider also queues with "/usb/lp0" or "/usblp0" in their URIs as matching
Mar 31 19:21:56 spaceship udev-configure-printer: URI of print queue: usb://Brother/HL-2270DW%20series?serial=E2N539264, normalized: brother hl 2270dw series serial e2n539264
Mar 31 19:21:56 spaceship udev-configure-printer: URI of detected printer: usb://Brother/HL-2270DW%20series?serial=E2N539264, normalized: brother hl 2270dw series serial e2n539264
Mar 31 19:21:56 spaceship udev-configure-printer: Queue ipp://localhost:631/printers/HL2270DW has matching device URI
Mar 31 19:21:56 spaceship udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HL2270DW

lsusb 看到打印机:

root@spaceship:/var/spool/cups# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 04f9:0042 Brother Industries, Ltd 
Bus 004 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 003 Device 002: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard

并且仍可以通过 CUPS 访问打印机:http://localhost:631/

但无论如何,实际上并没有工作。我还能在这个傻瓜上检查什么?

答案1

我最终还是跑了这个脚本来自兄弟网站并纠正了这个问题。

运行脚本后,它会自动将第二台打印机添加到我已经安装的打印机中,因此我删除了新打印机,并且我最初配置的打印机又开始工作了。

不确定是什么破坏了它,可能在某处更新,但我可以恢复正常了。

相关内容