You are not logged in.

#1 2015-09-01 01:45:22

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Canon 4370dn printer - Printer Data Error

Canon 4370dn printer
cndrvcups-lb-bin
Linux 4.1.6
CUPS 2.0.4
Ghostscript 9.16-1

Printing to a Canon 4370dn over USB usually fails with message "Printer Data Error" displayed on the printer LCD. Repeating the print attempt will eventually be successful. Sometimes printing is successful on the first attempt.

Power-cycling the printer usually gets the next print job to run successfully.

Found a similar problem reported on Opensuse.org, dating back to 2011, that suggested problem was with Ghostscript.

However, reporting this to bugs.ghostscript.com received suggestion that it is a USB issue:

"I assume it is a lower-level USB issue that results transmission errors when the printing data is sent to the ptinter device via USB. ... I recommend that first and foremost you report your issue on an Arch Linux forum to investigate whether or not it is
a lower-level USB issue ..."

Thoughts?

Offline

#2 2015-09-01 11:29:06

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

please post lspci -k , lsusb and lsusb -t outputs.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-09-01 12:52:58

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

Output of  lspci -k

00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
	Subsystem: Intel Corporation Device 7270
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:0d.0 Host bridge: Intel Corporation Device 343a (rev 13)
00:0d.1 Host bridge: Intel Corporation Device 343b (rev 13)
00:0d.2 Host bridge: Intel Corporation Device 343c (rev 13)
00:0d.3 Host bridge: Intel Corporation Device 343d (rev 13)
00:0d.4 Host bridge: Intel Corporation 7500/5520/5500/X58 Physical Layer Port 0 (rev 13)
00:0d.5 Host bridge: Intel Corporation 7500/5520/5500 Physical Layer Port 1 (rev 13)
00:0d.6 Host bridge: Intel Corporation Device 341a (rev 13)
00:0d.7 Host bridge: Intel Corporation Device 341b (rev 13)
00:0e.0 Host bridge: Intel Corporation Device 341c (rev 13)
00:0e.1 Host bridge: Intel Corporation Device 341d (rev 13)
00:0e.2 Host bridge: Intel Corporation Device 341e (rev 13)
00:0e.3 Host bridge: Intel Corporation Device 341f (rev 13)
00:0e.4 Host bridge: Intel Corporation Device 3439 (rev 13)
00:0f.0 Performance counters: Intel Corporation Device 3424 (rev 13)
00:10.0 PIC: Intel Corporation 7500/5520/5500/X58 Physical and Link Layer Registers Port 0 (rev 13)
00:10.1 PIC: Intel Corporation 7500/5520/5500/X58 Routing and Protocol Layer Registers Port 0 (rev 13)
00:11.0 PIC: Intel Corporation 7500/5520/5500 Physical and Link Layer Registers Port 1 (rev 13)
00:11.1 PIC: Intel Corporation 7500/5520/5500 Routing & Protocol Layer Register Port 1 (rev 13)
00:13.0 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub I/OxAPIC Interrupt Controller (rev 13)
00:14.0 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub System Management Registers (rev 13)
	Kernel modules: i7core_edac
00:14.1 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Throttle Registers (rev 13)
	Kernel modules: i5500_temp
00:15.0 PIC: Intel Corporation 7500/5520/5500/X58 Trusted Execution Technology Registers (rev 13)
00:16.0 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.2 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.3 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.4 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.5 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.6 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:16.7 System peripheral: Intel Corporation 5520/5500/X58 Chipset QuickData Technology Device (rev 13)
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: ioatdma
	Kernel modules: ioatdma
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
	Subsystem: Intel Corporation Device 7270
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
	Subsystem: Intel Corporation Device 7270
	Kernel modules: i2c_i801
01:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12T3G2 PCI Express Gen2 Switch (rev 01)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
02:02.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12T3G2 PCI Express Gen2 Switch (rev 01)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
02:04.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12T3G2 PCI Express Gen2 Switch (rev 01)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
04:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200A PCI Express-to-PCI Bridge (rev 03)
	Kernel modules: shpchp
05:00.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
	Subsystem: NEC Corporation USB Controller
	Kernel driver in use: ohci-pci
	Kernel modules: ohci_pci
05:00.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
	Subsystem: NEC Corporation USB Controller
	Kernel driver in use: ohci-pci
	Kernel modules: ohci_pci
