Guides › Drivers and hardware

Windows drivers

Run a Windows driver (.sys) for a PCI card when there is no Sovereign OS driver for it. Off at first, and each driver runs walled off from the rest of your PC.

Some cards only come with a Windows driver. Sovereign OS can run some of these drivers as they are. This is new and many drivers do not work yet, so look for a Sovereign OS driver first. See Get more drivers.

How it keeps your PC safe

  • It is off at first. Only an administrator can turn it on.
  • Each driver asks once. The first time a driver file runs, an administrator must allow it. The question names the file, the start of its fingerprint (SHA-256) and who signed it. If the file changes, it asks again.
  • A driver runs on its own. It runs as a normal program, not inside the system. It can only reach its own card. It cannot open your files, the network or other programs.
  • The card is fenced in. The card can only reach memory set aside for it, and the driver cannot move the card's registers or change where its interrupts go. If your PC cannot fence the card in (it has no IOMMU, or it is turned off), the driver does not run, not even in Developer Mode.
  • A crash stays small. If a driver crashes, only that driver stops. You see a message that says what went wrong. It is not started again on its own, not even when your PC starts again.

Signatures

Settings shows who signed each driver. A driver whose signature is broken never runs. A driver with no signature, or from a signer your PC does not know, runs only while Developer Mode is on. See Developer Mode.

Use a Windows driver

  1. Make a folder for the driver in /boot/SYSTEM/NTDRIVERS, for example /boot/SYSTEM/NTDRIVERS/mycard.
  2. Put the driver's .inf file and its .sys file in that folder.
  3. Open Settings > Devices and scroll to Windows drivers.
  4. Turn on Allow Windows drivers. Your PC asks for an administrator.
  5. Press Look again if the driver is not listed.
  6. Press Start next to the driver, and allow it when asked.
  7. Press Test to check that it answers.

Programs can talk to a running driver through /dev/wdrv0 (and up) only after an administrator allowed them, for example with elevate in the Terminal.

To stop it, press Stop. Stopping a driver and turning Windows drivers off ask for an administrator too. If it crashed, read the message, then press Start again when you want to try again.

What does not work yet

WhatWhy
Most new driversMany drivers use a part of Windows called KMDF. It is not there yet. You see a message that says so.
Some older driversA driver may need a part of Windows that is missing. It stops and the message names the missing part.
Network, disk, sound and input cardsThe driver can run, but the rest of the system does not use it yet.
USB devicesOnly PCI cards for now.
SleepA card that runs through a Windows driver does not sleep or wake.
Tip This feature has been tested with a small test driver. It has not yet been tested with drivers from hardware makers.

Still stuck? Search the help center or contact support.