Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printers detection issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Mon Jan 10, 2022 9:09 am    Post subject: Printers detection issues Reply with quote

Hi.
I have a problem with my printers in Gentoo.
I use 2 USB printers which both works well provided that they are started when Gentoo boots.
If I start a printer after boot and send it a print task, it never prints my document and tasks list indicates "Waiting for printer to become available".
Restarting cups via `rc-service cupsd restart` have no effects.
It might not be a problem if I could keep my printers on all the time, but one of them shut off automatically when no task is received since about 10 minutes.
Even if it was started on boot, after this shut off, I can't use this printer any more (unless restarting the computer).
That's a pity.

Could you help me to solve this problem please ? I have never encountered this issue on any previously used systems.

Code:
imack ~ # emerge --info cups
Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.0, glibc-2.33-r7, 5.15.11-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.11-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-4460_CPU_@_3.20GHz-with-glibc2.33
KiB Mem:    15815744 total,   9850212 free
KiB Swap:    7233532 total,   7233532 free
Timestamp of repository gentoo: Mon, 10 Jan 2022 08:15:01 +0000
Head commit of repository gentoo: 4a8550920b331aa06b7efb406b3231db8d787e3c
Head commit of repository anard: 7699ad4f19ba0bcf0d90a582e997eb6dc5a630fb

Head commit of repository brother-overlay: b216154a0197486ec867d92bedf48aec7f958c9d

Head commit of repository elementary: 153b6479a73be1d42200768581abca1e73bf6626

Timestamp of repository steam-overlay: Sun, 09 Jan 2022 10:36:35 +0000
Head commit of repository steam-overlay: 166259fb598aae8c8fea17f93576d2b1ed7ff773

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-lang/rust:             1.56.1::gentoo
dev-util/cmake:            3.21.4::gentoo
dev-util/meson:            0.59.4::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

anard
    location: /var/db/repos/anard
    sync-type: git
    sync-uri: https://github.com/Anard/anard-overlay.git
    masters: gentoo

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

elementary
    location: /usr/local/overlay/elementary
    sync-type: git
    sync-uri: https://github.com/pimvullers/elementary.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=haswell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran fr gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline samba sdl seccomp spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

net-print/cups-2.3.3_p2-r3::gentoo was built with the following:
USE="X acl dbus pam ssl threads usb -debug -kerberos (-selinux) -static-libs -systemd -xinetd -zeroconf" ABI_X86="32 (64) (-x32)"


Code:
imack ~ # cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.3.3op2
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 14
<DefaultPrinter Brother-DCP-195C>
PrinterId 13
UUID urn:uuid:9cdee022-257a-3a26-4a4a-50767804de26
Info Brother DCP-195C
Location gentoo-imack
MakeModel Brother DCP-195C CUPS
DeviceURI usb://Brother/DCP-195C?serial=BROF1F307143
State Idle
StateTime 1640015123
ConfigTime 1640107401
Type 8392780
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</DefaultPrinter>
<Printer Laser>
PrinterId 12
UUID urn:uuid:deec125d-3283-39f1-4100-1cd72ed048fd
Info Samsung M2020 Series
Location gentoo-imack
MakeModel Samsung M2020 Series
DeviceURI usb://Samsung/M2020%20Series?serial=ZF45B8GF4F04NAR
State Idle
StateTime 1637481694
ConfigTime 1616316796
Type 4164
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>


PS : Should setting "zeroconf" USE flag in /etc/portage/make.conf should be a nice solution to avoid this kind of problems ?

Thanks a lot for help.
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Tue Jan 11, 2022 5:03 am    Post subject: Reply with quote

USE zeroconf (support for DNS service discovery) is probably not the solution, but you'd only know for sure by rebuilding cups with it. I have USB printers (but not your printers) and do not experience this problem, and our cups USE flags are identical.

I'm suspecting this is related to USB, maybe in kernel.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Tue Jan 11, 2022 6:10 am    Post subject: Reply with quote

Hi & thx for answer, here is a part of mr kernel's config :

https://dpaste.com/9X7LPT8FG
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Wed Jan 12, 2022 4:29 am    Post subject: Reply with quote

Regrettably, I'm not able to interpret the kernel config. It is substantially different from mine, but my latest is 5.10.88 from gentoo-sources.

Would it be worth your effort to temporarily install and boot from sys-kernel/gentoo-kernel-bin. You may learn things in the process and it won't harm your system.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Thu Jan 13, 2022 6:32 am    Post subject: Reply with quote

I have ever installed the same kernel with gentoo-kernel (not '-bin') which isn't cutomized at all. First config posted was from manually built and configured gentoo-sources kernel. So I think this one is fully featured...
I just booted on this one (gentoo-kernel). I started my printer after boot, and still impossible to print : the same message "Waiting for prniter to become available" appears in print tasks list...
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Fri Jan 14, 2022 5:14 am    Post subject: Reply with quote

I'm pretty sure the way it's supposed to work is that when you add a device, or turn on a device, udev should discover it. Are udev services running?

Do you have this?
Code:
$ rc-update | grep udev
                 udev |                                 sysinit
         udev-trigger |                                 sysinit

and
Code:
$ grep -i udev /usr/src/linux/.config
CONFIG_GENTOO_LINUX_UDEV=y

Added: I can't go back and look at your kernel config since your dpaste expired.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Fri Jan 14, 2022 6:21 pm    Post subject: Reply with quote

Thank u for answer.
Yes I've the same config (actually on gentoo-kernel) :
Code:
$ rc-update | grep udev
                 udev |                                 sysinit
         udev-trigger |                                 sysinit
$ grep -i udev /usr/src/linux/.config
CONFIG_GENTOO_LINUX_UDEV=y


