Those of you who are already familiar with writing device drivers for Mac OS 9 or for BSD will discover that writing drivers for OS X requires some new ways of thinking. In creating OS X, Apple has completely redesigned the Macintosh I/O architecture, providing a framework for simplified driver development that supports many categories of devices. This framework is called the I/O Kit.
- Asio Driver Mac Os X
- Geforce Mac Os X Driver
- Device Drivers For Mac Os X El Capitan
- Device Drivers For Mac Os X 10.6
From a programming perspective, the I/O Kit provides an abstract view of the system hardware to the upper layers of OS X. The I/O Kit uses an object-oriented programming model, implemented in a restricted subset of C++ to promote increased code reuse.
Drivers are code that help Windows and MacOS recognize the physical components of your computer, like a printer, graphics card, or mouse. Find the drivers you need here, or get an app that helps. Mac OS X supports three types of device drivers. I/O Kit Kernel Extensions and Network Kernel Extensions run within the Mac OS X kernel xnu and have direct access to hardware devices as well as privileged microprocessor instructions.
By starting with properly designed base classes, you gain a head start in writing a new driver; with much of the driver code already written, you need only to fill in the specific code that makes your driver different. For example, all SCSI controllers deliver a fairly standard set of commands to a device, but do so via different low-level mechanisms. By properly using object-oriented programming methodology, a SCSI driver can implement those low-level transport portions without reimplementing the higher level SCSI protocol code. Similar opportunities for code reuse can be found in most types of drivers.
Part of the philosophy of the I/O Kit is to make the design completely open. Rather than hiding parts of the API in an attempt to protect developers from themselves, all of the I/O Kit source is available as part of Darwin. You can use the source code as an aid to designing (and debugging) new drivers.
Instead of hiding the interfaces, Apple’s designers have chosen to lead by example. Sample code and classes show the recommended (easy) way to write a driver. However, you are not prevented from doing things the hard way (or the wrong way). Instead, attention has been concentrated on making the “best” ways easy to follow.
Boot Camp for Windows 10: Display Driver; AMD Radeon Settings; 19.50: 596 MB: 9/08/2020: Download. MacBook Pro (Retina, 16-inch, 2020) with Radeon Pro 5600M; Boot Camp Driver for Windows 10: Display Driver; AMD Radeon Settings; 19.50: 601 MB: 6/29/2020: Download. Mac Pro (2019-2020) with Radeon Pro 580x, Radeon Pro Vega II and Radeon Pro W5700X. About Drivers Drivers are code that help Windows and MacOS recognize the physical components of your computer, like a printer, graphics card, or mouse. Find the drivers you need here, or get an app.
Redesigning the I/O Model
Asio Driver Mac Os X
You might ask why Apple chose to redesign the I/O model. At first glance, it might seem that reusing the model from Mac OS 9 or FreeBSD would have been an easier choice. There are several reasons for the decision, however.
Neither the Mac OS 9 driver model nor the FreeBSD model offered a feature set rich enough to meet the needs of OS X. The underlying operating-system technology of OS X is very different from that of Mac OS 9. The OS X kernel is significantly more advanced than the previous Mac OS system architecture; OS X needs to handle memory protection, preemption, multiprocessing, and other features not present (or substantially less pervasive) in previous versions of the Mac OS.
Although FreeBSD supports these features, the BSD driver model did not offer the automatic configuration, stacking, power management, or dynamic device-loading features required in a modern, consumer-oriented operating system.
By redesigning the I/O architecture, Apple’s engineers can take best advantage of the operating-system features in OS X. For example, virtual memory (VM) is not a fundamental part of the operating system in Mac OS 9. Thus, every driver writer must know about (and write for) VM. This has presented certain complications for developers. In contrast, OS X has simplified driver interaction with VM. VM capability is inherent in the OS X operating system and cannot be turned off by the user. Thus, VM capabilities can be abstracted into the I/O Kit, and the code for handling VM need not be written for every driver.
OS X offers an unprecedented opportunity to reuse code. In Mac OS 9, for example, all software development kits (SDKs) were independent of each other, duplicating functionality between them. In OS X, the I/O Kit is delivered as part of the basic developer tools, and code is shared among its various parts.
In contrast with traditional I/O models, the reusable code model provided by the I/O Kit can decrease your development work substantially. In porting drivers from Mac OS 9, for example, the OS X counterparts have been up to 75% smaller.
In general, all hardware support is provided directly by I/O Kit entities. One exception to this rule is imaging devices such as printers, scanners, and digital cameras (although these do make some use of I/O Kit functionality). Specifically, although communication with these devices is handled by the I/O Kit (for instance, under the FireWire or USB families), support for particular device characteristics is handled by user-space code (see For More Information for further discussion). If you need to support imaging devices, you should employ the appropriate imaging software development kit (SDK).
The I/O Kit attempts to represent, in software, the same hierarchy that exists in hardware. Some things are difficult to abstract, however. When the hardware hierarchy is difficult to represent (for example, if layering violations occur), then the I/O Kit abstractions provide less help for writing drivers.
In addition, all drivers exist to drive hardware; all hardware is different. Even with the reusable model provided by the I/O Kit, you still need to be aware of any hardware quirks that may impact a higher-level view of the device. The code to support those quirks still needs to be unique from driver to driver.
Although most developers should be able to take full advantage of I/O Kit device families (see Families), there will occasionally be some who cannot. Even those developers should be able to make use of parts of the I/O Kit, however. In any case, the source code is always available. You can replace functionality and modify the classes yourself if you need to do so.
In designing the I/O Kit, one goal has been to make developers’ lives easier. Unfortunately, it is not possible to make all developers’ lives uniformly easy. Therefore, a second goal of the I/O Kit design is to meet the needs of the majority of developers, without getting in the way of the minority who need lower level access to the hardware.
I/O Kit Architecture
The I/O Kit provides a model of system hardware in an object-oriented framework. Each type of service or device is represented by a C++ class; each discrete service or device is represented by an instance (object) of that class.
There are three major conceptual elements of the I/O Kit architecture:
Families
A family defines a collection of high-level abstractions common to all devices of a particular category that takes the form of C code and C++ classes. Families may include headers, libraries, sample code, test harnesses, and documentation. They provide the API, generic support code, and at least one example driver (in the documentation).
Families provide services for many different categories of devices. For example, there are protocol families (such as SCSI, USB, and FireWire), storage families (disk), network families, and families to describe human interface devices (mouse and keyboard). When devices have features in common, the software that supports those features is most likely found in a family.
Common abstractions are defined and implemented by the family, allowing all drivers in a family to share similar features easily. For example, all SCSI controllers have certain things they must do, such as scanning the SCSI bus. The SCSI family defines and implements the functionality that is common to SCSI controllers. Because this functionality has been included in the SCSI family, you do not need to include scanning code (for example) in your new SCSI controller driver.
Instead, you can concentrate on device-specific details that make your driver different from other SCSI drivers. The use of families means there is less code for you to write.
Families are dynamically loadable; they are loaded when needed and unloaded when no longer needed. Although some common families may be preloaded at system startup, all families should be considered to be dynamically loadable (and, therefore, potentially unloaded). See the Connection Example for an illustration.
Drivers
A driver is an I/O Kit object that manages a specific device or bus, presenting a more abstract view of that device to other parts of the system. When a driver is loaded, its required families are also loaded to provide necessary, common functionality. The request to load a driver causes all of its dependent requirements (and their requirements) to be loaded first. After all requirements are met, the requested driver is loaded as well. See Connection Example for an illustration.
Note that families are loaded upon demand of the driver, not the other way around. Occasionally, a family may already be loaded when a driver demands it; however, you should never assume this. To ensure that all requirements are met, each device driver should list all of its requirements in its property list.
Most drivers are in a client-provider relationship, wherein the driver must know about both the family from which it inherits and the family to which it connects. A SCSI controller driver, for example, must be able to communicate with both the SCSI family and the PCI family (as a client of PCI and provider of SCSI). A SCSI disk driver communicates with both the SCSI and storage families.
Nubs
A nub is an I/O Kit object that represents a point of connection for a driver. It represents a controllable entity such as a disk or a bus.
A nub is loaded as part of the family that instantiates it. Each nub provides access to the device or service that it represents and provides services such as matching, arbitration, and power management.
The concept of nubs can be more easily visualized by imagining a TV set. There is a wire attached to your wall that provides TV service from somewhere. For all practical purposes, it is permanently associated with that provider, the instantiating class (the cable company who installed the line). It can be attached to the TV to provide a service (cable TV). That wire is a nub.
Each nub provides a bridge between two drivers (and, by extension, between two families). It is most common that a driver publishes one nub for each individual device or service it controls. (In this example, imagine one wire for every home serviced by the cable company.)
It is also possible for a driver that controls only a single device or service to act as its own nub. (Imagine the antenna on the back of your TV that has a built-in wire.) See the Connection Example for an illustration of the relationship between nubs and drivers.
Connection Example
Figure 12-1 illustrates the I/O Kit architecture, using several example drivers and their corresponding nubs. Note that many different driver combinations are possible; this diagram shows only one possibility.
In this case, a SCSI stack is shown, with a PCI controller, a disk, and a SCSI scanner. The SCSI disk is controlled by a kernel-resident driver. The SCSI scanner is controlled by a driver that is part of a user application.
This example illustrates how a SCSI disk driver (Storage family) is connected to the PCI bus. The connection is made in several steps.
The PCI bus driver discovers a PCI device and announces its presence by creating a nub (
IOPCIDevice
). The nub’s class is defined by the PCI family.The bus driver identifies (matches) the correct device driver and requests that the driver be loaded. At the end of this matching process, a SCSI controller driver has been found and loaded. Loading the controller driver causes all required families to be loaded as well. In this case, the SCSI family is loaded; the PCI family (also required) is already present. The SCSI controller driver is given a reference to the
IOPCIDevice
nub.The SCSI controller driver scans the SCSI bus for devices. Upon finding a device, it announces the presence of the device by creating a nub (
IOSCSIDevice
). The class of this nub is defined by the SCSI family.The controller driver identifies (matches) the correct device driver and requests that the driver be loaded. At the end of this matching process, a disk driver has been found and loaded. Loading the disk driver causes all required families to be loaded as well. In this case, the Storage family is loaded; the SCSI family (also required) is already present. The disk driver is given a reference to the
IOSCSIDevice
nub.
For More Information
For more information on the I/O Kit, you should read the document IOKit Fundamentals, available from Apple’s developer documentation website, http://developer.apple.com/documentation. It provides a good general overview of the I/O Kit.
In addition to IOKit Fundamentals, the website contains a number of HOWTO documents and topic-specific documents that describe issues specific to particular technology areas such as FireWire and USB.
Copyright © 2002, 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-08-08
When you install Microsoft Windows on your Mac, Boot Camp Assistant automatically opens the Boot Camp installer, which installs the latest Windows support software (drivers). If that doesn't happen, or you experience any of the following issues while using Windows on your Mac, follow the steps in this article.
- Your Apple mouse, trackpad, or keyboard isn't working in Windows.
Force Touch isn't designed to work in Windows. - You don't hear audio from the built-in speakers of your Mac in Windows.
- The built-in microphone or camera of your Mac isn't recognized in Windows.
- One or more screen resolutions are unavailable for your display in Windows.
- You can't adjust the brightness of your built-in display in Windows.
- You have issues with Bluetooth or Wi-Fi in Windows.
- You get an alert that Apple Software Update has stopped working.
- You get a message that your PC has a driver or service that isn't ready for this version of Windows.
- Your Mac starts up to a black or blue screen after you install Windows.
If your Mac has an AMD video card and is having graphics issues in Windows, you might need to update your AMD graphics drivers instead.
Install the latest macOS updates
Before proceeding, install the latest macOS updates, which can include updates to Boot Camp.
Format a USB flash drive
Geforce Mac Os X Driver
To install the latest Windows support software, you need a 16GB or larger USB flash drive formatted as MS-DOS (FAT).
Device Drivers For Mac Os X El Capitan
- Start your Mac from macOS.
- Plug the USB flash drive into your Mac.
- Open Disk Utility, which is in the Utilities folder of your Applications folder.
- Choose View > Show All Devices from the menu bar.
- From the sidebar in Disk Utility, select your USB flash drive. (Select the drive name, not the volume name beneath it.)
- Click the Erase button or tab.
- Choose MS-DOS (FAT) as the format and Master Boot Record as the scheme.
- Click Erase to format the drive. When done, quit Disk Utility.
Download the Windows support software
After preparing your USB flash drive, complete these steps:
- Make sure that your Mac is connected to the Internet.
- Open Boot Camp Assistant, which is in the Utilities folder of your Applications folder.
- From the menu bar at the top of your screen, choose Action > Download Windows Support Software, then choose your USB flash drive as the save destination. When the download completes, quit Boot Camp Assistant.
Learn what to do if you can't download or save the Windows support software.
Install the Windows support software
After downloading the Windows support software to your flash drive, follow these steps to install the software. (If you're attempting to resolve issues with a Bluetooth mouse or keyboard, it might be easier to use a USB mouse or keyboard until these steps are complete.)
- Make sure that the USB flash drive is plugged into your Mac.
- Start up your Mac in Windows.
- From File Explorer, open the USB flash drive, then open Setup or setup.exe, which is in the WindowsSupport folder or BootCamp folder. When you're asked to allow Boot Camp to make changes to your device, click Yes.
- Click Repair to begin installation. If you get an alert that the software hasn't passed Windows Logo testing, click Continue Anyway.
- After installation completes, click Finish, then click Yes when you're asked to restart your Mac.
Learn more
If you can't download or save the Windows support software:
Device Drivers For Mac Os X 10.6
- If the assistant says that the Windows support software could not be saved to the selected drive, or that the USB flash drive can't be used, make sure that your USB flash drive has a storage capacity of at least 16GB and is formatted correctly.
- If the assistant doesn't see your USB flash drive, click Go Back and make sure that the drive is connected directly to the USB port on your Mac—not to a display, hub, or keyboard. Disconnect and reconnect the drive, then click Continue.
- If the assistant says that it can't download the software because of a network problem, make sure that your Mac is connected to the Internet.
- Make sure that your Mac meets the system requirements to install Windows using Boot Camp.
If a Mac feature still doesn't work after updating the Windows support software, search for your symptom on the Apple support website or Microsoft support website. Some features of your Mac aren't designed to work in Windows.