ADB definition

ADB Definition

Computer Pages:  A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

A Page:  1 | 2 | 3 | 4

Apple Desktop Bus (or ADB) is an obsolete bit-serial bus for connecting low-speed devices to computers. Used primarily on the Apple Macintosh platform, ADB equipment is still available but not supported by most Apple hardware manufactured since 1998. The ADB uses the mini-DIN connector.

ADB History

ADB was created by Steve Wozniak, who had been looking for a project to work on in the mid-1980s. Someone suggested that he should create a new connection system for devices like mice and keyboards, one that would require only a single daisy-chained cable, and be inexpensive to implement. As the story goes, he went away for a month and came back with ADB.

The first system to use ADB was the Apple IIgs in 1986. It was subsequently used on all Apple Macintosh machines starting with the Macintosh II and Macintosh SE, before it was replaced by USB, starting on the iMac in 1998. ADB was also used on the last series of NeXT machines, models which became known as the "Turbo ADBs".

No machines being built today use ADB for device interconnection, but up to February 2005, PowerBooks and iBooks still used ADB internally to interface with the builtin keyboard and touchpad. The internal connection for the trackpads has now been changed to USB.

ADB Specifications

Given the simplicity of the system, it is not surprising that the cabling was equally simple. The single data pin was labelled ADB, and was paired with a +5 V power supply and ground. The +5 V pin guaranteed at least 500 mA, and required devices to use only 100 mA each. Oddly, however, the ADB cable also included the PSW pin which was attached directly to the power supply of the host computer. This was included to allow a key on the keyboard to start up the machine without needing the ADB software to interpret the signal. ADB cables use 4 pin mini-DIN connectors - the same as S-Video cables.

Communication

The ADB system is based around the devices having the ability to decode a single number (the address) and being able to hold several small bits of data (their registers). It uses only a single pin for data, making it one of the least expensive busses in history. ADB can be implemented for less than a penny; the connector always costs more than the hardware.

All traffic on the bus is driven by the host computer, which sends out commands to read or write data: devices are not allowed to use the bus unless the computer first requests it. These requests took the form of single-byte strings. The upper four bits contained the address, the id of one device on the chain, allowing for up to 16 devices on a single bus. The next two bits specified one of four commands, and the final two bits indicated one of four registers. The commands were:

  • talk - send the contents of a register to the computer
  • listen - set the register to the following number
  • flush - clear the contents of the register
  • reset - tell everyone on the bus to reset

For instance, if the mouse was known to be at address $D, the computer would periodically send out a message on the bus that looked something like...

1101 11 00

This says that device $D (1101) should talk (11) and return the contents of register zero (00). To a mouse this means "tell me the latest position changes". Registers could contain between two and eight bytes. Register zero was generally the primary communications channel. Registers one and two were undefined, and were generally intended to allow 3rd party developers to store configuration information. Register three always contained device identification information.

The addresses and enumeration of the devices were set to default values when reset. For instance, all keyboards were set to $2, and all mice to $3. When the machine was first powered on the ADB device driver would send out talk commands asking each of these known default address, in turn, for the contents of register three. If no response came from a particular address, the computer marked it dead and didn't bother polling it later.

If a device did respond, it did so by saying it was moving to a new randomly selected "higher" address. The computer then responded by sending another command to that new address, asking the device to move to yet another new address. Once this completed that device was marked "live", and the system continued polling it in the future.

Although it was not common, it was possible for the ADB bus to have more than one device of the same sort plugged in -- two graphics tablets or software protection dongles for instance. In this case when it asked for devices on that default address, both would respond and a collision would occur.

However the devices included a small bit of timing that allowed them to avoid this problem. After receiving a message from the host, the devices waited a short random time before responding, and then only did so after "snooping" the bus to make sure it was not busy. If you did plug in two dongles, when the bus was first setting up one of them would be the first to respond, and the other would notice the bus was busy and not respond. The host would then send out another message to that original address, but since one device had moved to a new address, only the other would then respond. This process continued until no one responded to the request on the original address, meaning there were no more devices of that type to enumerate. In this way the computer built up its list of devices.

