usbengines/usbwatcher/src/usbman_pcsmtp.rss
branchRCL_3
changeset 24 e02eb84a14d2
parent 0 1e05558e2206
equal deleted inserted replaced
23:25fce757be94 24:e02eb84a14d2
       
     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 
       
    30 RESOURCE BA_RSS_SIGNATURE
       
    31     {
       
    32     signature = 3;
       
    33     }
       
    34 
       
    35 RESOURCE usb_configuration usb_config
       
    36     {
       
    37     }
       
    38     
       
    39         
       
    40 RESOURCE PERSONALITY_ARRAY device_personalities
       
    41     {
       
    42     personalities = 
       
    43         {
       
    44         PERSONALITY
       
    45             {
       
    46             bDeviceClass = 0x02;
       
    47             bDeviceSubClass = 0x00;
       
    48             protocol = 0x00;
       
    49             numConfigurations = 0x01;
       
    50             vendorId = per_vendorId;
       
    51             productId = per_productId_PCSuiteMTP;
       
    52             bcdDevice = per_bcdDevice;
       
    53             manufacturer = per_manufacturer;
       
    54             product = per_product;
       
    55             id = KUsbPersonalityIdPCSuiteMTP;
       
    56             class_uids = "102827B3, 101fbf22, 101fbf24, 10281F2A";
       
    57             description = qtn_usb_mode_ovisuite_mtp;
       
    58             detailedDescription = qtn_usb_mode_msg_ovi_suite;
       
    59             property = 0x00000000;
       
    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         PERSONALITY
       
    81             {
       
    82             bDeviceClass = 0x00;
       
    83             bDeviceSubClass = 0x00;
       
    84             protocol = 0x00;
       
    85             numConfigurations = 0x01;
       
    86             vendorId = per_vendorId;
       
    87             productId = per_productId_MediaTransfer;  
       
    88             bcdDevice = per_bcdDevice;
       
    89             manufacturer = per_manufacturer;
       
    90             product = per_product;
       
    91             id = KUsbPersonalityIdMTP;
       
    92             class_uids = "102827B3";
       
    93             description = qtn_usb_mode_mtp;
       
    94             detailedDescription = qtn_usb_mode_msg_mtp;
       
    95             property = 0x00000000;
       
    96             }
       
    97 		,
       
    98         PERSONALITY
       
    99             {
       
   100             bDeviceClass = 0x02;
       
   101             bDeviceSubClass = 0x00;
       
   102             protocol = 0x00;
       
   103             numConfigurations = 0x01;
       
   104             vendorId = per_vendorId;
       
   105             productId = per_productId_RNDIS;
       
   106             bcdDevice = per_bcdDevice;
       
   107             manufacturer = per_manufacturer;
       
   108             product = per_product;
       
   109             id = KUsbPersonalityIdRNDIS;
       
   110             class_uids = "20013d2f";
       
   111             description = qtn_usb_mode_rndis;
       
   112             detailedDescription = qtn_usb_mode_msg_rndis;
       
   113             property = 0x00000001;
       
   114             }
       
   115         };
       
   116     }
       
   117             
       
   118 // End o file