From: Jan Palus Date: Tue, 19 Oct 2021 09:17:22 +0000 (+0200) Subject: upstream patch for disabling quirks with Samsung SCX-3405W X-Git-Tag: auto/th/cups-2.3.3-4~2 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fcups.git;a=commitdiff_plain;h=85868c00fadf315bab79910c74f75eb44edb12d9 upstream patch for disabling quirks with Samsung SCX-3405W see https://github.com/OpenPrinting/cups/issues/270 --- diff --git a/cups.spec b/cups.spec index a6ab334..592b886 100644 --- a/cups.spec +++ b/cups.spec @@ -60,6 +60,7 @@ Patch114: cups-freebind.patch Patch115: cups-ipp-multifile.patch Patch116: cups-web-devices-timeout.patch Patch117: cups-lspp.patch +Patch118: scx3400w-quirks.patchs URL: http://www.cups.org/ BuildRequires: acl-devel %{?with_lspp:BuildRequires: audit-libs-devel} @@ -308,6 +309,7 @@ bibliotecas do CUPS. %patch115 -p1 %patch116 -p1 %patch117 -p1 +%patch118 -p1 %build %{__aclocal} -I config-scripts diff --git a/scx3400w-quirks.patchs b/scx3400w-quirks.patchs new file mode 100644 index 0000000..b5037a8 --- /dev/null +++ b/scx3400w-quirks.patchs @@ -0,0 +1,24 @@ +From 231c3a3e3ee12e0078be772647707c7d63a6c098 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Tue, 12 Oct 2021 06:31:15 +0200 +Subject: [PATCH] org.cups.usb-quirks: Samsung SCX-3405W works without quirks + +--- + CHANGES.md | 4 ++-- + backend/org.cups.usb-quirks | 3 +++ + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/backend/org.cups.usb-quirks b/backend/org.cups.usb-quirks +index b4e12a25e..5aa0d41af 100644 +--- a/backend/org.cups.usb-quirks ++++ b/backend/org.cups.usb-quirks +@@ -194,6 +194,9 @@ + # All Samsung devices (https://bugs.launchpad.net/bugs/1032456) + 0x04e8 soft-reset + ++# Samsung SCX-3405W works without quirks (https://github.com/OpenPrinting/cups/issues/270) ++0x04e8 0x344f whitelist ++ + # Samsung ML-2160 Series (https://bugzilla.redhat.com/show_bug.cgi?id=873123) + 0x04e8 0x330f unidir +