#! /bin/sh /usr/share/dpatch/dpatch-run
## 30_xerox_samsung_ids.dpatch by  <jblache@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add USB IDs for various Samsung-branded MFPs.

@DPATCH@
diff -urNad sane-backends-1.0.20~/backend/xerox_mfp.conf.in sane-backends-1.0.20/backend/xerox_mfp.conf.in
--- sane-backends-1.0.20~/backend/xerox_mfp.conf.in	2009-04-01 18:26:58.000000000 +0200
+++ sane-backends-1.0.20/backend/xerox_mfp.conf.in	2009-09-11 19:14:00.944136856 +0200
@@ -5,3 +5,21 @@
 
 #Xerox Phaser 6110MFP
 usb 0x0924 0x3d5d
+
+#Samsung CLX-3170fn
+usb 0x04e8 0x342a
+
+#Samsung SCX-4200
+usb 0x04e8 0x341b
+
+#Samsung SCX4725-FN
+usb 0x04e8 0x341f
+
+#Samsung SCX-4500
+usb 0x04e8 0x3426
+
+# Samsung SCX-4500W
+usb 0x04e8 0x342b
+
+# Samsung SCX-4300
+usb 0x04e8 0x342e
diff -urNad sane-backends-1.0.20~/doc/descriptions/xerox_mfp.desc sane-backends-1.0.20/doc/descriptions/xerox_mfp.desc
--- sane-backends-1.0.20~/doc/descriptions/xerox_mfp.desc	2009-03-17 14:12:42.000000000 +0100
+++ sane-backends-1.0.20/doc/descriptions/xerox_mfp.desc	2009-09-11 19:13:48.910444718 +0200
@@ -1,25 +1,22 @@
 :backend "xerox_mfp"
-:version "1.0-9"
+:version "1.0-11"
 :manpage "sane-xerox_mfp"
-:comment "Could be compatible with other Samsung manufactured devices"
 :devicetype :scanner
-:new :yes
 
 :mfg "Xerox"
 :url "http://www.office.xerox.com/"
 
-:model "Phaser 3200MFP"
-:interface "USB"
-:usbid "0x0924" "0x3da4"
-:status :good
-:url "http://www.office.xerox.com/multifunction-printer/multifunction-under-30ppm/phaser-3200mfp/spec-enus.html"
-:comment "All features of device I know of"
-
 :model "Phaser 6110MFP"
 :interface "USB"
 :usbid "0x0924" "0x3d5d"
 :status :good
 
+:model "Phaser 3200MFP"
+:interface "USB"
+:usbid "0x0924" "0x3da4"
+:status :complete
+:url "http://www.office.xerox.com/multifunction-printer/multifunction-under-30ppm/phaser-3200mfp/spec-enus.html"
+
 :mfg "Dell"
 :url "http://www.dell.com/"
 
@@ -28,3 +25,30 @@
 :usbid "0x413c" "0x5124"
 :status :good
 
+:mfg "Samsung"
+:url "http://www.samsung.com"
+
+:model "SCX-4200"
+:interface "USB"
+:usbid "0x04e8" "0x341b"
+:status :good
+
+:model "SCX4725-FN"
+:interface "USB"
+:usbid "0x04e8" "0x341f"
+:status :good
+
+:model "SCX-4500"
+:interface "USB"
+:usbid "0x04e8" "0x3426"
+:status :good
+
+:model "CLX-3170fn"
+:interface "USB"
+:usbid "0x04e8" "0x342a"
+:status :good
+
+:model "SCX-4300"
+:interface "USB"
+:usbid "0x04e8" "0x342e"
+:status :good
