ERR code is showing up and I can't connect to the agent

When launching the Agent, the keyboard shows an ERR message and the software cannot detect the device.

The firmware is already updated to the latest version (v8.0.1) and the system is running on macOS. A factory reset and a full reinstallation of the Agent were both attempted, but the issue remains unresolved.

Any suggestions or troubleshooting advice would be appreciated.

v8.0.1 is not firmware version. It is Agent version.

Post the Agent log please.

Oh! Sorry, I misspelled.

How can I get the agent log?

Now, on my screen, it looks like this. It’s an infinite loading.

Run it from terminal.

Or, I guess more conveniently (kudos to Robi):

You can find it in the following path
• on Linux: ~/.config/uhk-agent/uhk-agent.log
• on macOS: ~/Library/Logs/uhk-agent/uhk-agent.log
• on Windows: %USERPROFILE%\AppData\Roaming\uhk-agent/uhk-agent.log

1 Like

On the terminal, It shows these repeatedly.

12:23:05.998 › [Electron Main] command line arguments { _unknown: [ 'debug' ] }

12:23:06.002 › [Electron Main] init services.

12:23:06.002 › [Electron Main] packagesDir: /Applications/UHK Agent.app/Contents/Resources

12:23:06.087 › [Electron Main] Create new window.

12:23:06.088 › [WindowState] load settings

12:23:06.088 › [WindowState] loaded settings {

  x: 370,

  y: 71,

  width: 1512,

  height: 944,

  isMaximized: false,

  isFullScreen: false

}

12:23:06.088 › [WindowState] loaded settings is visible true

12:23:06.088 › [WindowState] return with loaded settings

12:23:06.088 › [SmartMacroService] starting...

12:23:06.089 › [SmartMacroCopy] start

12:23:06.117 › [SmartMacroCopy] copy {

  destination: '/Users/natchanon/Library/Application Support/uhk-agent/smart-macro-docs/UltimateHackingKeyboard/firmware/v15.3.0',

  smartMacroDocFirmwarePath: '/Applications/UHK Agent.app/Contents/Resources/packages/firmware/doc'

}

12:23:06.136 › [SmartMacroCopy] done

12:23:06.136 › [SmartMacroCopy] start copy loading.html

12:23:06.137 › [SmartMacroCopy] end copy loading.html

12:23:06.145 › [SmartMacroService] get free TCP port

12:23:06.147 › [SmartMacroService] acquired TCP port: 50349

12:23:06.156 › [SmartMacroService] started on 50349.

12:23:06.239 › [ZephyrLogService | UHK Dongle] Inited

12:23:06.240 › [ZephyrLogService | UHK 80 left] Inited

12:23:06.240 › [DeviceService] init success

12:23:06.240 › [AppUpdateService] init success

12:23:06.240 › [AppService] init success

12:23:06.240 › [SudoService] App root dir:  /Applications/UHK Agent.app/Contents/Resources

12:23:06.243 › [DeviceService] Udev info: Ok

12:23:06.327 › [AppService] get-config: application-settings

12:23:06.328 › [AppService] get-config of "application-settings": {"errorPanelHeight":10,"checkForUpdateOnStartUp":true,"everAttemptedSavingToKeyboard":true,"animationEnabled":true,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255}],"keyboardHalvesAlwaysJoined":true,"smartMacroPanelWidth":41}

12:23:06.417 › [DeviceRendererService] init success 

12:23:06.418 › [AppRendererService] init success 

12:23:06.420 › [MonacoEditorCompletionItemProvider] initialized.

12:23:06.420 › [SmartMacroDocRendererService] init success

12:23:06.421 › Renderer appStart effect start

12:23:06.421 › [AppRendererService] getAppStartInfo

12:23:06.421 › [SmartMacroService] getAppStartInfo

12:23:06.421 › [AppService] getAppStartInfo

12:23:06.421 › [AppService] getAppStartInfo response: {

  commandLineArgs: { 'disable-agent-update-protection': false },

  platform: 'darwin',

  osVersion: '25.1.0',

  udevFileContent: ''

}

12:23:06.421 › Renderer appStart effect end

12:23:06.421 › [AppService] get-config: application-settings

12:23:06.422 › [AppUpdateService] check for update at startup: { checkForUpdateOnStartUp: true }

12:23:06.422 › [AppUpdateService] app started. Automatically check for update.

12:23:06.422 › Checking for update

12:23:06.422 › [AppUpdateService] checking for update

12:23:06.422 › sendIpcToWindow: checking-for-update null

