Plug and play

In computing, a plug and play (PnP) device or computer bus is one with a specification that facilitates the recognition of a hardware component in a system without the need for physical device configuration or user intervention in resolving resource conflicts.[1][2] The term "plug and play" has since been expanded to a wide variety of applications to which the same lack of user setup applies.[3][4]

Expansion devices are controlled and exchange data with the host system through defined memory or I/O space port addresses, direct memory access channels, interrupt request lines and other mechanisms, which must be uniquely associated with a particular device to operate. Some computers provided unique combinations of these resources to each slot of a motherboard or backplane. Other designs provided all resources to all slots, and each peripheral device had its own address decoding for the registers or memory blocks it needed to communicate with the host system. Since fixed assignments made expansion of a system difficult, devices used several manual methods for assigning addresses and other resources, such as hard-wired jumpers, pins that could be connected with wire or removable straps, or switches that could be set for particular addresses.[5] As microprocessors made mass-market computers affordable, software configuration of I/O devices was advantageous to allow installation by non-specialist users. Early systems for software configuration of devices included the MSX standard, NuBus, Amiga Autoconfig, and IBM Microchannel. Initially all expansion cards for the IBM PC required physical selection of I/O configuration on the board with jumper straps or DIP switches, but increasingly ISA bus devices were arranged for software configuration.[6] By 1995, Microsoft Windows included a comprehensive method of enumerating hardware at boot time and allocating resources, which was called the "Plug and Play" standard.[7]

Plug and play devices can have resources allocated at boot-time only, or may be hotplug systems such as USB and IEEE 1394 (FireWire).[8]

History of device configuration

A third-party serial interface card for the Apple II. The user cut the wire traces between the thinly connected triangles at X1 and X3 and soldered across the unconnected ◀▶ pads at X2 and X4 at the center of the card. Reverting the modification was more difficult.
Jumper blocks
DIP switches
Left: Jumper blocks of various sizes.
Right: A DIP switch with 8 switches.

Some early microcomputer peripheral devices required the end user physically to cut some wires and solder together others in order to make configuration changes;[9] such changes were intended to be largely permanent for the life of the hardware.

As computers became more accessible to the general public, the need developed for more frequent changes to be made by computer users unskilled with using soldering irons. Rather than cutting and soldering connections, configuration was accomplished by jumpers or DIP switches. Later on this configuration process was automated: Plug and Play.[6]

MSX

The MSX system, released in 1983,[10] was designed to be plug and play from the ground up, and achieved this by a system of slots and subslots, where each had its own virtual address space, thus eliminating device addressing conflicts in its very source. No jumpers or any manual configuration was required, and the independent address space for each slot allowed very cheap and commonplace chips to be used, alongside cheap glue logic. On the software side, the drivers and extensions were supplied in the card's own ROM, thus requiring no disks or any kind of user intervention to configure the software. The ROM extensions abstracted any hardware differences and offered standard APIs as specified by ASCII Corporation.

NuBus

A NuBus expansion card without jumpers or DIP switches

In 1984, the NuBus architecture was developed by the Massachusetts Institute of Technology (MIT)[11] as a platform agnostic peripheral interface that fully automated device configuration. The specification was sufficiently intelligent that it could work with both big endian and little endian computer platforms that had previously been mutually incompatible. However, this agnostic approach increased interfacing complexity and required support chips on every device which in the 1980s was expensive to do, and apart from its use in Apple Macintoshes and NeXT machines, the technology was not widely adopted.

Amiga Autoconfig and Zorro bus

In 1984, Commodore developed the Autoconfig protocol and the Zorro expansion bus for its Amiga line of expandable computers. The first public appearance was in the CES computer show at Las Vegas in 1985, with the so-called "Lorraine" prototype. Like NuBus, Zorro devices had absolutely no jumpers or DIP switches. Configuration information was stored on a read-only device on each peripheral, and at boot time the host system allocated the requested resources to the installed card. The Zorro architecture did not spread to general computing use outside of the Amiga product line, but was eventually upgraded as Zorro II and Zorro III for the later iteration of Amiga computers.

