Managing Devices in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Add a Device Driver

In the Oracle Solaris 11 release, the pkg commands are used to add packages to the system. Device driver packages might still be in SRV4 package format so the steps below use the pkgadd command instead of the pkg install command.

This procedure assumes that the device has already been added to the system. If not, see How to Add a Peripheral Device.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Place the media into the drive.
  3. Install the driver.
    # pkgadd [–d] device package-name
  4. Verify that the package has been added correctly.
    # pkgchk package-name
    #

    If the package is correctly installed, the command generates no output.

Example 1-7  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
#