Name: windows-device-drivers
Owner: Particle
Description: USB Drivers for Particle devices
Created: 2016-06-13 16:14:13.0
Updated: 2018-03-01 16:35:45.0
Pushed: 2018-01-03 18:50:44.0
Homepage: null
Size: 5347
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
NOTE: These drivers only support Particle Photon/P1/Electron firmware version >= 0.6.0 and Spark Core (no firmware version restriction)
The installer is built using Nullsoft NSIS. The installer supports Microsoft Windows versions starting with Windows XP, both x86 and amd64 variants. The driver inf files are installed using devcon
utility from Microsoft DDK.
A basic outline of the installation steps:
%TEMP%\particle-drivers-${version}
is deletedparticle-drivers-${version}.exe /S
), a registry key HKEY_LOCAL_MACHINE\Software\Particle\Drivers\Version
is checkedString
value of current driver installer version (e.g. 6.1.0.45
) (meaning that the drivers are already installed), or equals to "99999999"
the installer silently exits.%TEMP%\particle-drivers-${version}
devcon
utility and removes any USB\VID_2B04&PID_C0*
devicesdevcon
utility and removes any installed drivers (OEM inf files) with Provider: Particle
or Provider: Sparklabs
psexec
utility): HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_2B04&PID_C0*
, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\2B04C0*
HKEY_LOCAL_MACHINE\Software\Particle\Drivers\Version
registry entry"99999999"
string is written into HKEY_LOCAL_MACHINE\Software\Particle\Drivers\Version
registry key99999999
DWORD value is written into HKEY_LOCAL_MACHINE\Software\Particle\Drivers\serial
registry key%TEMP%\particle-drivers-${version}
particle.inf
using devcon
utilitydevcon
utility to rescan currently attached devices6.1.0.45
) into HKEY_LOCAL_MACHINE\Software\Particle\Drivers\Version
registry key99999999
DWORD value into HKEY_LOCAL_MACHINE\Software\Particle\Drivers\serial
registry key%TEMP%\particle-drivers-${version}
)