Files
agent/packages/usb
László Monda 2702a74035 Finalize usb protocol (#515)
* Change UsbCommandId_SetTestLed from 0x02 to 0x14

* Change UsbCommandId_JumpToModuleBootloader from 0x12 to 0x02.

* Change UsbCommandId_SendKbootCommandToModule from 0x13 to 0x03.

* Replace UsbCommandId_ReadHardwareConfig and UsbCommandId_ReadUserConfig with UsbCommandId_ReadConfig.

* Change UsbCommandId_WriteHardwareConfig and UsbCommandId_WriteUserConfig to 0x05 and 0x06.

* Change UsbCommandId_ApplyConfig to 0x07.

* Change the arguments of UsbCommandId_LaunchEepromTransfer and its id to 0x08.

* Change the value of UsbCommandId_{GetDeviceState,SetTestLed,GetDebugBuffer,GetAdcValue,SetLedPwmBrightness}.

* Use firmware 6.0.0
2017-12-13 01:20:23 +01:00
..
2017-10-05 02:46:49 +02:00
2017-12-13 01:20:23 +01:00
2017-11-17 01:02:31 +01:00
2017-12-13 01:20:23 +01:00
2017-11-17 01:02:31 +01:00
2017-12-13 01:20:23 +01:00
2017-12-13 01:20:23 +01:00

Usage

  1. Install node.js and npm
  2. Run npm install in this directory
  3. Run script eg. node blink-test-led.js

Driver requirements

Linux

Default driver.

Windows

Inorder to make the usb lib work, the WinUsb driver should be installed (only) for interface 0, the rest should be the default HidUsb.

  1. Download zadig
  2. Install WinUsb for Ultimate Hacking Keyboard (Interface 0)

For more information click here.