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


Layered Driver Architecture

http://msdn.microsoft.com/en-us/library/ms791644.aspx Layered Driver ArchitectureWindows operating systems support a layered driver architecture. Every device is serviced by a chain of drivers, typically called a driver stack. Each driver in the stack isolates some hardware-dependent features from the drivers above it.The following figure shows the types of drivers that could potentially be in a driver stack for…


"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.


Get installed hotfixes in Windows

Here is a command: wmic qfe list full On XP, go to the registry directly: Instances of this class represent updates found in two places in the registry:   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows  NT\    CurrentVersion\Hotfix HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates On Vista+, the registry doesn’t exist any more. Try the WMI Class: Win32_QuickFixEngineering Class http://msdn.microsoft.com/en-us/library/aa394391(VS.85).aspx


To ignore a device’s serial number

http://www.lvr.com/usbfaq.htm During device testing, we attach many devices that are identical except for the serial numbers. How can I prevent Windows from asking to install a new driver every time a device is attached? This method causes Windows 2000 and XP to ignore a device’s serial number. It’s recommended for test environments only. This registry…

3

Run program as Local System Account

To delete registry keys under Vista+… This article  which demonstrates the use of PSTools from SysInternals which was acquired by Microsoft  in July, 2006. I launched the command line and issued the following statement  and suddenly I was running under the Local System Account like magic: psexec -i -s cmd.exe PSTools worked great.   Running…


How to remove phantom/ghost devices

What is phantom devices Hidden, inactive deives, ghost devices. When a device is physically removed from a machine, the driver becomes a phantom and is no longer visible in Device Manager. Normally this is desirable, but can be a problem if you wish to remove the device driver. How to identify and remove phantom devices…


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…


Overview of Signing and Install Process

    I think “PIC” actually means “SPC”. http://msdn.microsoft.com/en-us/library/aa906274.aspxKernel-Mode Code Signing Requirements for Public Release of a DriverWindows Vista 64-bit VersionsThe kernel-mode code signing policy requires that a kernel-mode driver be signed as follows:?    A kernel-mode boot-start driver must have an embedded Software Publisher Certificate (SPC) signature. This applies to any type of PnP or…