Studio render of a motherboard seen from a three-quarter angle with three small devices hovering above empty slots, thin copper guide lines showing where each will seat

Topic · 2 min read

How a computer discovers devices

Device discovery turns a physical collection of controllers and accessories into a structured inventory the operating system can use. Names, identifiers, and categories describe different aspects of that inventory.

The bigger picture

Discovery usually begins with a bus reporting that a device exists. The information might come from firmware tables, a USB descriptor, or a PCI configuration space. Windows uses these reports to create device nodes and determine which installation instructions are relevant. Several nodes can represent one enclosure because each function has its own relationship with the system.

The visible name is meant to help people navigate the inventory; it is not the matching rule itself. Hardware identifiers can be precise, compatible identifiers can describe a broader class, and an instance identifier distinguishes one enumerated occurrence. Understanding these levels is more useful than treating every unfamiliar label as an error. Read the pages below before comparing two devices that happen to have similar names.

Reading map: How a computer discovers devicesFirst 1 topics in reading order: The bigger picture. Each topic links to its section or page.INSIDE THIS PAGEHow a computer discovers devices1The bigger picture2 paragraphs

Computer & System

Note these before you change anything

Useful facts to have to hand while reading about how a computer discovers devices.

  • Motherboard or computer model and firmware version
  • Chipset driver package version
  • Any firmware settings changed from defaults
  • Unknown devices listed in Device Manager

Computer & System: One selected path: a device on a chipset bus

  1. Operating systemmanages devices
  2. Chipset driversidentify buses and power features
  3. ChipsetPCIe, USB and SATA links
  4. Firmware (UEFI)initialises hardware at start-up
  5. Attached deviceson those links
Conceptual schematic of a selected path, not every request. Shown in one direction; the reverse direction uses related layers. Real systems add services, filter drivers and firmware not shown. Highlighted: the layer a driver change affects.

Pages in How a computer discovers devices