• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    module = "usb_pnp_device";
3    usb_pnp_config {
4        match_attr = "usb_pnp_match";
5        usb_pnp_device_id = "UsbPnpDeviceId";
6        UsbPnpDeviceId {
7            idTableList = [
8                "sample_table",
9                "host_acm_table",
10                "host_acm_rawapi_table",
11                "host_ecm_table",
12                "host_acm_test_table"
13            ];
14            sample_table {
15                moduleName = "usb_pnp_sample_driver";
16                serviceName = "usb_pnp_sample_service";
17                deviceMatchAttr = "usb_pnp_sample_matchAttr";
18                length = 19;
19                matchFlag = 0x0000;
20                vendorId = 0xFFF0;
21                productId = 0xFFF0;
22                bcdDeviceLow = 0x0000;
23                bcdDeviceHigh = 0x0000;
24                deviceClass = 0;
25                deviceSubClass = 0;
26                deviceProtocol = 0;
27                interfaceClass = [0];
28                interfaceSubClass = [0];
29                interfaceProtocol = [0];
30                interfaceNumber = [0, 1];
31            }
32            host_acm_table {
33                moduleName = "usbhost_acm";
34                serviceName = "usbhost_acm_pnp_service";
35                deviceMatchAttr = "usbhost_acm_pnp_matchAttr";
36                length = 21;
37                matchFlag = 0x0300;
38                vendorId = 0x12D1;
39                productId = 0x5000;
40                bcdDeviceLow = 0x0000;
41                bcdDeviceHigh = 0x0000;
42                deviceClass = 0;
43                deviceSubClass = 0;
44                deviceProtocol = 0;
45                interfaceClass = [0];
46                interfaceSubClass = [2, 0];
47                interfaceProtocol = [1, 2];
48                interfaceNumber = [2, 3];
49            }
50            host_acm_rawapi_table {
51                moduleName = "usbhost_acm_rawapi";
52                serviceName = "usbhost_acm_rawapi_service";
53                deviceMatchAttr = "usbhost_acm_rawapi_matchAttr";
54                length = 21;
55                matchFlag = 0x0300;
56                vendorId = 0x12D1;
57                productId = 0x5000;
58                bcdDeviceLow = 0x0000;
59                bcdDeviceHigh = 0x0000;
60                deviceClass = 0;
61                deviceSubClass = 0;
62                deviceProtocol = 0;
63                interfaceClass = [0];
64                interfaceSubClass = [2, 0];
65                interfaceProtocol = [1, 2];
66                interfaceNumber = [2, 3];
67            }
68            host_ecm_table {
69                moduleName = "usbhost_ecm";
70                serviceName = "usbhost_ecm_pnp_service";
71                deviceMatchAttr = "usbhost_ecm_pnp_matchAttr";
72                length = 21;
73                matchFlag = 0x0300;
74                vendorId = 0x12D1;
75                productId = 0x5000;
76                bcdDeviceLow = 0x0000;
77                bcdDeviceHigh = 0x0000;
78                deviceClass = 0;
79                deviceSubClass = 0;
80                deviceProtocol = 0;
81                interfaceClass = [0];
82                interfaceSubClass = [6, 0];
83                interfaceProtocol = [0, 6];
84                interfaceNumber = [0, 1];
85            }
86            host_acm_test_table {
87                moduleName = "usbhost_acm";
88                serviceName = "usbhost_acm_pnp_test_service";
89                deviceMatchAttr = "usbhost_acm_pnp_test_matchAttr";
90                length = 18;
91                matchFlag = 0x0000;
92                vendorId = 0x05E3;
93                productId = 0x0749;
94                bcdDeviceLow = 0x0000;
95                bcdDeviceHigh = 0x0000;
96                deviceClass = 0;
97                deviceSubClass = 0;
98                deviceProtocol = 0;
99                interfaceClass = [0];
100                interfaceSubClass = [0];
101                interfaceProtocol = [0];
102                interfaceNumber = [0];
103            }
104        }
105    }
106}
107