[simple-scan/gnome-3-34] Update Brother Vendor and product ID to properly display help messages
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [simple-scan/gnome-3-34] Update Brother Vendor and product ID to properly display help messages
- Date: Wed, 15 Apr 2020 23:50:03 +0000 (UTC)
commit 50aa98864ded9270f7dcf4ef2244874a2123a155
Author: Bartosz Kosiorek <gang65 poczta onet pl>
Date: Sun Apr 5 22:57:53 2020 +0200
Update Brother Vendor and product ID to properly display help messages
src/simple-scan.vala | 419 +++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 407 insertions(+), 12 deletions(-)
---
diff --git a/src/simple-scan.vala b/src/simple-scan.vala
index 23272c2..1fc7c02 100644
--- a/src/simple-scan.vala
+++ b/src/simple-scan.vala
@@ -133,7 +133,7 @@ public class SimpleScan : Gtk.Application
app.set_scan_devices (devices_copy, missing_driver);
}
-
+
/* Taken from /usr/local/Brother/sane/Brsane.ini from brscan driver */
private const uint32 brscan_devices[] = { 0x04f90110, 0x04f90111, 0x04f90112, 0x04f9011d, 0x04f9011e,
0x04f9011f, 0x04f9012b, 0x04f90124, 0x04f90153, 0x04f90125, 0x04f90113, 0x04f90114, 0x04f90115, 0x04f90116,
0x04f90119, 0x04f9011a, 0x04f9011b, 0x04f9011c, 0x04f9012e, 0x04f9012f, 0x04f90130, 0x04f90128, 0x04f90127,
0x04f90142, 0x04f90143, 0x04f90140, 0x04f90141, 0x04f9014e, 0x04f9014f, 0x04f90150, 0x04f90151, 0x04f9010e,
0x04f9013a, 0x04f90120, 0x04f9010f, 0x04f90121, 0x04f90122, 0x04f90132, 0x04f9013d, 0x04f9013c, 0x04f90136,
0x04f90135, 0x04f9013e, 0x04f9013f, 0x04f90144, 0x04f90146, 0x04f90148, 0x04f9014a, 0x04f9014b, 0x04f9014c,
0x04f90157, 0x04f90158, 0x04f9015d, 0x04f9015e, 0x04f9015f, 0x04f90160 };
@@ -144,7 +144,403 @@ public class SimpleScan : Gtk.Application
private const uint32 brscan3_devices[] = { 0x04f90222, 0x04f90223, 0x04f90224, 0x04f90225, 0x04f90229,
0x04f9022a, 0x04f9022c, 0x04f90228, 0x04f90236, 0x04f90227, 0x04f9022b, 0x04f9022d, 0x04f9022e, 0x04f9022f,
0x04f90230, 0x04f9021b, 0x04f9021a, 0x04f90219, 0x04f9023f, 0x04f90216, 0x04f9021d, 0x04f9021c, 0x04f90220,
0x04f9021e, 0x04f9023e, 0x04f90235, 0x04f9023a, 0x04f901c9, 0x04f901ca, 0x04f901cb, 0x04f901cc, 0x04f901ec,
0x04f9020d, 0x04f9020c, 0x04f90257, 0x04f9025d, 0x04f90254, 0x04f9025b, 0x04f9026b, 0x04f90258, 0x04f9025e,
0x04f90256, 0x04f90240, 0x04f9025f, 0x04f90260, 0x04f90261, 0x04f90278, 0x04f9026f, 0x04f9026e, 0x04f9026d,
0x04f90234, 0x04f90239, 0x04f90253, 0x04f90255, 0x04f90259, 0x04f9025a, 0x04f9025c, 0x04f90276 };
/* Taken from /opt/brother/scanner/brscan4/models4/*.ini from brscan4 driver */
- private const uint32 brscan4_devices[] = { 0x04f90314, 0x04f90313, 0x04f90312, 0x04f90311, 0x04f90310,
0x04f9030f, 0x04f90366, 0x04f90365, 0x04f90364, 0x04f90350, 0x04f9034f, 0x04f9034e, 0x04f9034b, 0x04f90349,
0x04f90347, 0x04f90346, 0x04f90343, 0x04f90342, 0x04f90341, 0x04f90340, 0x04f9033d, 0x04f9033c, 0x04f9033a,
0x04f90339, 0x04f90392, 0x04f90373, 0x04f9036e, 0x04f9036d, 0x04f9036c, 0x04f9036b, 0x04f9036a, 0x04f90369,
0x04f90368, 0x04f90367, 0x04f90338, 0x04f90337, 0x04f90335, 0x04f90331, 0x04f90330, 0x04f90329, 0x04f90328,
0x04f90326, 0x04f90324, 0x04f90322, 0x04f90321, 0x04f90320, 0x04f90372, 0x04f90371, 0x04f90370, 0x04f9036f,
0x04f90361, 0x04f90360, 0x04f9035e, 0x04f9035d, 0x04f9035c, 0x04f9035b, 0x04f90379, 0x04f90378, 0x04f90376,
0x04f9037a, 0x04f9037b, 0x04f90377, 0x04f9037f, 0x04f9037e, 0x04f9037d, 0x04f9037c, 0x04f9035a, 0x04f90359,
0x04f90358, 0x04f90357, 0x04f90356, 0x04f90355, 0x04f90354, 0x04f90353, 0x04f90351, 0x04f90390, 0x04f903b3,
0x04f90396, 0x04f90395, 0x
04f90394, 0x04f90393, 0x04f90380, 0x04f90381, 0x04f903bd, 0x04f90383, 0x04f90397, 0x04f90386, 0x04f90384,
0x04f90385, 0x04f90388, 0x04f90389, 0x04f9038b, 0x04f9038a, 0x04f9038c, 0x04f9038e, 0x04f9038f, 0x04f9038d,
0x04f903bc, 0x04f903bb, 0x04f903b6, 0x04f903b5, 0x04f903b4, 0x04f90290, 0x04f9028f, 0x04f9028d, 0x04f9028a,
0x04f90284, 0x04f90283, 0x04f90282, 0x04f90281, 0x04f9027e, 0x04f9027d, 0x04f9027c, 0x04f9027b, 0x04f90280,
0x04f9027a, 0x04f90279, 0x04f9027f, 0x04f90285, 0x04f9029a, 0x04f9029f, 0x04f9029e, 0x04f90289, 0x04f90288,
0x04f960a0, 0x04f960a1, 0x04f90293, 0x04f902b7, 0x04f90294, 0x04f90296, 0x04f90298, 0x04f902ba, 0x04f90299,
0x04f902bb, 0x04f902d4, 0x04f90291, 0x04f902ac, 0x04f902b5, 0x04f90292, 0x04f902b6, 0x04f90295, 0x04f902b8,
0x04f9029c, 0x04f902cb, 0x04f902ca, 0x04f902a6, 0x04f902a7, 0x04f902ab, 0x04f902a5, 0x04f902a8, 0x04f902a0,
0x04f902c1, 0x04f902c0, 0x04f902bf, 0x04f902be, 0x04f902bd, 0x04f902bc, 0x04f902b2, 0x04f90287, 0x04f902cf,
0x04f902ce, 0x04f902cd, 0x0
4f902c7, 0x04f902c6, 0x04f902c5, 0x04f902c4, 0x04f902b4, 0x04f902b3, 0x04f902c2, 0x04f960a4, 0x04f960a5,
0x04f902cc, 0x04f902c8, 0x04f902c3, 0x04f902d3, 0x04f902b1, 0x04f902b0, 0x04f902af, 0x04f902ae, 0x04f902ad,
0x04f902d1, 0x04f902d0, 0x04f902fb, 0x04f902f1, 0x04f902f0, 0x04f902ef, 0x04f902ed, 0x04f902ec, 0x04f902ee,
0x04f902eb, 0x04f902e9, 0x04f902e8, 0x04f902fa, 0x04f902ea, 0x04f902e6, 0x04f902e5, 0x04f902e4, 0x04f902e3,
0x04f902e2, 0x04f902f9, 0x04f902de, 0x04f902e0, 0x04f902df, 0x04f902e1, 0x04f902e7, 0x04f902fc, 0x04f902fd,
0x04f902fe, 0x04f902dd, 0x04f902c9, 0x04f902ff, 0x04f90300, 0x04f902f2, 0x04f902f3, 0x04f902f4, 0x04f902f8,
0x04f902f5, 0x04f902f6, 0x04f902f7, 0x04f90318, 0x04f960a6, 0x04f960a7, 0x04f960a8, 0x04f960a9 };
+ private const uint32 brscan4_devices[] = {
+ 0x04f90314, /* MFC-L9550CDW */
+ 0x04f90313, /* MFC-L8850CDW */
+ 0x04f90312, /* MFC-L8650CDW */
+ 0x04f90311, /* MFC-L8600CDW */
+ 0x04f90310, /* DCP-L8450CDW */
+ 0x04f9030f, /* DCP-L8400CDN */
+ 0x04f90366, /* MFC-J5520DW */
+ 0x04f90365, /* MFC-J4520DW */
+ 0x04f90364, /* MFC-J5625DW */
+ 0x04f90350, /* MFC-J5620CDW */
+ 0x04f9034f, /* MFC-J5820DN */
+ 0x04f9034e, /* MFC-J5720CDW */
+ 0x04f9034b, /* MFC-J4720N */
+ 0x04f90349, /* DCP-J4220N */
+ 0x04f90347, /* MFC-J5720DW */
+ 0x04f90346, /* MFC-J5620DW */
+ 0x04f90343, /* MFC-J5320DW */
+ 0x04f90342, /* MFC-J4625DW */
+ 0x04f90341, /* MFC-J2720 */
+ 0x04f90340, /* MFC-J4620DW */
+ 0x04f9033d, /* MFC-J4420DW */
+ 0x04f9033c, /* MFC-J2320 */
+ 0x04f9033a, /* MFC-J4320DW */
+ 0x04f90339, /* DCP-J4120DW */
+ 0x04f90392, /* MFC-L2705DW */
+ 0x04f90373, /* MFC-L2700D */
+ 0x04f9036e, /* MFC-7889DW */
+ 0x04f9036d, /* MFC-7880DN */
+ 0x04f9036c, /* MFC-7480D */
+ 0x04f9036b, /* MFC-7380 */
+ 0x04f9036a, /* DCP-7189DW */
+ 0x04f90369, /* DCP-7180DN */
+ 0x04f90368, /* DCP-7080 */
+ 0x04f90367, /* DCP-7080D */
+ 0x04f90338, /* MFC-L2720DN */
+ 0x04f90337, /* MFC-L2720DW */
+ 0x04f90335, /* FAX-L2700DN */
+ 0x04f90331, /* MFC-L2700DW */
+ 0x04f90330, /* HL-L2380DW */
+ 0x04f90329, /* DCP-L2560DW */
+ 0x04f90328, /* DCP-L2540DW */
+ 0x04f90326, /* DCP-L2540DN */
+ 0x04f90324, /* DCP-L2520D */
+ 0x04f90322, /* DCP-L2520DW */
+ 0x04f90321, /* DCP-L2500D */
+ 0x04f90320, /* MFC-L2740DW */
+ 0x04f90372, /* MFC-9342CDW */
+ 0x04f90371, /* MFC-9332CDW */
+ 0x04f90370, /* MFC-9142CDN */
+ 0x04f9036f, /* DCP-9022CDW */
+ 0x04f90361, /* MFC-1919NW */
+ 0x04f90360, /* DCP-1618W */
+ 0x04f9035e, /* MFC-1910NW */
+ 0x04f9035d, /* MFC-1910W */
+ 0x04f9035c, /* DCP-1610NW */
+ 0x04f9035b, /* DCP-1610W */
+ 0x04f90379, /* DCP-1619 */
+ 0x04f90378, /* DCP-1608 */
+ 0x04f90376, /* DCP-1600 */
+ 0x04f9037a, /* MFC-1906 */
+ 0x04f9037b, /* MFC-1908 */
+ 0x04f90377, /* MFC-1900 */
+ 0x04f9037f, /* ADS-2600We */
+ 0x04f9037e, /* ADS-2500We */
+ 0x04f9037d, /* ADS-2100e */
+ 0x04f9037c, /* ADS-2000e */
+ 0x04f9035a, /* MFC-J897DN */
+ 0x04f90359, /* MFC-J827DN */
+ 0x04f90358, /* MFC-J987DN */
+ 0x04f90357, /* MFC-J727D */
+ 0x04f90356, /* MFC-J877N */
+ 0x04f90355, /* DCP-J957N */
+ 0x04f90354, /* DCP-J757N */
+ 0x04f90353, /* DCP-J557N */
+ 0x04f90351, /* DCP-J137N */
+ 0x04f90390, /* MFC-J5920DW */
+ 0x04f903b3, /* MFC-J6925DW */
+ 0x04f90396, /* MFC-T800W */
+ 0x04f90395, /* DCP-T700W */
+ 0x04f90394, /* DCP-T500W */
+ 0x04f90393, /* DCP-T300 */
+ 0x04f90380, /* DCP-J562DW */
+ 0x04f90381, /* DCP-J562N */
+ 0x04f903bd, /* DCP-J762N */
+ 0x04f90383, /* DCP-J962N */
+ 0x04f90397, /* DCP-J963N */
+ 0x04f90386, /* MFC-J460DW */
+ 0x04f90384, /* MFC-J480DW */
+ 0x04f90385, /* MFC-J485DW */
+ 0x04f90388, /* MFC-J680DW */
+ 0x04f90389, /* MFC-J880DW */
+ 0x04f9038b, /* MFC-J880N */
+ 0x04f9038a, /* MFC-J885DW */
+ 0x04f9038c, /* MFC-J730DN */
+ 0x04f9038e, /* MFC-J830DN */
+ 0x04f9038f, /* MFC-J900DN */
+ 0x04f9038d, /* MFC-J990DN */
+ 0x04f903bc, /* MFC-L2700DN */
+ 0x04f903bb, /* MFC-L2680W */
+ 0x04f903b6, /* MFC-J6990CDW */
+ 0x04f903b5, /* MFC-J6973CDW */
+ 0x04f903b4, /* MFC-J6573CDW */
+ 0x04f9034a, /* DCP-J4225N */
+ 0x04f9034c, /* MFC-J4725N */
+ 0x04f903c5, /* MFC-9335CDW */
+ 0x04f903c1, /* HL-3180CDW */
+ 0x04f903c0, /* DCP-9015CDW */
+ 0x04f903bf, /* DCP-9017CDW */
+ 0x04f903c7, /* MFC-L5702DW */
+ 0x04f903c6, /* MFC-L5700DW */
+ 0x04f903b2, /* MFC-L5755DW */
+ 0x04f903b1, /* MFC-L6902DW */
+ 0x04f903b0, /* MFC-L6900DW */
+ 0x04f903af, /* MFC-L6800DW */
+ 0x04f903ae, /* MFC-L6750DW */
+ 0x04f903ad, /* MFC-L6702DW */
+ 0x04f903ac, /* MFC-L6700DW */
+ 0x04f903ab, /* MFC-L5902DW */
+ 0x04f903aa, /* MFC-L5900DW */
+ 0x04f903a9, /* MFC-L5850DW */
+ 0x04f903a8, /* MFC-L5802DW */
+ 0x04f903a7, /* MFC-L5800DW */
+ 0x04f903a6, /* MFC-8540DN */
+ 0x04f903a5, /* MFC-L5750DW */
+ 0x04f903a3, /* MFC-8535DN */
+ 0x04f903a2, /* MFC-8530DN */
+ 0x04f903a0, /* MFC-L5700DN */
+ 0x04f9039f, /* DCP-L6600DW */
+ 0x04f9039e, /* DCP-L5652DN */
+ 0x04f9039d, /* DCP-L5650DN */
+ 0x04f9039c, /* DCP-L5602DN */
+ 0x04f9039b, /* DCP-L5600DN */
+ 0x04f9039a, /* DCP-L5502DN */
+ 0x04f90399, /* DCP-L5500DN */
+ 0x04f90398, /* DCP-L5500D */
+ 0x04f903ba, /* ADS-3600W */
+ 0x04f903b9, /* ADS-2800W */
+ 0x04f903b8, /* ADS-3000N */
+ 0x04f903b7, /* ADS-2400N */
+ 0x04f903ca, /* DCP-J983N */
+ 0x04f903c9, /* MFC-J985DW */
+ 0x04f903c8, /* DCP-J785DW */
+ 0x04f903f2, /* MFC-J997DN */
+ 0x04f903f1, /* MFC-J907DN */
+ 0x04f903f0, /* MFC-J887N */
+ 0x04f903ef, /* MFC-J837DN */
+ 0x04f903ee, /* MFC-J737DN */
+ 0x04f903ed, /* DCP-J968N */
+ 0x04f903eb, /* DCP-J767N */
+ 0x04f903ea, /* DCP-J567N */
+ 0x04f903e8, /* MFC-J5830DW */
+ 0x04f903e7, /* MFC-J2730DW */
+ 0x04f903e6, /* MFC-J2330DW */
+ 0x04f903e5, /* MFC-J5335DW */
+ 0x04f903e4, /* MFC-J6535DW */
+ 0x04f903e3, /* MFC-J3930DW */
+ 0x04f903e2, /* MFC-J3530DW */
+ 0x04f903e0, /* MFC-J6530DW */
+ 0x04f903d6, /* MFC-J5930DW */
+ 0x04f903d5, /* MFC-J5730DW */
+ 0x04f903d3, /* MFC-J5330DW */
+ 0x04f903d1, /* MFC-J6995CDW */
+ 0x04f903d0, /* MFC-J6980CDW */
+ 0x04f903cf, /* MFC-J6580CDW */
+ 0x04f903cd, /* MFC-J6730DW */
+ 0x04f903cc, /* MFC-J6935DW */
+ 0x04f903cb, /* MFC-J6930DW */
+ 0x04f903f7, /* DCP-L8410CDW */
+ 0x04f903f6, /* MFC-L8610CDW */
+ 0x04f903f5, /* MFC-L8690CDW */
+ 0x04f903f4, /* MFC-L8900CDW */
+ 0x04f903f3, /* MFC-L9570CDW */
+ 0x04f903fa, /* MFC-L2685DW */
+ 0x04f903e1, /* MFC-L2707DW */
+ 0x04f90290, /* MFC-J432W */
+ 0x04f9028f, /* MFC-J425W */
+ 0x04f9028d, /* MFC-J835DW */
+ 0x04f9028a, /* DCP-J925N */
+ 0x04f90284, /* MFC-J825N */
+ 0x04f90283, /* MFC-J825DW */
+ 0x04f90282, /* MFC-J625DW */
+ 0x04f90281, /* MFC-J430W */
+ 0x04f9027e, /* MFC-J955DN */
+ 0x04f9027d, /* DCP-J925DW */
+ 0x04f9027c, /* DCP-J725N */
+ 0x04f9027b, /* DCP-J725DW */
+ 0x04f90280, /* MFC-J435W */
+ 0x04f9027a, /* DCP-J525N */
+ 0x04f90279, /* DCP-J525W */
+ 0x04f9027f, /* MFC-J280W */
+ 0x04f90285, /* MFC-J705D */
+ 0x04f9029a, /* MFC-8690DW */
+ 0x04f9029f, /* MFC-9325CW */
+ 0x04f9029e, /* MFC-9125CN */
+ 0x04f90289, /* MFC-J5910CDW */
+ 0x04f90288, /* MFC-J5910DW */
+ 0x04f9043d, /* DCP-L2535DW */
+ 0x04f9043c, /* MFC-L2715DW */
+ 0x04f9043b, /* MFC-L2770DW */
+ 0x04f9043a, /* MFC-L2750DW */
+ 0x04f90439, /* MFC-L2730DW */
+ 0x04f90438, /* MFC-L2730DN */
+ 0x04f90437, /* MFC-L2717DW */
+ 0x04f90436, /* MFC-L2715D */
+ 0x04f90435, /* MFC-L2713DW */
+ 0x04f90434, /* MFC-L2710DW */
+ 0x04f90433, /* MFC-L2710DN */
+ 0x04f90432, /* MFC-L2690DW */
+ 0x04f90431, /* MFC-B7720DN */
+ 0x04f90430, /* MFC-B7715DW */
+ 0x04f9042e, /* MFC-B7700D */
+ 0x04f9042d, /* MFC-7895DW */
+ 0x04f9042c, /* MFC-7890DN */
+ 0x04f9042b, /* MFC-7490D */
+ 0x04f9042a, /* MFC-7390 */
+ 0x04f90429, /* HL-L2395DW */
+ 0x04f90428, /* HL-L2390DW */
+ 0x04f90427, /* FAX-L2710DN */
+ 0x04f90425, /* DCP-L2551DN */
+ 0x04f90424, /* DCP-L2550DW */
+ 0x04f90423, /* DCP-L2550DN */
+ 0x04f90422, /* DCP-L2537DW */
+ 0x04f90421, /* DCP-L2535D */
+ 0x04f90420, /* DCP-L2530DW */
+ 0x04f9041f, /* DCP-L2510D */
+ 0x04f9041e, /* DCP-B7535DW */
+ 0x04f9041d, /* DCP-B7530DN */
+ 0x04f9041c, /* DCP-B7520DW */
+ 0x04f9041b, /* DCP-B7500D */
+ 0x04f9041a, /* DCP-7195DW */
+ 0x04f90419, /* DCP-7190DN */
+ 0x04f90418, /* DCP-7095D */
+ 0x04f90417, /* DCP-7090 */
+ 0x04f90413, /* MFC-T910DW */
+ 0x04f90412, /* MFC-T810W */
+ 0x04f90411, /* DCP-T710W */
+ 0x04f90410, /* DCP-T510W */
+ 0x04f9040f, /* DCP-T310 */
+ 0x04f90408, /* MFC-J893N */
+ 0x04f90407, /* DCP-J973N */
+ 0x04f90406, /* DCP-J972N */
+ 0x04f90405, /* DCP-J572N */
+ 0x04f90404, /* MFC-J690DW */
+ 0x04f90403, /* MFC-J890DW */
+ 0x04f90400, /* DCP-J774DW */
+ 0x04f903ff, /* DCP-J772DW */
+ 0x04f903f8, /* MFC-J895DW */
+ 0x04f9043e, /* MFC-J775DW */
+ 0x04f9040e, /* MFC-J1500N */
+ 0x04f9040d, /* DCP-J988N */
+ 0x04f9040b, /* MFC-J1300DW */
+ 0x04f9040a, /* MFC-J995DW */
+ 0x04f90409, /* DCP-J1100DW */
+ 0x04f90402, /* MFC-J497DW */
+ 0x04f903fe, /* DCP-J572DW */
+ 0x04f903f9, /* MFC-J491DW */
+ 0x04f9044b, /* DCP-L3510CDW */
+ 0x04f9044a, /* HL-L3290CDW */
+ 0x04f90448, /* DCP-L3550CDW */
+ 0x04f90446, /* MFC-L3710CW */
+ 0x04f90445, /* MFC-L3730CDN */
+ 0x04f90442, /* MFC-L3745CDW */
+ 0x04f90441, /* MFC-L3750CDW */
+ 0x04f9043f, /* MFC-L3770CDW */
+ 0x04f90454, /* MFC-T4500DW */
+ 0x04f9044f, /* MFC-J6545DW */
+ 0x04f9044d, /* MFC-J5845DW */
+ 0x04f90462, /* MFC-J898N */
+ 0x04f90461, /* DCP-J978N */
+ 0x04f90460, /* DCP-J577N */
+ 0x04f9044c, /* DCP-L3551CDW */
+ 0x04f90443, /* MFC-L3735CDN */
+ 0x04f9045f, /* HL-J6000CDW */
+ 0x04f90457, /* MFC-J6999CDW */
+ 0x04f90456, /* MFC-J6997CDW */
+ 0x04f90453, /* HL-J6100DW */
+ 0x04f90452, /* HL-J6000DW */
+ 0x04f90451, /* MFC-J6947DW */
+ 0x04f90450, /* MFC-J6945DW */
+ 0x04f9044e, /* MFC-J5945DW */
+ 0x04f90466, /* MFC-J815DW */
+ 0x04f90465, /* MFC-J1605DN */
+ 0x04f90464, /* MFC-J998DN */
+ 0x04f90463, /* MFC-J738DN */
+ 0x04f90447, /* DCP-9030CDN */
+ 0x04f90444, /* MFC-9150CDN */
+ 0x04f90440, /* MFC-9350CDW */
+ 0x04f9045e, /* MFC-J6983CDW */
+ 0x04f9045d, /* MFC-J6583CDW */
+ 0x04f9045c, /* MFC-J5630CDW */
+ 0x04f90470, /* MFC-J903N */
+ 0x04f9046f, /* DCP-J982N */
+ 0x04f9046e, /* DCP-J981N */
+ 0x04f9046d, /* DCP-J582N */
+ 0x04f90467, /* MFC-J805DW */
+ 0x04f960a0, /* ADS-2000 */
+ 0x04f960a1, /* ADS-2100 */
+ 0x04f90293, /* DCP-8155DN */
+ 0x04f902b7, /* DCP-8157DN */
+ 0x04f90294, /* DCP-8250DN */
+ 0x04f90296, /* MFC-8520DN */
+ 0x04f90298, /* MFC-8910DW */
+ 0x04f902ba, /* MFC-8912DW */
+ 0x04f90299, /* MFC-8950DW */
+ 0x04f902bb, /* MFC-8952DW */
+ 0x04f902d4, /* MFC-8810DW */
+ 0x04f90291, /* DCP-8110DN */
+ 0x04f902ac, /* DCP-8110D */
+ 0x04f902b5, /* DCP-8112DN */
+ 0x04f90292, /* DCP-8150DN */
+ 0x04f902b6, /* DCP-8152DN */
+ 0x04f90295, /* MFC-8510DN */
+ 0x04f902b8, /* MFC-8512DN */
+ 0x04f9029c, /* MFC-8515DN */
+ 0x04f902cb, /* MFC-8710DW */
+ 0x04f902ca, /* MFC-8712DW */
+ 0x04f902a6, /* FAX-2940 */
+ 0x04f902a7, /* FAX-2950 */
+ 0x04f902ab, /* FAX-2990 */
+ 0x04f902a5, /* MFC-7240 */
+ 0x04f902a8, /* MFC-7290 */
+ 0x04f902a0, /* DCP-J140W */
+ 0x04f902c1, /* MFC-J960DN */
+ 0x04f902c0, /* DCP-J940N */
+ 0x04f902bf, /* MFC-J840N */
+ 0x04f902be, /* MFC-J710D */
+ 0x04f902bd, /* DCP-J740N */
+ 0x04f902bc, /* DCP-J540N */
+ 0x04f902b2, /* MFC-J810DN */
+ 0x04f90287, /* MFC-J860DN */
+ 0x04f902cf, /* DCP-7057W */
+ 0x04f902ce, /* DCP-7055W */
+ 0x04f902cd, /* MFC-J2510 */
+ 0x04f902c7, /* MFC-J4510N */
+ 0x04f902c6, /* DCP-J4210N */
+ 0x04f902c5, /* MFC-J4610DW */
+ 0x04f902c4, /* MFC-J4410DW */
+ 0x04f902b4, /* MFC-J4710DW */
+ 0x04f902b3, /* MFC-J4510DW */
+ 0x04f902c2, /* DCP-J4110DW */
+ 0x04f960a4, /* ADS-2500W */
+ 0x04f960a5, /* ADS-2600W */
+ 0x04f902cc, /* MFC-J2310 */
+ 0x04f902c8, /* MFC-J4910CDW */
+ 0x04f902c3, /* MFC-J4310DW */
+ 0x04f902d3, /* DCP-9020CDW */
+ 0x04f902b1, /* DCP-9020CDN */
+ 0x04f902b0, /* MFC-9340CDW */
+ 0x04f902af, /* MFC-9330CDW */
+ 0x04f902ae, /* MFC-9140CDN */
+ 0x04f902ad, /* MFC-9130CW */
+ 0x04f902d1, /* MFC-1810 */
+ 0x04f902d0, /* DCP-1510 */
+ 0x04f902fb, /* MFC-J875DW */
+ 0x04f902f1, /* MFC-J890DN */
+ 0x04f902f0, /* MFC-J980DN */
+ 0x04f902ef, /* MFC-J820DN */
+ 0x04f902ed, /* MFC-J870N */
+ 0x04f902ec, /* MFC-J870DW */
+ 0x04f902ee, /* MFC-J720D */
+ 0x04f902eb, /* MFC-J650DW */
+ 0x04f902e9, /* MFC-J475DW */
+ 0x04f902e8, /* MFC-J470DW */
+ 0x04f902fa, /* MFC-J450DW */
+ 0x04f902ea, /* MFC-J285DW */
+ 0x04f902e6, /* DCP-J952N */
+ 0x04f902e5, /* DCP-J752N */
+ 0x04f902e4, /* DCP-J752DW */
+ 0x04f902e3, /* DCP-J552N */
+ 0x04f902e2, /* DCP-J552DW */
+ 0x04f902f9, /* DCP-J132N */
+ 0x04f902de, /* DCP-J132W */
+ 0x04f902e0, /* DCP-J152N */
+ 0x04f902df, /* DCP-J152W */
+ 0x04f902e1, /* DCP-J172W */
+ 0x04f902e7, /* MFC-J245 */
+ 0x04f902fc, /* DCP-J100 */
+ 0x04f902fd, /* DCP-J105 */
+ 0x04f902fe, /* MFC-J200 */
+ 0x04f902dd, /* DCP-J4215N */
+ 0x04f902c9, /* MFC-J4810DN */
+ 0x04f902ff, /* MFC-J3520 */
+ 0x04f90300, /* MFC-J3720 */
+ 0x04f902f2, /* MFC-J6520DW */
+ 0x04f902f3, /* MFC-J6570CDW */
+ 0x04f902f4, /* MFC-J6720DW */
+ 0x04f902f8, /* MFC-J6770CDW */
+ 0x04f902f5, /* MFC-J6920DW */
+ 0x04f902f6, /* MFC-J6970CDW */
+ 0x04f902f7, /* MFC-J6975CDW */
+ 0x04f90318, /* MFC-7365DN */
+ 0x04f960a6, /* ADS-1000W */
+ 0x04f960a7, /* ADS-1100W */
+ 0x04f960a8, /* ADS-1500W */
+ 0x04f960a9, /* ADS-1600W */
+ };
/* Taken from uld/noarch/oem.conf in the Samsung SANE driver */
private const uint32 samsung_devices[] = { 0x04e83425, 0x04e8341c, 0x04e8342a, 0x04e8343d, 0x04e83456,
0x04e8345a, 0x04e83427, 0x04e8343a, 0x04e83428, 0x04e8343b, 0x04e83455, 0x04e83421, 0x04e83439, 0x04e83444,
0x04e8343f, 0x04e8344e, 0x04e83431, 0x04e8345c, 0x04e8344d, 0x04e83462, 0x04e83464, 0x04e83461, 0x04e83460,
0x04e8340e, 0x04e83435,
@@ -841,14 +1237,13 @@ public class SimpleScan : Gtk.Application
private const uint32 epkowa_devices[] = { 0x04b80101, 0x04b80102, 0x04b80103, 0x04b80104, 0x04b80105,
0x04b80106, 0x04b80107, 0x04b80108, 0x04b80109, 0x04b8010a, 0x04b8010b, 0x04b8010c, 0x04b8010d, 0x04b8010e,
0x04b8010f, 0x04b80110, 0x04b80112, 0x04b80114, 0x04b80116, 0x04b80118, 0x04b80119, 0x04b8011a, 0x04b8011b,
0x04b8011c, 0x04b8011d, 0x04b8011e, 0x04b8011f, 0x04b80120, 0x04b80121, 0x04b80122, 0x04b80126, 0x04b80128,
0x04b80129, 0x04b8012a, 0x04b8012b, 0x04b8012c, 0x04b8012d, 0x04b8012e, 0x04b8012f, 0x04b80130, 0x04b80131,
0x04b80133, 0x04b80135, 0x04b80136, 0x04b80137, 0x04b80138, 0x04b8013a, 0x04b8013b, 0x04b8013c, 0x04b8013d,
0x04b80142, 0x04b80143, 0x04b80144, 0x04b80147, 0x04b8014a, 0x04b8014b, 0x04b80151, 0x04b80153, 0x04b80801,
0x04b80802, 0x04b80805, 0x04b80806, 0x04b80807, 0x04b80808, 0x04b8080a, 0x04b8080c, 0x04b8080d, 0x04b8080e,
0x04b8080f, 0x04b80810, 0x04b80811, 0x04b80813, 0x04b80814, 0x04b80815, 0x04b80817, 0x04b80818, 0x04b80819,
0x04b8081a, 0x04b8081c, 0x0
4b8081d, 0x04b8081f, 0x04b80820, 0x04b80821, 0x04b80827, 0x04b80828, 0x04b80829, 0x04b8082a, 0x04b8082b,
0x04b8082e, 0x04b8082f, 0x04b80830, 0x04b80831, 0x04b80833, 0x04b80834, 0x04b80835, 0x04b80836, 0x04b80837,
0x04b80838, 0x04b80839, 0x04b8083a, 0x04b8083c, 0x04b8083f, 0x04b80841, 0x04b80843, 0x04b80844, 0x04b80846,
0x04b80847, 0x04b80848, 0x04b80849, 0x04b8084a, 0x04b8084c, 0x04b8084d, 0x04b8084f, 0x04b80850, 0x04b80851,
0x04b80852, 0x04b80853, 0x04b80854, 0x04b80855, 0x04b80856, 0x04b8085c, 0x04b8085d, 0x04b8085e, 0x04b8085f,
0x04b80860, 0x04b80861, 0x04b80862, 0x04b80863, 0x04b80864, 0x04b80865, 0x04b80866, 0x04b80869, 0x04b8086a,
0x04b80870, 0x04b80871, 0x04b80872, 0x04b80873, 0x04b80878, 0x04b80879, 0x04b8087b, 0x04b8087c, 0x04b8087d,
0x04b8087e, 0x04b8087f, 0x04b80880, 0x04b80881, 0x04b80883, 0x04b80884, 0x04b80885, 0x04b8088f, 0x04b80890,
0x04b80891, 0x04b80892, 0x04b80893, 0x04b80894, 0x04b80895, 0x04b80896, 0x04b80897, 0x04b80898, 0x04b80899,
0x04b8089a, 0x04b8089b, 0x04
b8089c, 0x04b8089d, 0x04b8089e, 0x04b8089f, 0x04b808a0, 0x04b808a1, 0x04b808a5, 0x04b808a6, 0x04b808a8,
0x04b808a9, 0x04b808aa, 0x04b808ab, 0x04b808ac, 0x04b808ad, 0x04b808ae, 0x04b808af, 0x04b808b0, 0x04b808b3,
0x04b808b4, 0x04b808b5, 0x04b808b6, 0x04b808b7, 0x04b808b8, 0x04b808b9, 0x04b808bd, 0x04b808be, 0x04b808bf,
0x04b808c0, 0x04b808c1, 0x04b808c3, 0x04b808c4, 0x04b808c5, 0x04b808c6, 0x04b808c7, 0x04b808c8, 0x04b808c9,
0x04b808ca, 0x04b808cd, 0x04b808d0 };
/* Brother IDs extracted using the following Python
- * import sys
- * ids = []
- * for f in sys.argv:
- * for l in file (f).readlines ():
- * tokens = l.strip().split (',')
- * if len (tokens) >= 4:
- * ids.append ('0x%08x' % (0x04f9 << 16 | int (tokens[0], 16)))
- * print ('{ ' + ', '.join (ids) + ' }')
+ *
+ * import sys
+ * for f in sys.argv:
+ * for l in file (f).readlines ():
+ * tokens = l.strip().split (',')
+ * if len (tokens) >= 4:
+ * print (' 0x%08x' % (0x04f9 << 16 | int (tokens[0], 16)) + ", /* " + tokens[3].strip("\"") +
" * /")
*/
/* HPAIO IDs extracted using the following Python:
@@ -880,7 +1275,7 @@ public class SimpleScan : Gtk.Application
add_devices (driver_map, brscan4_devices, "brscan4");
add_devices (driver_map, samsung_devices, "samsung");
add_devices (driver_map, hpaio_devices, "hpaio");
- add_devices (driver_map, epkowa_devices, "epkowa");
+ add_devices (driver_map, epkowa_devices, "epkowa");
var devices = usb_context.get_devices ();
for (var i = 0; i < devices.length; i++)
{
@@ -897,7 +1292,7 @@ public class SimpleScan : Gtk.Application
{
for (var i = 0; i < devices.length; i++)
map.insert (devices[i], driver);
- }
+ }
private void authorize_cb (Scanner scanner, string resource)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]