SourceQuest

bringing hardware & software together

Windows 7 & Vista Support

Windows7/Vista and SourceUSB

All SourceUSB product features are supported under Windows Vista x86 since the 2.1 release. Starting with the 3.0 release, Windows Vista x64 is also supported. Beginning with the 3.2 release, Windows 7 - x86 and x64 support was added. Miniport-Usbport logging is currently only available on Windows 7/x86, Vista/x86, XP/x86, and Server 2003/x86 platforms.

USB Features in Windows Vista

Getting SourceUSB to support Windows Vista required considerable development for our analyzer driver. As our driver's logging capabilities have been enhanced to cover lower level interfaces, our driver has also become more sensitive to differences between Windows platforms. This increases test time and adds complexity.

Some of the Vista features which SourceUSB supports include:

  • 3 new URBs:

    URB_FUNCTION_SET_PIPE_IO_POLICY
    URB_FUNCTION_GET_PIPE_IO_POLICY
    URB_FUNCTION_CONTROL_TRANSFER_EX
    (Amongst these, URB_FUNCTION_CONTROL_TRANSFER_EX
    will become a common sight in most traces.)

  • 8 new USB Internal Ioctls:

    IOCTL_INTERNAL_USB_RECORD_FAILURE
    IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE_EX
    IOCTL_INTERNAL_USB_GET_TT_DEVICE_HANDLE
    IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS
    IOCTL_INTERNAL_USB_NOTIFY_IDLE_READY
    IOCTL_INTERNAL_USB_REQ_GLOBAL_SUSPEND
    IOCTL_INTERNAL_USB_REQ_GLOBAL_RESUME
    IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO

  • 2 new Hub Ioctls:

    IOCTL_USB_RESET_HUB
    IOCTL_USB_GET_HUB_CAPABILITIES

  • 15 new Hub-Bus Interface functions (Version 6):

    CreateUsbDeviceEx
    InitializeUsbDeviceEx
    HubIsRoot
    AcquireBusSemaphore
    ReleaseBusSemaphore
    CalculatePipeBandwidth
    SetBusSytemWakeMode
    SetDeviceFlag
    HubTestPoint
    GetDevicePerformanceInfo
    WaitAsyncPowerUp
    GetDeviceAddress
    RefDeviceHandle
    DerefDeviceHandle
    SetDeviceHandleIdleReadyState

  • Support for Miniport-Usbport Interface logging (77 functions).
  • 11 new Miniport-Usbport Interface functions:

    ReleasePortControl
    ReadConfigFlag
    SetWakeOnConnect
    InterruptDpcEx
    NotifyTransferQueueState
    CheckHwSync
    USBPORTSVC_RequestAsyncCallbackEx
    USBPORTSVC_CancelAsyncCallback
    DbgFreeEndpoint
    HaltController
    Get32BitMicroFrameNumber

New USB Features in Windows 7

Some of the Win7 features which SourceUSB supports include:

  • 5 new Hub-Bus Interface functions (Version 7):

    CreateUsbDeviceV7
    GetContainerIdForPort
    SetContainerIdForPort
    AbortAllDevicePipes
    SetDeviceErrataFlag

  • 2 new Miniport-Usbport Interface functions:

    GetHcCapabilities
    USBPORTSVC_EtwWrite