Microsoft-provided in-box driver (Usbser.sys) for your Communications and CDC Control device.
In Windows 10, the driver has been rewritten by using the Kernel-Mode Driver Framework that improves the overall stability of the driver.
- Improved PnP and power management by the driver (such as, handling surprise removal).
- Added power management features such as USB Selective Suspend.
How to change the COM port for a USB Serial adapter on Windows 7, 8, 8.1, and 10. Right click on the device and click on ‘Properties’. Click on ‘Port Settings’. Then click on ‘Advanced’. Once you’re in ‘Advanced Settings for COM10’ on the bottom you can see the ‘COM Port Number: COM10’. Click on that to change it to the lowest possible number (between 1-4). Then click ‘OK’ on all open Property Windows. Apr 28, 2011 Windows 7 Forums is the largest help and support community, providing friendly help and advice for Microsoft Windows 7 Computers such as Dell, HP, Acer, Asus or a custom build.
In addition, Windows Store applications can now use the APIs provided by the new Windows.Devices.SerialCommunication namespace that allow apps to talk to these devices.Usbser.sys installation
Load the Microsoft-provided in-box driver (Usbser.sys) for your Communications and CDC Control device.
Note If you trying to install a USB device class driver included in Windows, you do not need to download the driver. They are installed automatically. If they are not installed automatically, contact the device manufacturer. For the list of USB device class driver included in Windows, see USB device class drivers included in Windows.
Windows 10
In Windows 10, a new INF, Usbser.inf, has been added to %Systemroot%Inf that loads Usbser.sys as the function device object (FDO) in the device stack. If your device belongs to the Communications and CDC Control device class, Usbser.sys is loaded automatically. The driver is loaded based on a compatible ID match similar to other USB device class drivers included in Windows.
USBClass_02
USBClass_02&SubClass_02
- If you want to load Usbser.sys automatically, set the class code to 02 and subclass code to 02 in the Device Descriptor. For more information, see USB communications device class (or USB CDC) Specification found on the USB DWG website. With this approach, you are not required to distribute INF files for your device because the system uses Usbser.inf.
- If your device specifies class code 02 but a subclass code value other than 02, Usbser.sys does not load automatically. Pnp Manager tries to find a driver. If a suitable driver is not found, the device might not have a driver loaded. In this case, you might have to load your own driver or write an INF that references another in-box driver.
- If your device specifies class and subclass codes to 02, and you want to load another driver instead of Usbser.sys, you have to write an INF that specifies the hardware ID of the device and the driver to install. For examples, look through the INF files included with sample drivers and find devices similar to your device. For information about INF sections, see Overview of INF Files.
Note Microsoft encourages you to use in-box drivers whenever possible. On mobile editions of Windows, such as Windows 10 Mobile, only drivers that are part of the operating system are loaded. Unlike desktop editions, it is not possible to load a driver through an external driver package. With the new in-box INF, Usbser.sys is automatically loaded if a USB-to-serial device is detected on the mobile device.
Windows 8.1 and earlier versions
In Windows 8.1 and earlier versions of the operating system, Usbser.sys is not automatically loaded when a USB-to-serial device is attached to a computer. To load the driver, you need to write an INF that references the modem INF (mdmcpq.inf) and includes [Install] and [Needs] sections. Those sections are required for instantiating the service, copying inbox binaries, and registering a device interface GUID that applications require to find the device and talk to it. That INF specifies 'Usbser' as a lower filter driver in a device stack.
For more information, see this KB article.
Configure selective suspend for Usbser.sys
Starting in Windows 10, Usbser.sys supports USB Selective Suspend. It allows the attached USB-to-serial device to enter a low power state when not in use, while the system remains in the S0 state. When communication with the device resumes, the device can leave the Suspend state and resume Working state. The feature is disabled by default and can be enabled and configured by setting the IdleUsbSelectiveSuspendPolicy entry under this registry key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSB<hardware id><instance id>Device Parameters
To configure power management features of Usbser.sys, you can set IdleUsbSelectiveSuspendPolicy to:
- '0x00000001'Enters selective suspend when idle, that is, when there are no active data transfers to or from the device.
- '0x00000000'Enters selective suspend only when there are no open handles to the device.
That entry can be added in one of two ways:
- Write an INF that references the install INF and add the registry entry in the HW.AddReg section.
- Describe the registry entry in an extended properties OS feature descriptor. Add a custom property section that sets the bPropertyName field to a Unicode string, 'IdleUsbSelectiveSuspendPolicy' and wPropertyNameLength to 62 bytes. Set the bPropertyData field to '0x00000001' or '0x00000000'. The property values are stored as little-endian 32-bit integers.For more information, see Microsoft OS Descriptors.
Develop Windows applications for a USB CDC device
If you install Usbser.sys for the USB CDC device, here are the application programming model options:
- Starting in Windows 10, a Windows store app can send requests to Usbser.sys by using the Windows.Devices.SerialCommunication namespace. It defines Windows Runtime classes that can use to communicate with a USB CDC device through a serial port or some abstraction of a serial port. The classes provide functionality to discover such serial device, read and write data, and control serial-specific properties for flow control, such as setting baud rate, signal states.
- In Windows 8.1 and earlier versions, you can write a Windows desktop application that opens a virtual COM port and communicates with the device. For more information, see:Win32 programming model:.NET framework programming model:
Related topics
- USB device class drivers included in Windows
Here you will find useful tools, utilities and diagnostics software for serial communication, including drivers and user manuals for all our products. |
Recommended reading: |
5 Steps for Selecting the Right USB to Serial adapter |
Free Useful Tools and Diagnostics Software for Serial Communication | |||
AccessPort 1.37 | COM port terminal software for Windows | AccessPort137.zip | 441KB |
Tera Term | Terminal software alternative 1 for Windows | TeraTerm.zip | 7.32MB |
Putty | Terminal software alternative 2 for Windows | Putty.zip | 444KB |
ZTerm | Terminal software for MAC | ZTerm.zip | 678KB |
RS232 Data Logger | RS232 Data Logger | RS232 Data Logger.zip | 780KB |
Portmon | Monitor Serial and parallel ports | Portmon.zip | 190KB |
Hercules | Advanced Multi port (TCP, COM) terminal software | HerculesSetup.zip | 567KB |
Mitty | (Multi-Threaded TTY) is an easy to use high performance RS-232 serial terminal program. | Mitty.zip | 21.9KB |
YAT | Yat (Yet Another Terminal), Serial COM terminal program | YAT.zip | 1.04MB |
Serial COM Player | This software records and plays back serial data from your computer's serial ports | Serial Player.zip | 160KB |
ezTerm | TCP terminal software | Ezterm.zip | 67.50KB |
Serial Null | Simulates RS232 serial ports connected via virtual null-modem | SerialNull.zip | 563KB |
Serial Remap | Remaps all data from one serial port to another | SerialRemap.zip | 375KB |
Serial Trace | Monitors, displays, logs and analyzes all serial port activity | SerialTrace.zip | 566KB |
SAL232 | Serial port analyzer and logger | Sal232.zip | 262KB |
COM Port Stress Test | Generates a serial stream of data with random comm. settings | Comstresstest.zip | 3.34MB |
COM Port Data Emulator | Emulates a COM port or an Ethernet device, that generates a serial stream of data. The program can create a data flow, wrap it to data packets (RS232, TCP/IP or UDP) and send to a port | ComEmulator.zip | 3.43MB |
RealTerm | Advanced Serial terminal capturing, controlling and debugging | RealTerm.zip | 860KB |
Acrylic WiFi | The Most Advanced WLAN Scanner | Acrylic_WiFi_scanner.zip | 4.21MB |
RemSerial | Virtual COM software for Linux (tested with BF430 and XS1000) | remserial.zip | 9.13KB |
Below are drivers and datasheets for most of our products
Serial RS232, RS485 and RS422 | ||||
Part no. | Description | Processor | Files | Size |
XS202 | RS232 to RS422 port-powered | MAX491 / Philips HEF4093 | Datasheet.pdf | 155KB |
XS201A | RS232 to RS485 port-powered | MAX485E / Philips74HCT14 | Datasheet.pdf | 127KB |
XS203 | RS232 to RS485/422 port-powered | Datasheet.pdf | 134KB | |
XS216 | RS232 to RS485/422 Industrial | Datasheet.pdf | 145KB | |
XS503 | RS232 to RS485 / RS422 Ext Pwr, Iso | Datasheet.pdf | 130KB | |
AN232ISO | RS232 Optical Isolator 3-wire | TLP521 / ICL7660 | Datasheet.pdf | 124KB |
XS2112 | RS232 Optical Isolator 8-wire | Datasheet.pdf | 135KB | |
XS202 | RS232 Repeater | MAX491 / Philips HEF4093 | Datasheet.pdf | 155KB |
USB to Serial RS232 | ||||
Part no. | Description | Processor | Files | Size |
ANU232Mi | USB to RS232 Mini | Prolific PL2303 | Drivers / Datasheets.zip | 4.16MB |
XS882 | USB to RS232 - Mini PRO | FTDI FT232BL | Drivers / Datasheets.zip | 4.16MB |
ANU232STD | USB to RS232 Standard | Prolific PL2303 | Drivers / Datasheets.zip | 4.16MB |
XS8801 | USB to RS232 Professional | FTDI FT232BL | Drivers / Datasheets.zip | 11.0MB |
XS880 | USB to RS232 Ultimate | FTDI FT232BL | Drivers / Datasheets.zip | 11.0MB |
Y-106 | USB to 2 x RS232 | MosChip MCS7820 | Drivers / Datasheets.zip | 8.48MB |
UMC-104 | USB to 4 x RS232 | FTDI FT232BL | Drivers / Datasheets.zip | 11.0MB |
USB to Serial RS485 and RS422 | ||||
Part no. | Description | Processor | Files | Size |
US485MIO | USB to RS485 Mini | SilLabs CP2102 | Drivers / Datasheets.zip | 11.5MB |
MWE820A | USB to RS485/422 Mini | SilLabs CP2102 | Drivers / Datasheets.zip | 11.5MB |
XS885 | USB to RS485/422 Mini Indust. | FTDI FT232RL | Drivers / Datasheets.zip | 11.0MB |
XS850 | USB to RS485 / RS422 Standard | Prolific PL2303 | Drivers / Datasheets.zip | 4.16MB |
XS890 | USB to RS485/422 Professional | FTDI FT232BL | Drivers / Datasheets.zip | 11.0MB |
SN-060519 | USB to RS485 Compact Pro | FTDI FT232BL | Drivers / Datasheets.zip | 11.0MB |
U485G | USB to RS422/485 Isolated | FTDI FT232BL | Drivers / Datasheets.zip | 11.0MB |
MWE820B | USB to RS232/485/422 Isolated | SilLabs CP2102 | Drivers / Datasheets.zip | 11.5MB |
Wireless Serial | ||||
Part no. | Description | Processor | Files | Size |
WA-232B | Serial WiFi Adapter | Broadcom BCM4390 | Utilities + Manuals.zip | 7.52MB |
YSC10U | RS232 Wireless RF 1600 FT | SP232 / LPC922F / CC1101 | Drivers + User Manual.zip | 1.46MB |
YSC30L | RS232/485 Wireless RF 9800 FT | SP232 / LPC921F / CC1101 | Drivers + User Manual.zip | 1.24MB |
UCBT232B | Bluetooth to Serial Adapter | CSR BC04 | User manual + Tera Term.zip | 8.56MB |
UCBT232EXA | Bluetooth to Serial Adapter, Industrial | CSR BC04 | User manual + Tera Term.zip | 8.56MB |
BL34 | External Bluetooth Dongle 100ft | Conwise CW6626 | Drivers Win 98, 2000, XP.zip | 157KB |
ES-388 | External Bluetooth Dongle 300ft | Drivers XP, Vista (32/64-bit).zip | 1.09MB | |
Bluesoleil v.2.3 | Bluetooth admin software. 98/2000/XP/2003, 32-bit. Full | Bluesoleil 2.3.zip | 27MB | |
Toshiba BT Stack | Bluetooth admin software. XP, Vista, 7, 8, 32/64-bit. 30 day Trial | Toshiba BT Stack v91001.zip | 77.9MB |
Serial over Ethernet | ||||
Part no. | Description | Processor | Files | Size |
XS1000 | 1 x Serial to Ethernet Server STD | IC+ IP210T | VCOM + Datasheet, all OS.zip | 18.94MB |
BF430 | 1 x Serial to Ethernet Server PRO | RDC R1610-G | Toolbox.zip | 13.7MB |
HL-SE02P-V1 | 2 x Serial to Ethernet Server Dual | ARM7 | VCOM + User Manual | 5.13KB |
![Usb To Serial Port Driver Windows 7 Usb To Serial Port Driver Windows 7](/uploads/1/2/5/8/125837942/674382335.png)
PCI and PC Cards | ||||
Part no. | Description | Processor | Files | Size |
ANPCI232X2 | PCI Serial Card 2 x port | Moschip MSC9865 | Drivers / Datasheets.zip | 3.28MB |
PCIEX2P | PCI Express Serial 2 x port | Moschip MCS9922 | Drivers / Datasheets.zip | 4.78MB |
ANEXPSS1P | Serial ExpressCard 1 x port | Prolific PL2303 | Drivers / Datasheets.zip | 4.16MB |
ANPCM232 | PCMCIA Serial 1 x port | Oxford OXCB950 | Drivers / Datasheets.zip | 1.14MB |