1 /* |
|
2 * Copyright (c) 2005-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: |
|
15 * Resource file for usbman configuration. |
|
16 * |
|
17 */ |
|
18 |
|
19 /** |
|
20 @file |
|
21 */ |
|
22 |
|
23 NAME USBM |
|
24 |
|
25 #include <badef.rh> |
|
26 #include "usbman.rh" |
|
27 |
|
28 #ifdef LANGUAGE_01 // UK English |
|
29 #include "usbman_01.rls" |
|
30 #elif LANGUAGE_02 // French |
|
31 #include "usbman_02.rls" |
|
32 #elif defined LANGUAGE_03 // German |
|
33 #include "usbman_03.rls" |
|
34 #elif defined LANGUAGE_10 // US English |
|
35 #include "usbman_10.rls" |
|
36 #else // default to UK English strings in usbman.rsc |
|
37 #include "usbman_01.rls" |
|
38 #endif |
|
39 |
|
40 RESOURCE BA_RSS_SIGNATURE |
|
41 { |
|
42 signature = 3; |
|
43 } |
|
44 |
|
45 RESOURCE usb_configuration usb_config |
|
46 { |
|
47 } |
|
48 |
|
49 |
|
50 RESOURCE PERSONALITY_ARRAY device_personalities |
|
51 { |
|
52 personalities = |
|
53 { |
|
54 PERSONALITY |
|
55 { |
|
56 bDeviceClass = 02; |
|
57 bDeviceSubClass = 0; |
|
58 protocol = 0; |
|
59 numConfigurations = 1; |
|
60 vendorId = 0x0e22; |
|
61 productId = 0x000b; |
|
62 bcdDevice = 0; |
|
63 manufacturer = per_manufacturer1; |
|
64 product = per_product1; |
|
65 id = 1; |
|
66 class_uids = "101FBF22"; |
|
67 description = per_description1; |
|
68 detailedDescription = per_detailedDescription1; |
|
69 property = 0x00000000; |
|
70 }, |
|
71 PERSONALITY |
|
72 { |
|
73 bDeviceClass = 1; |
|
74 bDeviceSubClass = 2; |
|
75 protocol = 0; |
|
76 numConfigurations = 1; |
|
77 vendorId = 0x0e22; |
|
78 productId = 0x000c; |
|
79 bcdDevice = 2; |
|
80 manufacturer= per_manufacturer2; |
|
81 product = per_product2; |
|
82 id = 2; |
|
83 class_uids = "101fbf24"; |
|
84 description = per_description2; |
|
85 detailedDescription = per_detailedDescription2; |
|
86 property = 0x00000000; |
|
87 }, |
|
88 PERSONALITY |
|
89 { |
|
90 bDeviceClass = 0; |
|
91 bDeviceSubClass = 0; |
|
92 protocol = 0; |
|
93 numConfigurations = 1; |
|
94 vendorId = 0x0e22; |
|
95 productId = 0x1113; |
|
96 bcdDevice = 0; |
|
97 manufacturer = per_manufacturer3; |
|
98 product = per_product3; |
|
99 id = 3; |
|
100 class_uids = "10204bbc"; |
|
101 description = per_description3; |
|
102 detailedDescription = per_detailedDescription3; |
|
103 property = 0x00000000; |
|
104 }, |
|
105 PERSONALITY |
|
106 { |
|
107 bDeviceClass = 0x00; |
|
108 bDeviceSubClass = 0; |
|
109 protocol = 0; |
|
110 numConfigurations = 1; |
|
111 vendorId = 0x0e22; |
|
112 productId = 0x1114; |
|
113 bcdDevice = 0x0100; |
|
114 manufacturer = per_manufacturer4; |
|
115 product = per_product4; |
|
116 id = 4; |
|
117 class_uids = "102827B3"; |
|
118 description = per_description4; |
|
119 detailedDescription = per_detailedDescription4; |
|
120 property = 0x00000000; |
|
121 } |
|
122 |
|
123 // The productId's value of personalities to be implemented in the |
|
124 // future should be > 0x1115, to avoid conflict with IDs used by |
|
125 // other drivers or applications |
|
126 |
|
127 }; |
|
128 } |
|
129 |
|