Printing Stalls

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Shifu
Posts: 116
Joined: Fri Jan 10, 2020 5:39 am

Printing Stalls

#1 Post by Shifu »

Printing goes fine until I take a break and, returning to the computer later on, print jobs wont be actioned, but just stay pending as per screenshot.
AI says CUPS can turn itself off after a while and offers sudo service cups restart, but that doesn't help.
lpstat -p -d says the printer is off and has been for a while, yet the printer is indeed on and connected via usb cable
I have flawless printing from my Mint 22.1 installation on this hardware. Printer is a Canon iX6800.
Has anyone got any pointers?

Code: Select all

Snapshot created on: 20240415_1353
System:
  Kernel: 6.1.0-35-amd64 [6.1.137-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-35-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.6_x64 Libretto March 15  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop System: Dell product: OptiPlex 7060 v: N/A serial: <superuser required> Chassis:
    type: 3 serial: <superuser required>
  Mobo: Dell model: 0DWPVW v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
    date: 12/09/2022
CPU:
  Info: model: Intel Core i5-8500 bits: 64 type: MCP arch: Coffee Lake gen: core 8 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xFA
  Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB
    L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB desc: 1x9 MiB
  Speed (MHz): avg: 900 min/max: 800/4100 scaling: driver: intel_pstate governor: powersave
    cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 bogomips: 36000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: DP-1 empty: DP-2, DP-3,
    HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:3e92 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 678x382mm (26.69x15.04") s-diag: 778mm (30.64")
  Monitor-1: DP-1 model: Lenovo L27h-4A serial: <filter> built: 2024 res: 2560x1440 dpi: 109
    gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440
    min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  API: ALSA v: k6.1.0-35-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel modules: wl bus-ID: 00:14.3
    chip-ID: 8086:a370 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15bb class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8
    bus-ID: 1-14:6 chip-ID: 8087:0aaa class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
    sub-v: 100 hci-v: 5.1 rev: 100
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 1.14 TiB used: 418.2 GiB (35.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB size: 931.51 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: KSG60ZMV256G M.2 2280 256GB
    size: 238.47 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 4105 scheme: GPT
Partition:
  ID-1: / raw-size: 153.42 GiB size: 150.45 GiB (98.07%) used: 53.59 GiB (35.6%) fs: ext4
    dev: /dev/sdb2 maj-min: 8:18
  ID-2: /boot/efi raw-size: 100 MiB size: 98.4 MiB (98.42%) used: 6.2 MiB (6.3%) fs: vfat
    dev: /dev/sdb1 maj-min: 8:17
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 16.7 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 33.0 C pch: 39.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2761 libs: 1512 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main
Info:
  Processes: 249 Uptime: 9h 54m wakeups: 1 Memory: 15.42 GiB used: 4.43 GiB (28.8%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
You do not have the required permissions to view the files attached to this post.

User avatar
CharlesV
Global Moderator
Posts: 7314
Joined: Sun Jul 07, 2019 5:11 pm

Re: Printing Stalls

#2 Post by CharlesV »

Make sure your printer has not gone to sleep. (ie turn off sleep mode)

And does this happen AFTER your computer has come out of hibernation or suspend?
__ If so, you might try turning off the USB PCI sleep / suspend and see if that resolves it.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
timkb4cq
Developer
Posts: 3579
Joined: Wed Jul 12, 2006 4:05 pm

Re: Printing Stalls

#3 Post by timkb4cq »

Since your printer is connected through USB you might also check out USB auto suspend settings in TLP-UI.
The tlp defaults normally exclude printers from auto suspend - but make sure your printer's usbid is present in the USB DENYLIST just to make sure.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
Shifu
Posts: 116
Joined: Fri Jan 10, 2020 5:39 am

Re: Printing Stalls

#4 Post by Shifu »

Printer not sleeping and computer is not set to suspend or hibernate. It's all strictly vanilla over here.

User avatar
Shifu
Posts: 116
Joined: Fri Jan 10, 2020 5:39 am

Re: Printing Stalls

#5 Post by Shifu »

Also tlp settings are not turning anything off - all commented out.

Code: Select all

#USB_AUTOSUSPEND=1

# Exclude listed devices from USB autosuspend (separate with spaces).
# Use lsusb to get the ids.
# Note: input devices (usbhid) and libsane-supported scanners are excluded
# automatically.
# Default: <none>

#USB_DENYLIST="1111:2222 3333:4444"

# Exclude audio devices from USB autosuspend:
#   0=do not exclude, 1=exclude.
# Default: 1

User avatar
Shifu
Posts: 116
Joined: Fri Jan 10, 2020 5:39 am

Re: Printing Stalls

#6 Post by Shifu »

Had to print jobs in the queue so rebooted the computer. Job 1 came out instantly, Job 2 now stalled on processing:
You do not have the required permissions to view the files attached to this post.

User avatar
Shifu
Posts: 116
Joined: Fri Jan 10, 2020 5:39 am

Re: Printing Stalls

#7 Post by Shifu »

And again. Rebooting instantly sends the job. Crazy!

User avatar
Eadwine Rose
Administrator
Posts: 14622
Joined: Wed Jul 12, 2006 2:10 am

Re: Printing Stalls

#8 Post by Eadwine Rose »

Try going into Print Settings from the menu

Right click on your printer, make sure 'enabled' is checked.

I have had the stalling thing, that turned out to be the culprit for me.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Shifu
Posts: 116
Joined: Fri Jan 10, 2020 5:39 am

Re: Printing Stalls

#9 Post by Shifu »

Eadwine Rose wrote: Sun May 25, 2025 3:11 am Try going into Print Settings from the menu

Right click on your printer, make sure 'enabled' is checked.

I have had the stalling thing, that turned out to be the culprit for me.
Thanks I did this but everything is as it should be. It's a real mystery.

User avatar
dreamer
Posts: 905
Joined: Sun Oct 15, 2017 11:34 am

Re: Printing Stalls

#10 Post by dreamer »

Shifu wrote: Sat May 24, 2025 9:38 pm Also tlp settings are not turning anything off - all commented out.

Code: Select all

#USB_AUTOSUSPEND=1
# Exclude listed devices from USB autosuspend (separate with spaces).
# Use lsusb to get the ids.
# Note: input devices (usbhid) and libsane-supported scanners are excluded
# automatically.
# Default: <none>

#USB_DENYLIST="1111:2222 3333:4444"
# Exclude audio devices from USB autosuspend:
#   0=do not exclude, 1=exclude.
# Default: 1
It might be a good idea to make use of the config file and set it like below, because we have no idea what the hardcoded defaults are.

Code: Select all

USB_AUTOSUSPEND=0
Don't forget to reboot. I have had this setting for years and I have never had any problems with USB connected printers. These days I don't own a printer.

Post Reply

Return to “MX Help”