Why Powered USB Is Needed, Part 1: The Short History of USB

This article describes a version of USB that is not related to the new USB 3 spec that Intel has released for 2010 products

The Universal Serial Bus, or USB, is right now the most common serial peripheral bus in existence. Allowing all the most common devices to connect to your computer, to each other, through hubs, and now even wireless USB has become the dominant method of low bandwidth communications between devices and their peripherals.

However, USB is not without flaws, in fact, it has tons of issues that other less accepted standards have already solved, and USB has either not solved them or solved them only recently. One of those problems is that, although USB does provide electrical power to peripherals, it is rarely enough to run devices that suck juice like no tomorrow. Powered USB exists to solve this problem.

I will tell you why Powered USB will never be widely accepted, and also why we need it. However, to do so, this article is split into two three parts: the first part discusses the history of USB and previous peripheral ports, and why it it became widely accepted, the second part contains the meat of my argument on why Powered USB is both needed, yet failing to be accepted, and the third part describes a possible future USB 3 specification in detail.

This is part 1. Part 2 is available here, and part 3 is available here.

Short History of Common Yet Totally Incompatible Peripheral Bus Implementations

Way back at the beginning of time, before Pentiums, before laptops, even before CDs, there was the IBM PC. Although not the first of its kind, it was the first home computer that took off, and along side it riding the new technology boom was the Apple II.

That said, the IBM PC had something unique for its day: a keyboard that wasn’t built into the case. The plug this keyboard used was typically called the AT keyboard port1, named after the IBM PC-AT family of computers. This plug was about a half an inch in diameter, round, and had 5 pins.

This wasn’t the only peripheral socket that IBM PCs had. Some had serial ports (using the RS-232 9-pin or 25-pin standards) going by the name of COM ports. Also featured on some IBM PCs was the Centronics parallel port (using a DB-25 style plug) going by the name of LPT or Printer ports.

So, now, we have three plugs on the IBM PC: one for your keyboard, one for low bandwidth devices (such as dial-up modems and mice when they came into the picture), and one for high bandwidth devices (such as printers, or Iomega Zip drives and external CD burners when those showed up). Does it end there? No.

A bit of time later, Creative Labs added a Joystick/MIDI dual function port on their SoundBlaster series of sound cards. IBM added a new pair of ports called PS/2 ports that used two small quarter-inch 6 pin plugs for the keyboard and mouse (replacing the AT keyboard and serial mouse combo). External SCSI showed up allowing SCSI drives in special external enclosures, and even some document scanners used SCSI as well.

Notice up to this point I have only written about the IBM PC. The Apple II I mentioned earlier had it’s own series of plugs that served the same exact functions. Apple II series computers had serial ports (not including the standard RS-232 serial ports which were compatible), ports for external floppy drives, ports for joysticks, ports for external hard drives. Macs shipped with the Apple Desktop Bus (ADB) for keyboards and mice, and the Apple IIGS shipped with ADB ports as well (in fact, before Macs did, although the Mac design team invented ADB).

None of the ports on the same machine were compatible with each other, and (except for external SCSI and RS-232 serial) none of the ports that served the same function that were used on IBM PCs and Apple computers were compatible with each other either. Confusing, isn’t it?

So, by the mid 1990s, there were a multitude of plugs all serving essentially the same tasks over and over, and all of them doing it incompatibly. USB was born for one specific purpose: to get rid of all these different ports and combine them into one big peripheral plug standard.

One Port To Rule Them All

In 1996, the USB Working Group brought forth USB, the best thing to happen to computer peripheral design in a long time, and within 5 years most if not all of the devices I mentioned before were using USB. You could get keyboards, mice, joysticks, printers, scanners, external media drives, external hard drives, dial-up modems, and a hundred other things with USB plugs.

Now you could build a computer with only two or three kinds of plugs and never have to worry about how to explain to your grandmother what the difference between SCSI and PS/2 is and why she can’t plug her new printer into either of them.