Micro-Channel Architecture

An MCA expansion card without jumpers or DIP switches

In 1987, IBM released an update to the IBM PC known as the Personal System/2 line of computers using the Micro Channel Architecture.[12] The PS/2 was capable of totally automatic self-configuration. Every piece of expansion hardware was issued with a floppy disk containing a special file used to auto-configure the hardware to work with the computer. The user would install the device, turn on the computer, load the configuration information from the disk, and the hardware automatically assigned interrupts, DMA, and other needed settings.

However, the disks posed a problem if they were damaged or lost, as the only options at the time to obtain replacements were via postal mail or IBM's dial-up BBS service. Without the disks, any new hardware would be completely useless and the computer would occasionally not boot at all until the unconfigured device was removed.

Micro Channel did not gain widespread support,[13] because IBM wanted to exclude clone manufacturers from this next-generation computing platform. Anyone developing for MCA had to sign non-disclosure agreements and pay royalties to IBM for each device sold, putting a price premium on MCA devices. End-users and clone manufacturers revolted against IBM and developed their own open standards bus, known as EISA. Consequently, MCA usage languished except in IBM's mainframes.

ISA and PCI self-configuration

In time, many Industry Standard Architecture (ISA) cards incorporated, through proprietary and varied techniques, hardware to self-configure or to provide for software configuration; often, the card came with a configuration program on disk that could automatically set the software-configurable (but not itself self-configuring) hardware. Some cards had both jumpers and software-configuration, with some settings controlled by each; this compromise reduced the number of jumpers that had to be set, while avoiding great expense for certain settings, e.g. nonvolatile registers for a base address setting. The problems of required jumpers continued on, but slowly diminished as more and more devices, both ISA and other types, included extra self-configuration hardware. However, these efforts still did not solve the problem of making sure the end-user has the appropriate software driver for the hardware.

ISA PnP or (legacy) Plug & Play ISA was a plug-and-play system that used a combination of modifications to hardware, the system BIOS, and operating system software to automatically manage resource allocations. It was superseded by the PCI bus during the mid-1990s.

The PCI plug and play (autoconfiguration) is based on the PCI BIOS Specification in 1990s, the PCI BIOS Specification is superseded by the ACPI in 2000s.

Legacy Plug and Play

In 1995, Microsoft released Windows 95, which tried to automate device detection and configuration as much as possible, but could still fall back to manual settings if necessary. During the initial install process of Windows 95, it would attempt to automatically detect all devices installed in the system. Since full auto-detection of everything was a new process without full industry support, the detection process constantly wrote to a progress tracking log file during the detection process. In the event that device probing would fail and the system would freeze, the end-user could reboot the computer, restart the detection process, and the installer would use the tracking log to skip past the point that caused the previous freeze.[14]

At the time, there could be a mix of devices in a system, some capable of automatic configuration, and some still using fully manual settings via jumpers and DIP switches. The old world of DOS still lurked underneath Windows 95, and systems could be configured to load devices in three different ways:

  • through Windows 95 Device Manager drivers only
  • using DOS drivers loaded in the CONFIG.SYS and AUTOEXEC.BAT configuration files
  • using a combination of DOS drivers and Windows 95 Device Manager drivers

Microsoft could not assert full control over all device settings, so configuration files could include a mix of driver entries inserted by the Windows 95 automatic configuration process, and could also include driver entries inserted or modified manually by the computer users themselves. The Windows 95 Device Manager also could offer users a choice of several semi-automatic configurations to try to free up resources for devices that still needed manual configuration.

An example of an ISA interface card with extremely limited interrupt selection options, a common problem on PC ISA interfaces.
Kouwell KW-524J dual serial, dual parallel port, 8-bit ISA, manufactured in 1992:
* Serial 1: IRQ 3/4/9
* Serial 2: IRQ 3/4/9
* Parallel 1: IRQ 5/7
* Parallel 2: IRQ 5/7
(There is no technical reason why 3,4,5,7,9 cannot all be selectable choices for each port.)

