Hardware drivers (DriverKit and USB)
Runs user space drivers for hardware; on iPadOS only on M series iPads.
In one line
Can run hardware drivers only on M series iPads, with Apple approval
Runs user space drivers for hardware; on iPadOS only on M series iPads.
Lets apps talk to USB and PCIe style accessories; power and risk justify Apple approval and user approval.
What it can and can't do
What the user does: You turn the driver on in Settings, then plug in the device
It can
- Run a driver for a USB or similar accessory on iPad with M1 or newer (iPadOS 16 and later)
- Talk to a USB device on Android after you tap Allow
It cannot
- Run drivers on iPhone
- Run a driver on iPad without Apple's entitlement and your switch in Settings
- Install kernel or arbitrary drivers on Android
How it differs between platforms: iPad needs Apple's approval and your switch in Settings; Android only offers a per device USB prompt.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Partial | Behind a flag |
| First version | Android 3.1 (API 12) | iOS 16 |
| Permission or entitlement | None; per device USB permission dialog | com.apple.developer.driverkit (and family specific entitlements) |
| Protection level | none | entitlement |
| How access is granted | prompt | entitlement |
| What the user sees | USB device permission dialog | User enables the driver in Settings |
| How long it lasts | Per device until unplugged | Until disabled |
| How to take it back | Settings > Connected devices | Settings > General > Login Items and Extensions > Drivers |
| Store policy | None listed | Apple approves via request |
| API | UsbManager host API | DriverKit, IOUSBHostDevice |
| Notes | No kernel or arbitrary drivers for apps | iPadOS 16 and later on M1 and newer iPads; macOS uses same API |
Data you get
What comes back: Device IO
Shape: stream
How often: continuous
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
devices | list | USB IDs | per entitlement | Not listed |
Technical limits
- iPhone has no DriverKit
- Android lacks driver model but offers USB host
The story
What it is
Lets a company run its own device driver as a normal app, instead of changing the system.
For you
You plug in a pro audio box or lab device on an iPad Pro and it just works after you install the maker's app. You do not see the driver, only the device working.
For makers
Hardware makers can support the iPad without a system change. Apple approves each use. This opens the iPad to music studios, labs and scientists. Android does not let apps act as drivers.
Where you see it
| Type | Example | Apps |
|---|---|---|
| creative | A pro audio interface works with iPad music apps after you install its driver app. | Universal Audio |
| education | A classroom science kit plugs into an iPad to record data. | None named |
| enterprise | A tablet runs a barcode scanner and printer for a store. | None named |
| developer | An engineer tests hardware from an iPad. | None named |
| health | A lab device streams results to a clinician's iPad. | None named |
| creative | A video capture card feeds a live editor. | None named |
| security | A hardware key reader unlocks a company app. | None named |
Risks
- Approval needed
- Drivers have deep access
- M series iPads only
Android and iPhone in short
- Android: Android does not allow apps to act as drivers for arbitrary hardware.
- iPhone: On iPadOS this only works on iPads with M1 or newer chips. macOS uses the same API.
What the platform says
- Apple: DriverKit. Build drivers for USB and PCIe style gear that run as apps and need no system changes.
Good uses and abuse
Legitimate uses
- Audio interfaces
- Scientific hardware
Known abuse
- Privileged hardware access
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2022-09, iPhone iPadOS 16: DriverKit on M series iPads
Related capabilities
Related
- Bluetooth. Can scan for, connect to and broadcast as Bluetooth devices after you tap Allow
Sources
How well checked: Inferred from related behavior.