By 1998, all Apple Macintoshes2 were also shipping with USB, and they dropped the legacy ADB design as well. By 2000, some computers were shipping with hardly any legacy ports at all, and laptops went down to the bare minimum of two or four USB plugs with a parallel port (due to the corporate world still having tons of really old printers and that they wouldn’t replace until they stopped functioning) and sometimes PS/2 plugs if you were lucky.

The USB designers did foresee you wanting to use your old devices, however: there are USB converters for parallel port, serial port, PS/2 port, and SoundBlaster joystick devices so you never have to leave devices behind if you don’t want to. In addition, there are port converters for almost any other simple type of device out there, so USB really opened the doors for this sort of thing; the icing on the cake, of course, was when someone made converters to turn controllers from virtually any classic or current game system into USB gamepads.

USB Fixed Problems

USB solved a very important problem: we had too many competing plug designs. Not only was it confusing for end users, it was costly. Why have six plugs of all unique designs, when you can have six plugs of all the same superior design?

USB also solved another very important problem: when you have four plugs, you will have eight or more devices to plug in. The USB standard added concentrator hubs to allow the end user to plug a bunch of devices into a single plug and have all the devices work normally.

USB, while on a roll, partially fixed a third very important problem: some devices require a small amount of power, and it’s a hassle to run yet another cable to an AC adapter (for laptops in the field, this wouldn’t even be possible). USB provides some power to devices, up to a half an amp at 5 volts. You can run almost anything on this except traditionally large devices like printers, some scanners, external media drives, and hard drive enclosures3; those require external power supplies. In addition, though this wasn’t intended when the USB Working Group designed USB, some devices recharge their batteries via USB, including a brand of AA batteries that they themselves recharge over USB.

This partial fix of the third problem is where Powered USB comes in.

Read part 2.

[1]: The IBM PC-AT was the second generation of IBM PCs. The first generation, although using the same exact plug for the keyboard, did not have compatible keyboard types.

[2]: I’d like to say thanks to Steve Jobs, for if it wern’t for Macs pushing USB, they wouldn’t have become popular on PCs; before that, they were only shipping with maybe one or two plugs plus PS/2 keyboards and mice.

[3]: This is not entirely true. There are a couple USB hard drive enclosures for 3.5″ hard drives that use 2 plugs to get 1 amp, and most 2.5″ drive enclosures run on half an amp (usually) fine. It is considered a bad hack to use the two plug method required by drive enclosures, and I suggest if your enclosure offers the use of an AC adapter, use it.

Written by
Open Source software architect and technologist. He's just this guy, you know? Follow him him on Google+.
Published in
Transmissions from the Little Blue Marble

Published March 29th, 2007

Comments

48 Responses

| And the sad part is I actually had people look over the article looking for typos.

We’re not looking for ’em, we just find ’em. 🙂

| Between the two parts this is like the fourth for fifth.

More errors to follow:

> This plug [AT keyboard port] was about an inch in diameter, round, and had 5 pins.

With ~2.5 cm it is rather huge a port, isn’t it?

> PS/2 ports that used two small half-inch 6 pin plugs

And ~1.3 cm is rather big, too, concerning PS/2.

You mean centimeters[1], not inches.

[1] For just giving a qualitative impression about their sizes, the guessed numerical values are OK; for the records, I just plugged them out and measured and found their diameters are about 13 mm and 9 mm, respectively.

Just for the records: Don’t worry, it still makes for an interesting reading. 😉

Long before worrying about power over USB, I’d like to see more USB devices equipped with internal storage space for drivers. When a MicroSD card the size of a thumbnail can hold a gigabyte or two and cost around $20, there’s really no excuse for devices not carrying around their own drivers in internal, updatable storage.

Imagine if you could just plug your USB device into ANY computer with ANY OS and the drivers for it, no matter what your device is, are right there. Windows, MAC, Linux, whatever. All on the same internal gigabyte of storage in their own directories where the host computer should know where to look.

Additionally, if you update your drivers on one computer, the next time you plug that device into another computer of the same operating system, updated drivers will be immediately available rather than require a download.

Last, but not least, Windows needs to learn how to understand that a USB device plugged into one USB port is the same as if it were plugged into a different port. Too many times, moving a device from port to port causes Windows to demand the drivers again and prompt the user for all the installation options.

