Bug #1019: CUPS does not find USB connected printers

Closed assigned to pankso, opened 2026-10-29 10:09 UTC, updated 2026-11-06 01:04 UTC

When searching for printers with the cups web administration, no printers are found.
I tried it with an Epson and a Canon printer connected via USB and switched on.

System:
filature_report=1
date=2026-10-29
release=cooking
flavor=core
arch=x86_64
kernel=6.12.89-slitaz
boot=efi
live=no
cpu=Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz
cpu_cores=4
ram_mb=7882
gpu=8086:22b1 i915
packages=508
locale=de_DE.UTF-8
network=10ec:8168 r8169
network=10ec:8168 r8169
network=8086:08b3 iwlwifi
sound=8086:2284 snd_hda_intel
usb=05e3:0752 usb-storage
usb=04b8:0820 usblp
usb=0bda:0153 ums-realtek
usb=8087:07dc none
usb=050d:3201 usbhid
usb=1bcf:0053 usbhid
usb=0bf8:1028 usbhid
modules=ipv6 fuse efivarfs snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_ctl_led hid_belkin usbhid ums_realtek i915 iwlmvm mac80211 libarc4 ptp intel_rapl_msr pps_core iwlwifi intel_gtt drm_buddy snd_hda_intel cfg80211 snd_intel_dspcfg ttm coretemp intel_rapl_common snd_intel_sdw_acpi snd_hda_codec r8169 snd_hda_core agpgart snd_hwdep hwmon i2c_algo_bit
modules=snd_pcm rfkill usblp i2c_i801 drm_display_helper lpc_ich realtek snd_timer drm_kms_helper i2c_hid_acpi mfd_core snd i2c_mux mdio_devres libphy i2c_hid i2c_smbus soundcore drm sdhci_acpi video wmi sdhci button
cmdline=BOOT_IMAGE=/boot/vmlinuz root=/dev/sda4
dmesg=mmc0: Failed to initialize a non-removable card
dmesg=i915 0000:00:02.0: [drm] [ENCODER:98:DP B] failed to retrieve link info, disabling eDP
xorg=(WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
xorg=(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
xorg=(WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere.
xorg=(WW) evdev: USB Optical Mouse  Keyboard: ignoring absolute axes.
boot=[ Failed ]

Questions to the reporter

pankso asked, 2026-11-01 23:45 UTC

Thanks again for this report (bug 1019). The cause was found: cups was built without libusb, so its USB backend could only look at /dev/usb/lp* and missed your printers. A new cups package, built with libusb, is on its way to the mirror (wok r28936).

When "spk up" shows a new cups, please update, restart cups (/etc/init.d/cupsd restart, as root), plug the printer in and try again. If it still finds nothing, please send the output of these two commands, as root, with the printer on:
  /usr/lib/cups/backend/usb
  lpinfo -v

Note: for the "Unauthorized" page of the web interface (report 67, bug 1025), use http://localhost:631/admin in Firefox until soie gets its login dialog.

The reporter answered, 2026-11-02 08:59 UTC.

History