Adding a Peripheral Device to a System
Adding a new peripheral device that is not-pluggable usually involves the following:
Use How to Add a Peripheral Device to add the following devices that are not hot-pluggable to a
system:
CD-ROM
Secondary disk drive
Tape drive
SBUS card
In some cases, you might have to add a third-party device driver
to support the new device.
For information on hot-plugging devices, see Chapter 6, Dynamically Configuring Devices (Tasks).
How to Add a Peripheral Device
- Become superuser.
- (Optional) If you need to add a device driver to support the device, complete
the procedure How to Add a Device Driver.
- Shut down the system.
# shutdown -i0 -g30 -y
- -i0
Brings the system to the 0 init state, which is the appropriate state for turning the system power off for adding and removing devices.
- -g30
Shuts the system down in 30 seconds. The default is 60 seconds.
- -y
Continues the system shutdown without user intervention. Otherwise, you are prompted to continue the shutdown process.
- Select one of the following to turn off power to the system after
it is shut down:
For SPARC platforms, it is safe to turn off power if the ok prompt is displayed.
For x86 platforms, it is safe to turn off power if the type any key to continue prompt is displayed.
- Turn off power to all peripheral devices.
For the location of power switches on any peripheral devices, refer to the
hardware installation guides that accompany your peripheral devices.
- Install the peripheral device, making sure that the device you are adding has
a different target number than the other devices on the system.
Often, a small switch is located at the back of the disk for
selecting the target number.
Refer to the hardware installation guide that accompanies the peripheral device for information on
installing and connecting the device.
- Turn on the power to the system.
The system boots to multiuser mode, and the login prompt is displayed.
- Verify that the peripheral device has been added by attempting to access the
device.
For information on accessing the device, see Accessing Devices.
How to Add a Device Driver
This procedure assumes that the device has already been added to the system.
If not, see What You Need for Unsupported Devices.
- Become superuser.
- Place the tape, diskette, or CD-ROM into the drive.
- Install the driver.
# pkgadd [-d] device package-name
- -d device
Identifies the device path name that contains the package.
- package-name
Identifies the package name that contains the device driver.
- Verify that the package has been added correctly.
# pkgchk package-name
#
The system prompt returns with no response if the package is installed correctly.
Example 5-2 Adding a Device Driver
The following example shows how to install and verify a package called
XYZdrv.
# pkgadd XYZdrv
(licensing messages displayed)
.
.
.
Installing XYZ Company driver as <XYZdrv>
.
.
.
Installation of <XYZdrv> was successful.
# pkgchk XYZdrv
#