This chapter describes both the built-in I/O devices and the ports for connecting external I/O devices on the 17” iMac. Each of the following sections describes an I/O port or device.
USB Ports
FireWire 400 Ports
Ethernet Port
AirPort Extreme Card
Internal Modem
Bluetooth Technology
Hard Disk Drive
SuperDrive (CD-RW/DVD-R)
Flat Panel Display
Video Monitor Port
Keyboard
Mouse
Sound System
The iMac has five Universal Serial Bus (USB) ports that are used for connecting the keyboard and mouse as well as additional I/O devices such as printers, scanners, and low-speed storage devices. Three USB ports are on the iMac itself; two more are on the keyboard.
The 17” iMac has three independent USB controllers. The internal modem and Bluetooth module are connected to one controller. Two external USB ports are connected to a second controller. A single external USB port is connected to the controller nearest the mini-VGA connector. See “USB Interface.”
For more information about USB on Macintosh computers, please refer to Apple Computer’s Mac OS USB DDK API Reference and the other sources listed in “USB Interface.”
The USB ports use USB Type A connectors, which have four pins each. Two of the pins are used for power and two for data. Figure 5-1 is an illustration of a Type A port; Table 5-1 shows the signals and pin assignments.
The iMac provides 5-volt power to the USB ports. The maximum current available is 500 mA on each port.
The USB ports support both low-speed and high-speed data transfers, at up to 1.5 Mbits per second and 12 Mbits per second, respectively. High-speed operation requires the use of shielded cables.
The Macintosh USB system software supports all four data transfer types defined in the USB specification.
Features of the USB ports are listed in the following paragraphs.
USB devices can provide a remote wakeup function for the computer. The USB root hub in the computer is set to support remote wakeup whenever a device is attached to or disconnected from the bus. The keyboard that comes with the computer uses this method to wake the computer on a key press.
The Intrepid IC contains special circuitry that allows the computer to wake from sleep mode on connect, disconnect, and resume events. Compatible USB devices should support the USB-suspend mode defined in the USB specification.
Class drivers are software components that are able to communicate with many USB devices of a particular kind. If the appropriate class driver is present, any number of compliant devices can be plugged in and start working immediately without the need to install additional software. The Mac OS for the iMac supports USB Mass Storage specification.
The iMac uses an Open Host Controller Interface (OHCI) controller for USB communication. Some early USB devices (most notably keyboards) can’t interoperate with an OHCI controller. Those devices are not supported by the Macintosh USB system software.
The iMac has two external FireWire 400 IEEE 1394a ports. The features of the FireWire 400 ports are:
Support serial I/O at 100, 200, and 400 Mbps (megabits per second)
Share 8 watts of power when the computer system is on
Support up to 62 devices
The FireWire 400 hardware and software provided with the iMac are capable of all asynchronous and isochronous transfers defined by IEEE standard 1394a.
The FireWire400 connector has six contacts, as shown in Figure 5-2. The connector signals and pin assignments are shown in Table 5-2.
When the computer is on, the power pin provides a regulated voltage of 12 V and 8 W for each connector for a total of 16 W. Zero voltage is present at the power pin when the computer is off.
Important: The FireWire PHY on the iMac does not operate from external bus power. As long as the computer is plugged into an active AC power outlet, the FireWire PHY is active and the FireWire bus remains connected. If AC power is interrupted, the PHY will stop operating and data on the bus cannot be repeated.
Pin 2 of the 6-pin FireWire 400 connector is ground for both power and inner cable shield. If a 4-pin connector is used on the other end of the FireWire 400 cable, its shell should be connected to the wire from pin 2.
The signal pairs are crossed in the cable itself so that pins 5 and 6 at one end of the cable connect with pins 3 and 4 at the other end. When transmitting, pins 3 and 4 carry data and pins 5 and 6 carry clock; when receiving, the reverse is true.
For additional information about the FireWire 400 interface and the Apple APIs for FireWire 400 device control, developers should refer to the resources listed in “FireWire 400 Interface.”
The user has the option at boot time to put the computer into a mode of operation called Target Disk Mode (TDM).
When the iMac is in Target Disk Mode and connected to another Macintosh computer by a FireWire 400 cable, the iMac operates like a FireWire mass storage device with the SBP-2 (Serial Bus Protocol) standard. Target Disk Mode has two primary uses:
high-speed data transfer between computers
diagnosis and repair of a corrupted internal hard drive
The iMac computer can operate in Target Disk Mode as long as the other computer has a FireWire 400 port and either Mac OS X (any version) or Mac OS 9 with FireWire 400 software version 2.3.3 or later.
To put the iMac into Target Disk mode, you restart the iMac and hold down the T key until the FireWire icon appears on the display. You then connect a FireWire 400 cable from the iMac to the other computer. When the other computer completes the FireWire 400 connection, a hard disk icon appears on its desktop.
If you disconnect the FireWire 400 cable or turn off the iMac while in Target Disk Mode, an alert appears on the other computer.
To take the iMac out of Target Disk Mode, you drag the hard disk icon on the other computer to the trash, then press the power button on the iMac.
The iMac has a built-in 10/100 Mbps Ethernet port. The user can connect it to either a 10Base-T or a 100Base-TX hub; the port will automatically sense which type of hub is connected.
The connector for the Ethernet port is a an RJ-45 connector located on the I/O panel. Table 5-3 shows the signals and pin assignments on the connector.
The Ethernet interface in the iMac conforms to the ISO/IEC 802.3 specification, where applicable.
The 17” iMac computer supports the AirPort Extreme Card, an internal wireless LAN module. The AirPort Extreme Card is available as a build-to-order option or as a user-installable upgrade through The Apple Store.
By communicating wirelessly with a base station, the AirPort Extreme Card can be used for internet access, email access, and file exchange. A base station provides the connection to the internet or the bridge between the wireless signals and a wired LAN or both. The AirPort Extreme Base Station has connectors for a wired LAN, a DSL or cable modem, and a standard telephone line using the optional 56K modem that is built-in on some models.
AirPort Extreme transmits and receives data at speeds up to 54 Mbps. Airport Extreme is compatible with other devices that follow the IEEE 802.11b and 802.11g standards, including PC's. For more information about Wi-Fi and compatibility, see the reference at “Wireless Networks.”
Note: As is the case with the existing IEEE 802.11b standard, actual data throughput speeds will be lower than the indicated maximum connection speeds. Inherent in wireless LAN systems, bandwidth overhead is required for wireless routing, scrambling, security, error correction, and other processes.
AirPort Extreme has several features designed to maintain the security of the user’s data:
The system uses direct-sequence spread-spectrum (DSSS) technology that uses a multibit spreading code that effectively scrambles the data for any receiver that lacks the corresponding code.
The system can use an Access Control List of authentic network client ID values (wireless and MAC Addresses) to verify each client’s identity before granting access to the network.
When communicating with a base station, AirPort Extreme uses up to 128-bit encryption to encode data while it is in transit.
The AirPort Extreme Base Station can be configured to use NAT (Network Address Translation), protecting data from would-be Internet hackers.
The AirPort Extreme Base Station can authenticate users by their unique Ethernet IDs, preventing unauthorized computers from logging into a network. Network administrators can take advantage of RADIUS compatibility, used for authenticating users over a remote server. Smaller networks can offer the same security using a local look-up table located within the base station.
As an additional data security measure, VPN can be used in conjunction with the AirPort Extreme data security.
The AirPort Extreme Card is a wireless LAN module based on the IEEE draft specification of the 802.11g standard using both OFDM (orthogonal frequency-division multiplexing) and DSSS technologies. Using DSSS, AirPort Extreme is interoperable with PC-compatible wireless LANs that conform to the 802.11b standard at speeds of 11 Mbps, 5.5 Mbps, 2 Mbps, and 1 Mbps. Using OFDM, AirPort Extreme is compatible with all 802.11g draft standard speeds.
Two AirPort Extreme antennas are built into the computer’s enclosure. One antenna is always used for transmitting. Either of the two antennas may be used for receiving. Using a diversity technique, the AirPort Extreme Card selects the antenna that gives the best reception. AirPort Extreme shares the antennas with Bluetooth.
The AirPort Extreme wireless LAN is on the PCI bus.
Software that is provided with the AirPort Extreme Card includes
AirPort Extreme Setup Assistant, an easy-to-use program that guides the user through the steps necessary to set up the AirPort Extreme Card or set up an AirPort Extreme Base Station.
Users can switch between wireless networks and can create and join peer-to-peer networks. These functions are accessed via the AirPort Extreme- Menu-Extra pulldown in System Preferences.
AirPort Extreme Admin Utility, a utility for advanced users and system administrators. With it the user can edit the administrative and advanced settings needed for some advanced configurations.
The iMac comes with a built-in modem. The telephone connector for the modem is an RJ-11 connector on the I/O panel.
The modem has the following features:
modem bit rates up to 56 Kbps (supports V.92 and K56flex modem standards)
Group 3 fax modem bit rates up to 14.4 Kbps
The modem appears to the system as a USB device that responds to the typical AT commands. The modem provides an analog sound output for monitoring the progress of the modem connection.
Bluetooth is an internal build-to-order option in the 17” iMac. Bluetooth is an open specification that enables short-range wireless connections between desktop and laptop computers and a host of other peripheral devices. Bluetooth support is built into Mac OS X and compliant with Bluetooth specification v1.1. It operates on a globally available 2.4 GHz frequency band (ISM band) for worldwide compatibility and has a maximum throughput of 1Mbps.
The Bluetooth technology supports the following profiles:
synchronization —enables synchronization of devices over Bluetooth
serial —provides a wireless serial connection to other Bluetooth devices
dial-up networking (DUN) — enables a mobile phone to act as a modem
object push —enables the transfer of files between Bluetooth devices
In the 17” iMac, Bluetooth is available as a build-to-order option which is installed by Apple at the time of purchase as a fully integrated module. Accessing the Bluetooth capabilities without purchasing the integrated module will require a third-party dongle.
For more information on Bluetooth technology, refer to “Bluetooth.”
The internal hard disk drive has a storage capacity of 80 GB, uses the Ultra ATA-100 interface, and spins at 7200 rpm. The internal hard disk drive conforms to a subset of ATA/ATAPI-6 and -5 protocols and is connected as device 0 (master) in an ATA Device 0/1 configuration.
The software that supports the internal hard disk is similar to that in previous Macintosh models with internal IDE drives and includes DMA support. To obtain information about that software and about the ANSI standard for the Ultra DMA IDE interface, see “ATA Interface.”
The 17” iMac computer has a tray-loading, combination DVD-R and CD-RW SuperDrive.
The drive can read and write DVD media and CD media, as shown in Table 5-4. The SuperDrive also provides DVD-Video playback with DVD MPEG2 decode.
Digital audio signals from the SuperDrive can be played through the sound outputs under the control of the Sound Manager in System Preferences.
The SuperDrive uses the ATA-4 protocol and is device-select jumpered as Cable Select (CS) in an ATA Device 0/1 configuration.
The iMac computer has a built-in color flat panel display. The display is backlit by a cold cathode fluorescent lamp (CCFL). The display uses TFT (thin-film transistor) technology for high contrast and fast response.
The display is 17 inches, measured diagonally. The display contains 1440x900 pixels and can show up to millions of colors.
The graphics IC includes a scaling function that expands smaller-sized images to fill the screen. By means of the scaling function, the computer can show full-screen images at the resolutions listed in Table 5-5.
The graphics subsystem uses an NVIDIA GeForce4 MX with 64 MB of DDR RAM. It supports 3D acceleration and display depths up to 24 bits per pixel at all screen resolutions. For more information, see “Intrepid IC Video Display Subsystem.”
The iMac computer has a port for an external video monitor and supports video mirroring mode. Video mirroring mode displays the same information on both monitors, enabling the control of a presentation on one display, while allowing an audience to watch the presentation on a second display or projector.
Due to display mirroring, the external monitor could have black borders during mirroring, depending on the supported timings between the two displays and on the monitor’s selection algotithm. Both displays show full-sized images only when the display resolution for the second monitor is set to the first display’s native resolution: 1440 by 900.
The external monitor supports user-selectable display sizes up to 1600 by 1200 at 75 Hz.
The video display connector is a 14-pin rectangular connector, Hosiden TCX3143, or compatible. The connector accepts either a VGA adapter or a composite adapter. The system requires a composite adapter to use composite output over this connector. The connector pins are identified in Table 5-3.
The pins and signals are listed in Table 5-6. An adapter is available for use with monitors with VGA 15-pin miniature D-type connectors.
The cable detect function on pin 13 is implemented by connecting pin 13 to ground in the display cable. The computer gathers the display's capabilities by reading its EDID (Extended Display Identification Data) via DDC.
The video display connector is compliant with the VESA specification.
The iMac computer detects the type of display adapter that is plugged in and programs the graphics IC to route the appropriate video signals to the connector. The signal assignments on the video connector when the composite adapter is attached are shown in Table 5-7.
Composite video and S-video signals can be displayed on either an NTSC display or a PAL display. When a display is connected by way of the composite adapter, the computer detects this configuration and enables the composite and S-video outputs. The settings for the resolutions and standards (NTSC or PAL) are then selectable in System Preferences.
The iMac comes with an Apple Pro Keyboard. It is a USB compatible full-size keyboard with 15 function keys and separate groups of numeric keypad and editing keys.
Here is a list of the features of the Apple Pro Keyboard.
Slope settable to either 0 or 6 degrees by a flip-out foot
108 keys (on the ANSI versions)
15 function keys, programmable by the user
6 editing keys (Page Up, Page Down, Home, End, Forward Delete, and Help)
USB multi-media control keys (Volume Up, Volume Down, and Mute)
Media eject key
Full travel, standard pitch keys on alphanumeric, editing, and keypad sections, including function keys and cursor position keys
Localized worldwide: 33 versions, 3 standard layouts (ANSI, JIS, ISO)
LED indicators in the Caps Lock and Num Lock keys
USB hub functionality with two Type A USB bus-powered ports
There are localized versions of the Apple Pro Keyboard for use in different parts of the world. The three standards used are ANSI (US and North America), JIS (Japan), and ISO (Europe). Figure 5-4 shows the keyboard layout for the ANSI keyboard. Applications can determine which type of keyboard is connected by calling the Gestalt Manager and checking for the corresponding value of the gestaltKeyboardType
selector:
gestaltUSBAndyANSIKbd
(value = 204)
gestaltUSBAndyISOKbd
(value = 205)
gestaltUSBAndyJISKbd
(value = 206)
The function keys (F1–F15) can be programmed by the user through the Keyboard Control Panel. Operations that can be assigned include
opening an application
opening a document
evoking an AppleScript
logging on to a file server by way of an alias
The keyboard has four multi-media keys: Volume Up, Volume Down, Mute, and Eject. The provide direct control of the those features on the computer by way of the USB.
The Apple Pro Keyboard is designed to work with the iMac by way of the USB ports. The keyboard has a captive cable with a USB Type A connector. The keyboard is a bus-powered USB hub with two USB Type A ports.
Warning: A bus-powered hub does not provide enough power to support a second bus-powered hub. To use a second bus-powered hub with an iMac, connect it to the second USB port on the computer, not to a port on the Apple USB keyboard.
The standard NMI and reset key combinations are available, but the keys are decoded in software and may not be available under some crashed conditions.
Apple provides a HID class driver for the Apple USB keyboard, which supports the USB boot protocol. Other keyboards intended for use on the Macintosh platform must support the HID boot protocol, as defined in the USB Device Class Definition for Human Interface Devices (HIDs). For information about the USB HID definition, see the HID reference in “USB Interface.”
The iMac comes with an Apple Pro Mouse. The Apple Pro Mouse uses optical tracking in place of the traditional rolling ball. It works on almost any surface, though non-reflective, opaque surface without repetitive patterns work best.
The sound system provides sound input and output through the built-in microphone and speaker. The user can also connect external input and output devices by way of the headphone jack, the Apple Pro Speaker minijack, the USB ports, and audio line-in.
To maintain the highest fidelity when digital audio program material from CDs or DVDs is played, the audio data is kept in digital form until just before being sent to the sound output jack or the headphone jack. A switch mode power amplifier provides the power for the external speaker.
The sound system supports sample sizes up to 24 bits and sample rates of up to 48 kHz.
The sound system accepts inputs from the following sources:
the built-in microphone
digital audio from the internal optical drive
call progress audio from the internal modem
USB audio devices connected to the USB ports
audio line-in
The iMac has a built-in microphone located at the bottom of the display. The analog signal from the microphone is converted to a digital signal by the audio circuitry.
The nominal SNR of the internal microphone is 65 dB.
The iMac has a stereo audio line-in jack on the base. Low level consumer products operating below -10 dbu require a pre-amp.
The audio inputs are designed to accept high-level audio signals: 2 Vrms or +8 dBu, which is the standard output level from CD and DVD players. The output level of some consumer audio devices is lower, often 0.1 Vrms or –10 dBu. Sound recordings made on the iMac with such low-level devices have more noise than those made with high-level devices. The user may obtain better results by connecting an amplifier between the low-level device and the computer’s audio input jack.
The audio input jack is a 3.5 mm miniature phone jack with the signals connected as follows:
Tip | Left-channel audio |
Ring | Right-channel audio |
Sleeve | Audio ground |
The sound input jack has the following electrical characteristics:
maximum input signal amplitude 2 Vrms (5.65 Vpp), +8 dbu peak
input impedance at least 47 kilohms
channel separation greater than 60 dB
recommended source impedance 2 kilohms or less
ground noise rejection greater than 40 dB
frequency response 5 Hz to 20 kHz, +0.0, –0.5 dB
distortion below –80 dB
signal to noise ratio (SNR) greater than -85 dB (unweighted)
The sound system sends computer-generated sounds to the following destinations:
internal speaker
Apple Pro Speaker minijack
stereo headphone jack
The iMac computer has a single internal speaker that operates when no external speakers are connected. The internal speaker uses a monaural mix of the left and right channels.
The Apple Pro Speaker minijack is a 2.5-mm stereo minijack. It has a smaller diameter than the headphone jack so that the user cannot inadvertently plug typical headphones into it.
Warning: Many cell phones, along with some types of headphones and other audio devices, have a 2.5-mm plug. The user must not plug such devices into the Apple Pro Speaker minijack. Doing so could cause damage to the devices.
The Apple Pro Speakers include an internal ROM that enables the computer to identify the speakers. Speakers other than the Apple Pro Speakers should not be connected to the Apple Pro Speaker minijack.
The iMac has a 3.5 mm minijack for stereo sound output. The headphone jack is suitable for connecting a pair of headphones or amplified external speakers. When a plug is inserted into the headphone jack, the internal speaker and the Apple Pro Speaker minijack are disconnected.
The sound output through the headphone jack has the following electrical characteristics:
output level 4.0 V peak-to-peak (1.4 V RMS), open circuit
source impedance 44 ohms
signal-to-noise (SNR) 90 dB unweighted (typical)
total harmonic distortion (THD) 0.03% or less
The frequency response of the sound circuits, not including the microphone and speakers, is within plus or minus 1 dB from 20 Hz to 20 kHz.
Total harmonic distortion plus noise (THD+N) as a percentage of full scale are shown in Table 5-8.
Connector and level | THD+N |
---|---|
Headphone jack, open circuit | 0.03% |
Headphone jack, 32-ohm headphones | 0.5% |
The signal-to-noise ratios (SNR) for various inputs and outputs are shown in Table 5-9. The values shown are unweighted.
Connector | Signal-to-noise ratio |
---|---|
Microphone | 65 dB |
Headphone jack | 90 dB |
Internal CD or DVD | 90 dB |
Line-in jack | >= 85 dB SNR |
© 2003 Apple Computer, Inc. All Rights Reserved. (Last updated: 2003-05-09)