Also, although some later ISA devices were capable of automatic configuration, it was common for PC ISA expansion cards to limit themselves to a very small number of choices for interrupt request lines. For example, a network interface might limit itself to only interrupts 3, 7, and 10, while a sound card might limit itself to interrupts 5, 7, and 12. This results in few configuration choices if some of those interrupts are already used by some other device.

The hardware of PC computers additionally limited device expansion options because interrupts could not be shared, and some multifunction expansion cards would use multiple interrupts for different card functions, such as a dual-port serial card requiring a separate interrupt for each serial port.

Because of this complex operating environment, the autodetection process sometimes produced incorrect results, especially in systems with large numbers of expansion devices. This led to device conflicts within Windows 95, resulting in devices which were supposed to be fully self-configuring failing to work. The unreliability of the device installation process led to Plug and Play being sometimes referred to as Plug and Pray.[15]

Until approximately 2000, PC computers could still be purchased with a mix of ISA and PCI slots, so it was still possible that manual ISA device configuration might be necessary. But with successive releases of new operating systems like Windows 2000 and Windows XP, Microsoft had sufficient clout to say that drivers would no longer be provided for older devices that did not support auto-detection. In some cases, the user was forced to purchase new expansion devices or a whole new system to support the next operating system release.

Current plug and play interfaces

Several completely automated computer interfaces are currently used, each of which requires no device configuration or other action on the part of the computer user, apart from software installation, for the self-configuring devices. These interfaces include:

For most of these interfaces, very little technical information is available to the end user about the performance of the interface. Although both FireWire and USB have bandwidth that must be shared by all devices, most modern operating systems are unable to monitor and report the amount of bandwidth being used or available, or to identify which devices are currently using the interface.[citation needed]

See also

