1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
--- a/libfprint/drivers/egis0570.h
+++ b/libfprint/drivers/egis0570.h
@@ -57,25 +52,26 @@
-static unsigned char init_pkts[][EGIS0570_PKTSIZE] =
-{
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x20, 0x3f },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x58, 0x3f },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x21, 0x09 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x57, 0x09 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x22, 0x03 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x56, 0x03 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x23, 0x01 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x55, 0x01 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x24, 0x01 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x54, 0x01 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x16, 0x3e },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x09, 0x0b },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x14, 0x03 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x15, 0x00 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x02, 0x0f },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x10, 0x00 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x11, 0x38 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x12, 0x00 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x13, 0x71 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x03, 0x80 },
- { 0x45, 0x47, 0x49, 0x53, 0x00, 0x02, 0x80 },
- { 0x45, 0x47, 0x49, 0x53, 0x01, 0x02, 0x2f },
- { 0x45, 0x47, 0x49, 0x53, 0x06, 0x00, 0xfe } /* image returned after this packet */
+static unsigned char init_pkts[][EGIS0570_PKTSIZE] = {
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x10, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x11, 0x38},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x12, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x13, 0x71},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x20, 0x3f},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x58, 0x3f},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x21, 0x07},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x57, 0x07},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x22, 0x02},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x56, 0x02},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x23, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x55, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x24, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x54, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x25, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x53, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x15, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x16, 0x3b},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x09, 0x0a},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x14, 0x00},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x02, 0x0f},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x03, 0x80},
+ {0x45, 0x47, 0x49, 0x53, 0x00, 0x02, 0x80},
+ {0x45, 0x47, 0x49, 0x53, 0x01, 0x02, 0x2f},
+ {0x45, 0x47, 0x49, 0x53, 0x06, 0x00, 0xfe}
};
@@ -170 +131 @@
-#define EGIS0570_BZ3_THRESHOLD 25 /* and even less What a joke */
+#define EGIS0570_BZ3_THRESHOLD 10 /* and even less What a joke */
|