05:00.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
	Subsystem: NEC Corporation uPD72010x USB 2.0 Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870]
	Subsystem: Gigabyte Technology Co., Ltd Device 21fa
	Kernel driver in use: radeon
	Kernel modules: radeon
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6800 Series]
	Subsystem: Gigabyte Technology Co., Ltd Device aa88
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
0a:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: e1000e
	Kernel modules: e1000e
0b:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
	Subsystem: Intel Corporation Device 0000
	Kernel driver in use: e1000e
	Kernel modules: e1000e
0c:00.0 PCI bridge: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express] (rev 01)
	Kernel modules: shpchp
0d:00.0 FireWire (IEEE 1394): Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] (rev 01)
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire_ohci
0e:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
	Subsystem: Apple Inc. AirPort Extreme
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

Output of lsusb

Bus 003 Device 003: ID 04a9:26ec Canon, Inc. 
Bus 003 Device 006: ID 04d9:2819 Holtek Semiconductor, Inc. 
Bus 003 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 004: ID 1c4f:0016 SiGma Micro 
Bus 003 Device 002: ID 05e3:0614 Genesys Logic, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0424:223a Standard Microsystems Corp. 8-in-1 Card Reader
Bus 001 Device 011: ID 0424:4060 Standard Microsystems Corp. Ultra Fast Media Reader
Bus 001 Device 010: ID 0424:2640 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 009: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 008: ID 047d:1020 Kensington Expert Mouse Trackball
Bus 001 Device 007: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 001 Device 005: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 05ac:8215 Apple, Inc. Built-in Bluetooth 2.0+EDR HCI
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 077d:07af Griffin Technology iMic
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Output of lsusb -t

/:  Bus 11.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 10.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/3p, 12M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
        |__ Port 1: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        |__ Port 1: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 1: Dev 3, If 3, Class=Application Specific Interface, Driver=, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 2: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 2: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 2: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 3: Dev 3, If 1, Class=Printer, Driver=usblp, 480M
    |__ Port 3: Dev 3, If 2, Class=Printer, Driver=usblp, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    |__ Port 2: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 2: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 2: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 2: Dev 2, If 3, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
        |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 3: Dev 9, If 0, Class=Hub, Driver=hub/3p, 480M
                |__ Port 1: Dev 10, If 0, Class=Hub, Driver=hub/3p, 480M
                    |__ Port 1: Dev 11, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 2: Dev 6, If 0, Class=Mass Storage, Driver=usb-storage, 480M

Offline

#4 2015-09-02 10:23:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

I was kinda expecting you'd have USB3 and that would be the cause , but that's clearly not the case.

Atm you have the printer connected to bus 003, device 003 .

Bus 003 also has 4 other devices connected to it, while bus 11 doesn't appear to have any devices conencted.
Try to find out which physical ports connect through bus 11 and try the printer in that one .
(just try out empty ports and check lsusb after every change)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2015-09-02 13:51:12

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

That's a good suggestion. And good observation; I forgot that opposite ports on the same card can be different busses. I have moved cables around and ensured cables on the expansion card are now physically far apart.

lsusb output now looks like this:

Bus 003 Device 006: ID 04d9:2819 Holtek Semiconductor, Inc. 
Bus 003 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 004: ID 1c4f:0016 SiGma Micro 
Bus 003 Device 002: ID 05e3:0614 Genesys Logic, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0424:223a Standard Microsystems Corp. 8-in-1 Card Reader
Bus 001 Device 011: ID 0424:4060 Standard Microsystems Corp. Ultra Fast Media Reader
Bus 001 Device 010: ID 0424:2640 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 009: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 008: ID 047d:1020 Kensington Expert Mouse Trackball
Bus 001 Device 007: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 001 Device 005: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 05ac:8215 Apple, Inc. Built-in Bluetooth 2.0+EDR HCI
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 077d:07af Griffin Technology iMic
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 005: ID 04a9:26ec Canon, Inc. 
Bus 011 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 002 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

For reference, this is a 2009 Apple Mac Pro with 3 rear and 2 front USB ports. An additional 4 ports are added through an expansion card. Two Dell monitors with built-in USB hubs & memory card readers are chained together.

Will test and report back here.

Offline

#6 2015-09-03 23:03:39

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

Sadly, no improvement,

Offline

#7 2015-09-04 10:10:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

