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 RESOURCE BA_RSS_SIGNATURE |
|
29 { |
|
30 signature = 3; |
|
31 } |
|
32 |
|
33 RESOURCE usb_configuration usb_config |
|
34 { |
|
35 } |
|
36 |
|
37 |
|
38 RESOURCE PERSONALITY_ARRAY device_personalities |
|
39 { |
|
40 personalities = |
|
41 { |
|
42 PERSONALITY |
|
43 { |
|
44 bDeviceClass = 0x02; |
|
45 bDeviceSubClass = 0x00; |
|
46 protocol = 0x00; |
|
47 numConfigurations = 0x01; |
|
48 vendorId = per_vendorId; |
|
49 productId = per_productId_PCSuite; |
|
50 bcdDevice = per_bcdDevice; |
|
51 manufacturer = per_manufacturer; |
|
52 product = per_product; |
|
53 id = KUsbPersonalityIdPCSuite; |
|
54 class_uids = "101fbf22, 101fbf24, 10281F2A, 101FB43A"; |
|
55 description = qtn_usb_mode_ovisuite; |
|
56 detailedDescription = qtn_usb_mode_msg_ovi_suite; |
|
57 property = 0x00000000; |
|
58 |
|
59 |
|
60 } |
|
61 , |
|
62 PERSONALITY |
|
63 { |
|
64 bDeviceClass = 0x00; |
|
65 bDeviceSubClass = 0x00; |
|
66 protocol = 0x00; |
|
67 numConfigurations = 0x01; |
|
68 vendorId = per_vendorId; |
|
69 productId = per_productId_MassStorage; |
|
70 bcdDevice = per_bcdDevice; |
|
71 manufacturer = per_manufacturer; |
|
72 product = per_product; |
|
73 id = KUsbPersonalityIdMS; |
|
74 class_uids = "10204bbc"; |
|
75 description = qtn_usb_mode_mass_storage; |
|
76 detailedDescription = qtn_usb_mode_msg_mass_storage; |
|
77 property = 0x00000000; |
|
78 |
|
79 |
|
80 } |
|
81 #ifdef __USB_PTP |
|
82 , |
|
83 PERSONALITY |
|
84 { |
|
85 bDeviceClass = 0x00; |
|
86 bDeviceSubClass = 0x00; |
|
87 protocol = 0x00; |
|
88 numConfigurations = 0x01; |
|
89 vendorId = per_vendorId; |
|
90 productId = per_productId_PTP; |
|
91 bcdDevice = per_bcdDevice; |
|
92 manufacturer = per_manufacturer; |
|
93 product = per_product; |
|
94 id = KUsbPersonalityIdPTP; |
|
95 class_uids = "1020df81"; |
|
96 description = qtn_usb_mode_ptp; |
|
97 detailedDescription = qtn_usb_mode_msg_ptp; |
|
98 property = 0x00000000; |
|
99 |
|
100 |
|
101 } |
|
102 #endif // __USB_PTP |
|
103 , |
|
104 PERSONALITY |
|
105 { |
|
106 bDeviceClass = 0x00; |
|
107 bDeviceSubClass = 0x00; |
|
108 protocol = 0x00; |
|
109 numConfigurations = 0x01; |
|
110 vendorId = per_vendorId; |
|
111 productId = per_productId_ModemInstall; |
|
112 bcdDevice = per_bcdDevice; |
|
113 manufacturer = per_manufacturer; |
|
114 product = per_product; |
|
115 id = KUsbPersonalityIdModemInst; |
|
116 class_uids = "2000FDA9"; |
|
117 description = qtn_usb_mode_quickconnect; |
|
118 detailedDescription = qtn_usb_mode_msg_pam; |
|
119 property = 0x00000000; |
|
120 } |
|
121 , |
|
122 PERSONALITY |
|
123 { |
|
124 bDeviceClass = 0x02; |
|
125 bDeviceSubClass = 0x00; |
|
126 protocol = 0x00; |
|
127 numConfigurations = 0x01; |
|
128 vendorId = per_vendorId; |
|
129 productId = per_productId_RNDIS; |
|
130 bcdDevice = per_bcdDevice; |
|
131 manufacturer = per_manufacturer; |
|
132 product = per_product; |
|
133 id = KUsbPersonalityIdRNDIS; |
|
134 class_uids = "20013d2f"; |
|
135 description = qtn_usb_mode_rndis; |
|
136 detailedDescription = qtn_usb_mode_msg_rndis; |
|
137 property = 0x00000001; |
|
138 } |
|
139 }; |
|
140 } |
|
141 |
|
142 // End of file |
|