Data rates on the bus were theoretically as high as 125 kbit/s. However the actual speed was at best half that due to there being only one pin being shared between the computer and devices. In actual use the speed was much less than that, as the entire system was driven by how fast the computer polled the bus. The Mac OS was not particularly well suited to this task, and the bus often got bogged down at about 10 kbit/s.

Another problem was while the bus did include a reset command, there was no way for the devices to trigger the bus to indicate some sort of change. This meant that if the bus changed, for instance by plugging in a new device, there was no way for the computer to know. As a result, the system was not hot swappable, although this could have been implemented very easily using the PSW had they thought about this case.

ADB Problems

It was not safe to plug in a device once the system was powered (unlke the USB bus used on modern computers), commonly attempted if the mouse became disconnected. This would often cause the opening of a soldered-in fuse on the motherboard. If brought to an authorised dealer this could result in a motherboard swap at a significant expense. A simple alternative was to obtain a fuse at a nominal cost and wire it in parallel across the open motherboard fuse (not even requiring soldering if done appropriately).

The DIN connector was only rated for 400 insertions and it was easy to bend a pin if not inserted with caution.

Know matter if you need to know "what is a ADB ", the definition of a "ADB", or the meaning of a "ADB", you can find it here at Network Liquidators. There's quite a bit of information out there to learn, and it all starts by you having the initiative to seek out that information.


About Our Company
Network Liquidators (NWLQ) is in the business of providing their clients with a low cost solution for building and maintaining their network infrastructure. With over 20 years of experience in IT sales, we have the stock and know how to service our worldwide client base. NWLQ sells new sealed, new open box, used and refurbished networking systems. From the largest datacenters and Universities, to small to medium sized businesses, NWLQ is the industry leader.

Service
NWLQ is in business to do more than sell and buy computer network hardware. NWLQ strives to provide the best customer service to its worldwide client base. When a potential client contacts our facilities, they are assigned to one of our industry experienced Account Representatives. All of our Account Representatives have a minimum of 10 years experience in the IT field. NWLQ has Cisco certified technicians and professionals on staff to assist you in getting the right gear and to help from the RFQ process all the way through install. We are a full service hardware vendor! Call one of our account representatives at 1-800-998-9862 option 1 with any questions on our gear and service.

Quality Equipment
Every single unit of hardware that comes through NWLQ shipping dock is physically inspected and put through our thorough testing process by one of our Cisco or Extreme Networks certified engineers. Click here for more information on out testing process. All NWLQ gear comes with a standard 1 Year Replacement Warranty (end-user customers only)! Please inquire with your account representative for more details!

NWLQ has over $35 million in stock that can be shipped the same day if needed. NWLQ does offer payment and credit terms to qualified customers and ship worldwide on a daily basis. Whether you need Cisco, Extreme Networks, Compaq, F5, Foundry, or Nortel; you can expect the best service, fastest shipping, and quality gear in the industry - guaranteed! Give us a call and put us to the test!

We hope this definition of ADB was what you were looking for and appreciate your visit and welcome you back anytime.

Check Our our Network Equipment Inventory

Cisco Systems Extreme Networks Foundry Networks
Cisco 600/800/1000 Series Extreme Black Diamond Foundry EdgeIron
Cisco 1600 Series Extreme Summit Foundry FastIron
Cisco 1700 Series Extreme Alpine Foundry NetIron
Cisco 2500 Series Extreme Unified Foundry BigIron
Cisco 2600 Series Extreme GBICS Additional Foundry Options
Cisco 3600 Series
Cisco 3700 Series Nortel Networks Juniper Networks
Cisco 7000 Series Nortel Accelar Juniper M5
Cisco 12000 Series Nortel Alteon Juniper M10
Cisco 1900 Series Nortel BPS Juniper M20
Cisco 2900 Series Nortel Contivity Juniper M40
Cisco 3500 Series Nortel BCN / BLN Juniper M160
Cisco 3550 Series Nortel Centillion
Cisco 3750 Series Nortel Baystack
Cisco 4000 Series Nortel 2000/3000/5000
Cisco 5000 Series Nortel Passport
Cisco 6000 Series
Cisco Local Directors Compaq
Cisco Firewalls All Compaq Equipment
Cisco AS5300
Cisco AS5350
Cisco AS5400
 

Relevant Resources