MaximumTransferSize is obsolete after Win2000

MaximumTransferSize member of the USBD_PIPE_INFORMATION structure is obsolete after Win2000. Systems after win2000 don’t care about this value anyway.The USB stack ignores the value in MaximumTransferSize for both composite and non-composite devices, this values will be set to the default.The default values of MaximumTransferSize under Vista are listed below. 1.     http://msdn.microsoft.com/en-us/library/ms790486.aspx2.       http://msdn.microsoft.com/en-us/library/ms793357.aspx

0

"CTS" is not supported by USBSer.sys?

The usbser.sys assumes that the device has always signaled CTS.The RTS/CTS hardware handshaking is not implemented in usbser.sys.

0

Test Unit Ready (TUR)

The SCSI Test Unit Ready command is used to determine if a device is  ready to transfer data (read/write). The device will then return either good status or a check  condition SCSI communication takes place between an initiator and a target. The initiator sends a  command to the target  which then responds. SCSI commands are…

0

Composite USB device

Composite USB device   A device that contains more than one interface descriptor is known as a composite USB device. Each interface in a composite USB device is numbered.   http://msdn.microsoft.com/en-us/library/ms794302.aspx USB Device Stack for Windows XP and Later   The PCI bus driver enumerates the USB host controllers in the system and creates a…

0

USB Device ENUMERATION PROCESS

( Copy From Microchip AN1003) The following summarizes the steps involved in theenumeration of a USB device and explains how thedevice goes from Powered to Default, Address and theConfigured state during the enumeration process. 1. User plugs a USB device into a USB port. The hub provides power to the port and the device isin…

0

USB Port busy, or not?

How to detect USB Port status connected with a USB Flash drive? (working or idle). It seems no APIs or interfaces to get the status of a USB Port (working or idle). As workarounds, it may work to force reflush cache by unmounting and re-mounting volume or remove and rescan usb key device. 1. Flush…

0

USB Event Tracking (ETW log in USB Core Stack)

Background:=========Event Tracing for Windows (ETW) In Windows 7, ETW provides an event logging mechanism that the USB driver stack can exploit to aid in investigating, diagnosing, and debugging USB-related issues. USB Core StackThe USB host controller driver layer includes the host controller port driver (usbport.sys) and the miniport drivers (usbehci.sys, usbohci.sys, and usbuhci.sys). The USB…

0

Removal Policy for a Device

http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/Designing%20Hardware%20for%20Surprise%20Removal_v8.doc http://msdn.microsoft.com/en-us/library/ff551967(VS.85).aspx Removal Scenarios for Devices1.Orderly-Removal Scenarios2.Surprise-Removal Scenarios Removal-related device capabilities that are relevant to this include SurpriseRemovalOK and Removable.1.Removable. This capability is set by the bus driver for the bus on which a given device is installed.2.SurpriseRemovalOK. This capability is set by the driver for the device. It specifies whether the device can be…

0