Installation should be primarily a painless, invisible process. Plug it in and it works. And that’s it.

You get the USB standard to include drivers in internal storage and to have invisible installation processes so clueless users don’t have to know what their doing to plug in a new gadget in ant port they happen to choose and your new standard will take off.

I don’t think the IBM PC was “the first home computer that took off.”
Wasn’t the Commodore-64 the first home computer that really took off? I always thought that, back in the 1980’s, the C-64 was the most popular home computer there was at the time. I didn’t think the PC overtook the Commodore as the most popular home computer until they stopped producing the C64 and the more affordable PC clones appeared.
(I used Commodore computers until 1995, even developing my first web site on the Internet using a Commodore-128.)

You forget that the greatest benefit of RS232 (from and industry viewpoint) is its utter simplicity. Currently I run a control system at 9600 baud with leads of up to 150 Metres using standard 3 core mains cable.

“even some document scanners used SCSI as well.”

wow, i feel old now. This is no rumor, in fact many scsi scanners are available today.

This Microtek only has firewire and SCSI interfaces, no USB.

http://www.microtekusa.com/as120tf.html

Since it’s pick-on-PM day…
Do you know how big one inch is? I would guess 5/8th is the size of the old PC plugs.

“Way back at the beginning of time, before Pentiums, before laptops, even before CDs, there was the IBM PC. Although not the first of its kind, it was the first home computer that took off, and along side it riding the new technology boom was the Apple II.”

