-
Notifications
You must be signed in to change notification settings - Fork 0
/
2009-02-09-lgdt3304-8vsb.patch
111 lines (105 loc) · 2.1 KB
/
2009-02-09-lgdt3304-8vsb.patch
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
--- em28xx-new/lgdt3304/lgdt3304.c 2008-11-17 16:29:08.000000000 -0500
+++ mine/lgdt3304/lgdt3304.c 2009-02-09 13:40:50.000000000 -0500
@@ -132,6 +132,7 @@
{
int err = 0;
+#if 0
static __u8 lgdt3304_vsb8_data[] = {
/* 16bit , 8bit */
/* regs , val */
@@ -157,6 +158,41 @@
0x03, 0x14, 0xe1,
0x05, 0x0e, 0x5b,
};
+#endif
+
+ /* tested with kworld atsc 340u */
+ static __u8 lgdt3304_vsb8_data[] = {
+ 0x00, 0x00, 0x03,
+ 0x00, 0x0d, 0x02,
+ 0x00, 0x0e, 0x02,
+ 0x00, 0x12, 0x32,
+ 0x00, 0x13, 0xc4,
+ 0x01, 0x12, 0x17,
+ 0x01, 0x13, 0x15,
+ 0x01, 0x14, 0x18,
+ 0x01, 0x15, 0xff,
+ 0x01, 0x16, 0xbc,
+ 0x02, 0x14, 0x67,
+ 0x04, 0x24, 0x8d,
+ 0x04, 0x27, 0x12,
+ 0x04, 0x28, 0x4f,
+ 0x03, 0x08, 0x80,
+ 0x03, 0x09, 0x00,
+ 0x03, 0x0d, 0x14,
+ 0x03, 0x0e, 0x1c,
+ 0x03, 0x14, 0xe1,
+ /* 0x00, 0x02, 0x9b, */
+ /* 0x00, 0x02, 0x9a, */
+ 0x01, 0x06, 0x4f,
+ 0x01, 0x07, 0x0c,
+ 0x01, 0x08, 0xac,
+ 0x01, 0x09, 0xba,
+ 0x01, 0x26, 0xf9,
+ 0x00, 0x0d, 0x82,
+ 0x05, 0x0e, 0x5b,
+ 0x05, 0x0e, 0x5b,
+
+ };
/* not yet tested .. */
static __u8 lgdt3304_qam64_data[] = {
@@ -199,11 +235,11 @@
};
#endif
- /* tested with KWorld a340 */
+ /* tested with kworld atsc 340u */
static __u8 lgdt3304_qam256_data[] = {
/* 16bit , 8bit */
/* regs , val */
- 0x00, 0x00, 0x01, /* 0x19, */
+ 0x00, 0x00, 0x01,
0x00, 0x12, 0x2a,
0x00, 0x13, 0x80,
0x00, 0x0d, 0x02,
@@ -216,9 +252,6 @@
0x03, 0x0b, 0x9b,
0x03, 0x0d, 0x14,
-#if 0
- 0x05, 0x0e, 0x5b,
-#endif
0x01, 0x06, 0x4a,
0x01, 0x07, 0x3d,
0x01, 0x08, 0x70,
@@ -231,34 +264,6 @@
0x05, 0x0e, 0x5b,
0x05, 0x0e, 0x5b,
-
- 0x00, 0x02, 0x9a,
-
- 0x00, 0x02, 0x9b,
-
- 0x00, 0x00, 0x01,
- 0x00, 0x12, 0x2a,
- 0x00, 0x13, 0x80,
- 0x00, 0x0d, 0x02,
- 0x03, 0x14, 0xe3,
-
- 0x03, 0x0e, 0x1c,
- 0x03, 0x08, 0x66,
- 0x03, 0x09, 0x66,
- 0x03, 0x0a, 0x08,
- 0x03, 0x0b, 0x9b,
-
- 0x03, 0x0d, 0x14,
- 0x01, 0x06, 0x4a,
- 0x01, 0x07, 0x3d,
- 0x01, 0x08, 0x70,
- 0x01, 0x09, 0xa3,
-
- 0x05, 0x04, 0xfd,
-
- 0x00, 0x0d, 0x82,
-
- 0x05, 0x0e, 0x5b,
};
struct lgdt3304_state *state = fe->demodulator_priv;