Here is my config for compiled kernel (from gentoo-sources), with a longer expiration date :
https://dpaste.com/4CSRVS294

Diff with gentoo-kernel
https://dpaste.com/544JAYSHF
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10


Last edited by Anard on Fri Jan 14, 2022 6:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1653

PostPosted: Fri Jan 14, 2022 6:23 pm    Post subject: Reply with quote

Anard wrote:
Diff with gentoo-kernel
https://dpaste.com/FJSYZ7RV9


FWIW, using /usr/src/linux/scripts/diffconfig is a much better tool for kernel diffs than just /usr/bin/diff alone.
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Fri Jan 14, 2022 6:29 pm    Post subject: Reply with quote

thx, this is corrected :)
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Sat Jan 15, 2022 6:00 pm    Post subject: Reply with quote

Here are messages from my printer when it doesn't want to print :
http://dpaste.com/DAJFGQLSX
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Sun Jan 16, 2022 10:16 pm    Post subject: Reply with quote

Anard wrote:
Here are messages from my printer when it doesn't want to print :
http://dpaste.com/DAJFGQLSX


According to your kernel config
Code:
CONFIG_USB_PRINTER is not set
What happens if you enable it?

I use ipp based printers and printing but I remember cups messages informing me it was necessary for USB printers. Just A guess.
Code:

WARN: setup
If you plan to use USB printers you should enable the USB_PRINTER
support in your kernel.
Please enable it:
    CONFIG_USB_PRINTER=y
in /usr/src/linux/.config or
    Device Drivers --->
        USB support  --->
            [*] USB Printer support
Alternatively, enable the usb useflag for cups and use the libusb code.
LOG: postinst

For information about installing a printer and general cups setup
take a look at: https://wiki.gentoo.org/wiki/Printing


Best Tango..... :)
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Mon Jan 17, 2022 4:41 am    Post subject: Reply with quote

OldTango wrote:
Anard wrote:
Here are messages from my printer when it doesn't want to print :
http://dpaste.com/DAJFGQLSX


According to your kernel config
Code:
CONFIG_USB_PRINTER is not set
What happens if you enable it?

I use ipp based printers and printing but I remember cups messages informing me it was necessary for USB printers. Just A guess.
Code:

WARN: setup
If you plan to use USB printers you should enable the USB_PRINTER
support in your kernel.
Please enable it:
    CONFIG_USB_PRINTER=y
in /usr/src/linux/.config or
    Device Drivers --->
        USB support  --->
            [*] USB Printer support
Alternatively, enable the usb useflag for cups and use the libusb code.
LOG: postinst

For information about installing a printer and general cups setup
take a look at: https://wiki.gentoo.org/wiki/Printing


Best Tango..... :)


The OP is using cups (libusb). There are known problems using the kernel usb driver with libusb. I suspect the warning from cups you recall was to disable it in the kernel to avoid conflicts.

It does say in your above
Quote:
Alternatively, enable the usb useflag for cups and use the libusb code.

So enabling it won't help with this issue, and may well stop cups from seeing the printer at all.

The problem here seems to be that the printer is fine until becoming lost to the system after entering sleep-mode, after which it can't be rediscovered. So it's not the printer driver.

I'm sure I experienced this in the past and fixed it. But haven't had a printer connected via USB for so long, I might not even have a record of how I fixed it now.

I'll have a look later today and see if I can offer anything useful.
Back to top
View user's profile Send private message
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 216

PostPosted: Mon Jan 17, 2022 9:14 am    Post subject: Reply with quote

Thanks for your answers.
As say ian.au, I remember to have read anywhere that USB_PRINTER shouldn't be checked in kernel.
A little correction : it's not when system goes to sleep, as this parameter can be disabled, but when printer goes to sleep (even shut off) after about 3-5 minutes of inactivity. And unfortunately, this parameter can't be edited... :cry:
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Mon Jan 17, 2022 10:14 am    Post subject: Reply with quote

Anard,
Can you just confirm that both printers are directly connected to the same computer, and not to a usb hub or similar?

Also, I assume from reading through your posts a bit more thoroughly now that it is the Samsung printer that becomes disabled, the default printer remaining available?

Does running ie.
Code:
cupsenable Laser
in a terminal re-enable the device?

Finally, it might be a good thing to post your cups error_log and the output of any dmesg entries upon printer disconnection too.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Wed Jan 19, 2022 4:49 am    Post subject: Reply with quote

Anard wrote:
Thanks for your answers.
As say ian.au, I remember to have read anywhere that USB_PRINTER shouldn't be checked in kernel.
A little correction : it's not when system goes to sleep, as this parameter can be disabled, but when printer goes to sleep (even shut off) after about 3-5 minutes of inactivity. And unfortunately, this parameter can't be edited... :cry:
That was my last elog file printed by the latest cups update and provided as information only. Using (libusb) and having the (usb) useflag enabled for cups is the preferred modern method for USB printing. I would recommend going through the troubleshooting section of the Cups Wiki as it is possible you are encountering BUG #644636.

Best Tango..... :)
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Wed Jan 19, 2022 6:59 am    Post subject: Reply with quote

OldTango is on the money, apparently the kernel module will detatch properly in recent cups releases, so can share with libusb built as an <M>.
So ignore my outdated comment there, and sorry for the noise.

Whether or not enabling it will solve your problem is altogether another thing... the linked bug seems to be permissions related, logs would disclose whether or not something is happening there, where are they? ;)
In the absence of further information you probably are on your own here.

I only use IPP these days, and mostly wirelessly over network, so have no recent experience with setting up multiple usb connected printers. It tends to JustWork.

If I was having these problems now, I'd probably try to set up IPP over USB driverless printing and see how that worked out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum