|
1 /* |
|
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Resource file for usbman configuration. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME USBM |
|
20 |
|
21 #include <badef.rh> |
|
22 #include <bldvariant.hrh> |
|
23 #include <usbpersonalityids.h> |
|
24 #include <usbman.loc> |
|
25 #include "usbman.rh" |
|
26 #include "usbvariation.rh" |
|
27 |
|
28 |
|
29 RESOURCE BA_RSS_SIGNATURE |
|
30 { |
|
31 signature = 3; |
|
32 } |
|
33 |
|
34 RESOURCE usb_configuration usb_config |
|
35 { |
|
36 } |
|
37 |
|
38 |
|
39 RESOURCE PERSONALITY_ARRAY device_personalities |
|
40 { |
|
41 personalities = |
|
42 { |
|
43 PERSONALITY |
|
44 { |
|
45 bDeviceClass = 0x02; |
|
46 bDeviceSubClass = 0x00; |
|
47 protocol = 0x00; |
|
48 numConfigurations = 0x01; |
|
49 vendorId = per_vendorId; |
|
50 productId = per_productId_PCSuiteMTP; |
|
51 bcdDevice = per_bcdDevice; |
|
52 manufacturer = per_manufacturer; |
|
53 product = per_product; |
|
54 id = KUsbPersonalityIdPCSuiteMTP; |
|
55 class_uids = "102827B3, 101fbf22, 101fbf24, 10281F2A"; |
|
56 description = qtn_usb_mode_ovisuite_mtp; |
|
57 detailedDescription = qtn_usb_mode_msg_ovi_suite; |
|
58 property = 0x00000000; |
|
59 |
|
60 |
|
61 } |
|
62 , |
|
63 PERSONALITY |
|
64 { |
|
65 bDeviceClass = 0x00; |
|
66 bDeviceSubClass = 0x00; |
|
67 protocol = 0x00; |
|
68 numConfigurations = 0x01; |
|
69 vendorId = per_vendorId; |
|
70 productId = per_productId_MassStorage; |
|
71 bcdDevice = per_bcdDevice; |
|
72 manufacturer = per_manufacturer; |
|
73 product = per_product; |
|
74 id = KUsbPersonalityIdMS; |
|
75 class_uids = "10204bbc"; |
|
76 description = qtn_usb_mode_mass_storage; |
|
77 detailedDescription = qtn_usb_mode_msg_mass_storage; |
|
78 property = 0x00000000; |
|
79 |
|
80 |
|
81 } |
|
82 #ifdef __USB_PTP |
|
83 , |
|
84 PERSONALITY |
|
85 { |
|
86 bDeviceClass = 0x00; |
|
87 bDeviceSubClass = 0x00; |
|
88 protocol = 0x00; |
|
89 numConfigurations = 0x01; |
|
90 vendorId = per_vendorId; |
|
91 productId = per_productId_PTP; |
|
92 bcdDevice = per_bcdDevice; |
|
93 manufacturer = per_manufacturer; |
|
94 product = per_product; |
|
95 id = KUsbPersonalityIdPTP; |
|
96 class_uids = "1020df81"; |
|
97 description = qtn_usb_mode_ptp; |
|
98 detailedDescription = qtn_usb_mode_msg_ptp; |
|
99 property = 0x00000000; |
|
100 |
|
101 |
|
102 } |
|
103 #endif // __USB_PTP |
|
104 , |
|
105 PERSONALITY |
|
106 { |
|
107 bDeviceClass = 0xFF; |
|
108 bDeviceSubClass = 0x00; |
|
109 protocol = 0x00; |
|
110 numConfigurations = 0x01; |
|
111 vendorId = per_vendorId; |
|
112 productId = per_productId_MediaTransfer; |
|
113 bcdDevice = per_bcdDevice; |
|
114 manufacturer = per_manufacturer; |
|
115 product = per_product; |
|
116 id = KUsbPersonalityIdMTP; |
|
117 class_uids = "102827B3"; |
|
118 description = qtn_usb_mode_mtp; |
|
119 detailedDescription = qtn_usb_mode_msg_mtp; |
|
120 property = 0x00000000; |
|
121 |
|
122 |
|
123 } |
|
124 , |
|
125 PERSONALITY |
|
126 { |
|
127 bDeviceClass = 0x00; |
|
128 bDeviceSubClass = 0x00; |
|
129 protocol = 0x00; |
|
130 numConfigurations = 0x01; |
|
131 vendorId = per_vendorId; |
|
132 productId = per_productId_ModemInstall; |
|
133 bcdDevice = per_bcdDevice; |
|
134 manufacturer = per_manufacturer; |
|
135 product = per_product; |
|
136 id = KUsbPersonalityIdModemInst; |
|
137 class_uids = "2000FDA9"; |
|
138 description = qtn_usb_mode_quickconnect; |
|
139 detailedDescription = qtn_usb_mode_msg_pam; |
|
140 property = 0x00000000; |
|
141 } |
|
142 , |
|
143 PERSONALITY |
|
144 { |
|
145 bDeviceClass = 0x02; |
|
146 bDeviceSubClass = 0x00; |
|
147 protocol = 0x00; |
|
148 numConfigurations = 0x01; |
|
149 vendorId = per_vendorId; |
|
150 productId = per_productId_RNDIS; |
|
151 bcdDevice = per_bcdDevice; |
|
152 manufacturer = per_manufacturer; |
|
153 product = per_product; |
|
154 id = KUsbPersonalityIdRNDIS; |
|
155 class_uids = "20013d2f"; |
|
156 description = qtn_usb_mode_rndis; |
|
157 detailedDescription = qtn_usb_mode_msg_rndis; |
|
158 property = 0x00000001; |
|
159 } |
|
160 }; |
|
161 } |
|
162 |
|
163 // End o file |