another thing to check is the quality of the cable between the pc and the printer ( gold-plated connector, shielding) .
Cables longer then 1.80 m / 6 feet can cause connection problems .

If it's not hardware related, we'll have to look at logs.
We'd need both failed and successfull printing attempts so we can compare.
Please post dmesg or journalctl -b with such attempts in them.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2015-09-04 11:53:12

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

The cable also came to my mind. I have several and will test. Will also try testing booted to Windows & OS X. I didn't have any printing problems in OS X before I switched to Linux, but it's worth testing again.

Offline

#9 2015-09-08 14:38:30

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

Not the cable. Also tried using one of the USB ports on the front of the machine. (Different bus.)

Interestingly, using the printer's scan function never has issues. This observation may or may not help determine if the problem is related to the USB.

Offline

#10 2015-09-09 22:03:42

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

It does help since the scanning function also uses USB transfers.

Try setting up a generic PCL printer that points to your canon and test if that one prints ok.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2015-09-16 16:59:17

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

So far, unable to get a successful test page or other print job using CUPS and "Generic PCL Laser Printer" driver.

Offline

#12 2015-09-17 19:43:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

Ok, last thing to check is a full dmesg log then from a boot where you do have the problem.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2015-09-28 18:46:51

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

I found some free time. From full shut-down, printed 3 pages, 4'th print attempt failed.

Pastebin.com

Offline

#14 2015-09-29 14:23:48

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

No direct clues, but several things that i noticed.

- Is the macbook running latest firmware ? if not, try updating

- Look for IOMMU / virtualization settings in bios. Many 64-bit OSes work better at hardware level if that's enabled.

- switch to intel early microcode loading, see https://wiki.archlinux.org/index.php/Mi … de_Updates .
While your processor may not need it, it's better to be sure.

-------------

unlikely to be related to the USB problem, but you seem to be missing firmware files for your Broadcom wireless .

Last edited by Lone_Wolf (2015-09-29 14:24:07)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#15 2015-09-29 14:40:21

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

Thanks for trying.

The machine is a desktop MacPro, not a Macbook. However, yes, the motherboard firmware is fully up-to-date.

I've noted "firmware missing" warning messages related to network hardware in various Linux distros installed in various computers and have learned to ignore them. They're typically copyright / propriatory related things and the Linux drivers operate the hardware just fine once fully booted.

I'll take this issue back to the Ghostscript forum that first sent me on this chase that it was a USB problem.

Offline

#16 2015-10-13 16:11:06

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

I'm bringing this back here. The ghostscript.com people also don't think it's a problem in their house.

http://bugs.ghostscript.com/show_bug.cgi?id=696160

What's next to investigate? CUPS?

Offline

#17 2015-10-14 12:33:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

I looked at cndrvcups-lb-bin PKGBUILD and it seems to have dependencies for i686 / x86_64 reversed .

Are you using x86_64 archlinux version ?
If so, are lib32-libxml2 and lib32-libcups from [multilib] repo installed ?

Is it possible for you to connect with the printer over a network connection ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#18 2015-10-14 12:47:45

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

Funny that you would ask about connecting through Ethernet. One of the replies on ghostscript.com described the end-of-job signal that might not be being transmitted over USB, so I thought to try Ethernet. I did a few test prints and did not have a problem. I'll know better if this works when I next need to do a large amount of printing, which should be in a day or two.

To your question about what cndrvcups-lb-bin I am using; it's the one I linked to, the one you also left your comment at.

To the best of my knowledge, lib32-libxml2-2.9.2-1 and lib32-libcups-2.1.0-1 are both installed.

Offline

#19 2015-10-23 13:25:36

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: Canon 4370dn printer - Printer Data Error

The printer has not thrown the error since I connected it via Ethernet. It seems the problem is definately related to printing over USB.

A side observation: CUPS always reports the printer status as "Idle - Waiting for printer to finish." Despite it never thinking the printer has finished, new print jobs run smoothly and without error.

Offline

#20 2015-10-23 21:24:15

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,167

Re: Canon 4370dn printer - Printer Data Error

Glad to hear it works fine as a network printer.

Since canon drivers are proprietary code, canon support people would be the only ones that can investigate further then we have .
Unfortunately as soon as canon support people hear archlinux , their response is : "We don't support that, ticket closed" .

Maybe you could change title to something like : "[workaround] canon 4370dn - doesn't print reliable over usb - use ethernet instead " ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB