ArticleslgStudy

computer science

Legacy Plug and Play

Legacy Plug and Play is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Legacy Plug and Play rather than just read about it. In short: The term Legacy Plug and Play, also shortened to Legacy PnP, describes a series of specifications and Microsoft Windows features geared towards operating system configuration of devices, and some device IDs are assigned by UEFI Forum. The standards were primarily aimed at the IBM PC standard bus, later dubbed Industry Standard Architecture (ISA).

Legacy Plug and Play — main illustration
Legacy Plug and Play — illustration

Key takeaways

  • Legacy Plug and Play belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Legacy Plug and Play to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Legacy Plug and Play from memory before moving on to harder problems.

Reference excerpt

The term Legacy Plug and Play, also shortened to Legacy PnP, describes a series of specifications and Microsoft Windows features geared towards operating system configuration of devices, and some device IDs are assigned by UEFI Forum. The standards were primarily aimed at the IBM PC standard bus, later dubbed Industry Standard Architecture (ISA). Related specifications are also defined for the common external or specialist buses commonly attached via ISA at the time of development, including RS-232 and parallel port devices. As a Windows feature, Plug and Play refers to operating system functionality that supports connectivity, configuration and management with native plug and play devices. Originally considered part of the same feature set as the specifications, Plug and Play in this context refers primarily to the responsibilities and interfaces associated with Windows driver development. Plug and Play allows for detection of devices without user intervention, and occasionally for minor configuration of device resources, such as I/O ports and device memory maps. PnP is a specific set of standards, not be confused with the generic term plug and play, which describes any hardware specification that alleviates the need for user configuration of device resources. ACPI is the successor to Legacy Plug and Play.

Overview The Plug and Play standard requires configuration of devices to be handled by the PnP BIOS, which then provides details of resources allocations to the operating system. The process is invoked at boot time. When the computer is first turned on, compatible devices are identified and assigned non-conflicting IO addresses, interrupt request numbers and DMA channels. The term was adopted by Microsoft in reference to their Windows 95 product. Other operating systems, such as AmigaOS Autoconfig and the Mac OS NuBus system, had already supported such features for some time (under various names, or no name). Even Yggdrasil Linux advertised itself as "Plug and Play Linux" at least two years before Windows 95. But the term plug and play gradually became universal due to worldwide acceptance of Windows. Typically, non-PnP devices need to be identified in the computer's BIOS setup so that the PnP system will not assign other devices the resources in use by the non-PnP devices. Problems in the interactions between legacy non-PnP devices and the PnP system can cause it to fail, leading to this technology having historically been referred to as "plug and pray".

Specifications Legacy Plug and Play Specification was defined by Microsoft and Intel, which proposed changes to legacy hardware, as well as the BIOS to support operating system-bound discovery of devices. These roles were later assumed by the ACPI standard, which also moves support for power management and configuration into the operating system, as opposed to the firmware as previously required by the "Plug and Play BIOS" and APM specifications. The following standards compose what Microsoft describe as Legacy Plug and Play, as opposed to native Plug-and-Play specifications such as PCI and USB.

Plug and Play BIOS Specification Plug and Play ISA Specification Plug and Play Design Specification for IEEE 1394 Plug and Play External COM Device Specification Plug and Play Parallel Port Device Specification Plug and Play ATA Specification Plug and Play SCSI Specification Legacy Plug and Play Guidelines Windows Vista requires an ACPI-compliant BIOS, and the ISAPnP is disabled by default.

Requirements To use Plug and Play, three requirements have to be met:

The OS must be compatible with Plug and Play. The BIOS must support Plug and Play. The device to be installed must be a Plug and Play compliant device.

Hardware identification Plug-and-play hardware typically also requires some sort of ID code that it can supply, in order for the computer software to correctly identify it. The Plug-and-play ID can have two form: 3-byte manufacturer ID plus 2-byte hex number (e.g. PNP0A08), or 4-byte manufacturer ID plus 2-byte hex number (e.g. MSFT0101). In addition, a PnP device may have Class Code and Subsystem ID. This ID code system was not integrated into the early Industry Standard Architecture (ISA) hardware common in PCs when Plug and Play was first introduced. ISA Plug and Play caused some of the greatest difficulties that made PnP initially very unreliable. This led to the derisive term "Plug and Pray", since I/O addresses and IRQ lines were often set incorrectly in the early days. Later computer buses like MCA, EISA and PCI (which was becoming the industry standard at that time) integrated this functionality, and make Plug and Play more reliable. Finally, the operating system of the computer needs to be able to handle these changes. Typically, this means looking for interrupts from the bus saying that the configuration has changed, and then reading the information from the bus to locate what happened. Older bus designs often required the entire system to be read in order to locate these changes, which can be time-consuming for many devices. More modern designs use some sort of system to either reduce or eliminate this "hunt"; for example, USB uses a hub system for this purpose. When the change is located, the OS then examines the information in the device to figure out what it is. It then has to load up the appropriate device drivers in order to make it work. In the past, this was an all-or-nothing affair, but modern operating systems often include the ability to find the proper driver on the Internet and install it automatically.

See also User friendliness Extended System Configuration Data (ESCD) Universal Plug and Play (UPnP) Low Pin Count (LPC)

References

External links UEFI Forum PNP ID and ACPI ID Registry Microsoft Plug and Play Specifications and Papers https://web.archive.org/web/20040615191235/http://www.microsoft.com/whdc/system/pnppwr/pnp/pnpid.mspx (P&P ID) https://web.archive.org/web/20041019180414/http://www.microsoft.com/whdc/archive/idpnp.mspx https://web.archive.org/web/20050107175505/http://www.microsoft.com/whdc/archive/pnpbiosp.mspx

Illustrations

Legacy Plug and Play: The sound card Sound Blaster AWE32 PNP CT3990 had a Plug-and-Play ISA Bus interface chip (large square chip, mid of bottom row).
The sound card Sound Blaster AWE32 PNP CT3990 had a Plug-and-Play ISA Bus interface chip (large square chip, mid of bottom row).

Worked examples

Example 1 — a first encounter with Legacy Plug and Play

Start with the simplest possible case. Write down what Legacy Plug and Play claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Legacy Plug and Play before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Legacy Plug and Play ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Legacy Plug and Play

In research
Legacy Plug and Play appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Legacy Plug and Play in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Legacy Plug and Play is common in secondary-school and first-year university syllabi. It links to neighbouring topics BIOS, Computer peripherals, IBM PC compatibles, so understanding it makes those chapters shorter.
In everyday life
Look for Legacy Plug and Play outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Legacy Plug and Play” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Legacy Plug and Play in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Legacy Plug and Play means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Legacy Plug and Play out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Legacy Plug and Play in simple terms?

The term Legacy Plug and Play, also shortened to Legacy PnP, describes a series of specifications and Microsoft Windows features geared towards operating system configuration of devices, and some device IDs are assigned by UEFI Forum. The standards were primarily aimed at the IBM PC standard bus, l…

Why does Legacy Plug and Play matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Legacy Plug and Play?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Legacy Plug and Play.

Tags

  • BIOS
  • Computer peripherals
  • IBM PC compatibles
  • Motherboard

Keep exploring