| Summary: | net-print/cups-2.3.3-p2-r2 doesn't print with Samsung ML-2010 local USB printer | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gentlenoob <xurpher> |
| Component: | Current packages | Assignee: | Printing Team <printing> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mehw.is.me, pacho, sam |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/21694 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | cups error_log 2.3.3_p2-r2 | ||
|
Description
Gentlenoob
2021-07-09 13:44:52 UTC
(In reply to Gentlenoob from comment #0) > Created attachment 722920 [details] > cups error_log 2.3.3_p2-r2 > > Title says it: With cups-2.3.3-p2-r2 I can't print with my Samsung ML-2010 > local USB printer, with cups-2.3.3-r4 I can. > > Steps to reproduce: > > emerge =net-print/cups-2.3.3-r4 > /etc/init.d/cupsd start > lp <somepdf.pdf> # printer LED blinks, page is printed, all fine > /etc/init.d/cupsd stop > > emerge =net-print/cups-2.3.3_p2-r2 > /etc/init.d/cupsd start > lp <somepdf.pdf> # printer LED blinks, but no page comes out > lp <somepdf.pdf> # printer produces some error sheet > lp <somepdf.pdf> # nothing happens anymore > /etc/init.d/cupsd stop > > Deleting the printer and adding it back doesn't help. Just going back to > 2.3.3-r4 makes printing work again. Same trouble here with "driverless" setup on Brother_HL-L2340D_series. Furthermore, double sided printing no longer possible at all. (In reply to Gentlenoob from comment #0) > Title says it: With cups-2.3.3-p2-r2 I can't print with my Samsung ML-2010 > local USB printer, with cups-2.3.3-r4 I can. > > Steps to reproduce: > > emerge =net-print/cups-2.3.3-r4 > /etc/init.d/cupsd start > lp <somepdf.pdf> # printer LED blinks, page is printed, all fine > /etc/init.d/cupsd stop > > emerge =net-print/cups-2.3.3_p2-r2 > /etc/init.d/cupsd start > lp <somepdf.pdf> # printer LED blinks, but no page comes out > lp <somepdf.pdf> # printer produces some error sheet > lp <somepdf.pdf> # nothing happens anymore > /etc/init.d/cupsd stop > > Deleting the printer and adding it back doesn't help. Just going back to > 2.3.3-r4 makes printing work again. > > Reproducible: Always The same here on Samsung ML-2010R (net-print/splix-2.0.0_p20130826-r1[jbig]). cups compiled with the usb use flag enabled, and usblp kernel module blacklisted via /etc/modprobe.d/cups.conf: blacklist usblp Works fine with net-print/cups-2.3.3-r4. With cups-2.3.3_p2-r2 the Samsung ML-2010R, when it finally prints, prints the following: INTERNAL ERROR - FALSE POSITION : 0X2e3b5 (189365) SYSTEM : h6fwsim_mono/x1_image LINE : 132 VERSION : SPL 5.05 01-04-2006 net-print/cups-2.3.3_p2-r2::gentoo was built with the following: USE="X acl dbus kerberos ssl threads usb -debug -lprng-compat -pam (-selinux) -static-libs -systemd -xinetd -zeroconf" ABI_X86="32 (64) (-x32)" The problem is confirmed upstream: https://github.com/OpenPrinting/cups/issues/171 An this is the merged upstream PR to fix it: https://github.com/OpenPrinting/cups/pull/160 Thanks. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6d1abb628f060426d6871edd65aa0ec70cee12 commit 8f6d1abb628f060426d6871edd65aa0ec70cee12 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2021-10-28 09:49:01 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2021-10-28 09:49:13 +0000 net-print/cups: Multiple bug fixes - Fix missing dep on avahi[dbus] (#695438) - Ensure server path is always correct (#615438) - Recommend sys-auth/nss-mdns when needed (#634048) - Fix /run paths (#685308) - Respect empty LINGUAS (#771162) - Fix empty dirs handling (#798855) - Fix printing on some Samsung devices (#801316) - Apply other upstream accepted patches widely tested on Fedora and Debian. Closes: https://bugs.gentoo.org/695438 Thanks-to: Mart Raudsepp Closes: https://bugs.gentoo.org/615438 Thanks-to: Stefan Schmid Closes: https://bugs.gentoo.org/634048 Closes: https://bugs.gentoo.org/685308 Thanks-to: Bertrand Jacquin Closes: https://bugs.gentoo.org/771162 Thanks-to: i.Dark_Templar Closes: https://bugs.gentoo.org/798855 Thanks-to: Marco Scardovi (scardracs) Closes: https://bugs.gentoo.org/801316 Thanks-to: Gentlenoob Thanks-to: mehw Thanks-to: Volkmar W. Pogatzki Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org> net-print/cups/cups-2.3.3_p2-r3.ebuild | 326 +++++++++++++++++++++ .../files/cups-2.3.3-enforcing-read-limits.patch | 29 ++ .../cups/files/cups-2.3.3-ipp-retry-validate.patch | 43 +++ net-print/cups/files/cups-2.3.3-manpage.patch | 23 ++ net-print/cups/files/cups-2.3.3-timeout.patch | 26 ++ net-print/cups/files/cupsd.init.d-r4 | 22 ++ 6 files changed, 469 insertions(+) |