~ubuntu-branches/ubuntu/oneiric/indicator-session/oneiric-proposed

« back to all changes in this revision

Viewing changes to src/sane-rules.h

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-08-10 16:23:33 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20110810162333-e1elpqez16qr18ya
Tags: 0.3.1-0ubuntu1
* New upstream release.
  - restart is missing from SessionMenu (LP: #815077)
  - Don't allow starting programs via the greeter indicators (LP: #811853)
  - Printer menu item should launch system-config-printer (LP: #818602)
  - gudev integration
  - apt restart required awareness
* debian/control
  - Added build depends on libgudev-1.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
void populate_scsi_scanners (GHashTable* scanners)
 
2
{
 
3
  GList* epson = NULL;
 
4
  epson = g_list_append (epson, g_strdup ("GT-9700"));
 
5
  epson = g_list_append (epson, g_strdup ("GT-9800"));
 
6
  epson = g_list_append (epson, g_strdup ("Perfection1200"));
 
7
  epson = g_list_append (epson, g_strdup ("Perfection636"));
 
8
  epson = g_list_append (epson, g_strdup ("SCANNER GT-7000"));
 
9
  g_hash_table_insert (scanners,
 
10
                       g_strdup("EPSON"),
 
11
                       epson);
 
12
 
 
13
 
 
14
  GList* hp = NULL;
 
15
  hp = g_list_append (hp, g_strdup ("C1130A"));
 
16
  hp = g_list_append (hp, g_strdup ("C1750A"));
 
17
  hp = g_list_append (hp, g_strdup ("C1790A"));
 
18
  hp = g_list_append (hp, g_strdup ("C2500A"));
 
19
  hp = g_list_append (hp, g_strdup ("C2520A"));
 
20
  hp = g_list_append (hp, g_strdup ("C5110A"));
 
21
  hp = g_list_append (hp, g_strdup ("C6270A"));
 
22
  hp = g_list_append (hp, g_strdup ("C7670A"));
 
23
  g_hash_table_insert (scanners,
 
24
                       g_strdup("HP"),
 
25
                       hp);
 
26
}
 
27
 
 
28
 
 
29
 
 
30
void populate_usb_scanners (GHashTable* scanners)
 
31
{
 
32
  GList* hp = NULL;
 
33
 
 
34
  hp = g_list_append (hp, g_strdup ("0101"));
 
35
  hp = g_list_append (hp, g_strdup ("0105"));
 
36
  hp = g_list_append (hp, g_strdup ("0201"));
 
37
  hp = g_list_append (hp, g_strdup ("0205"));
 
38
  hp = g_list_append (hp, g_strdup ("0305"));
 
39
  hp = g_list_append (hp, g_strdup ("0401"));
 
40
  hp = g_list_append (hp, g_strdup ("0405"));
 
41
  hp = g_list_append (hp, g_strdup ("0505"));
 
42
  hp = g_list_append (hp, g_strdup ("0601"));
 
43
  hp = g_list_append (hp, g_strdup ("0605"));
 
44
  hp = g_list_append (hp, g_strdup ("0701"));
 
45
  hp = g_list_append (hp, g_strdup ("0705"));
 
46
  hp = g_list_append (hp, g_strdup ("0801"));
 
47
  hp = g_list_append (hp, g_strdup ("0805"));
 
48
  hp = g_list_append (hp, g_strdup ("0901"));
 
49
  hp = g_list_append (hp, g_strdup ("0a01"));
 
50
  hp = g_list_append (hp, g_strdup ("0b01"));
 
51
  hp = g_list_append (hp, g_strdup ("1005"));
 
52
  hp = g_list_append (hp, g_strdup ("1105"));
 
53
  hp = g_list_append (hp, g_strdup ("1205"));
 
54
  hp = g_list_append (hp, g_strdup ("1305"));
 
55
  hp = g_list_append (hp, g_strdup ("1405"));
 
56
  hp = g_list_append (hp, g_strdup ("1705"));
 
57
  hp = g_list_append (hp, g_strdup ("1805"));
 
58
  hp = g_list_append (hp, g_strdup ("2005"));
 
59
  hp = g_list_append (hp, g_strdup ("2205"));
 
60
  hp = g_list_append (hp, g_strdup ("2305"));
 
61
  hp = g_list_append (hp, g_strdup ("2405"));
 
62
  hp = g_list_append (hp, g_strdup ("2605"));
 
63
  hp = g_list_append (hp, g_strdup ("2805"));
 
64
  hp = g_list_append (hp, g_strdup ("3805"));
 
65
  hp = g_list_append (hp, g_strdup ("3905"));
 
66
  hp = g_list_append (hp, g_strdup ("3B17"));
 
67
  hp = g_list_append (hp, g_strdup ("4105"));
 
68
  hp = g_list_append (hp, g_strdup ("4205"));
 
69
  hp = g_list_append (hp, g_strdup ("4305"));
 
70
  hp = g_list_append (hp, g_strdup ("4505"));
 
71
  hp = g_list_append (hp, g_strdup ("4605"));
 
72
  hp = g_list_append (hp, g_strdup ("5617"));
 
73
  hp = g_list_append (hp, g_strdup ("5717"));
 
74
  
 
75
  g_hash_table_insert (scanners,
 
76
                       g_strdup("03f0"),
 
77
                       hp);
 
78
 
 
79
  GList* mustek_2 = NULL;
 
80
  mustek_2 = g_list_append (mustek_2, g_strdup ("1000"));
 
81
  mustek_2 = g_list_append (mustek_2, g_strdup ("1001"));
 
82
  g_hash_table_insert (scanners,
 
83
                       g_strdup("0400"),
 
84
                       mustek_2);
 
85
 
 
86
  GList* kodak = NULL;
 
87
  kodak = g_list_append (kodak, g_strdup ("6001"));
 
88
  kodak = g_list_append (kodak, g_strdup ("6002"));
 
89
  kodak = g_list_append (kodak, g_strdup ("6003"));
 
90
  kodak = g_list_append (kodak, g_strdup ("6004"));
 
91
  kodak = g_list_append (kodak, g_strdup ("6005"));
 
92
  g_hash_table_insert (scanners,
 
93
                       g_strdup("040a"),
 
94
                       kodak);
 
95
                                              
 
96
  GList* creative = NULL;
 
97
  
 
98
  creative = g_list_append (creative, g_strdup ("4007"));
 
99
 
 
100
  g_hash_table_insert (scanners,
 
101
                       g_strdup("041e"),
 
102
                       creative);
 
103
  
 
104
  GList* lexmark = NULL;
 
105
  
 
106
  lexmark = g_list_append (lexmark, g_strdup("002d"));
 
107
  lexmark = g_list_append (lexmark, g_strdup("0060"));
 
108
  lexmark = g_list_append (lexmark, g_strdup("007c"));
 
109
  lexmark = g_list_append (lexmark, g_strdup("007d"));
 
110
 
 
111
  g_hash_table_insert (scanners,
 
112
                       g_strdup("043d"),
 
113
                       lexmark);
 
114
  
 
115
 
 
116
  GList* genius = NULL;
 
117
  genius = g_list_append (genius, g_strdup("2004"));
 
118
  genius = g_list_append (genius, g_strdup("2007"));
 
119
  genius = g_list_append (genius, g_strdup("2008"));
 
120
  genius = g_list_append (genius, g_strdup("2009"));
 
121
  genius = g_list_append (genius, g_strdup("2011"));
 
122
  genius = g_list_append (genius, g_strdup("2013"));
 
123
  genius = g_list_append (genius, g_strdup("2014"));
 
124
  genius = g_list_append (genius, g_strdup("2015"));
 
125
  genius = g_list_append (genius, g_strdup("2016"));
 
126
  genius = g_list_append (genius, g_strdup("2017"));
 
127
  genius = g_list_append (genius, g_strdup("201a"));
 
128
  genius = g_list_append (genius, g_strdup("201b"));
 
129
  genius = g_list_append (genius, g_strdup("201d"));
 
130
  genius = g_list_append (genius, g_strdup("201e"));
 
131
  genius = g_list_append (genius, g_strdup("201f"));
 
132
  genius = g_list_append (genius, g_strdup("20c1"));
 
133
  g_hash_table_insert (scanners,
 
134
                       g_strdup("0458"),
 
135
                       genius);
 
136
 
 
137
  GList* medion = NULL;
 
138
  medion = g_list_append (medion, g_strdup("0377"));
 
139
  g_hash_table_insert (scanners,
 
140
                       g_strdup("0461"),
 
141
                       medion);
 
142
 
 
143
  GList* trust = NULL;
 
144
  trust = g_list_append (trust, g_strdup("1000"));
 
145
  trust = g_list_append (trust, g_strdup("1002"));
 
146
  g_hash_table_insert (scanners,
 
147
                       g_strdup("047b"),
 
148
                       trust);
 
149
                         
 
150
  GList* kyocera = NULL;
 
151
  kyocera = g_list_append (kyocera, g_strdup("0335"));
 
152
  g_hash_table_insert (scanners,
 
153
                       g_strdup("0482"),
 
154
                       kyocera);
 
155
  
 
156
  GList* compaq = NULL;
 
157
  compaq = g_list_append (compaq, g_strdup("001a"));
 
158
  g_hash_table_insert (scanners,
 
159
                       g_strdup("049f"),
 
160
                       compaq);
 
161
  GList* benq = NULL;
 
162
  benq = g_list_append (benq, g_strdup("1a20"));
 
163
  benq = g_list_append (benq, g_strdup("1a2a"));
 
164
  benq = g_list_append (benq, g_strdup("2022"));
 
165
  benq = g_list_append (benq, g_strdup("2040"));
 
166
  benq = g_list_append (benq, g_strdup("2060"));
 
167
  benq = g_list_append (benq, g_strdup("207e"));
 
168
  benq = g_list_append (benq, g_strdup("20b0"));
 
169
  benq = g_list_append (benq, g_strdup("20be"));
 
170
  benq = g_list_append (benq, g_strdup("20c0"));
 
171
  benq = g_list_append (benq, g_strdup("20de"));
 
172
  benq = g_list_append (benq, g_strdup("20f8"));
 
173
  benq = g_list_append (benq, g_strdup("20fc"));
 
174
  benq = g_list_append (benq, g_strdup("20fe"));
 
175
  benq = g_list_append (benq, g_strdup("2137"));
 
176
  benq = g_list_append (benq, g_strdup("2211"));
 
177
  g_hash_table_insert (scanners,
 
178
                       g_strdup("04a5"),
 
179
                       benq);
 
180
 
 
181
  GList* visioneer = NULL;
 
182
  visioneer = g_list_append (visioneer, g_strdup("0229"));
 
183
  visioneer = g_list_append (visioneer, g_strdup("0390"));
 
184
  visioneer = g_list_append (visioneer, g_strdup("0420"));
 
185
  visioneer = g_list_append (visioneer, g_strdup("0421"));
 
186
  visioneer = g_list_append (visioneer, g_strdup("0422"));
 
187
  visioneer = g_list_append (visioneer, g_strdup("0423"));
 
188
  visioneer = g_list_append (visioneer, g_strdup("0424"));
 
189
  visioneer = g_list_append (visioneer, g_strdup("0426"));
 
190
  visioneer = g_list_append (visioneer, g_strdup("0427"));
 
191
  visioneer = g_list_append (visioneer, g_strdup("0444"));
 
192
  visioneer = g_list_append (visioneer, g_strdup("0446"));
 
193
  visioneer = g_list_append (visioneer, g_strdup("0447"));
 
194
  visioneer = g_list_append (visioneer, g_strdup("0448"));
 
195
  visioneer = g_list_append (visioneer, g_strdup("0449"));
 
196
  visioneer = g_list_append (visioneer, g_strdup("044c"));
 
197
  visioneer = g_list_append (visioneer, g_strdup("0474"));
 
198
  visioneer = g_list_append (visioneer, g_strdup("0475"));
 
199
  visioneer = g_list_append (visioneer, g_strdup("0477"));
 
200
  visioneer = g_list_append (visioneer, g_strdup("0478"));
 
201
  visioneer = g_list_append (visioneer, g_strdup("0479"));
 
202
  visioneer = g_list_append (visioneer, g_strdup("047a"));
 
203
  visioneer = g_list_append (visioneer, g_strdup("047b"));
 
204
  visioneer = g_list_append (visioneer, g_strdup("047c"));
 
205
  visioneer = g_list_append (visioneer, g_strdup("048c"));
 
206
  visioneer = g_list_append (visioneer, g_strdup("048d"));
 
207
  visioneer = g_list_append (visioneer, g_strdup("048e"));
 
208
  visioneer = g_list_append (visioneer, g_strdup("048f"));
 
209
  visioneer = g_list_append (visioneer, g_strdup("0490"));
 
210
  visioneer = g_list_append (visioneer, g_strdup("0491"));
 
211
  visioneer = g_list_append (visioneer, g_strdup("0492"));
 
212
  visioneer = g_list_append (visioneer, g_strdup("0493"));
 
213
  visioneer = g_list_append (visioneer, g_strdup("0494"));
 
214
  visioneer = g_list_append (visioneer, g_strdup("0495"));
 
215
  visioneer = g_list_append (visioneer, g_strdup("0497"));
 
216
  visioneer = g_list_append (visioneer, g_strdup("0498"));
 
217
  visioneer = g_list_append (visioneer, g_strdup("0499"));
 
218
  visioneer = g_list_append (visioneer, g_strdup("049a"));
 
219
  visioneer = g_list_append (visioneer, g_strdup("049b"));
 
220
  visioneer = g_list_append (visioneer, g_strdup("049c"));
 
221
  visioneer = g_list_append (visioneer, g_strdup("049d"));
 
222
  visioneer = g_list_append (visioneer, g_strdup("04a7"));
 
223
  visioneer = g_list_append (visioneer, g_strdup("04ac"));
 
224
  g_hash_table_insert (scanners,
 
225
                       g_strdup("04a7"),
 
226
                       visioneer);
 
227
  GList* canon = NULL;
 
228
  canon = g_list_append (canon, g_strdup("1601"));
 
229
  canon = g_list_append (canon, g_strdup("1602"));
 
230
  canon = g_list_append (canon, g_strdup("1603"));
 
231
  canon = g_list_append (canon, g_strdup("1604"));
 
232
  canon = g_list_append (canon, g_strdup("1606"));
 
233
  canon = g_list_append (canon, g_strdup("1607"));
 
234
  canon = g_list_append (canon, g_strdup("1608"));
 
235
  canon = g_list_append (canon, g_strdup("1609"));
 
236
  canon = g_list_append (canon, g_strdup("160a"));
 
237
  canon = g_list_append (canon, g_strdup("160b"));
 
238
  canon = g_list_append (canon, g_strdup("1706"));
 
239
  canon = g_list_append (canon, g_strdup("1707"));
 
240
  canon = g_list_append (canon, g_strdup("1708"));
 
241
  canon = g_list_append (canon, g_strdup("1709"));
 
242
  canon = g_list_append (canon, g_strdup("170a"));
 
243
  canon = g_list_append (canon, g_strdup("170b"));
 
244
  canon = g_list_append (canon, g_strdup("170c"));
 
245
  canon = g_list_append (canon, g_strdup("170d"));
 
246
  canon = g_list_append (canon, g_strdup("170e"));
 
247
  canon = g_list_append (canon, g_strdup("1712"));
 
248
  canon = g_list_append (canon, g_strdup("1713"));
 
249
  canon = g_list_append (canon, g_strdup("1714"));
 
250
  canon = g_list_append (canon, g_strdup("1715"));
 
251
  canon = g_list_append (canon, g_strdup("1716"));
 
252
  canon = g_list_append (canon, g_strdup("1717"));
 
253
  canon = g_list_append (canon, g_strdup("1718"));
 
254
  canon = g_list_append (canon, g_strdup("1719"));
 
255
  canon = g_list_append (canon, g_strdup("171a"));
 
256
  canon = g_list_append (canon, g_strdup("171b"));
 
257
  canon = g_list_append (canon, g_strdup("171c"));
 
258
  canon = g_list_append (canon, g_strdup("1721"));
 
259
  canon = g_list_append (canon, g_strdup("1722"));
 
260
  canon = g_list_append (canon, g_strdup("1723"));
 
261
  canon = g_list_append (canon, g_strdup("1724"));
 
262
  canon = g_list_append (canon, g_strdup("1725"));
 
263
  canon = g_list_append (canon, g_strdup("1726"));
 
264
  canon = g_list_append (canon, g_strdup("1727"));
 
265
  canon = g_list_append (canon, g_strdup("1728"));
 
266
  canon = g_list_append (canon, g_strdup("1729"));
 
267
  canon = g_list_append (canon, g_strdup("172b"));
 
268
  canon = g_list_append (canon, g_strdup("172c"));
 
269
  canon = g_list_append (canon, g_strdup("172d"));
 
270
  canon = g_list_append (canon, g_strdup("172e"));
 
271
  canon = g_list_append (canon, g_strdup("172f"));
 
272
  canon = g_list_append (canon, g_strdup("1730"));
 
273
  canon = g_list_append (canon, g_strdup("1731"));
 
274
  canon = g_list_append (canon, g_strdup("1732"));
 
275
  canon = g_list_append (canon, g_strdup("1733"));
 
276
  canon = g_list_append (canon, g_strdup("1734"));
 
277
  canon = g_list_append (canon, g_strdup("1735"));
 
278
  canon = g_list_append (canon, g_strdup("1736"));
 
279
  canon = g_list_append (canon, g_strdup("173a"));
 
280
  canon = g_list_append (canon, g_strdup("173b"));
 
281
  canon = g_list_append (canon, g_strdup("173c"));
 
282
  canon = g_list_append (canon, g_strdup("173d"));
 
283
  canon = g_list_append (canon, g_strdup("173e"));
 
284
  canon = g_list_append (canon, g_strdup("173f"));
 
285
  canon = g_list_append (canon, g_strdup("1740"));
 
286
  canon = g_list_append (canon, g_strdup("1741"));
 
287
  canon = g_list_append (canon, g_strdup("1742"));
 
288
  canon = g_list_append (canon, g_strdup("1901"));
 
289
  canon = g_list_append (canon, g_strdup("1904"));
 
290
  canon = g_list_append (canon, g_strdup("1905"));
 
291
  canon = g_list_append (canon, g_strdup("1909"));
 
292
  canon = g_list_append (canon, g_strdup("190a"));
 
293
  canon = g_list_append (canon, g_strdup("2204"));
 
294
  canon = g_list_append (canon, g_strdup("2206"));
 
295
  canon = g_list_append (canon, g_strdup("2207"));
 
296
  canon = g_list_append (canon, g_strdup("2208"));
 
297
  canon = g_list_append (canon, g_strdup("220d"));
 
298
  canon = g_list_append (canon, g_strdup("220e"));
 
299
  canon = g_list_append (canon, g_strdup("2213"));
 
300
  canon = g_list_append (canon, g_strdup("221c"));
 
301
  canon = g_list_append (canon, g_strdup("2220"));
 
302
  canon = g_list_append (canon, g_strdup("2222"));
 
303
  canon = g_list_append (canon, g_strdup("262f"));
 
304
  canon = g_list_append (canon, g_strdup("2630"));
 
305
  canon = g_list_append (canon, g_strdup("263c"));
 
306
  canon = g_list_append (canon, g_strdup("263d"));
 
307
  canon = g_list_append (canon, g_strdup("263e"));
 
308
  canon = g_list_append (canon, g_strdup("263f"));
 
309
  canon = g_list_append (canon, g_strdup("264c"));
 
310
  canon = g_list_append (canon, g_strdup("264d"));
 
311
  canon = g_list_append (canon, g_strdup("264e"));
 
312
  canon = g_list_append (canon, g_strdup("264f"));
 
313
  canon = g_list_append (canon, g_strdup("2659"));
 
314
  canon = g_list_append (canon, g_strdup("265d"));
 
315
  canon = g_list_append (canon, g_strdup("265e"));
 
316
  canon = g_list_append (canon, g_strdup("265f"));
 
317
  canon = g_list_append (canon, g_strdup("2660"));
 
318
  canon = g_list_append (canon, g_strdup("2684"));
 
319
  canon = g_list_append (canon, g_strdup("2686"));
 
320
  canon = g_list_append (canon, g_strdup("26a3"));
 
321
  canon = g_list_append (canon, g_strdup("26b0"));
 
322
  canon = g_list_append (canon, g_strdup("26b4"));
 
323
  canon = g_list_append (canon, g_strdup("26b5"));
 
324
  canon = g_list_append (canon, g_strdup("26ec"));
 
325
  canon = g_list_append (canon, g_strdup("26ed"));
 
326
  canon = g_list_append (canon, g_strdup("26ee"));
 
327
  g_hash_table_insert (scanners,
 
328
                       g_strdup("04a9"),
 
329
                       canon);
 
330
  
 
331
  GList* nikon = NULL;
 
332
  nikon = g_list_append (nikon, g_strdup ("4000"));
 
333
  nikon = g_list_append (nikon, g_strdup ("4001"));
 
334
  nikon = g_list_append (nikon, g_strdup ("4002"));
 
335
  g_hash_table_insert (scanners,
 
336
                       g_strdup("04b0"),
 
337
                       nikon);
 
338
 
 
339
  GList* epson = NULL;
 
340
 
 
341
  // for testing (its a printer not a scanner!)  
 
342
  //epson = g_list_append (epson, g_strdup ("0001"));
 
343
  
 
344
  epson = g_list_append (epson, g_strdup("0101"));
 
345
  epson = g_list_append (epson, g_strdup("0103"));
 
346
  epson = g_list_append (epson, g_strdup("0104"));
 
347
  epson = g_list_append (epson, g_strdup("0105"));
 
348
  epson = g_list_append (epson, g_strdup("0106"));
 
349
  epson = g_list_append (epson, g_strdup("0107"));
 
350
  epson = g_list_append (epson, g_strdup("0109"));
 
351
  epson = g_list_append (epson, g_strdup("010a"));
 
352
  epson = g_list_append (epson, g_strdup("010b"));
 
353
  epson = g_list_append (epson, g_strdup("010c"));
 
354
  epson = g_list_append (epson, g_strdup("010e"));
 
355
  epson = g_list_append (epson, g_strdup("010f"));
 
356
  epson = g_list_append (epson, g_strdup("0110"));
 
357
  epson = g_list_append (epson, g_strdup("0112"));
 
358
  epson = g_list_append (epson, g_strdup("0114"));
 
359
  epson = g_list_append (epson, g_strdup("011b"));
 
360
  epson = g_list_append (epson, g_strdup("011c"));
 
361
  epson = g_list_append (epson, g_strdup("011d"));
 
362
  epson = g_list_append (epson, g_strdup("011e"));
 
363
  epson = g_list_append (epson, g_strdup("011f"));
 
364
  epson = g_list_append (epson, g_strdup("0120"));
 
365
  epson = g_list_append (epson, g_strdup("0121"));
 
366
  epson = g_list_append (epson, g_strdup("0122"));
 
367
  epson = g_list_append (epson, g_strdup("0126"));
 
368
  epson = g_list_append (epson, g_strdup("0128"));
 
369
  epson = g_list_append (epson, g_strdup("0129"));
 
370
  epson = g_list_append (epson, g_strdup("012a"));
 
371
  epson = g_list_append (epson, g_strdup("012b"));
 
372
  epson = g_list_append (epson, g_strdup("012c"));
 
373
  epson = g_list_append (epson, g_strdup("0135"));
 
374
  epson = g_list_append (epson, g_strdup("0801"));
 
375
  epson = g_list_append (epson, g_strdup("0802"));
 
376
  epson = g_list_append (epson, g_strdup("0805"));
 
377
  epson = g_list_append (epson, g_strdup("0806"));
 
378
  epson = g_list_append (epson, g_strdup("0807"));
 
379
  epson = g_list_append (epson, g_strdup("0808"));
 
380
  epson = g_list_append (epson, g_strdup("080c"));
 
381
  epson = g_list_append (epson, g_strdup("080d"));
 
382
  epson = g_list_append (epson, g_strdup("080e"));
 
383
  epson = g_list_append (epson, g_strdup("080f"));
 
384
  epson = g_list_append (epson, g_strdup("0810"));
 
385
  epson = g_list_append (epson, g_strdup("0811"));
 
386
  epson = g_list_append (epson, g_strdup("0813"));
 
387
  epson = g_list_append (epson, g_strdup("0814"));
 
388
  epson = g_list_append (epson, g_strdup("0815"));
 
389
  epson = g_list_append (epson, g_strdup("0817"));
 
390
  epson = g_list_append (epson, g_strdup("0818"));
 
391
  epson = g_list_append (epson, g_strdup("0819"));
 
392
  epson = g_list_append (epson, g_strdup("081a"));
 
393
  epson = g_list_append (epson, g_strdup("081c"));
 
394
  epson = g_list_append (epson, g_strdup("081d"));
 
395
  epson = g_list_append (epson, g_strdup("081f"));
 
396
  epson = g_list_append (epson, g_strdup("0820"));
 
397
  epson = g_list_append (epson, g_strdup("0827"));
 
398
  epson = g_list_append (epson, g_strdup("0828"));
 
399
  epson = g_list_append (epson, g_strdup("0829"));
 
400
  epson = g_list_append (epson, g_strdup("082a"));
 
401
  epson = g_list_append (epson, g_strdup("082b"));
 
402
  epson = g_list_append (epson, g_strdup("082e"));
 
403
  epson = g_list_append (epson, g_strdup("082f"));
 
404
  epson = g_list_append (epson, g_strdup("0830"));
 
405
  epson = g_list_append (epson, g_strdup("0833"));
 
406
  epson = g_list_append (epson, g_strdup("0834"));
 
407
  epson = g_list_append (epson, g_strdup("0835"));
 
408
  epson = g_list_append (epson, g_strdup("0836"));
 
409
  epson = g_list_append (epson, g_strdup("0837"));
 
410
  epson = g_list_append (epson, g_strdup("0838"));
 
411
  epson = g_list_append (epson, g_strdup("0839"));
 
412
  epson = g_list_append (epson, g_strdup("083a"));
 
413
  epson = g_list_append (epson, g_strdup("083c"));
 
414
  epson = g_list_append (epson, g_strdup("0841"));
 
415
  epson = g_list_append (epson, g_strdup("0843"));
 
416
  epson = g_list_append (epson, g_strdup("0844"));
 
417
  epson = g_list_append (epson, g_strdup("0846"));
 
418
  epson = g_list_append (epson, g_strdup("0847"));
 
419
  epson = g_list_append (epson, g_strdup("0848"));
 
420
  epson = g_list_append (epson, g_strdup("0849"));
 
421
  epson = g_list_append (epson, g_strdup("084a"));
 
422
  epson = g_list_append (epson, g_strdup("084c"));
 
423
  epson = g_list_append (epson, g_strdup("084d"));
 
424
  epson = g_list_append (epson, g_strdup("084f"));
 
425
  epson = g_list_append (epson, g_strdup("0851"));
 
426
  epson = g_list_append (epson, g_strdup("0854"));
 
427
  epson = g_list_append (epson, g_strdup("0856"));
 
428
  g_hash_table_insert (scanners,
 
429
                       g_strdup("04b8"),
 
430
                       epson);
 
431
 
 
432
  GList* fujitsu = NULL;
 
433
  fujitsu = g_list_append (fujitsu, g_strdup ("1029"));
 
434
  fujitsu = g_list_append (fujitsu, g_strdup ("1041"));
 
435
  fujitsu = g_list_append (fujitsu, g_strdup ("1042"));
 
436
  fujitsu = g_list_append (fujitsu, g_strdup ("1078"));
 
437
  fujitsu = g_list_append (fujitsu, g_strdup ("1095"));
 
438
  fujitsu = g_list_append (fujitsu, g_strdup ("1096"));
 
439
  fujitsu = g_list_append (fujitsu, g_strdup ("1097"));
 
440
  fujitsu = g_list_append (fujitsu, g_strdup ("10ad"));
 
441
  fujitsu = g_list_append (fujitsu, g_strdup ("10ae"));
 
442
  fujitsu = g_list_append (fujitsu, g_strdup ("10af"));
 
443
  fujitsu = g_list_append (fujitsu, g_strdup ("10c7"));
 
444
  fujitsu = g_list_append (fujitsu, g_strdup ("10cf"));
 
445
  fujitsu = g_list_append (fujitsu, g_strdup ("10e0"));
 
446
  fujitsu = g_list_append (fujitsu, g_strdup ("10e1"));
 
447
  fujitsu = g_list_append (fujitsu, g_strdup ("10e2"));
 
448
  fujitsu = g_list_append (fujitsu, g_strdup ("10e6"));
 
449
  fujitsu = g_list_append (fujitsu, g_strdup ("10e7"));
 
450
  fujitsu = g_list_append (fujitsu, g_strdup ("10ef"));
 
451
  fujitsu = g_list_append (fujitsu, g_strdup ("10f2"));
 
452
  fujitsu = g_list_append (fujitsu, g_strdup ("10fe"));
 
453
  fujitsu = g_list_append (fujitsu, g_strdup ("1135"));
 
454
  fujitsu = g_list_append (fujitsu, g_strdup ("114a"));
 
455
  fujitsu = g_list_append (fujitsu, g_strdup ("114d"));
 
456
  fujitsu = g_list_append (fujitsu, g_strdup ("114e"));
 
457
  fujitsu = g_list_append (fujitsu, g_strdup ("114f"));
 
458
  fujitsu = g_list_append (fujitsu, g_strdup ("1150"));
 
459
  fujitsu = g_list_append (fujitsu, g_strdup ("1155"));
 
460
  fujitsu = g_list_append (fujitsu, g_strdup ("1156"));
 
461
  fujitsu = g_list_append (fujitsu, g_strdup ("116f"));
 
462
  fujitsu = g_list_append (fujitsu, g_strdup ("1174"));
 
463
  fujitsu = g_list_append (fujitsu, g_strdup ("1175"));
 
464
  fujitsu = g_list_append (fujitsu, g_strdup ("1176"));
 
465
  fujitsu = g_list_append (fujitsu, g_strdup ("1177"));
 
466
  fujitsu = g_list_append (fujitsu, g_strdup ("1178"));
 
467
  fujitsu = g_list_append (fujitsu, g_strdup ("117f"));
 
468
  fujitsu = g_list_append (fujitsu, g_strdup ("119d"));
 
469
  fujitsu = g_list_append (fujitsu, g_strdup ("119e"));
 
470
  fujitsu = g_list_append (fujitsu, g_strdup ("119f"));
 
471
  fujitsu = g_list_append (fujitsu, g_strdup ("11a0"));
 
472
  fujitsu = g_list_append (fujitsu, g_strdup ("11a2"));
 
473
  fujitsu = g_list_append (fujitsu, g_strdup ("11ed"));
 
474
  fujitsu = g_list_append (fujitsu, g_strdup ("11ee"));
 
475
  fujitsu = g_list_append (fujitsu, g_strdup ("11ef"));
 
476
  fujitsu = g_list_append (fujitsu, g_strdup ("11f1"));
 
477
  fujitsu = g_list_append (fujitsu, g_strdup ("11f2"));
 
478
  fujitsu = g_list_append (fujitsu, g_strdup ("11f3"));
 
479
  fujitsu = g_list_append (fujitsu, g_strdup ("11f4"));
 
480
  fujitsu = g_list_append (fujitsu, g_strdup ("11fc"));
 
481
  g_hash_table_insert (scanners,
 
482
                       g_strdup("04c5"),
 
483
                       fujitsu);
 
484
  GList* konica = NULL;
 
485
  konica = g_list_append (konica, g_strdup ("0722"));
 
486
  g_hash_table_insert (scanners,
 
487
                       g_strdup("04c8"),
 
488
                       konica);
 
489
  GList* panasonic = NULL;
 
490
  panasonic = g_list_append (panasonic, g_strdup ("1000"));
 
491
  panasonic = g_list_append (panasonic, g_strdup ("1001"));
 
492
  panasonic = g_list_append (panasonic, g_strdup ("1006"));
 
493
  panasonic = g_list_append (panasonic, g_strdup ("1007"));
 
494
  panasonic = g_list_append (panasonic, g_strdup ("1009"));
 
495
  panasonic = g_list_append (panasonic, g_strdup ("100a"));
 
496
  panasonic = g_list_append (panasonic, g_strdup ("100f"));
 
497
  panasonic = g_list_append (panasonic, g_strdup ("1010"));
 
498
  g_hash_table_insert (scanners,
 
499
                       g_strdup("04da"),
 
500
                       panasonic);
 
501
 
 
502
  GList* samsung = NULL;
 
503
  
 
504
  samsung = g_list_append (samsung, g_strdup ("341b"));
 
505
  samsung = g_list_append (samsung, g_strdup ("341f"));
 
506
  samsung = g_list_append (samsung, g_strdup ("3426"));
 
507
  samsung = g_list_append (samsung, g_strdup ("342a"));
 
508
  samsung = g_list_append (samsung, g_strdup ("342b"));
 
509
  samsung = g_list_append (samsung, g_strdup ("342c"));
 
510
  samsung = g_list_append (samsung, g_strdup ("3433"));
 
511
  samsung = g_list_append (samsung, g_strdup ("3434"));
 
512
  samsung = g_list_append (samsung, g_strdup ("343c"));
 
513
  samsung = g_list_append (samsung, g_strdup ("3434"));
 
514
  g_hash_table_insert (scanners,
 
515
                       g_strdup("04e8"),
 
516
                       samsung);
 
517
  
 
518
  GList* pentax = NULL;
 
519
  pentax = g_list_append (pentax, g_strdup ("2038"));
 
520
  g_hash_table_insert (scanners,
 
521
                       g_strdup("04f9"),
 
522
                       pentax);
 
523
 
 
524
  GList* apitek = NULL;
 
525
  apitek = g_list_append (apitek, g_strdup ("0202"));
 
526
  g_hash_table_insert (scanners,
 
527
                       g_strdup("0553"),
 
528
                       apitek);
 
529
 
 
530
  GList* mustek = NULL;
 
531
  mustek = g_list_append (mustek, g_strdup ("0001"));
 
532
  mustek = g_list_append (mustek, g_strdup ("0002"));
 
533
  mustek = g_list_append (mustek, g_strdup ("0006"));
 
534
  mustek = g_list_append (mustek, g_strdup ("0008"));
 
535
  mustek = g_list_append (mustek, g_strdup ("0010"));
 
536
  mustek = g_list_append (mustek, g_strdup ("0210"));
 
537
  mustek = g_list_append (mustek, g_strdup ("0218"));
 
538
  mustek = g_list_append (mustek, g_strdup ("0219"));
 
539
  mustek = g_list_append (mustek, g_strdup ("021a"));
 
540
  mustek = g_list_append (mustek, g_strdup ("021b"));
 
541
  mustek = g_list_append (mustek, g_strdup ("021c"));
 
542
  mustek = g_list_append (mustek, g_strdup ("021d"));
 
543
  mustek = g_list_append (mustek, g_strdup ("021e"));
 
544
  mustek = g_list_append (mustek, g_strdup ("021f"));
 
545
  mustek = g_list_append (mustek, g_strdup ("0409"));
 
546
  g_hash_table_insert (scanners,
 
547
                       g_strdup("055f"),
 
548
                       mustek);
 
549
  GList* artec = NULL;
 
550
  artec = g_list_append (artec, g_strdup ("4002"));
 
551
  artec = g_list_append (artec, g_strdup ("4003"));
 
552
  artec = g_list_append (artec, g_strdup ("4004"));
 
553
  artec = g_list_append (artec, g_strdup ("4005"));
 
554
  artec = g_list_append (artec, g_strdup ("4006"));
 
555
  artec = g_list_append (artec, g_strdup ("4007"));
 
556
  artec = g_list_append (artec, g_strdup ("4009"));
 
557
  artec = g_list_append (artec, g_strdup ("4010"));
 
558
  artec = g_list_append (artec, g_strdup ("4011"));
 
559
  g_hash_table_insert (scanners,
 
560
                       g_strdup("05d8"),
 
561
                       artec);
 
562
  
 
563
  GList* microtek = NULL;
 
564
  microtek = g_list_append (microtek, g_strdup ("0099"));
 
565
  microtek = g_list_append (microtek, g_strdup ("009a"));
 
566
  microtek = g_list_append (microtek, g_strdup ("00a3"));
 
567
  microtek = g_list_append (microtek, g_strdup ("00b6"));
 
568
  microtek = g_list_append (microtek, g_strdup ("30cf"));
 
569
  microtek = g_list_append (microtek, g_strdup ("30d4"));
 
570
  microtek = g_list_append (microtek, g_strdup ("40b3"));
 
571
  microtek = g_list_append (microtek, g_strdup ("40b8"));
 
572
  microtek = g_list_append (microtek, g_strdup ("40ca"));
 
573
  microtek = g_list_append (microtek, g_strdup ("40cb"));
 
574
  microtek = g_list_append (microtek, g_strdup ("40dd"));
 
575
  microtek = g_list_append (microtek, g_strdup ("40ff"));
 
576
  microtek = g_list_append (microtek, g_strdup ("80a3"));
 
577
  g_hash_table_insert (scanners,
 
578
                       g_strdup("05da"),
 
579
                       microtek);
 
580
  
 
581
  GList* avision = NULL;
 
582
  avision = g_list_append (avision, g_strdup ("0268"));
 
583
  avision = g_list_append (avision, g_strdup ("026a"));
 
584
  avision = g_list_append (avision, g_strdup ("0a13"));
 
585
  avision = g_list_append (avision, g_strdup ("0a15"));
 
586
  avision = g_list_append (avision, g_strdup ("0a16"));
 
587
  avision = g_list_append (avision, g_strdup ("0a18"));
 
588
  avision = g_list_append (avision, g_strdup ("0a19"));
 
589
  avision = g_list_append (avision, g_strdup ("0a23"));
 
590
  avision = g_list_append (avision, g_strdup ("0a24"));
 
591
  avision = g_list_append (avision, g_strdup ("0a25"));
 
592
  avision = g_list_append (avision, g_strdup ("0a27"));
 
593
  avision = g_list_append (avision, g_strdup ("0a2a"));
 
594
  avision = g_list_append (avision, g_strdup ("0a2b"));
 
595
  avision = g_list_append (avision, g_strdup ("0a2c"));
 
596
  avision = g_list_append (avision, g_strdup ("0a2d"));
 
597
  avision = g_list_append (avision, g_strdup ("0a2e"));
 
598
  avision = g_list_append (avision, g_strdup ("0a2f"));
 
599
  avision = g_list_append (avision, g_strdup ("0a33"));
 
600
  avision = g_list_append (avision, g_strdup ("0a3a"));
 
601
  avision = g_list_append (avision, g_strdup ("0a3c"));
 
602
  avision = g_list_append (avision, g_strdup ("0a40"));
 
603
  avision = g_list_append (avision, g_strdup ("0a41"));
 
604
  avision = g_list_append (avision, g_strdup ("0a45"));
 
605
  avision = g_list_append (avision, g_strdup ("0a4d"));
 
606
  avision = g_list_append (avision, g_strdup ("0a4e"));
 
607
  avision = g_list_append (avision, g_strdup ("0a4f"));
 
608
  avision = g_list_append (avision, g_strdup ("0a5e"));
 
609
  avision = g_list_append (avision, g_strdup ("0a61"));
 
610
  avision = g_list_append (avision, g_strdup ("0a65"));
 
611
  avision = g_list_append (avision, g_strdup ("0a66"));
 
612
  avision = g_list_append (avision, g_strdup ("0a68"));
 
613
  avision = g_list_append (avision, g_strdup ("0a82"));
 
614
  avision = g_list_append (avision, g_strdup ("0a84"));
 
615
  avision = g_list_append (avision, g_strdup ("0a93"));
 
616
  avision = g_list_append (avision, g_strdup ("0a94"));
 
617
  avision = g_list_append (avision, g_strdup ("0aa1"));
 
618
  avision = g_list_append (avision, g_strdup ("1a35"));
 
619
  g_hash_table_insert (scanners,
 
620
                       g_strdup("0638"),
 
621
                       avision);
 
622
  GList* minolta = NULL;
 
623
  minolta = g_list_append (minolta, g_strdup ("4004"));
 
624
  minolta = g_list_append (minolta, g_strdup ("400d"));
 
625
  minolta = g_list_append (minolta, g_strdup ("400e"));
 
626
  g_hash_table_insert (scanners,
 
627
                       g_strdup("0686"),
 
628
                       minolta);
 
629
 
 
630
  GList* agfa = NULL;
 
631
  agfa = g_list_append (agfa, g_strdup ("0001"));
 
632
  agfa = g_list_append (agfa, g_strdup ("0002"));
 
633
  agfa = g_list_append (agfa, g_strdup ("0100"));
 
634
  agfa = g_list_append (agfa, g_strdup ("2061"));
 
635
  agfa = g_list_append (agfa, g_strdup ("208d"));
 
636
  agfa = g_list_append (agfa, g_strdup ("208f"));
 
637
  agfa = g_list_append (agfa, g_strdup ("2091"));
 
638
  agfa = g_list_append (agfa, g_strdup ("2093"));
 
639
  agfa = g_list_append (agfa, g_strdup ("2095"));
 
640
  agfa = g_list_append (agfa, g_strdup ("2097"));
 
641
  agfa = g_list_append (agfa, g_strdup ("20fd"));
 
642
  agfa = g_list_append (agfa, g_strdup ("20ff"));
 
643
  g_hash_table_insert (scanners,
 
644
                       g_strdup("06bd"),
 
645
                       minolta);
 
646
  
 
647
  GList* umax_2 = NULL;
 
648
  umax_2 = g_list_append (umax_2, g_strdup ("0020"));
 
649
  g_hash_table_insert (scanners,
 
650
                       g_strdup("06dc"),
 
651
                       umax_2);
 
652
 
 
653
  GList* plustek = NULL;
 
654
  
 
655
  plustek = g_list_append (plustek, g_strdup ("0001"));
 
656
  plustek = g_list_append (plustek, g_strdup ("0010"));
 
657
  plustek = g_list_append (plustek, g_strdup ("0011"));
 
658
  plustek = g_list_append (plustek, g_strdup ("0013"));
 
659
  plustek = g_list_append (plustek, g_strdup ("0015"));
 
660
  plustek = g_list_append (plustek, g_strdup ("0017"));
 
661
  plustek = g_list_append (plustek, g_strdup ("0400"));
 
662
  plustek = g_list_append (plustek, g_strdup ("0401"));
 
663
  plustek = g_list_append (plustek, g_strdup ("0402"));
 
664
  plustek = g_list_append (plustek, g_strdup ("0403"));
 
665
  plustek = g_list_append (plustek, g_strdup ("040b"));
 
666
  plustek = g_list_append (plustek, g_strdup ("040e"));
 
667
  plustek = g_list_append (plustek, g_strdup ("0412"));
 
668
  plustek = g_list_append (plustek, g_strdup ("0413"));
 
669
  plustek = g_list_append (plustek, g_strdup ("0422"));
 
670
  plustek = g_list_append (plustek, g_strdup ("0454"));
 
671
  plustek = g_list_append (plustek, g_strdup ("045f"));
 
672
  plustek = g_list_append (plustek, g_strdup ("0462"));
 
673
  plustek = g_list_append (plustek, g_strdup ("0900"));
 
674
  g_hash_table_insert (scanners,
 
675
                       g_strdup("07b3"),
 
676
                       plustek);
 
677
 
 
678
  GList* corex = NULL;
 
679
  corex = g_list_append (corex, g_strdup ("0002"));
 
680
  corex = g_list_append (corex, g_strdup ("0005"));
 
681
  g_hash_table_insert (scanners,
 
682
                       g_strdup("08f0"),
 
683
                       corex);
 
684
  
 
685
  GList* xerox = NULL;
 
686
  xerox = g_list_append (xerox, g_strdup ("3d5d"));
 
687
  xerox = g_list_append (xerox, g_strdup ("3da4"));
 
688
  xerox = g_list_append (xerox, g_strdup ("420c"));
 
689
  xerox = g_list_append (xerox, g_strdup ("4265"));
 
690
  xerox = g_list_append (xerox, g_strdup ("4293"));
 
691
  xerox = g_list_append (xerox, g_strdup ("4294"));
 
692
  g_hash_table_insert (scanners,
 
693
                       g_strdup("0924"),
 
694
                       xerox);
 
695
  
 
696
  GList* pentax_2 = NULL;
 
697
  pentax_2 = g_list_append (pentax_2, g_strdup ("3210"));
 
698
  g_hash_table_insert (scanners,
 
699
                       g_strdup("0a17"),
 
700
                       pentax_2);
 
701
 
 
702
  GList* portable = NULL;
 
703
  portable = g_list_append (portable, g_strdup ("1000"));
 
704
  g_hash_table_insert (scanners,
 
705
                       g_strdup("0a53"),
 
706
                       portable);
 
707
  
 
708
  GList* syscan = NULL;
 
709
  syscan = g_list_append (syscan, g_strdup ("4600"));
 
710
  syscan = g_list_append (syscan, g_strdup ("4802"));
 
711
  syscan = g_list_append (syscan, g_strdup ("4803"));
 
712
  syscan = g_list_append (syscan, g_strdup ("480c"));
 
713
  syscan = g_list_append (syscan, g_strdup ("4810"));
 
714
  syscan = g_list_append (syscan, g_strdup ("6620"));
 
715
  g_hash_table_insert (scanners,
 
716
                       g_strdup("0a82"),
 
717
                       syscan);
 
718
  
 
719
  GList* canon_2 = NULL;
 
720
  canon_2 = g_list_append (canon_2, g_strdup ("160c"));  
 
721
  canon_2 = g_list_append (canon_2, g_strdup ("160f"));  
 
722
  canon_2 = g_list_append (canon_2, g_strdup ("1614"));  
 
723
  canon_2 = g_list_append (canon_2, g_strdup ("1617"));  
 
724
  canon_2 = g_list_append (canon_2, g_strdup ("1618"));  
 
725
  canon_2 = g_list_append (canon_2, g_strdup ("161a"));  
 
726
  canon_2 = g_list_append (canon_2, g_strdup ("161b"));  
 
727
  canon_2 = g_list_append (canon_2, g_strdup ("161d"));  
 
728
  canon_2 = g_list_append (canon_2, g_strdup ("1620"));  
 
729
  canon_2 = g_list_append (canon_2, g_strdup ("1622"));  
 
730
  canon_2 = g_list_append (canon_2, g_strdup ("1623"));  
 
731
  canon_2 = g_list_append (canon_2, g_strdup ("1624"));  
 
732
  canon_2 = g_list_append (canon_2, g_strdup ("1626"));  
 
733
  canon_2 = g_list_append (canon_2, g_strdup ("162b"));  
 
734
  canon_2 = g_list_append (canon_2, g_strdup ("1638"));  
 
735
  canon_2 = g_list_append (canon_2, g_strdup ("1639"));  
 
736
  g_hash_table_insert (scanners,
 
737
                       g_strdup("1083"),
 
738
                       canon_2);
 
739
  
 
740
  GList* digital = NULL;
 
741
  digital = g_list_append (digital, g_strdup ("0001"));
 
742
  g_hash_table_insert (scanners,
 
743
                       g_strdup("1183"),
 
744
                       digital);
 
745
  
 
746
  GList* konica_2 = NULL;
 
747
  konica_2 = g_list_append (konica_2, g_strdup ("2089"));
 
748
  g_hash_table_insert (scanners,
 
749
                       g_strdup("132b"),
 
750
                       konica_2);
 
751
  
 
752
  GList* umax = NULL;
 
753
  umax = g_list_append (umax, g_strdup ("0010"));
 
754
  umax = g_list_append (umax, g_strdup ("0030"));
 
755
  umax = g_list_append (umax, g_strdup ("0050"));
 
756
  umax = g_list_append (umax, g_strdup ("0060"));
 
757
  umax = g_list_append (umax, g_strdup ("0070"));
 
758
  umax = g_list_append (umax, g_strdup ("0130"));
 
759
  umax = g_list_append (umax, g_strdup ("0160"));
 
760
  umax = g_list_append (umax, g_strdup ("0230"));
 
761
  g_hash_table_insert (scanners,
 
762
                       g_strdup("1606"),
 
763
                       umax);
 
764
 
 
765
  GList* docketport = NULL;
 
766
  docketport = g_list_append (docketport, g_strdup ("4810"));  
 
767
  g_hash_table_insert (scanners,
 
768
                       g_strdup("1dcc"),
 
769
                       docketport);
 
770
 
 
771
  GList* dell = NULL;
 
772
  dell = g_list_append (dell, g_strdup ("5105"));
 
773
  dell = g_list_append (dell, g_strdup ("5124"));
 
774
  dell = g_list_append (dell, g_strdup ("5250"));
 
775
  g_hash_table_insert (scanners,
 
776
                       g_strdup("413c"),
 
777
                       dell);
 
778
}