diff --git a/src/add-ons/kernel/drivers/common/usb_modeswitch.cpp b/src/add-ons/kernel/drivers/common/usb_modeswitch.cpp
index f1e3c85..07cb93b 100644
a
|
b
|
enum msgType {
|
36 | 36 | MSG_HUAWEI_1 = 0, |
37 | 37 | MSG_HUAWEI_2, |
38 | 38 | MSG_HUAWEI_3, |
| 39 | MSG_HUAWEI_4, |
39 | 40 | MSG_NOKIA_1, |
40 | 41 | MSG_OLIVETTI_1, |
41 | 42 | MSG_OLIVETTI_2, |
… |
… |
unsigned char kDevicesMsg[][31] = {
|
67 | 68 | 0x06, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, |
68 | 69 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 |
69 | 70 | }, |
| 71 | { /* MSG_HUAWEI_4 */ |
| 72 | 0x55, 0x53, 0x42, 0x43, 0x12, 0x34, 0x56, 0x78, |
| 73 | 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x0a, 0x11, |
| 74 | 0x06, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, |
| 75 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 |
| 76 | }, |
70 | 77 | { /* MSG_NOKIA_1 */ |
71 | 78 | 0x55, 0x53, 0x42, 0x43, 0x12, 0x34, 0x56, 0x78, |
72 | 79 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x1b, |
… |
… |
unsigned char kDevicesMsg[][31] = {
|
122 | 129 | #define NOKIA_VENDOR 0x0421 |
123 | 130 | #define NOVATEL_VENDOR 0x1410 |
124 | 131 | #define ZYDAS_VENDOR 0x0ace |
125 | | #define ZTE_VENDOR 0x19d2 |
| 132 | #define ZTE_VENDOR 0x19d2 |
126 | 133 | #define OLIVETTI_VENDOR 0x0b3c |
127 | 134 | #define OPTION_VENDOR 0x0af0 |
128 | 135 | #define ATHEROS_VENDOR 0x0cf3 |
… |
… |
static const struct {
|
160 | 167 | {{ 0, 0, 0, HUAWEI_VENDOR, 0x1030}, MSG_HUAWEI_2}, |
161 | 168 | {{ 0, 0, 0, HUAWEI_VENDOR, 0x1031}, MSG_HUAWEI_2}, |
162 | 169 | {{ 0, 0, 0, HUAWEI_VENDOR, 0x1f01}, MSG_HUAWEI_3}, |
| 170 | {{ 0, 0, 0, HUAWEI_VENDOR, 0x1f02}, MSG_HUAWEI_3}, |
| 171 | {{ 0, 0, 0, HUAWEI_VENDOR, 0x1f03}, MSG_HUAWEI_4}, |
163 | 172 | {{ 0, 0, 0, NOKIA_VENDOR, 0x060c}, MSG_NOKIA_1}, |
164 | 173 | {{ 0, 0, 0, NOKIA_VENDOR, 0x0610}, MSG_NOKIA_1}, |
165 | 174 | {{ 0, 0, 0, NOKIA_VENDOR, 0x061d}, MSG_NOKIA_1}, |