none
Locationinformation in Vista differs from XP

    Question

  • Dear Sir
    I build 2 drivers, one for XP, the other for Vista32.

    Then I plugged our product in computer and installed XP driver on that computer, which is installed for Windows XP 

    And I do some process on another computer, which is installed for Windows Vista, using Vista32 driver.

    Then I check the Registry repectively.

    On Vista 
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb\5&2503f9c5&0&8]
    Name                                      Data
    Capabilitie                          0x00000084(132)
    Class                                   USB
    ClassGUID                          {36FC9E60-C465-11CF-8056-444553540000}
    DeviceDesc                        @usb.inf,%usb\composite.devicedesc%USB Composit Device
    Driver                                {36FC9E60-C465-11CF-8056-444553540000}\0018
    HardwareID                            USB\VID_aaaa&PID_bbbb&REV_0000USB\VID_aaaa&PID_bbbb
    Locationinformation                 Port_#0008,Hub_#0005
    Mfg                                      @usb.inf,%generic.mfg%;(Standard USB Host Controller)
    ParentIdPrefix                           6&38d0c13b&0
    Service                                    usbccgp

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb&MI_00\6&38d0c13b&0&0000]
    Name                                                          Data
    Capabilitie                                              0x00000080(128)
    Class                                                           Ports
    ClassGUID                                 {4D36E978-E325-11CE-BFC1-08002BE10318}
    DeviceDesc                                          @oem1.inf,%usb\qcomdevicebbbb%,AT port
    Driver                                                       {4D36E978-E325-11CE-BFC1-08002BE10318}\0007
    HardwareID                                 USB\VID_aaaa&PID_bbbb&REV_0000&MI_00 USB\VID_aaaa&PID_bbbb&MI_00
    Locationinformation                                  0000.001d.0007.008.000.000.000.000.000
    Mfg                                                    @oem1.inf,%qXXXXXX%;XXX Corporation
    Service                                                          qcusbser

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb&MI_01\6&38d0c13b&0&0001]
    Name                                                         Data
    Capabilitie                                          0x00000080(128)
    Class                                             Ports
    ClassGUID                            {4D36E978-E325-11CE-BFC1-08002BE10318}
    DeviceDesc                      @oem1.inf,%usb\qcomdevicebbbb1%,OBEX port
    Driver                                 {4D36E978-E325-11CE-BFC1-08002BE10318}\0008
    HardwareID                      USB\VID_aaaa&PID_bbbb&REV_0000&MI_01 USB\VID_aaaa&PID_bbbb&MI_01
    Locationinformation                                    0000.001d.0007.008.000.000.000.000.000
    Mfg                                @oem1.inf,%qXXXX%;XXX Corporation
    Service                                                          qcusbser

    ==================================================================================================
    Then I check the Registry

    On XP
      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb\5&199183a1&0&3]
    Name                                   Data
    Capabilitie                             0x00000084(132)
    Class                                    USB
    ClassGUID                          {36FC9E60-C465-11CF-8056-444553540000}
    DeviceDesc                                    USB Composit Device
    Driver                                {36FC9E60-C465-11CF-8056-444553540000}\0018
    HardwareID                    USB\VID_aaaa&PID_bbbb&REV_0000USB\VID_aaaa&PID_bbbb
    Locationinformation                        CDMA Technologies MSM
    Mfg                                           (Standard USB Host Controller)
    ParentIdPrefix                                     6&30bb1e5f&0
    Service                                                    usbccgp

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb&MI_00\6&30bb1e5f &0&0000]
    Name                                                  Data
    Capabilitie                                  0x00000080(128)
    Class                                                  Ports
    ClassGUID                         {4D36E978-E325-11CE-BFC1-08002BE10318}
    DeviceDesc                                                    AT port
    Driver                          {4D36E978-E325-11CE-BFC1-08002BE10318}\0000
    HardwareID                              USB\VID_aaaa&PID_bbbb&REV_0000&MI_00 USB\VID_aaaa&PID_bbbb&MI_00
    Locationinformation                             CDMA Technologies MSM
    Mfg                                            XXX Corporation
    Service                                                      qcusbser

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb&MI_01\6&30bb1e5f &0&0001]
    Name                                                Data
    Capabilitie                                        0x00000080(128)
    Class                                                   Ports
    ClassGUID                            {4D36E978-E325-11CE-BFC1-08002BE10318}
    DeviceDesc                             OBEX port
    Driver                                     {4D36E978-E325-11CE-BFC1-08002BE10318}\0001
    HardwareID                              USB\VID_aaaa&PID_bbbb&REV_0000&MI_01 USB\VID_aaaa&PID_bbbb&MI_01
    Locationinformation                  CDMA Technologies MSM
    Mfg                                           XXX Corporation
    Service                                                   qcusbser
    ===========================================================================================

    I’d like to appreciate your help if you can answer my questions as following:
    1. On Vista  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb\5&2503f9c5&0&8]     
    Locationinformation Port_#0008,Hub_#0005
    1.1 What is the Port mean?
    1.2 What is the Hub mean?
    1.3 Where does the value Port_#0008,Hub_#0005 get from?

    2. On XP [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb\5&199183a1&0&3]
    Locationinformation                 CDMA Technologies MSM
    2.1 Where does the value  CDMA Technologies MSM get from?
    2.2 Why does the value of Locationinformation differ from Vista’s value of Locationinformation as below:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb\5&2503f9c5&0&8]     
    Locationinformation Port_#0008,Hub_#0005

    3. On Vista
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb&MI_00\6&38d0c13b&0&0000]
    Locationinformation 0000.001d.0007.008.000.000.000.000.000
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb&MI_01\6&38d0c13b&0&0001]
    Locationinformation 0000.001d.0007.008.000.000.000.000.000

    3.1 Why the value of Locationinformation are the same? BUT differ from composite device’s value of Locationinformation as below:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_aaaa&PID_bbbb\5&2503f9c5&0&8]     
    Locationinformation Port_#0008,Hub_#0005
    3.2What does the value of Locationinformation 0000.001d.0007.008.000.000.000.000.000 mean?
    3.3 Where does the value of Locationinformation 0000.001d.0007.008.000.000.000.000.000 get from?

    Would you please give more detains about these issue to me? The case is extremely important for me.

    Thursday, January 28, 2010 1:05 AM

Answers

All replies