12:23:06.422 › [AppService] get-config of "application-settings": {"errorPanelHeight":10,"checkForUpdateOnStartUp":true,"everAttemptedSavingToKeyboard":true,"animationEnabled":true,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255}],"keyboardHalvesAlwaysJoined":true,"smartMacroPanelWidth":41}

12:23:06.466 › [SmartMacroDocRendererService] dispatch action: [smart-macro-doc] service listening

12:23:06.466 › [AppRendererService] dispatch action: [app] process start info

12:23:06.466 › [AppEffect][processStartInfo] payload: {

  commandLineArgs: { 'disable-agent-update-protection': false },

  platform: 'darwin',

  osVersion: '25.1.0',

  udevFileContent: ''

}

12:23:06.534 › [DeviceService] start poll UHK Device

(node:3577) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.

(Use `UHK Agent --trace-deprecation ...` to show where the warning was created)

12:23:06.810 › [UhkHidDevice] Devices before checking permission:

12:23:06.814 › [UhkHidDevice] Available devices changed.

12:23:06.814 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973878","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":4,"usagePage":65280,"usage":1}

12:23:06.814 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973880","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":2,"usagePage":12,"usage":1}

12:23:06.814 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973886","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":0,"usagePage":1,"usage":6}

12:23:06.814 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973884","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":3,"usagePage":1,"usage":128}

12:23:06.814 › [UhkHidDevice] Added: {"path":"/dev/tty.debug-console"}

12:23:06.814 › [UhkHidDevice] Added: {"path":"/dev/tty.Bluetooth-Incoming-Port"}

12:23:06.821 › [UhkHidDevice] Available devices unchanged

12:23:06.825 › [UhkHidDevice] Used device: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973878","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":4,"usagePage":65280,"usage":1}

12:23:06.833 › [UhkHidDevice] productId: 3 protocol versions: {"firmwareVersion":"12.3.3","deviceProtocolVersion":"4.14.1","moduleProtocolVersion":"4.3.0","userConfigVersion":"8.3.0","hardwareConfigVersion":"1.0.0","smartMacrosVersion":"3.1.0"}

12:23:06.844 › [DeviceOperation] Read "leftHalf" version information

12:23:06.847 › [DeviceOperation] Read "leftHalf" repo information

12:23:06.852 › [DeviceOperation] Read "leftHalf" firmware checksum

12:23:06.855 › [DeviceOperation] Read "leftModule" version information

12:23:06.858 › [DeviceOperation] Read "leftModule" repo information

12:23:06.862 › [DeviceOperation] Read "leftModule" firmware checksum

12:23:06.865 › [DeviceOperation] Read "rightModule" version information

12:23:06.867 › [DeviceOperation] Read "rightModule" repo information

12:23:06.872 › [DeviceOperation] Read "rightModule" firmware checksum

12:23:06.879 › [UhkHidDevice] Transfer error:  Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:06.880 › [UhkHidDevice] Device communication closing.

12:23:06.880 › [UhkHidDevice] Device communication closed.

12:23:06.880 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:07.148 › [UhkHidDevice] Available devices unchanged

12:23:07.151 › [UhkHidDevice] Used device: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973878","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":4,"usagePage":65280,"usage":1}

12:23:07.158 › [UhkHidDevice] productId: 3 protocol versions: {"firmwareVersion":"12.3.3","deviceProtocolVersion":"4.14.1","moduleProtocolVersion":"4.3.0","userConfigVersion":"8.3.0","hardwareConfigVersion":"1.0.0","smartMacrosVersion":"3.1.0"}

12:23:07.166 › [DeviceOperation] Read "leftHalf" version information

12:23:07.168 › [DeviceOperation] Read "leftHalf" repo information

12:23:07.173 › [DeviceOperation] Read "leftHalf" firmware checksum

12:23:07.174 › [DeviceOperation] Read "leftModule" version information

12:23:07.176 › [DeviceOperation] Read "leftModule" repo information

12:23:07.180 › [DeviceOperation] Read "leftModule" firmware checksum

12:23:07.183 › [DeviceOperation] Read "rightModule" version information

12:23:07.185 › [DeviceOperation] Read "rightModule" repo information

12:23:07.188 › [DeviceOperation] Read "rightModule" firmware checksum

12:23:07.196 › [UhkHidDevice] Transfer error:  Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:07.197 › [UhkHidDevice] Device communication closing.

12:23:07.197 › [UhkHidDevice] Device communication closed.

12:23:07.197 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:07.254 › Update for version 8.0.1 is not available (latest version: 8.0.1, downgrade is disallowed).

12:23:07.255 › [AppUpdateService] checkForUpdate success

