]> git.pld-linux.org Git - packages/cups.git/commitdiff
upstream patch for disabling quirks with Samsung SCX-3405W
authorJan Palus <atler@pld-linux.org>
Tue, 19 Oct 2021 09:17:22 +0000 (11:17 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 19 Oct 2021 09:17:22 +0000 (11:17 +0200)
see https://github.com/OpenPrinting/cups/issues/270

cups.spec
scx3400w-quirks.patchs [new file with mode: 0644]

index a6ab3349d3c25bda2fb1d7e219f8bbb99fdd25ff..592b88675ca981b5f95beca9aead7a2f10d110d6 100644 (file)
--- 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 (file)
index 0000000..b5037a8
--- /dev/null
@@ -0,0 +1,24 @@
+From 231c3a3e3ee12e0078be772647707c7d63a6c098 Mon Sep 17 00:00:00 2001
+From: Zdenek Dohnal <zdohnal@redhat.com>
+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
This page took 0.02803 seconds and 4 git commands to generate.