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

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…

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

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

0

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…

0

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…

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

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…

0

Test an unsigned driver

The recommendation is test-sign your driver…Installing an Unsigned Driver during Development and Testhttp://msdn.microsoft.com/en-us/library/aa906338.aspxBy default, 64-bit versions of Windows Vista and later versions of Windows will  load a kernel-mode driver only if the kernel can verify the driver signature.  However, this default behavior can be disabled to facilitate early driver  development and non-automated testing. Developers can…

0