Correction is in order. The Apple ][ came out some 5 years prior to the IBM PC. It was Apple, not IBM that sparked the personal computer technological boom. Whole third party markets were formed on this boom before the 900 pound gorilla IBM entered the scene.

“Way back at the beginning of time, before Pentiums, before laptops, even before CDs, there was the IBM PC. Although not the first of its kind, it was the first home computer that took off, and along side it riding the new technology boom was the Apple II.”

The Apple II was out 4 years before the IBM PC and it dominate the home market along with TRS-80’s and Commodore PETs. The IBM PC proved too expensive for home use and actually took off in businesses first.

Couple of quibbles:

Depending on what exactly is meant by “The first home computer that took off” seems incorrect. By 1983 the PC had sold something like 750,000 Units. The Apple II had sold far more by that (the two millionth Apple II was sold in 1984).

“Macs introduced the Apple Desktop Bus (ADB) for keyboards and mice, and the Apple IIGS shipped with ADB ports as well.”

This is reversed – The IIgs introduced the ADB (1986) which was added to the Macintosh II and SE.

RS232 – The original PC didn’t ship with ANY ports other than the keyboard. Just like the Apple II you needed to add a card. Most Apple II cards (Super Serial) used a standard (as in ‘common’ – the port connector was not specified i n the standard) 25 pin connector . It was IBM that deviated and used the 9 pin.

Likewise the PC – just like the Apple II required an add-in card to get a Parallel interface.

The major source of incompatibility wasn’t physical interface (except for keyboards and since the Apple II didn’t need an external keyboard that doesn’t matter) it was more a matter of software. Pre-Hayes modems all used completely incompatible methods of talking to your computer. Printers too – all implemented their various features in different ways.

If there’s one thing to be praised about USB it isn’t the common physical interface it’s the low-level software layers UHCI/OHCI and the implementation of device classes. That’s why you can swap mice/keyboards/bar-code readers between machines (and even platforms)

It is both true that USB appeared on PCs first and that Apple got USB going. When USB appeared, there was a chicken/egg situation. With few USB devices, cost-cutting PC manufactures rarely wanted to spend a dime on adding USB ports, and with no USB ports manufacturers wouldn’t produce peripherals relying on them. Apple’s bondi blue iMac was an instant hit when it was introduced. Because it had USB only, manufacturers were guaranteed of customers. In fact, things were a bit hairy for early iMac buyers (I remember following the introduction of every new USB device that came along) whether manufacturers would actually deliver printers, scanners etc. Once that was sorted out, the PC world started to adopt USB, but not at a very quick rate.

Bert

Mike: And the sad part is I actually had people look over the article looking for typos. Between the two parts this is like the fourth for fifth.

Just a bit of a refresher of history. The Apple // was what ignited the personal computer revolution, back in the late 70’s, and with the introduction of the spreadsheet program Visicalc, the home computer industry exploded. The IBM PC was a relative latecomer to the came, not released until August of 1981.

Apple was also the first company to simply ditch the legacy ports, with the introduction of the Bondi Blue iMac, looking like something out of the Jetsons. The popularity of this machine and later iMacs was a factor in bringing USB into the forefront.

Hey there, you have a minor typo: “LTP” should be “LPT.”

http://en.wikipedia.org/wiki/LPT

William Lindley: Actually, what I was getting at was that I never saw any sort of RS-232 port on an Apple, always the little mini-DIN plugs used for stuff like Apple printers and such.

Also, hurrah for typos. However, I got the ‘its’ right, the kind belongs to the computer.

fryke: The first computers I saw shipping with USB devices in the box (ie, mice and keyboards and whatnot) were PCs not Macs.

I was aware of the iMac in 1997, however not all Macs were shipping with USB plugs at that time.

TrueBlue: I covered the fact that USB 2.0 does not actually achieve 480mbps, and still, on the grand scheme of things, is still a low bandwidth connection.

To everyone with USB scanners that don’t require a power brick: Honestly, I’ve never seen such a thing. I wonder how I missed out on this.

“Powered USB will never be widely excepted”

Nor will it be accepted.

I have a Canon CanoScan N676U scanner that I’ve had for years now and has gotten all sorts of abuse that runs on USB power.

Two comments: With the introduction of USB 2.0, which supports bit rates up to 480M bps, USB is no longer a “low bandwidth” connection standard. You can connect a hard drive via USB and achieve transfer rates that almost as good as having the drive connected directly to your mother board.

Second comment: Canon has some very good scanners that don’t require external power.

USB devices actually weren’t that popular in 1996. It’s kinda wrong to say “Apple later came around as well”, when it was actually the iMac in 1997 which started to get USB off. Previous to that, there were some PCs with additional USB ports – but they were rarely ever used – at least here in Europe, wouldn’t know about other places. However: Many PCs _still_ have old-style serial and parallel ports for legacy compatibility. It was the original iMac that first got rid of legacy ports and started the USB revolution.

* RS-232 ports were always 25 pin connectors until the IBM PC-AT. The original PC had male DB-25’s for serial and female DB-25’s for parallel.
* RS-232 serial ports were always compatible between PC and Apple, except for the 25-versus-9 plug conversion. Some printers or modems required various wiring modifications, but Apple and PC users had equivalent difficulties.
* “it’s” = “it is” while “its” means “belonging to it.”
* “By 2000, some computers were not shipping with hardly any legacy ports at all” … you probably mean, “some computers WERE shipping with hardly any…”

Scott: Yeah, thats clearly a flaw in Windows. The problem here is that most USB devices don’t even need drivers, and I’ve caught Windows trying to make me install them, such as for some mice and some joysticks (this is why we have the USB HID standard driver stack).

OSX nor Linux have any such problems.

The big flaw that I hate about USB is not so much USB’s fault but Windows requiring that new devices have the drivers installed before even connecting the device. If an unsuspecting user does it backwards, sometimes the registry gets messed up and the device is almost impossible to install.

Another thing that bugs me is when I run a wireless network card in one port and later plug it into a another port, Windows will go through the whole routine of installing drivers again and calling the device “Wireless Connection 2”. One of my machines is up to Connection #6. It’s too retarded to figure out that the drivers are already installed.

segin: Typically, scanners use far more power than that. Although, that is a neat example, I wouldn’t have thought someone could pull that off.

I would like to partially disagree on your statement about scanners that reqwuire external power — I had a USB scanner (Mustek 1200UB or something like that, I threw it away cause the glass cracked, only to get a Mustek 600 parallel with unbroken glass 2 days later) that requires NO external power supply. The scanner ran off of USB power.

Same I discarded it because of a space zealot called my mother.

Leave a Reply