12:23:07.474 › [UhkHidDevice] Available devices unchanged

12:23:07.478 › [UhkHidDevice] Used device: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973878","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":4,"usagePage":65280,"usage":1}

12:23:07.486 › [UhkHidDevice] productId: 3 protocol versions: {"firmwareVersion":"12.3.3","deviceProtocolVersion":"4.14.1","moduleProtocolVersion":"4.3.0","userConfigVersion":"8.3.0","hardwareConfigVersion":"1.0.0","smartMacrosVersion":"3.1.0"}

12:23:07.494 › [DeviceOperation] Read "leftHalf" version information

12:23:07.497 › [DeviceOperation] Read "leftHalf" repo information

12:23:07.500 › [DeviceOperation] Read "leftHalf" firmware checksum

12:23:07.502 › [DeviceOperation] Read "leftModule" version information

12:23:07.504 › [DeviceOperation] Read "leftModule" repo information

12:23:07.509 › [DeviceOperation] Read "leftModule" firmware checksum

12:23:07.511 › [DeviceOperation] Read "rightModule" version information

12:23:07.513 › [DeviceOperation] Read "rightModule" repo information

12:23:07.518 › [DeviceOperation] Read "rightModule" firmware checksum

12:23:07.525 › [UhkHidDevice] Transfer error:  Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:07.526 › [UhkHidDevice] Device communication closing.

12:23:07.526 › [UhkHidDevice] Device communication closed.

12:23:07.527 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:07.790 › [UhkHidDevice] Available devices unchanged

12:23:07.793 › [UhkHidDevice] Used device: {"vendorId":"0x37A8","productId":"0x3","path":"DevSrvsID:4294973878","serialNumber":"9693408510","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":2,"interface":4,"usagePage":65280,"usage":1}

12:23:07.799 › [UhkHidDevice] productId: 3 protocol versions: {"firmwareVersion":"12.3.3","deviceProtocolVersion":"4.14.1","moduleProtocolVersion":"4.3.0","userConfigVersion":"8.3.0","hardwareConfigVersion":"1.0.0","smartMacrosVersion":"3.1.0"}

12:23:07.807 › [DeviceOperation] Read "leftHalf" version information

12:23:07.809 › [DeviceOperation] Read "leftHalf" repo information

12:23:07.813 › [DeviceOperation] Read "leftHalf" firmware checksum

12:23:07.815 › [DeviceOperation] Read "leftModule" version information

12:23:07.817 › [DeviceOperation] Read "leftModule" repo information

12:23:07.821 › [DeviceOperation] Read "leftModule" firmware checksum

12:23:07.823 › [DeviceOperation] Read "rightModule" version information

12:23:07.826 › [DeviceOperation] Read "rightModule" repo information

12:23:07.831 › [DeviceOperation] Read "rightModule" firmware checksum

12:23:07.838 › [UhkHidDevice] Transfer error:  Error: Communications error with UHK. Response code: 3

    at ar.write (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1257635)

    at async oo.getRightModuleProperty (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1300777)

    at async ds.getHardwareModules (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1354415)

    at async ds.uhkDevicePoller (/Applications/UHK Agent.app/Contents/Resources/app.asar/electron-main.js:5:1370596)

12:23:07.839 › [UhkHidDevice] Device communication closing.

12:23:07.839 › [UhkHidDevice] Device communication closed.

and for the file, I can’t find them on my mac :frowning: it has no uhk-agent folder.

Alright, please rerun with --log=usb argument and post logs again.

Also see if the agent can retrieve that uhk status buffer content from the uhk via Agent’s --print-status-buffer argument.

for -log=usb it shows

natchanon@MacBook-Pro-3 ~ % "/Applications/UHK Agent.app/Contents/MacOS/UHK Agent" --log=usb



14:14:47.900 › [Electron Main] command line arguments {}

14:14:47.903 › [Electron Main] init services.

14:14:47.903 › [Electron Main] packagesDir: /Applications/UHK Agent.app/Contents

and print-status-buffer was shows the same

Means it didn’t pick up the arguments. Try to add --, possibly multiple times before arguments. (It is because there are multiple layers of wrappings with electron, so the arguments are probably eaten by some of the higher wrapping layers.) You can use --help just for a test…

$"/Applications/UHK Agent.app/Contents/MacOS/UHK Agent" -- --help
$"/Applications/UHK Agent.app/Contents/MacOS/UHK Agent" -- -- --help
$"/Applications/UHK Agent.app/Contents/MacOS/UHK Agent" -- -- -- --help

You should see something like:

