This chapter describes both the built-in I/O devices and the ports for connecting external I/O devices on the 15” iMac. Each of the following sections describes an I/O port or device.
USB Ports
FireWire 400 Ports
Ethernet Port
AirPort Card
Internal Modem
Bluetooth Technology
Hard Disk Drive
Combo (CD-RW/DVD-ROM) Drive
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 first USB port (the one nearest the mini-VGA connector) and the internal modem share one USB root hub; the second and third USB ports share a second USB hub. Each hub provides a 12 Mbps data transfer rate that is shared between the devices connected to it. 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 4-1 is an illustration of a Type A port; Table 4-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 Pangea 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 the 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 FireWire 400 connector has six contacts, as shown in Figure 4-2. The connector signals and pin assignments are shown in Table 4-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 connection, a hard disk icon appears on its desktop.
If you disconnect the FireWire 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 4-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 15” iMac computer supports the AirPort Card, an internal wireless LAN module. The AirPort 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 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 Base Station has connectors for a wired LAN, a DSL or cable modem, and a standard telephone line using its built-in 56k modem.
AirPort transmits and receives data at speeds up to 11 Mbps, comparable to wired networking speeds. AirPort is Wi-Fi Certified, which means it is fully compatible with other devices that follow the IEEE 802.11b standard, including PC's. For more information about Wi-Fi and compatibility, see the reference at “Wireless Networks.”
AirPort 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 multi-bit 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 uses up to 128-bit encryption to encode data while it is in transit.
The AirPort Base Station can be configured to use NAT (Network Address Translation), protecting data from Internet hackers.
The AirPort Base Station can authenticate users by their unique Ethernet IDs, preventing unauthorized computers from logging into your 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 data security
The AirPort Card is a wireless LAN module based on the IEEE 802.11 standard and using direct-sequence spread-spectrum (DSSS) technology. It is interoperable with PC-compatible wireless LANs that conform to the 802.11b standard and use DSSS.
Two AirPort antennas are built into the computer's flat-panel display, one on either side. One antenna is always used for transmitting. Either of the two antennas may be used for receiving. Using a diversity technique, the AirPort Card selects the antenna that gives the best reception.
Software that is provided with the AirPort Card includes
AirPort Setup Assistant, an easy-to-use program that guides you through the steps necessary to set up the AirPort Card or set up an AirPort Base Station.
Users can switch between wireless networks and can create and join peer-to-peer networks. These functions are accessed via the AirPort status menu.
AirPort 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.
In the 15” iMac, the Bluetooth option requires an external third-party adapter connected via the USB bus. 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
For more information on Bluetooth technology, refer to “Bluetooth.”
The internal hard disk drive has a storage capacity of 60 GB, uses the Ultra ATA-66 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 15” iMac computer has a combination CD-RW and DVD-ROM drive. The combination drive has a tray for loading the disc.
The drive can read DVD media and read and write CD media, as shown in Table 4-4. The Combo drive also provides DVD-Video playback with DVD MPEG2 decode.
Digital audio signals from the Combo drive can be played through the sound outputs under the control of the Sound Manager in System Preferences.
The Combo drive uses the ATA-4 protocol and is device-select jumpered as Device 1 (slave) 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 15 inches, measured diagonally. The display contains 1024 by 768 pixels (XGA) 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 1024x768, 800 x600, or 640 x480 pixels.
The graphics subsystem uses an NVIDIA GeForce2 MX with 32 MB of DDR RAM. It supports 3D acceleration and display depths up to 24 bits per pixel at all screen resolutions. When more graphics storage is needed, the graphics IC can also use part of main memory. For more information, see “Pangea IC Video Display Subsystem.”
The iMac computer has a port for an external video monitor. The external monitor shows the same information as the built-in display, a mode sometimes called hardware video mirroring. The external monitor supports only the display sizes that are available on the internal monitor; the sizes and refresh rates are shown in Table 4-5.
Dislpay size | Refresh rate |
---|---|
640 by 480 | 60 Hz |
800 by 600 | 75 Hz |
1024 by 768 | 75 Hz |
The connector for the analog video monitor is a custom 14-pin connector. The pins and signals are listed in Table 4-6. An adapter is available for use with monitors with VGA 15-pin miniature D-type connectors.
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 4-3 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, and the USB ports. The iMac includes Apple Pro Speakers.
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 four 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
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 sound system sends computer-generated sounds to four 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 4-7.
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 4-8. The values shown are unweighted.
Connector | Signal-to-noise ratio |
---|---|
Microphone | 65 dB |
Headphone jack | 90 dB |
Internal CD or DVD | 90 dB |
© 2003 Apple Computer, Inc. All Rights Reserved. (Last updated: 2003-05-09)