References

  1. ^ Kozierok, Charles M. (April 17, 2001). "Plug and Play". The PC Guide. Retrieved 2018-10-16.
  2. ^ "plug and play Definition from PC Magazine Encyclopedia". pcmag.com. Archived from the original on 2013-03-27. Retrieved 2018-10-16.
  3. ^ "How or where do I find Microsoft WPD Enhanced Storage Certificate". microsoft.com. December 28, 2011. Retrieved 2018-10-16.
  4. ^ "What does Plug aNd Play mean?". Archived from the original on 2018-10-16. Retrieved 2018-12-08.
  5. ^ "Legacy Plug and Play Guidelines - Microsoft Download Center". Archived from the original on 2016-12-16. Retrieved 2018-10-16.
  6. ^ a b "Does it pay to Plug and Play (COVER STORY". BYTE. October 1991.
  7. ^ "Plug and Play Run-Time Services". DrDobbs.com. September 1, 1995. Run-time services (detectable only in software) are central to Windows ... that finds the Plug and Play header, then calls run-time services. ... Windows 95 includes an "Add New Hardware" wizard
  8. ^ Plug and Play Definition
  9. ^ "Apple II Card Electrical Woes". BigMESSoWires.com (Big Mess o' Wires). On the Disk II card, while the Apple II was idle, I measured 600 mV ... Cut the trace for the B VCC side power supply of 3.3 and use wire wrap wire and solder it to +5v.
  10. ^ Gordon Laing (2004). Digital Retro: The Evolution and Design of the Personal Computer. Ilex Press. ISBN 9781904705390.
  11. ^ Pasieka, Michael Stephen (1984). An examination of architectures for interfacing to the NuBus (Thesis). Massachusetts Institute of Technology. Dept. of Electrical. hdl:1721.1/15573.
  12. ^ "The IBM PS/2: 25 years of PC history". July 10, 2012. By the time of the PS/2's launch in 1987, IBM PC ... The line launched in April 1987 with ... its new expansion bus, dubbed Micro Channel Architecture.
  13. ^ "Open Standards vs. IBM – Remembering the MicroChannel Architecture". December 9, 2004. the PS/2 based on the proprietary MicroChannel architecture ... was not what the market demanded
  14. ^ Scott Mueller, Upgrading and Repairing PCs, Eleventh Edition, Que, 2999, ISBN 0-7897-1903-7, page 1370
  15. ^ "Plug and Play Overview: How Windows Finds Drivers for USB Devices". May 20, 2009. So Plug and Play sounds great, right? Well, it is... when everything works right (which is why it's sometimes also called "Plug and Pray"!)

Read other articles:

Eugenio Dal CorsoUskup Emeritus BenguelaGerejaGereja KatolikKeuskupanBenguelaTakhtaBenguelaPenunjukan18 Februari 2008Masa jabatan berakhir26 Maret 2018PendahuluOscar Lino Lopes Fernandes BragaPenerusAntónio Francisco Jaca S.V.D.Jabatan lainKardinal-Imam Sant'Anastasia (2019-)ImamatTahbisan imam7 Juli 1963Tahbisan uskup3 Maret 1996oleh Félix del Blanco PrietoPelantikan kardinal5 Oktober 2019oleh Paus FransiskusPeringkatKardinal-ImamInformasi pribadiNama lahirEugenio Dal CorsoLahir16 Mei...

Radibor Brasão Mapa RadiborMapa da Alemanha, posição de Radibor acentuada Administração País  Alemanha Estado Saxônia Região administrativa Dresden Distrito Bautzen Prefeito Vinzenz Baberschke Partido no poder CDU Estatística Coordenadas geográficas 51° 14' 41 N 14° 14' 54 E Área 61,93 km² Altitude 165 m População 3.434[1] (31/12/2009) Densidade populacional 55 hab./km² Outras Informações Placa de veículo BZ Código postal 02627 Código telefônico 035...

1960 filmSweet DeceptionsDirected byAlberto LattuadaStarringCatherine SpaakCinematographyGábor PogányEdited byLeo CatozzoMusic byPiero PiccioniDistributed byTitanusRelease date1960LanguageItalian I dolci inganni (internationally released as Sweet Deceptions) is a 1960 Italian drama film directed by Alberto Lattuada.[1][2] The film tells one day in the life of a young adolescent girl who is discovering her sexuality.[3] Plot Francesca (Catherine Spaak), a 17-year-old ...

Bílé Poličany Bílé Poličany (Tschechien) Basisdaten Staat: Tschechien Tschechien Region: Královéhradecký kraj Bezirk: Trutnov Fläche: 549 ha Geographische Lage: 50° 24′ N, 15° 44′ O50.39515.733333333333301Koordinaten: 50° 23′ 42″ N, 15° 44′ 0″ O Höhe: 301 m n.m. Einwohner: 164 (1. Jan. 2023)[1] Postleitzahl: 544 52 Kfz-Kennzeichen: H Verkehr Straße: Jaroměř – Lázně Bělohrad Struktur Sta...

José Asensio TorradoInformación personalNacimiento 1892La Coruña, EspañaFallecimiento 1961Nueva York, EE. UU.Nacionalidad EspañolaInformación profesionalOcupación Agregado militar, Docente y Ministro sin carteraLealtad Reino de España República EspañolaRama militar Ejército de Tierra Ejército PopularRango militar General de Estado MayorConflictos Guerra Civil Española Batalla de Guadarrama Asedio del Alcázar de Toledo Batalla de Talavera[editar datos en Wikidata] ...

Der Primas („Erster“, „Vornehmster“; lateinischer Plural Primates, deutscher Plural Primasse oder Primaten) ist in mehreren Kirchen (besonders der römisch-katholischen Kirche) ein Ehrentitel. Einem Primas können bestimmte kirchenleitende Funktionen zugeordnet sein. In der anglikanischen Kirchengemeinschaft bezeichnet Primas den leitenden Bischof einer Provinz. Inhaltsverzeichnis 1 Bedeutung 1.1 Antike und Mittelalter 1.2 Neuzeit 2 Katholische Primasse 3 Heraldik 4 Orthodoxe Kirchen ...

Jas tunik China (Zhongshan/Jas Mao) Sun Yat-sen Jas tunik China modern merupakan sebuah gaya pakaian tradisional yang dikenal di China dengan sebutan jas Zhongshan (Hanzi sederhana: 中山装; Hanzi tradisional: 中山裝; Pinyin: Zhōngshān zhuāng) (mengambil nama dari Sun Yat-sen), dan kemudian disebut sebagai jas Mao (mengambil nama dari Mao Zedong). Pakaian ini dikenal melalui atasannya yang mirip sebuah jas yang tertutup, dengan empat buah kantung di atasan bagian depan. Ja...

رسم فني لكويكب يتم نقله بواسطة حبل فضائي التعدين الفضائي أو التنقيب في الكويكبات (بالإنجليزية: Asteroid mining)‏ هو عملية إستغلال المواد الخام من الكويكبات وغيرها من الكواكب الصغيرة بما في ذلك الأجسام القريبة من الأرض. تُستخرج المعادن والمواد المتطايرة من الكويكب أو المذنب وثم تس

Russian historical television series The Secret Service Agent's MemoriesWritten byOleg RyaskovDirected byOleg RyaskovStarringSergey ChonishviliAnna SnatkinaPyotr KrasilovIlya SokolovskyAndrei RyklinDarya MelnikovaMusic byEdgar ArensOriginal languagesRussianEnglishProductionProducersYekaterina YefanovaOleg RyaskovRunning time293 minutesBudgetUS$5,000,000Original releaseRelease2011 (2011) The Secret Service Agent's Memories (Russian: Записки экспедитора Тайной ка�...

浜風 基本情報建造所 浦賀船渠運用者  大日本帝国海軍艦種 駆逐艦級名 陽炎型駆逐艦艦歴発注 1937年度(③計画)起工 1939年11月20日進水 1940年11月25日竣工 1941年6月30日最期 1945年4月7日戦没除籍 1945年6月10日要目基準排水量 2,033トン全長 118.5 m最大幅 10.8 m吃水 3.8 m主缶 ロ号艦本式缶3基主機 艦本式衝動タービン2基2軸出力 52,000馬力速力 35.0ノット航続距離 18ノットで5,000�...

Museum and former church in San Germán, Puerto Rico United States historic placeConvento de Porta CoeliU.S. National Register of Historic PlacesU.S. Historic districtContributing property Porta Coeli Church - San Germán, Puerto RicoLocation of San Germán and the Porta Coeli in Puerto RicoLocationPlaza Porta Coeli, San Germán, Puerto RicoCoordinates18°04′55″N 67°02′28″W / 18.082002°N 67.041002°W / 18.082002; -67.041002Built1609Part ofSan Germán Historic...

1996 Japanese animated film by Rintaro XTheatrical release poster, featuring Kamui Shiro (left) and Fuma Monou (right)Directed byRintaroScreenplay byRintaroNanase OhkawaBased onXby ClampProduced byKazuhiko IkeguchiKazuo YokoyamaMasao MaruyamaStarringTomokazu SekiKen NaritaCinematographyHitoshi YamaguchiEdited byHarutoshi OgataSatoshi TerauchiYukiko ItoMusic byYasuaki ShimizuProductioncompanyMadhouseDistributed byToei CompanyRelease dates August 3, 1996 (1996-08-03) (Japan) ...

American science fiction, horror and mystery novelist (1929–2016) Sheri S. TepperBornShirley Stewart Douglas(1929-07-16)July 16, 1929near Littleton, ColoradoDiedOctober 22, 2016(2016-10-22) (aged 87)Santa Fe, New Mexico[1]GenreHorror, mystery fiction, feminist science fictionNotable worksThe Gate to Women's Country,Beauty, GrassNotable awardsWorld Fantasy Award for Life Achievement,Locus Award in 1992 for Beauty Sheri Stewart Tepper (July 16, 1929 – October 22, 2016)[2 ...

Census-designated place in Pennsylvania, United StatesNoblestown, PennsylvaniaCensus-designated placeLocation in Allegheny County and state of PennsylvaniaCoordinates: 40°23′43″N 80°12′7″W / 40.39528°N 80.20194°W / 40.39528; -80.20194CountryUnited StatesStatePennsylvaniaCountyAlleghenyTownshipsNorth Fayette, South FayetteArea[1] • Total1.21 sq mi (3.13 km2) • Land1.21 sq mi (3.13 km2) •...

US hydrologic region The Mid Atlantic water resource region is one of 21 major geographic areas, or regions, in the first level of classification used by the United States Geological Survey to divide and sub-divide the United States into successively smaller hydrologic units. These geographic areas contain either the drainage area of a major river, or the combined drainage areas of a series of rivers.[1][2] The Mid Atlantic region, which is listed with a 2-digit hydrologic uni...

2010 aviation accident JS Air Flight 201AP-BJD, the Beechcraft 1900 involved, seen in 2007AccidentDate5 November 2010 (2010-11-05)SummaryCrashed following engine failure at take-off and loss of controlSiteNear Jinnah International Airport, Karachi, Pakistan 24°54′19″N 067°07′55″E / 24.90528°N 67.13194°E / 24.90528; 67.13194AircraftAircraft typeBeechcraft 1900C-1OperatorJS AirCall signJS201RegistrationAP-BJDFlight originJinnah Internation...

English cricketer Graeme WhitePersonal informationFull nameGraeme Geoffrey WhiteBorn (1987-04-18) 18 April 1987 (age 36)Milton Keynes, Buckinghamshire, EnglandNicknameChalky, MOCCC King, Justin TimberlakeBattingRight-handedBowlingSlow left-arm orthodoxDomestic team information YearsTeam2006–2009Northamptonshire2010–2013Nottinghamshire2013→ Northamptonshire (on loan)2014–presentNorthamptonshire2021Welsh Fire FC debut24 May 2006 Northamptonshire v DerbyshireLA debut2...

Panda cub born at National Zoo, Washington, D.C. Xiao Qi JiXiao Qi Ji at the Smithsonian National Zoo in August 2021.SpeciesGiant pandaSexMaleBorn (2020-08-21) August 21, 2020 (age 3)National Zoological Park, Washington, D.C., United StatesResidenceNational Zoological Park, Washington, D.C.Parent(s)Mei Xiang, Tian TianWeight200 lb (91 kg)Named afterLittle Miracle Xiao Qi Ji (simplified Chinese: 小奇迹; traditional Chinese: 小奇蹟; pinyin: Xiǎo Qíjì, meaning...

House in Corsham, United KingdomMiddlewick HouseMiddlewick House in March 2022Former namesMiddle Pickwick HouseGeneral informationTypeHouseArchitectural styleGeorgianAddressMiddlewickTown or cityCorshamCountryUnited KingdomCoordinates51°26′23″N 2°12′13″W / 51.4397°N 2.2035°W / 51.4397; -2.2035Construction startedcirca 18th centuryOwnerNick and Nettie MasonDesignationsGrade II listed Middlewick House is a Grade II listed Georgian-style house just outside the...

Sarappo LompoPulau Sarappo LompoSarappo LompoTampilkan peta Sulawesi SelatanSarappo LompoTampilkan peta SulawesiSarappo LompoTampilkan peta IndonesiaSarappo LompoTampilkan peta Asia TenggaraEtimologidari bahasa Makassar dialek Lakiung/Pabbiring Sarappo berarti buah pinang dan Lompo berarti besarGeografiLokasiSelat MakassarAsia TenggaraSamudra HindiaKoordinat4°49′2.300″S 119°13′39.500″E / 4.81730556°S 119.22763889°E / -4.81730556; 119.22763889KepulauanKepula...