$ ./UHK.Agent-8.0.0-linux-x86_64.AppImage -- --help

UHK Agent

  Ultimate Hacking Keyboard configurator

Options

  --devtools                                           Allow the Developer
                                                       Tools menu.
  --disable-agent-update-protection                    Don't show the Agent
                                                       update screen
  --error-simulation invalid-user-config               Simulate an error
  --ignore-firmware-checksums                          Always upgrade firmware
                                                       of devices and modules
                                                       even the checksums are
...

(When you know the correct number of --, retry to gather logs with --log=usb and --print-status-buffer.)

oh, okay, I got it!

I use:
“/Applications/UHK Agent.app/Contents/MacOS/UHK Agent” – --help
Here is the log:

natchanon@MacBook-Pro-3 ~ % "/Applications/UHK Agent.app/Contents/MacOS/UHK Agent" -- -- --log=usb --print-status-buffer



17:09:51.346 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 0

(node:18736) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.

(Use `UHK Agent --trace-deprecation ...` to show where the warning was created)

17:09:51.496 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.499 › [UhkHidDevice] USB[R]: 00 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 

17:09:51.500 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 1

17:09:51.500 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.504 › [UhkHidDevice] USB[R]: 00 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 

17:09:51.504 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 2

17:09:51.504 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.506 › [UhkHidDevice] USB[R]: 00 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 

17:09:51.507 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 3

17:09:51.507 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.509 › [UhkHidDevice] USB[R]: 00 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 

17:09:51.509 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 4

17:09:51.509 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.511 › [UhkHidDevice] USB[R]: 00 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 

17:09:51.511 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 5

17:09:51.511 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.513 › [UhkHidDevice] USB[R]: 00 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 

17:09:51.513 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 6

17:09:51.513 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.515 › [UhkHidDevice] USB[R]: 00 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 

17:09:51.515 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 7

17:09:51.515 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.517 › [UhkHidDevice] USB[R]: 00 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 

17:09:51.517 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 8

17:09:51.517 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.520 › [UhkHidDevice] USB[R]: 00 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 

17:09:51.520 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 9

17:09:51.520 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.522 › [UhkHidDevice] USB[R]: 00 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 

17:09:51.522 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 10

17:09:51.522 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.525 › [UhkHidDevice] USB[R]: 00 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 

17:09:51.525 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 11

17:09:51.525 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.528 › [UhkHidDevice] USB[R]: 00 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 

17:09:51.528 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 12

17:09:51.528 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.531 › [UhkHidDevice] USB[R]: 00 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 

17:09:51.531 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 13

17:09:51.531 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.533 › [UhkHidDevice] USB[R]: 00 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 

17:09:51.533 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 14

17:09:51.533 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.536 › [UhkHidDevice] USB[R]: 00 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 

17:09:51.536 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 15

17:09:51.536 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.539 › [UhkHidDevice] USB[R]: 00 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 

17:09:51.539 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 16

17:09:51.539 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.541 › [UhkHidDevice] USB[R]: 00 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 

17:09:51.541 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 17

17:09:51.541 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.543 › [UhkHidDevice] USB[R]: 00 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 

17:09:51.543 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 18

17:09:51.543 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.545 › [UhkHidDevice] USB[R]: 00 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 

17:09:51.545 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 19

17:09:51.545 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.547 › [UhkHidDevice] USB[R]: 00 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 

17:09:51.547 › [DeviceOperation] USB[T]: get variable: statusBuffer. Iteration: 20

17:09:51.547 › [UhkHidDevice] USB[W]: 00 12 05 

17:09:51.549 › [UhkHidDevice] USB[R]: 00 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 6d 6d 61 6e 64 20 30 20 66 61 69 6c 65 64 20 77 69 74 68 3a 20 33 0a 0a 55 73 62 20 70 72 6f 74 6f 63 6f 6c 20 63 6f 

Please run them separately. Once with --log=usb, once with --print-status-buffer.

What we know so far:

  • the firmware version is 12.3.3.
  • the firmware complains about getDeviceProperty command receiving “invalid argument”.

This is a pretty ancient firmware, which is probably the root of the problem. (Of course, that does not excuse Agent from failing in that scenario.)


I have created a report at Agent 8.0.1 fails to load with an old firmware · Issue #2775 · UltimateHackingKeyboard/agent · GitHub


Next steps:

I think there was bogus release. Please remove the touchpad. Upgrade the firmware and you can reconnect the touchpad and you can use it.

If the above does not solve the issue then please start agent with -- --log=misc,usb,usbOps command line arguments. The first double dash is necessary not a typo. thx

Sorry for the late response

1 Like