Legacy Plug and Play

The term Legacy Plug and Play,[1] also shortened to PnP,[2] describes a series of specifications and Microsoft Windows features geared towards operating system configuration of devices. 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.

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

As a Windows feature, Plug and Play refers to operating system functionality that supports connectivity, configuration and management with native plug and play devices.[3] 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.[4]

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.[5]

Overview

The Plug and Play standard requires configuration of devices to be handled by system firmware, 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 addresses and interrupt request numbers.

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[6]). Even Yggdrasil Linux advertised itself as "Plug and Play Linux" at least 2 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 reassign those 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".[2]

Specifications

Legacy Plug and Play was defined in Microsoft and Intel specifications, 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,[1] 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[7]
  • Plug and Play ISA Specification[8]
  • Plug and Play Design Specification for IEEE 1394
  • Plug and Play External COM Device Specification[9]
  • Plug and Play Parallel Port Device Specification
  • Plug and Play SCSI Specification
  • Legacy Plug and Play Guidelines

Apart from the Plug and Play BIOS Specification, all standards are still supported by Microsoft.[1] However, support for them as opposed to Advanced Configuration and Power Interface will be removed in a future version of Windows.[10]

Requirements

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

  1. The OS must be compatible with Plug and Play.
  2. The BIOS must support Plug and Play.
  3. 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.

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.

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 lots of 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.

gollark: WHY
gollark: You can just use adblock for the actual website, and alternative YouTube clients like NewPipe for mobile devices.
gollark: Not entirely sure what my *favourite* is, but I like this: https://www.youtube.com/watch?v=KxUHE6u9SDc
gollark: But only with proper safety equipment.
gollark: Oh dear. That explains why it seems to mysteriously go missing all the time.

See also

References

  1. "Final Legacy Plug and Play Paper". Archived from the original on 2016-03-03. Retrieved 2008-10-25.
  2. "The PC Guide - Plug and Play (Legacy)". pcguide.com.
  3. "Plug and Play - Architecture and Driver Support". microsoft.com. Microsoft. Archived from the original on 2004-06-16.
  4. "WDM: Introduction to Windows Driver Model". microsoft.com. Microsoft. Archived from the original on 2004-08-29.
  5. "The PC Guide - Plug and Play". pcguide.com.
  6. "DNA/Dongly Things". douglasadams.com.
  7. Compaq; Phoenix Technologies; Intel (May 5, 1994). Plug and Play BIOS Specification (PDF) (Version 1.0A ed.). Archived from the original (PDF) on April 23, 2016. Retrieved June 11, 2015.
  8. Intel; Microsoft (May 5, 1994). Plug and Play ISA Specification (RTF) (Version 1.0A ed.).
  9. Microsoft; Hayes Microcomputer Products. Plug and Play External COM Device Specification (PDF).
  10. "Removing Support for Industry Standard Architecture (ISA) Bus". microsoft.com. Microsoft. Archived from the original on 2008-04-30.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.