-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add directory utils/signed-windows-inf-files/ with Windows inf files …
…for Hantek 6022BE and Hantek 6022BL. Easy installation withotu Zadig (right-click on the inf files and install). Informative names in Device Manager, identifying device and common firmwares loader/openht/sigrok Signed-off-by: fgrieu <fgrieu@gmail.com>
- Loading branch information
Showing
13 changed files
with
356 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Installs WinUsb for Hantek 6022BE loader | ||
|
||
[Version] | ||
Signature = "$Windows NT$" | ||
Class = USBDevice | ||
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | ||
Provider = %ManufacturerName% | ||
CatalogFile=Hantek_6022BE_loader.cat | ||
DriverVer = 12/23/2021, 21.12.23.4 | ||
PnpLockDown=1 | ||
|
||
; ========== Manufacturer/Models sections =========== | ||
|
||
[Manufacturer] | ||
%ManufacturerName% = Standard,NTamd64,NTx86 | ||
|
||
[Standard.NTamd64] | ||
%DeviceName% = USB_Install, USB\VID_04B4&PID_6022 | ||
|
||
[Standard.NTx86] | ||
%DeviceName% = USB_Install, USB\VID_04B4&PID_6022 | ||
|
||
; =================== Installation =================== | ||
|
||
[USB_Install] | ||
Include=winusb.inf | ||
Needs=WINUSB.NT | ||
|
||
[USB_Install.Services] | ||
Include=winusb.inf | ||
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall | ||
|
||
[WinUsb_ServiceInstall] | ||
DisplayName = %WinUsb_SvcDesc% | ||
ServiceType = 1 | ||
StartType = 3 | ||
ErrorControl = 1 | ||
ServiceBinary = %12%\WinUSB.sys | ||
|
||
[USB_Install.HW] | ||
AddReg=Dev_AddReg | ||
|
||
[Dev_AddReg] | ||
; By default, USBDevice class uses iProduct descriptor to name the device | ||
; The following line (uncommented) forces using %DeviceName% | ||
HKR,,FriendlyName,,%DeviceName% | ||
HKR,,DeviceInterfaceGUIDs,0x10000,"{C4B9C054-04B4-6022-367C-22756B7032DB}" | ||
|
||
[Strings] | ||
ManufacturerName="Hantek" | ||
ClassName="Universal Serial Bus devices" | ||
WinUsb_SvcDesc="WinUSB Driver" | ||
DeviceName="Hantek 6022BE loader" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Installs WinUsb for Hantek 6022BE openht | ||
|
||
[Version] | ||
Signature = "$Windows NT$" | ||
Class = USBDevice | ||
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | ||
Provider = %ManufacturerName% | ||
CatalogFile=Hantek_6022BE_openht.cat | ||
DriverVer = 12/23/2021, 21.12.23.4 | ||
PnpLockDown=1 | ||
|
||
; ========== Manufacturer/Models sections =========== | ||
|
||
[Manufacturer] | ||
%ManufacturerName% = Standard,NTamd64,NTx86 | ||
|
||
[Standard.NTamd64] | ||
%DeviceName% = USB_Install, USB\VID_04B5&PID_6022 | ||
|
||
[Standard.NTx86] | ||
%DeviceName% = USB_Install, USB\VID_04B5&PID_6022 | ||
|
||
; =================== Installation =================== | ||
|
||
[USB_Install] | ||
Include=winusb.inf | ||
Needs=WINUSB.NT | ||
|
||
[USB_Install.Services] | ||
Include=winusb.inf | ||
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall | ||
|
||
[WinUsb_ServiceInstall] | ||
DisplayName = %WinUsb_SvcDesc% | ||
ServiceType = 1 | ||
StartType = 3 | ||
ErrorControl = 1 | ||
ServiceBinary = %12%\WinUSB.sys | ||
|
||
[USB_Install.HW] | ||
AddReg=Dev_AddReg | ||
|
||
[Dev_AddReg] | ||
; By default, USBDevice class uses iProduct descriptor to name the device | ||
; The following line (uncommented) forces using %DeviceName% | ||
HKR,,FriendlyName,,%DeviceName% | ||
HKR,,DeviceInterfaceGUIDs,0x10000,"{C4B9C054-04B5-6022-367C-22756B7032DB}" | ||
|
||
[Strings] | ||
ManufacturerName="Hantek" | ||
ClassName="Universal Serial Bus devices" | ||
WinUsb_SvcDesc="WinUSB Driver" | ||
DeviceName="Hantek 6022BE openht" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Installs WinUsb for Hantek 6022BE sigrok | ||
|
||
[Version] | ||
Signature = "$Windows NT$" | ||
Class = USBDevice | ||
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | ||
Provider = %ManufacturerName% | ||
CatalogFile=Hantek_6022BE_sigrok.cat | ||
DriverVer = 12/23/2021, 21.12.23.4 | ||
PnpLockDown=1 | ||
|
||
; ========== Manufacturer/Models sections =========== | ||
|
||
[Manufacturer] | ||
%ManufacturerName% = Standard,NTamd64,NTx86 | ||
|
||
[Standard.NTamd64] | ||
%DeviceName% = USB_Install, USB\VID_1D50&PID_608E&REV_0000 | ||
|
||
[Standard.NTx86] | ||
%DeviceName% = USB_Install, USB\VID_1D50&PID_608E&REV_0000 | ||
|
||
; =================== Installation =================== | ||
|
||
[USB_Install] | ||
Include=winusb.inf | ||
Needs=WINUSB.NT | ||
|
||
[USB_Install.Services] | ||
Include=winusb.inf | ||
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall | ||
|
||
[WinUsb_ServiceInstall] | ||
DisplayName = %WinUsb_SvcDesc% | ||
ServiceType = 1 | ||
StartType = 3 | ||
ErrorControl = 1 | ||
ServiceBinary = %12%\WinUSB.sys | ||
|
||
[USB_Install.HW] | ||
AddReg=Dev_AddReg | ||
|
||
[Dev_AddReg] | ||
; By default, USBDevice class uses iProduct descriptor to name the device | ||
; The following line (uncommented) forces using %DeviceName% | ||
HKR,,FriendlyName,,%DeviceName% | ||
HKR,,DeviceInterfaceGUIDs,0x10000,"{C4B9C054-1D50-608E-0000-22756B7032DB}" | ||
|
||
[Strings] | ||
ManufacturerName="Hantek" | ||
ClassName="Universal Serial Bus devices" | ||
WinUsb_SvcDesc="WinUSB Driver" | ||
DeviceName="Hantek 6022BE sigrok" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Installs WinUsb for Hantek 6022BL loader | ||
|
||
[Version] | ||
Signature = "$Windows NT$" | ||
Class = USBDevice | ||
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | ||
Provider = %ManufacturerName% | ||
CatalogFile=Hantek_6022BL_loader.cat | ||
DriverVer = 12/23/2021, 21.12.23.4 | ||
PnpLockDown=1 | ||
|
||
; ========== Manufacturer/Models sections =========== | ||
|
||
[Manufacturer] | ||
%ManufacturerName% = Standard,NTamd64,NTx86 | ||
|
||
[Standard.NTamd64] | ||
%DeviceName% = USB_Install, USB\VID_04B4&PID_602A | ||
|
||
[Standard.NTx86] | ||
%DeviceName% = USB_Install, USB\VID_04B4&PID_602A | ||
|
||
; =================== Installation =================== | ||
|
||
[USB_Install] | ||
Include=winusb.inf | ||
Needs=WINUSB.NT | ||
|
||
[USB_Install.Services] | ||
Include=winusb.inf | ||
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall | ||
|
||
[WinUsb_ServiceInstall] | ||
DisplayName = %WinUsb_SvcDesc% | ||
ServiceType = 1 | ||
StartType = 3 | ||
ErrorControl = 1 | ||
ServiceBinary = %12%\WinUSB.sys | ||
|
||
[USB_Install.HW] | ||
AddReg=Dev_AddReg | ||
|
||
[Dev_AddReg] | ||
; By default, USBDevice class uses iProduct descriptor to name the device | ||
; The following line (uncommented) forces using %DeviceName% | ||
HKR,,FriendlyName,,%DeviceName% | ||
HKR,,DeviceInterfaceGUIDs,0x10000,"{C4B9C054-04B4-602A-367C-22756B7032DB}" | ||
|
||
[Strings] | ||
ManufacturerName="Hantek" | ||
ClassName="Universal Serial Bus devices" | ||
WinUsb_SvcDesc="WinUSB Driver" | ||
DeviceName="Hantek 6022BL loader" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Installs WinUsb for Hantek 6022BL openht | ||
|
||
[Version] | ||
Signature = "$Windows NT$" | ||
Class = USBDevice | ||
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | ||
Provider = %ManufacturerName% | ||
CatalogFile=Hantek_6022BL_openht.cat | ||
DriverVer = 12/23/2021, 21.12.23.4 | ||
PnpLockDown=1 | ||
|
||
; ========== Manufacturer/Models sections =========== | ||
|
||
[Manufacturer] | ||
%ManufacturerName% = Standard,NTamd64,NTx86 | ||
|
||
[Standard.NTamd64] | ||
%DeviceName% = USB_Install, USB\VID_04B5&PID_602A | ||
|
||
[Standard.NTx86] | ||
%DeviceName% = USB_Install, USB\VID_04B5&PID_602A | ||
|
||
; =================== Installation =================== | ||
|
||
[USB_Install] | ||
Include=winusb.inf | ||
Needs=WINUSB.NT | ||
|
||
[USB_Install.Services] | ||
Include=winusb.inf | ||
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall | ||
|
||
[WinUsb_ServiceInstall] | ||
DisplayName = %WinUsb_SvcDesc% | ||
ServiceType = 1 | ||
StartType = 3 | ||
ErrorControl = 1 | ||
ServiceBinary = %12%\WinUSB.sys | ||
|
||
[USB_Install.HW] | ||
AddReg=Dev_AddReg | ||
|
||
[Dev_AddReg] | ||
; By default, USBDevice class uses iProduct descriptor to name the device | ||
; The following line (uncommented) forces using %DeviceName% | ||
HKR,,FriendlyName,,%DeviceName% | ||
HKR,,DeviceInterfaceGUIDs,0x10000,"{C4B9C054-04B5-602A-367C-22756B7032DB}" | ||
|
||
[Strings] | ||
ManufacturerName="Hantek" | ||
ClassName="Universal Serial Bus devices" | ||
WinUsb_SvcDesc="WinUSB Driver" | ||
DeviceName="Hantek 6022BL openht" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Installs WinUsb for Hantek 6022BL sigrok | ||
|
||
[Version] | ||
Signature = "$Windows NT$" | ||
Class = USBDevice | ||
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | ||
Provider = %ManufacturerName% | ||
CatalogFile=Hantek_6022BL_sigrok.cat | ||
DriverVer = 12/23/2021, 21.12.23.4 | ||
PnpLockDown=1 | ||
|
||
; ========== Manufacturer/Models sections =========== | ||
|
||
[Manufacturer] | ||
%ManufacturerName% = Standard,NTamd64,NTx86 | ||
|
||
[Standard.NTamd64] | ||
%DeviceName% = USB_Install, USB\VID_1D50&PID_608E&REV_0003 | ||
|
||
[Standard.NTx86] | ||
%DeviceName% = USB_Install, USB\VID_1D50&PID_608E&REV_0003 | ||
|
||
; =================== Installation =================== | ||
|
||
[USB_Install] | ||
Include=winusb.inf | ||
Needs=WINUSB.NT | ||
|
||
[USB_Install.Services] | ||
Include=winusb.inf | ||
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall | ||
|
||
[WinUsb_ServiceInstall] | ||
DisplayName = %WinUsb_SvcDesc% | ||
ServiceType = 1 | ||
StartType = 3 | ||
ErrorControl = 1 | ||
ServiceBinary = %12%\WinUSB.sys | ||
|
||
[USB_Install.HW] | ||
AddReg=Dev_AddReg | ||
|
||
[Dev_AddReg] | ||
; By default, USBDevice class uses iProduct descriptor to name the device | ||
; The following line (uncommented) forces using %DeviceName% | ||
HKR,,FriendlyName,,%DeviceName% | ||
HKR,,DeviceInterfaceGUIDs,0x10000,"{C4B9C054-1D50-608E-0003-22756B7032DB}" | ||
|
||
[Strings] | ||
ManufacturerName="Hantek" | ||
ClassName="Universal Serial Bus devices" | ||
WinUsb_SvcDesc="WinUSB Driver" | ||
DeviceName="Hantek 6022BL sigrok" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
These files provide an easy method to bind WinUSB to Hantek 6022BE and 6022BL (in scope mode, | ||
button pressed) with clear dstinction between three common states: | ||
- loader mode (when plugged) | ||
- openht mode (when OpenHantek has loaded it's firmware) | ||
- sigrok mode (when Sigrok or PulseView has loaded it's firmware) | ||
|
||
When these bindings are used, the device appears under "Device Manager" as | ||
"Universal Serial Bus devices" with an informative name: | ||
Hantek 6022BE loader Hantek 6022BL loader | ||
Hantek 6022BE openht Hantek 6022BL openht | ||
Hantek 6022BE sigrok Hantek 6022BL sigrok | ||
|
||
--- | ||
Removing other bindings/drivers (optional, recommended): | ||
|
||
The manufacturer's drivers can perhaps be desintalled from "add/remove programs" where they | ||
appear as "Windows Driver Package - ODM (Hantek6022...) USB". | ||
|
||
If other bindings appear in "Device Manager" and need to be removed, | ||
ight-click on the device, perform "Uninstall device", | ||
optionally (suggested) tick "Delete the driver software for this device", | ||
confirm. | ||
|
||
USBDeview ( https://www.nirsoft.net/utils/usb_devices_view.html ) has an | ||
"Unisntall sected device" option, that does not delete the driver software. | ||
|
||
--- | ||
To install: Select the desired .inf files, e.g. for a 6022BE: | ||
Hantek_6022BE_loader.inf Hantek_6022BE_openht.inf Hantek_6022BE_sigrok .inf | ||
and right-click to install. This is fast. No reboot or wait is necessary. | ||
|
||
Note: Leave the .inf and matching signed .cat files together. | ||
|
||
--- | ||
Public domin. Use at your own risk. | ||
Only insurance is that these files, as created, are not deliberately malicious. | ||
|
||
fgrieu - 2021-12-23 |