Install USB peripheral drivers

Follow the steps below to add third-party drivers (USB) for peripheral devices such as USB Mobile broadband modems, printers, scanners etc.

Step 1: Get Drivers from PC

The Step is to get the x86 version of the drivers from PC. For any missing Drivers, please contact the supplier of the peripheral to get the sys/inf files (especially for ARM32 and ARM64).

  1. Connect the device to the windows PC

  2. Install the driver for the device on the PC

  3. Go to Device Manager, select this device (listed under Universal Serial Bus controllers) and right click and select Properties.

  4. Go to Driver tab in the Properties window, and click on Driver Details. Note the sys files listed there.

  5. Copy the sys files from C:\Windows\system32 and also the related inf file from C:\Windows\Inf. You can find the inf file by searching for the sys file reference in the .inf files. You may need to copy additional files listed in the Inf and these will be listed in the inf_filelist.txt file created when using inf2pkg.cmd in the next step.

Step 2: Create a driver package

The Driver package contains the references(InfSource)to the Inf file for the driver and also lists all the files referenced in the Inf file. You can author the driver .wm.xml using Add-IoTDriverPackage.

New-IoTInf2Cab creates the package xml file and also builds the cab file directly.

Note

Windows IoT Core only supports Universal INF and Universal Drivers.

See also: Sample Driver Package

Step 3: Install on device

  • Connect to the device (using SSH or using PowerShell)
  • Copy the <filename>.cab file to the device to a directory say C:\OemInstall
  • Initiate staging of the package using applyupdate -stage C:\OemInstall\<filename>.cab. Note that this step is be repeated for each package, when you have multiple packages to install.
  • Commit the packages using applyupdate -commit.

The device will reboot into the update OS (showing gears) to install the packages and will reboot again to main OS. This process can take a few minutes.

Step 4: Check status of driver