Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent no longer able to talk to the keyboard #2433

Open
jwr opened this issue Oct 26, 2024 · 34 comments
Open

Agent no longer able to talk to the keyboard #2433

jwr opened this issue Oct 26, 2024 · 34 comments

Comments

@jwr
Copy link

jwr commented Oct 26, 2024

Ok, so this might get cured by a reboot, but since it DID happen, I thought I would report it first and see if you need any additional info or logs.

I downloaded the latest agent, but when I ran it, it said "Searching for your UHK Hang tight!" and "No device detected". The keyboard is connected with USB, as usual, I am typing on it. There is an additional "warning sign" icon displayed on the OLED.

Disconnecting and reconnecting the keyboard doesn't help. Putting it to sleep and waking up doesn't help. Resetting with the button in the back doesn't help either.

I thought it might be an agent bug, so I downgraded as far as the CI would let me, but there was no difference.

Suspend/resume of the Mac doesn't help either.

If I disconnect the keyboard, the agent message changes to "Cannot find your UHK please plug it in" and when I connect it back, it says "Cannot find your UHK please reconnect it".

For the moment it seems I'm stuck, but I will not try rebooting, mostly because I'm lazy and it takes a lot of work to get all my open stuff back up, but also because this might be worth debugging?

@Zetaphor
Copy link
Member

What version of agent and firmware are you running?

I've run into this as I've been hopping around the various builds of firmware and agent, there seem to be some configuration changes that introduce incompatibility between some of the builds of the two projects

@jwr
Copy link
Author

jwr commented Oct 26, 2024

Agent: https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11525927233 (BTW, I do not know how to find out which exact version it is: the "about" screen just says 4.2.0, and I don't know of a quick way to find out which commit hash it is in the CI).

I also tried several agent versions going several days back, as far as the CI had cached builds. No change.

The firmware in the keyboard is d19ec47.

@mondalaci
Copy link
Member

Please always use the latest version of the master branch of both firmware and Agent, and let me know if the issue persists. (You're currently using the feat-dongle-pairing branch, which is in development.)

@jwr
Copy link
Author

jwr commented Oct 27, 2024

Was I? Whoops, I didn't realize that. I now filtered to the "master" branch and installed the latest build from there, and things work fine again. Sorry for the noise!

@pcooke9
Copy link

pcooke9 commented Oct 27, 2024

I just got the same errors that @jwr first posted after I installed the Win x64 version of Agent from master branch here:
https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11539505332

I then installed the previous version over top of that one from:
https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11505719768

When that version of Agent loaded, I got the following errors:
Usb protocol command 0 failed with 2

After resetting the UHK80 using the buttons on the back, and restarting Agent, there are no more errors.

@pcooke9
Copy link

pcooke9 commented Oct 29, 2024

This is still a problem for me. I haven't been able to use any Windows version of Agent80 since https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11505719768

With that version of Agent80, I can't flash any firmware later than 11.2.0 #83bca68

Am I missing something? Admittedly, I don't know my way around GitHub very well, so if I'm doing something wrong, please let me know.

@mondalaci
Copy link
Member

Please try:

If you use the dongle, you'll have to pair it by connecting it while Agent runs and clicking the pair button.

@pcooke9
Copy link

pcooke9 commented Oct 30, 2024

No, those aren't working either. All the Agent (master branch) versions I've tried seem to install fine, they just aren't detecting the UHK80 at all. Not with the dongle or USB.

I have the same symptoms that jwr posted in the first comment. Agent just says "No device detected", and I get the same triangular exclamation icon displayed on the UHK80's OLED display. Resetting the UHK80 with the buttons on the back will make the OLED warning go away, but Agent still never detects it.

The earlier version of Agent I linked to detects it just fine.

@mondalaci
Copy link
Member

@ert78gb Please look into this.

@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

@pcooke9 please start the Agent with the -- --print-usb-devices command line argument and please share the output.
The -- before the --print-usb-devices is important. The -- is not typo

@mhantsch
Copy link

I have the same issue. Just updated to the latest Agent80 from master, and it just says "No device detected".

image

(base) max@max-framework:~/Downloads$ ./UHK.Agent-4.2.1-linux-x86_64.AppImage -- --print-usb-devices
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(AppImageLauncher:877894): GLib-CRITICAL **: 09:05:11.511: g_file_test: assertion 'filename != NULL' failed
09:05:17.088 › [Electron Main] command line arguments { 'print-usb-devices': true }
09:05:17.096 › [Electron Main] init services.
09:05:17.096 › [Electron Main] packagesDir: /tmp/.mount_UHK.AgH2jkYt/resources
[
  {
    vendorId: 4401,
    productId: 13569,
    path: '/dev/hidraw9',
    serialNumber: '00:11:67:52:15:dd',
    manufacturer: '',
    product: 'Bluetooth Optic Mouse',
    release: 0,
    interface: -1,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 4401,
    productId: 13569,
    path: '/dev/hidraw9',
    serialNumber: '00:11:67:52:15:dd',
    manufacturer: '',
    product: 'Bluetooth Optic Mouse',
    release: 0,
    interface: -1,
    usagePage: 1,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw4',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 0,
    usagePage: 1,
    usage: 6
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw5',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 1,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw5',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 1,
    usagePage: 1,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw5',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 1,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw5',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 1,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw6',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 2,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw6',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 2,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw6',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 2,
    usagePage: 1,
    usage: 128
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw6',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 2,
    usagePage: 65468,
    usage: 136
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw6',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 2,
    usagePage: 1,
    usage: 6
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw7',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 3,
    usagePage: 65290,
    usage: 1
  },
  {
    vendorId: 10007,
    productId: 59,
    path: '/dev/hidraw7',
    serialNumber: '',
    manufacturer: 'MI Dongle',
    product: 'MI Wireless Mouse',
    release: 1,
    interface: 3,
    usagePage: 65290,
    usage: 2
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '/dev/hidraw3',
    serialNumber: '1736713552',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 0,
    usagePage: 1,
    usage: 6
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '/dev/hidraw10',
    serialNumber: '1736713552',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 1,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '/dev/hidraw10',
    serialNumber: '1736713552',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 1,
    usagePage: 1,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '/dev/hidraw11',
    serialNumber: '1736713552',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 2,
    usagePage: 65280,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '/dev/hidraw12',
    serialNumber: '1736713552',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 3,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '/dev/hidraw13',
    serialNumber: '1736713552',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 4,
    usagePage: 1,
    usage: 5
  },
  {
    vendorId: 12972,
    productId: 2,
    path: '/dev/hidraw2',
    serialNumber: '11AD1D00C9942F183A160B00',
    manufacturer: 'Framework',
    product: 'HDMI Expansion Card',
    release: 0,
    interface: 1,
    usagePage: 65518,
    usage: 1
  },
  {
    vendorId: 3468,
    productId: 258,
    path: '/dev/hidraw8',
    serialNumber: '',
    product: 'USB Sound Device        ',
    release: 16,
    interface: 3,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 1,
    usage: 12
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 65
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 777
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 790
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 793
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 513
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 513
  },
  {
    vendorId: 12972,
    productId: 6,
    path: '/dev/hidraw0',
    serialNumber: '',
    manufacturer: '',
    product: 'FRMW0001:00 32AC:0006',
    release: 0,
    interface: -1,
    usagePage: 32,
    usage: 514
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 1,
    usage: 1
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 5
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 14
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 13,
    usage: 34
  },
  {
    vendorId: 2362,
    productId: 628,
    path: '/dev/hidraw1',
    serialNumber: '',
    manufacturer: '',
    product: 'PIXA3854:00 093A:0274',
    release: 0,
    interface: -1,
    usagePage: 65280,
    usage: 1
  }
]

@mhantsch
Copy link

Also I am seeing this when I startup Agent normally:

09:09:09.058 › [DeviceService] start poll UHK Device
[879117:1030/090909.122030:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[879117:1030/090909.132420:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
09:09:09.188 › [UhkHidDevice] Devices before checking permission:
09:09:09.197 › [UhkHidDevice] Available devices unchanged
09:09:09.206 › [DeviceService] Device connection state changed to: {
  bootloaderActive: false,
  communicationInterfaceAvailable: false,
  hasPermission: true,
  halvesInfo: {
    areHalvesMerged: true,
    leftModuleSlot: 0,
    isLeftHalfConnected: true,
    rightModuleSlot: 0
  },
  hardwareModules: { moduleInfos: [], rightModuleInfo: { modules: '[object]' } },
  isMacroStatusDirty: false,
  multiDevice: false
}

Especially communicationInterfaceAvailable: false seems to indicate that Agent just cannot talk to the UHK. The rest of the displayed values also don't make sense, for example, my halves are NOT merged.

@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

could you attach the whole log from the starts of the Agent?

The rest of the displayed values also don't make sense, for example, my halves are NOT merged.

We use default values and we update them after we could read them from the keyboard

@mhantsch
Copy link

could you attach the whole log from the starts of the Agent?

(base) max@max-framework:~/Downloads$ ./UHK.Agent-4.2.1-linux-x86_64.AppImage --
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(AppImageLauncher:885112): GLib-CRITICAL **: 09:36:53.007: g_file_test: assertion 'filename != NULL' failed
09:36:57.290 › [Electron Main] command line arguments {}
09:36:57.297 › [Electron Main] init services.
09:36:57.298 › [Electron Main] packagesDir: /tmp/.mount_UHK.AgllspRv/resources
09:36:57.724 › [Electron Main] Create new window.
09:36:57.724 › [WindowState] load settings
09:36:57.725 › [WindowState] loaded settings {
  x: 1455,
  y: 73,
  width: 1483,
  height: 1059,
  isMaximized: false,
  isFullScreen: false
}
09:36:57.726 › [WindowState] loaded settings is visible true
09:36:57.727 › [WindowState] return with loaded settings
09:36:57.727 › [SmartMacroService] starting...
09:36:57.728 › [SmartMacroCopy] start
09:36:57.874 › [SmartMacroCopy] copy {
  destination: '/home/max/.config/uhk-agent/smart-macro-docs/UltimateHackingKeyboard/firmware/v11.2.0',
  smartMacroDocFirmwarePath: '/tmp/.mount_UHK.AgllspRv/resources/packages/firmware/doc'
}
09:36:57.948 › [SmartMacroCopy] done
09:36:57.949 › [SmartMacroCopy] start copy loading.html
09:36:57.968 › [SmartMacroCopy] end copy loading.html
09:36:58.014 › [SmartMacroService] get free TCP port
09:36:58.017 › [SmartMacroService] acquired TCP port: 33565
09:36:58.039 › [SmartMacroService] started on 33565.
09:36:58.356 › [DeviceService] init success
09:36:58.357 › [AppUpdateService] init success
09:36:58.357 › [AppService] init success
09:36:58.358 › [SudoService] App root dir:  /tmp/.mount_UHK.AgllspRv/resources
09:36:58.448 › [DeviceService] Udev info: Different
09:36:58.985 › [AppService] get-config: application-settings
09:36:58.986 › [AppService] get-config of "application-settings": {"errorPanelHeight":32.69230769230769,"checkForUpdateOnStartUp":true,"everAttemptedSavingToKeyboard":true,"animationEnabled":false,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255}],"keyboardHalvesAlwaysJoined":false,"smartMacroPanelWidth":41}
09:36:59.347 › [DeviceRendererService] init success 
09:36:59.350 › [AppRendererService] init success 
09:36:59.367 › [MonacoEditorCompletionItemProvider] initialized.
09:36:59.368 › [SmartMacroDocRendererService] init success
09:36:59.370 › Renderer appStart effect start
09:36:59.370 › [AppRendererService] getAppStartInfo
09:36:59.372 › [SmartMacroService] getAppStartInfo
09:36:59.373 › [AppService] getAppStartInfo
09:36:59.371 › Renderer appStart effect end
09:36:59.373 › [AppService] get-config: application-settings
09:36:59.375 › [AppService] getAppStartInfo response: {
  commandLineArgs: { 'disable-agent-update-protection': false },
  platform: 'linux',
  osVersion: '6.9.3-76060903-generic',
  udevFileContent: '# Ultimate Hacking Keyboard rules\n' +
    '# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.\n' +
    '# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.\n' +
    'SUBSYSTEM=="input", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", GROUP="input", MODE="0660"\n' +
    'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
    'KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n'
}
09:36:59.376 › [AppUpdateService] check for update at startup: { checkForUpdateOnStartUp: true }
09:36:59.376 › [AppUpdateService] app started. Automatically check for update.
09:36:59.377 › Checking for update
09:36:59.377 › [AppUpdateService] checking for update
09:36:59.377 › sendIpcToWindow: checking-for-update null
09:36:59.378 › [AppService] get-config of "application-settings": {"errorPanelHeight":32.69230769230769,"checkForUpdateOnStartUp":true,"everAttemptedSavingToKeyboard":true,"animationEnabled":false,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255}],"keyboardHalvesAlwaysJoined":false,"smartMacroPanelWidth":41}
09:36:59.523 › [SmartMacroDocRendererService] dispatch action: [smart-macro-doc] service listening
09:36:59.526 › [AppRendererService] dispatch action: [app] process start info
09:36:59.527 › [AppEffect][processStartInfo] payload: {
  commandLineArgs: { 'disable-agent-update-protection': false },
  platform: 'linux',
  osVersion: '6.9.3-76060903-generic',
  udevFileContent: '# Ultimate Hacking Keyboard rules\n' +
    '# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.\n' +
    '# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.\n' +
    'SUBSYSTEM=="input", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", GROUP="input", MODE="0660"\n' +
    'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
    'KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n'
}
09:36:59.532 › [DeviceService] start poll UHK Device
[885195:1030/093659.593561:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[885195:1030/093659.595543:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
09:36:59.632 › [UhkHidDevice] Devices before checking permission:
09:36:59.637 › [UhkHidDevice] Available devices unchanged
09:36:59.642 › [DeviceService] Device connection state changed to: {
  bootloaderActive: false,
  communicationInterfaceAvailable: false,
  hasPermission: true,
  halvesInfo: {
    areHalvesMerged: true,
    leftModuleSlot: 0,
    isLeftHalfConnected: true,
    rightModuleSlot: 0
  },
  hardwareModules: { moduleInfos: [], rightModuleInfo: { modules: '[object]' } },
  isMacroStatusDirty: false,
  multiDevice: false
}
09:36:59.862 › [DeviceRendererService] dispatch action [device] connection state changed
09:36:59.868 › [SmartMacroDocRendererService] downloadDocumentation
09:36:59.870 › [SmartMacroService] skip download firmware documentation because git repo or tag missing { firmwareGitRepo: '', firmwareGitTag: '' }
09:36:59.901 › [UhkHidDevice] Devices before checking permission:
09:36:59.905 › [UhkHidDevice] Available devices unchanged
09:37:00.170 › [UhkHidDevice] Devices before checking permission:
09:37:00.175 › [UhkHidDevice] Available devices unchanged
09:37:00.439 › [UhkHidDevice] Devices before checking permission:
09:37:00.446 › [UhkHidDevice] Available devices unchanged
09:37:00.711 › [UhkHidDevice] Devices before checking permission:
09:37:00.717 › [UhkHidDevice] Available devices unchanged
09:37:00.753 › Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
09:37:00.753 › [AppUpdateService] checkForUpdate success
09:37:00.981 › [UhkHidDevice] Devices before checking permission:
09:37:00.986 › [UhkHidDevice] Available devices unchanged
09:37:01.250 › [UhkHidDevice] Devices before checking permission:
09:37:01.256 › [UhkHidDevice] Available devices unchanged
09:37:01.521 › [UhkHidDevice] Devices before checking permission:
09:37:01.527 › [UhkHidDevice] Available devices unchanged
09:37:01.791 › [UhkHidDevice] Devices before checking permission:
09:37:01.797 › [UhkHidDevice] Available devices unchanged
09:37:02.062 › [UhkHidDevice] Devices before checking permission:
09:37:02.068 › [UhkHidDevice] Available devices unchanged
09:37:02.335 › [UhkHidDevice] Devices before checking permission:
09:37:02.341 › [UhkHidDevice] Available devices unchanged
09:37:02.605 › [UhkHidDevice] Devices before checking permission:
09:37:02.611 › [UhkHidDevice] Available devices unchanged
09:37:02.875 › [UhkHidDevice] Devices before checking permission:
09:37:02.881 › [UhkHidDevice] Available devices unchanged
[885195:1030/093702.891421:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
09:37:03.144 › [UhkHidDevice] Devices before checking permission:
09:37:03.151 › [UhkHidDevice] Available devices unchanged
09:37:03.415 › [UhkHidDevice] Devices before checking permission:
09:37:03.420 › [UhkHidDevice] Available devices unchanged
09:37:03.679 › [UhkHidDevice] Devices before checking permission:
09:37:03.683 › [UhkHidDevice] Available devices unchanged
09:37:03.947 › [UhkHidDevice] Devices before checking permission:
09:37:03.955 › [UhkHidDevice] Available devices unchanged
09:37:04.220 › [UhkHidDevice] Devices before checking permission:
09:37:04.227 › [UhkHidDevice] Available devices unchanged
09:37:04.491 › [UhkHidDevice] Devices before checking permission:
09:37:04.497 › [UhkHidDevice] Available devices unchanged
09:37:04.759 › [UhkHidDevice] Devices before checking permission:
09:37:04.765 › [UhkHidDevice] Available devices unchanged
09:37:05.028 › [UhkHidDevice] Devices before checking permission:
09:37:05.033 › [UhkHidDevice] Available devices unchanged
09:37:05.296 › [UhkHidDevice] Devices before checking permission:
09:37:05.303 › [UhkHidDevice] Available devices unchanged
09:37:05.308 › [WindowState] save settings: {
  x: 1455,
  y: 73,
  width: 1483,
  height: 1059,
  isMaximized: false,
  isFullScreen: false
}
09:37:05.322 › [WindowState] save settings success
09:37:05.336 › [Electron Main] win closed
09:37:05.336 › [DeviceService] stop poll UHK Device
09:37:05.337 › [DeviceService] stopped poll UHK Device
09:37:05.337 › [DeviceService] Device connection checker stopped.
09:37:05.337 › [UhkHidDevice] Device communication closing.
09:37:05.337 › [SmartMacroService] stopping...
09:37:05.338 › [SmartMacroService] stopped.

@mhantsch
Copy link

Just so you know, my UHK firmware is about 2 weeks old. I was just trying now to update to the latest version of everything, but since Agent doesn't see the UHK I haven't updated its firmware yet.

@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

3 weeks ago we released the public 4.2.1 version of Agent.
The Agent80 version is 4.2.0. Your and default Agent auto update is true. So Agent80 auto updated with Agent official.
Agent official does not support UHK80.

I am merging the Agent master to Agent80 master it will solve the issue.

@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

thx for the help in the investigation and sorry for this "trick" but halloween will on tomorrow. :)

@mhantsch
Copy link

Unfortunately, this Agent80 build still doesn't work with my UHK80. It ends up throwing a "communication error" and just repeating that every second or so until I terminate Agent.

The UI just shows "Hang tight".

image

[...]
12:41:59.601 › [UhkHidDevice] Used device: {"vendorId":"0x37A8","productId":"0x9","path":"/dev/hidraw11","serialNumber":"1736713552","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 80 right half","release":1,"interface":2,"usagePage":65280,"usage":1}
12:41:59.648 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
12:41:59.711 › [DeviceOperation] Read "leftHalf" version information
12:41:59.727 › [DeviceOperation] Read "leftHalf" repo information
12:41:59.758 › [DeviceOperation] Read "leftHalf" firmware checksum
12:41:59.775 › [DeviceOperation] Read "leftModule" version information
12:41:59.791 › [DeviceOperation] Read "leftModule" repo information
12:41:59.823 › [DeviceOperation] Read "leftModule" firmware checksum
12:41:59.839 › [DeviceOperation] Read "rightModule" version information
12:41:59.855 › [DeviceOperation] Read "rightModule" repo information
12:41:59.887 › [DeviceOperation] Read "rightModule" firmware checksum
12:41:59.966 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.Ag1zYTBp/resources/app.asar/electron-main.js:2:473061
12:42:00.271 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
12:42:00.335 › [DeviceOperation] Read "leftHalf" version information
12:42:00.351 › [DeviceOperation] Read "leftHalf" repo information
12:42:00.371 › Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
12:42:00.372 › [AppUpdateService] checkForUpdate success
12:42:00.383 › [DeviceOperation] Read "leftHalf" firmware checksum
12:42:00.399 › [DeviceOperation] Read "leftModule" version information
12:42:00.415 › [DeviceOperation] Read "leftModule" repo information
12:42:00.447 › [DeviceOperation] Read "leftModule" firmware checksum
12:42:00.464 › [DeviceOperation] Read "rightModule" version information
12:42:00.479 › [DeviceOperation] Read "rightModule" repo information
12:42:00.510 › [DeviceOperation] Read "rightModule" firmware checksum
12:42:00.590 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.Ag1zYTBp/resources/app.asar/electron-main.js:2:473061
12:42:00.895 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
12:42:00.959 › [DeviceOperation] Read "leftHalf" version information
12:42:00.975 › [DeviceOperation] Read "leftHalf" repo information
12:42:01.007 › [DeviceOperation] Read "leftHalf" firmware checksum
12:42:01.023 › [DeviceOperation] Read "leftModule" version information
12:42:01.039 › [DeviceOperation] Read "leftModule" repo information
12:42:01.071 › [DeviceOperation] Read "leftModule" firmware checksum
12:42:01.087 › [DeviceOperation] Read "rightModule" version information
12:42:01.102 › [DeviceOperation] Read "rightModule" repo information
12:42:01.135 › [DeviceOperation] Read "rightModule" firmware checksum
12:42:01.214 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.Ag1zYTBp/resources/app.asar/electron-main.js:2:473061
12:42:01.518 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
12:42:01.582 › [DeviceOperation] Read "leftHalf" version information
12:42:01.598 › [DeviceOperation] Read "leftHalf" repo information
12:42:01.630 › [DeviceOperation] Read "leftHalf" firmware checksum
12:42:01.646 › [DeviceOperation] Read "leftModule" version information
12:42:01.662 › [DeviceOperation] Read "leftModule" repo information
12:42:01.694 › [DeviceOperation] Read "leftModule" firmware checksum
12:42:01.710 › [DeviceOperation] Read "rightModule" version information
12:42:01.726 › [DeviceOperation] Read "rightModule" repo information
12:42:01.758 › [DeviceOperation] Read "rightModule" firmware checksum
12:42:01.838 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.Ag1zYTBp/resources/app.asar/electron-main.js:2:473061
12:42:02.142 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
12:42:02.206 › [DeviceOperation] Read "leftHalf" version information
12:42:02.222 › [DeviceOperation] Read "leftHalf" repo information
12:42:02.254 › [DeviceOperation] Read "leftHalf" firmware checksum
12:42:02.270 › [DeviceOperation] Read "leftModule" version information
12:42:02.286 › [DeviceOperation] Read "leftModule" repo information
12:42:02.318 › [DeviceOperation] Read "leftModule" firmware checksum
12:42:02.334 › [DeviceOperation] Read "rightModule" version information
12:42:02.350 › [DeviceOperation] Read "rightModule" repo information
12:42:02.382 › [DeviceOperation] Read "rightModule" firmware checksum
12:42:02.462 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.Ag1zYTBp/resources/app.asar/electron-main.js:2:473061
12:42:02.766 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
12:42:02.830 › [DeviceOperation] Read "leftHalf" version information
12:42:02.846 › [DeviceOperation] Read "leftHalf" repo information
12:42:02.878 › [DeviceOperation] Read "leftHalf" firmware checksum
12:42:02.894 › [DeviceOperation] Read "leftModule" version information
12:42:02.910 › [DeviceOperation] Read "leftModule" repo information
12:42:02.942 › [DeviceOperation] Read "leftModule" firmware checksum
12:42:02.959 › [DeviceOperation] Read "rightModule" version information
12:42:02.975 › [DeviceOperation] Read "rightModule" repo information
12:42:03.007 › [DeviceOperation] Read "rightModule" firmware checksum
12:42:03.086 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.Ag1zYTBp/resources/app.asar/electron-main.js:2:473061

@mhantsch
Copy link

I think this issue needs to be reopened. @mondalaci ?

@mondalaci mondalaci reopened this Oct 30, 2024
@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

@mhantsch Could you please disconnect your left and right extra modules from the keyboard.

if it does not help. please run the agent with the -- --log=misc,usb arguments

@mhantsch
Copy link

@ert78gb Will do as soon as I am back at my desk with the UHK 80 (in a few hours).

@ert78gb
Copy link
Member

ert78gb commented Oct 30, 2024

no worries take your time

@mhantsch
Copy link

@ert78gb Disconnecting the modules did not make a difference. Also, restarting both halves did not change anything.

Log:

(base) max@max-framework:~/Downloads$ ./UHK.Agent-4.2.1-linux-x86_64.AppImage -- --log=misc,usb
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(AppImageLauncher:962882): GLib-CRITICAL **: 18:35:11.002: g_file_test: assertion 'filename != NULL' failed
18:35:13.954 › [Electron Main] command line arguments { log: 'misc,usb' }
18:35:13.963 › [Electron Main] init services.
18:35:13.963 › [Electron Main] packagesDir: /tmp/.mount_UHK.AgYbMmmE/resources
18:35:14.367 › [Electron Main] Create new window.
18:35:14.368 › [WindowState] load settings
18:35:14.368 › [WindowState] loaded settings {
  x: 1455,
  y: 73,
  width: 1483,
  height: 1059,
  isMaximized: false,
  isFullScreen: false
}
18:35:14.369 › [WindowState] loaded settings is visible true
18:35:14.370 › [WindowState] return with loaded settings
18:35:14.370 › [SmartMacroService] starting...
18:35:14.374 › [SmartMacroCopy] start
18:35:14.514 › [SmartMacroCopy] copy {
  destination: '/home/max/.config/uhk-agent/smart-macro-docs/UltimateHackingKeyboard/firmware/v11.2.0',
  smartMacroDocFirmwarePath: '/tmp/.mount_UHK.AgYbMmmE/resources/packages/firmware/doc'
}
18:35:14.569 › [SmartMacroCopy] done
18:35:14.569 › [SmartMacroCopy] start copy loading.html
18:35:14.570 › [SmartMacroCopy] end copy loading.html
18:35:14.587 › [SmartMacroService] get free TCP port
18:35:14.591 › [SmartMacroService] acquired TCP port: 40255
18:35:14.618 › [SmartMacroService] started on 40255.
18:35:14.932 › [DeviceService] init success
18:35:14.933 › [AppUpdateService] init success
18:35:14.933 › [AppService] init success
18:35:14.933 › [SudoService] App root dir:  /tmp/.mount_UHK.AgYbMmmE/resources
18:35:15.027 › [DeviceService] Udev info: Ok
18:35:15.562 › [AppService] get-config: application-settings
18:35:15.564 › [AppService] get-config of "application-settings": {"errorPanelHeight":32.69230769230769,"checkForUpdateOnStartUp":true,"everAttemptedSavingToKeyboard":true,"animationEnabled":false,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255}],"keyboardHalvesAlwaysJoined":false,"smartMacroPanelWidth":41}
18:35:15.932 › [DeviceRendererService] init success 
18:35:15.935 › [AppRendererService] init success 
18:35:15.942 › [MonacoEditorCompletionItemProvider] initialized.
18:35:15.943 › [SmartMacroDocRendererService] init success
18:35:15.945 › Renderer appStart effect start
18:35:15.945 › [AppRendererService] getAppStartInfo
18:35:15.947 › [SmartMacroService] getAppStartInfo
18:35:15.947 › [AppService] getAppStartInfo
18:35:15.945 › Renderer appStart effect end
18:35:15.948 › [AppService] get-config: application-settings
18:35:15.949 › [AppService] getAppStartInfo response: {
  commandLineArgs: { 'disable-agent-update-protection': false, log: 'misc,usb' },
  platform: 'linux',
  osVersion: '6.9.3-76060903-generic',
  udevFileContent: '# Ultimate Hacking Keyboard rules\n' +
    '# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.\n' +
    '# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.\n' +
    'SUBSYSTEM=="input", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", GROUP="input", MODE="0660"\n' +
    'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
    'KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
    '\n' +
    'SUBSYSTEM=="input", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", GROUP="input", MODE="0660"\n' +
    'SUBSYSTEMS=="usb", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n' +
    'KERNEL=="hidraw*", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n'
}
18:35:15.951 › [AppUpdateService] check for update at startup: { checkForUpdateOnStartUp: true }
18:35:15.952 › [AppUpdateService] app started. Automatically check for update.
18:35:15.952 › Checking for update
18:35:15.953 › [AppUpdateService] checking for update
18:35:15.953 › sendIpcToWindow: checking-for-update null
18:35:15.954 › [AppService] get-config of "application-settings": {"errorPanelHeight":32.69230769230769,"checkForUpdateOnStartUp":true,"everAttemptedSavingToKeyboard":true,"animationEnabled":false,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255}],"keyboardHalvesAlwaysJoined":false,"smartMacroPanelWidth":41}
18:35:16.097 › [SmartMacroDocRendererService] dispatch action: [smart-macro-doc] service listening
18:35:16.098 › [AppRendererService] dispatch action: [app] process start info
18:35:16.099 › [AppEffect][processStartInfo] payload: {
  commandLineArgs: { 'disable-agent-update-protection': false, log: 'misc,usb' },
  platform: 'linux',
  osVersion: '6.9.3-76060903-generic',
  udevFileContent: '# Ultimate Hacking Keyboard rules\n' +
    '# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.\n' +
    '# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.\n' +
    'SUBSYSTEM=="input", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", GROUP="input", MODE="0660"\n' +
    'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
    'KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
    '\n' +
    'SUBSYSTEM=="input", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", GROUP="input", MODE="0660"\n' +
    'SUBSYSTEMS=="usb", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n' +
    'KERNEL=="hidraw*", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n'
}
18:35:16.102 › [DeviceService] start poll UHK Device
[962946:1030/183516.178268:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[962946:1030/183516.189613:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
18:35:16.204 › [UhkHidDevice] Devices before checking permission:
18:35:16.214 › [UhkHidDevice] Available devices changed.
18:35:16.214 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x9","path":"/dev/hidraw3","serialNumber":"1736713552","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 80 right half","release":1,"interface":0,"usagePage":1,"usage":6}
18:35:16.215 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x9","path":"/dev/hidraw11","serialNumber":"1736713552","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 80 right half","release":1,"interface":2,"usagePage":65280,"usage":1}
18:35:16.215 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x9","path":"/dev/hidraw12","serialNumber":"1736713552","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 80 right half","release":1,"interface":3,"usagePage":12,"usage":1}
18:35:16.215 › [UhkHidDevice] Added: {"vendorId":"0x37A8","productId":"0x9","path":"/dev/hidraw13","serialNumber":"1736713552","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 80 right half","release":1,"interface":4,"usagePage":1,"usage":5}
18:35:16.288 › [UhkHidDevice] Available devices unchanged
18:35:16.347 › [UhkHidDevice] Used device: {"vendorId":"0x37A8","productId":"0x9","path":"/dev/hidraw11","serialNumber":"1736713552","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 80 right half","release":1,"interface":2,"usagePage":65280,"usage":1}
18:35:16.348 › [UhkHidDevice] USB[W]: 04 09 
18:35:16.359 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.362 › [UhkHidDevice] USB[W]: 04 09 
18:35:16.375 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.376 › [DeviceOperation] USB[T]: Read right module version information
18:35:16.377 › [UhkHidDevice] USB[W]: 04 00 01 
18:35:16.391 › [UhkHidDevice] USB[R]: 04 00 0b 00 02 00 00 00 04 00 0a 00 00 00 04 00 03 00 00 00 08 00 01 00 00 00 01 00 00 00 00 00 02 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.395 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
18:35:16.395 › [DeviceOperation] USB[T]: Read right module firmware repo information
18:35:16.396 › [DeviceOperation] USB[T]: Read right module "GitRepo" property information
18:35:16.396 › [UhkHidDevice] USB[W]: 04 00 07 
18:35:16.407 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.409 › [DeviceOperation] USB[T]: Read right module "GitTag" property information
18:35:16.410 › [UhkHidDevice] USB[W]: 04 00 06 
18:35:16.423 › [UhkHidDevice] USB[R]: 04 00 64 62 37 66 35 66 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.425 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:16.425 › [UhkHidDevice] USB[W]: 04 00 08 00 
18:35:16.440 › [UhkHidDevice] USB[R]: 04 00 34 36 64 64 65 38 62 32 39 66 62 31 64 33 66 33 64 32 62 37 31 32 37 36 33 64 63 66 38 30 31 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.441 › [UhkHidDevice] USB[W]: 04 09 
18:35:16.456 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.456 › [DeviceOperation] Read "leftHalf" version information
18:35:16.457 › [DeviceOperation] USB[T]: Read module version information
18:35:16.457 › [DeviceOperation] USB[T]: Read "leftHalf" module "protocolVersions" property information as string
18:35:16.458 › [UhkHidDevice] USB[W]: 04 0e 01 00 
18:35:16.472 › [UhkHidDevice] USB[R]: 04 00 01 04 00 03 00 00 00 0b 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.473 › [DeviceOperation] Read "leftHalf" repo information
18:35:16.474 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitRepo" property information as string
18:35:16.474 › [UhkHidDevice] USB[W]: 04 0e 01 02 
18:35:16.488 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.489 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitTag" property information as string
18:35:16.489 › [UhkHidDevice] USB[W]: 04 0e 01 01 
18:35:16.503 › [UhkHidDevice] USB[R]: 04 00 33 66 64 33 37 63 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.504 › [DeviceOperation] Read "leftHalf" firmware checksum
18:35:16.505 › [DeviceOperation] USB[T]: Read "leftHalf" module "FirmwareChecksum" property information as string
18:35:16.505 › [UhkHidDevice] USB[W]: 04 0e 01 03 
18:35:16.520 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.520 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:16.521 › [UhkHidDevice] USB[W]: 04 00 08 01 
18:35:16.536 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.538 › [UhkHidDevice] USB[T]: get BLE address
18:35:16.539 › [UhkHidDevice] USB[W]: 04 00 09 
18:35:16.551 › [UhkHidDevice] USB[R]: 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.552 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.AgYbMmmE/resources/app.asar/electron-main.js:2:473061
18:35:16.820 › [UhkHidDevice] USB[W]: 04 09 
18:35:16.824 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.825 › [UhkHidDevice] USB[W]: 04 09 
18:35:16.840 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.841 › [DeviceOperation] USB[T]: Read right module version information
18:35:16.841 › [UhkHidDevice] USB[W]: 04 00 01 
18:35:16.856 › [UhkHidDevice] USB[R]: 04 00 0b 00 02 00 00 00 04 00 0a 00 00 00 04 00 03 00 00 00 08 00 01 00 00 00 01 00 00 00 00 00 02 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.857 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
18:35:16.858 › [DeviceOperation] USB[T]: Read right module firmware repo information
18:35:16.858 › [DeviceOperation] USB[T]: Read right module "GitRepo" property information
18:35:16.858 › [UhkHidDevice] USB[W]: 04 00 07 
18:35:16.872 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.873 › [DeviceOperation] USB[T]: Read right module "GitTag" property information
18:35:16.874 › [UhkHidDevice] USB[W]: 04 00 06 
18:35:16.888 › [UhkHidDevice] USB[R]: 04 00 64 62 37 66 35 66 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.889 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:16.889 › [UhkHidDevice] USB[W]: 04 00 08 00 
18:35:16.904 › [UhkHidDevice] USB[R]: 04 00 34 36 64 64 65 38 62 32 39 66 62 31 64 33 66 33 64 32 62 37 31 32 37 36 33 64 63 66 38 30 31 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.905 › [UhkHidDevice] USB[W]: 04 09 
18:35:16.920 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.920 › [DeviceOperation] Read "leftHalf" version information
18:35:16.921 › [DeviceOperation] USB[T]: Read module version information
18:35:16.921 › [DeviceOperation] USB[T]: Read "leftHalf" module "protocolVersions" property information as string
18:35:16.922 › [UhkHidDevice] USB[W]: 04 0e 01 00 
18:35:16.935 › [UhkHidDevice] USB[R]: 04 00 01 04 00 03 00 00 00 0b 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.937 › [DeviceOperation] Read "leftHalf" repo information
18:35:16.937 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitRepo" property information as string
18:35:16.937 › [UhkHidDevice] USB[W]: 04 0e 01 02 
18:35:16.952 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.954 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitTag" property information as string
18:35:16.954 › [UhkHidDevice] USB[W]: 04 0e 01 01 
18:35:16.968 › [UhkHidDevice] USB[R]: 04 00 33 66 64 33 37 63 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.969 › [DeviceOperation] Read "leftHalf" firmware checksum
18:35:16.969 › [DeviceOperation] USB[T]: Read "leftHalf" module "FirmwareChecksum" property information as string
18:35:16.969 › [UhkHidDevice] USB[W]: 04 0e 01 03 
18:35:16.983 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:16.985 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:16.985 › [UhkHidDevice] USB[W]: 04 00 08 01 
18:35:17.000 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.000 › [UhkHidDevice] USB[T]: get BLE address
18:35:17.000 › [UhkHidDevice] USB[W]: 04 00 09 
18:35:17.016 › [UhkHidDevice] USB[R]: 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.017 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.AgYbMmmE/resources/app.asar/electron-main.js:2:473061
18:35:17.279 › [UhkHidDevice] USB[W]: 04 09 
18:35:17.287 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.288 › [UhkHidDevice] USB[W]: 04 09 
18:35:17.304 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.304 › [DeviceOperation] USB[T]: Read right module version information
18:35:17.305 › [UhkHidDevice] USB[W]: 04 00 01 
18:35:17.320 › [UhkHidDevice] USB[R]: 04 00 0b 00 02 00 00 00 04 00 0a 00 00 00 04 00 03 00 00 00 08 00 01 00 00 00 01 00 00 00 00 00 02 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.320 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
18:35:17.320 › [DeviceOperation] USB[T]: Read right module firmware repo information
18:35:17.321 › [DeviceOperation] USB[T]: Read right module "GitRepo" property information
18:35:17.321 › [UhkHidDevice] USB[W]: 04 00 07 
18:35:17.335 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.336 › [DeviceOperation] USB[T]: Read right module "GitTag" property information
18:35:17.337 › [UhkHidDevice] USB[W]: 04 00 06 
18:35:17.351 › [UhkHidDevice] USB[R]: 04 00 64 62 37 66 35 66 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.352 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:17.352 › [UhkHidDevice] USB[W]: 04 00 08 00 
18:35:17.367 › [UhkHidDevice] USB[R]: 04 00 34 36 64 64 65 38 62 32 39 66 62 31 64 33 66 33 64 32 62 37 31 32 37 36 33 64 63 66 38 30 31 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.368 › [UhkHidDevice] USB[W]: 04 09 
18:35:17.383 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.384 › [DeviceOperation] Read "leftHalf" version information
18:35:17.384 › [DeviceOperation] USB[T]: Read module version information
18:35:17.385 › [DeviceOperation] USB[T]: Read "leftHalf" module "protocolVersions" property information as string
18:35:17.385 › [UhkHidDevice] USB[W]: 04 0e 01 00 
18:35:17.400 › [UhkHidDevice] USB[R]: 04 00 01 04 00 03 00 00 00 0b 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.400 › [DeviceOperation] Read "leftHalf" repo information
18:35:17.400 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitRepo" property information as string
18:35:17.400 › [UhkHidDevice] USB[W]: 04 0e 01 02 
18:35:17.404 › Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
18:35:17.404 › [AppUpdateService] checkForUpdate success
18:35:17.415 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.417 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitTag" property information as string
18:35:17.417 › [UhkHidDevice] USB[W]: 04 0e 01 01 
18:35:17.432 › [UhkHidDevice] USB[R]: 04 00 33 66 64 33 37 63 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.432 › [DeviceOperation] Read "leftHalf" firmware checksum
18:35:17.433 › [DeviceOperation] USB[T]: Read "leftHalf" module "FirmwareChecksum" property information as string
18:35:17.433 › [UhkHidDevice] USB[W]: 04 0e 01 03 
18:35:17.447 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.448 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:17.449 › [UhkHidDevice] USB[W]: 04 00 08 01 
18:35:17.463 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.464 › [UhkHidDevice] USB[T]: get BLE address
18:35:17.465 › [UhkHidDevice] USB[W]: 04 00 09 
18:35:17.479 › [UhkHidDevice] USB[R]: 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.480 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.AgYbMmmE/resources/app.asar/electron-main.js:2:473061
18:35:17.746 › [UhkHidDevice] USB[W]: 04 09 
18:35:17.752 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.752 › [UhkHidDevice] USB[W]: 04 09 
18:35:17.768 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.769 › [DeviceOperation] USB[T]: Read right module version information
18:35:17.769 › [UhkHidDevice] USB[W]: 04 00 01 
18:35:17.783 › [UhkHidDevice] USB[R]: 04 00 0b 00 02 00 00 00 04 00 0a 00 00 00 04 00 03 00 00 00 08 00 01 00 00 00 01 00 00 00 00 00 02 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.785 › [DeviceOperation] right module deviceProtocolVersion: 4.10.0
18:35:17.785 › [DeviceOperation] USB[T]: Read right module firmware repo information
18:35:17.785 › [DeviceOperation] USB[T]: Read right module "GitRepo" property information
18:35:17.786 › [UhkHidDevice] USB[W]: 04 00 07 
18:35:17.799 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.801 › [DeviceOperation] USB[T]: Read right module "GitTag" property information
18:35:17.801 › [UhkHidDevice] USB[W]: 04 00 06 
18:35:17.816 › [UhkHidDevice] USB[R]: 04 00 64 62 37 66 35 66 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.817 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:17.818 › [UhkHidDevice] USB[W]: 04 00 08 00 
18:35:17.831 › [UhkHidDevice] USB[R]: 04 00 34 36 64 64 65 38 62 32 39 66 62 31 64 33 66 33 64 32 62 37 31 32 37 36 33 64 63 66 38 30 31 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.832 › [UhkHidDevice] USB[W]: 04 09 
18:35:17.848 › [UhkHidDevice] USB[R]: 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.848 › [DeviceOperation] Read "leftHalf" version information
18:35:17.849 › [DeviceOperation] USB[T]: Read module version information
18:35:17.849 › [DeviceOperation] USB[T]: Read "leftHalf" module "protocolVersions" property information as string
18:35:17.849 › [UhkHidDevice] USB[W]: 04 0e 01 00 
18:35:17.864 › [UhkHidDevice] USB[R]: 04 00 01 04 00 03 00 00 00 0b 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.864 › [DeviceOperation] Read "leftHalf" repo information
18:35:17.864 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitRepo" property information as string
18:35:17.865 › [UhkHidDevice] USB[W]: 04 0e 01 02 
18:35:17.879 › [UhkHidDevice] USB[R]: 04 00 55 6c 74 69 6d 61 74 65 48 61 63 6b 69 6e 67 4b 65 79 62 6f 61 72 64 2f 66 69 72 6d 77 61 72 65 2d 75 68 6b 38 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.880 › [DeviceOperation] USB[T]: Read "leftHalf" module "GitTag" property information as string
18:35:17.881 › [UhkHidDevice] USB[W]: 04 0e 01 01 
18:35:17.896 › [UhkHidDevice] USB[R]: 04 00 33 66 64 33 37 63 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.896 › [DeviceOperation] Read "leftHalf" firmware checksum
18:35:17.896 › [DeviceOperation] USB[T]: Read "leftHalf" module "FirmwareChecksum" property information as string
18:35:17.896 › [UhkHidDevice] USB[W]: 04 0e 01 03 
18:35:17.911 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.912 › [DeviceOperation] USB[T]: Read right module "FirmwareChecksum" property information
18:35:17.912 › [UhkHidDevice] USB[W]: 04 00 08 01 
18:35:17.927 › [UhkHidDevice] USB[R]: 04 00 39 61 39 65 38 30 36 33 63 32 62 64 31 63 61 33 36 37 34 62 64 37 34 32 62 39 61 61 34 35 35 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.928 › [UhkHidDevice] USB[T]: get BLE address
18:35:17.928 › [UhkHidDevice] USB[W]: 04 00 09 
18:35:17.943 › [UhkHidDevice] USB[R]: 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
18:35:17.944 › [DeviceService] Device connection state query error Error: Communications error with UHK. Response code: 2
    at /tmp/.mount_UHK.AgYbMmmE/resources/app.asar/electron-main.js:2:473061

@mhantsch
Copy link

Display shows the triangle.

IMG_20241030_183828.jpg

@pcooke9
Copy link

pcooke9 commented Oct 30, 2024

@pcooke9 please start the Agent with the -- --print-usb-devices command line argument and please share the output.

I have to warn that I have very little experience with this type of stuff, so please forgive my ignorance if I don't understand everything you might ask from me.

Anyway, here's the output:

C:\Users\EY3\AppData\Local\Programs\uhk-agent>
16:46:55.852 > [Electron Main] command line arguments { 'print-usb-devices': true }
16:46:55.857 > [Electron Main] init services.
16:46:55.858 > [Electron Main] packagesDir: C:\Users\EY3\AppData\Local\Programs\uhk-agent\resources
[
  {
    vendorId: 4815,
    productId: 1078,
    path: '\\\\?\\HID#VID_12CF&PID_0436&MI_02#8&3960feb6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '',
    manufacturer: 'COUGAR',
    product: 'DUALBLADER',
    release: 26882,
    interface: 2,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '\\\\?\\HID#VID_37A8&PID_0009&MI_02#8&3a955066&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '1078406542',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 2,
    usagePage: 65280,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '\\\\?\\HID#VID_37A8&PID_0009&MI_03#8&16be12a4&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '1078406542',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 3,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 4815,
    productId: 1078,
    path: '\\\\?\\HID#VID_12CF&PID_0436&MI_01&Col01#8&2b922f7a&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD',
    serialNumber: '',
    manufacturer: 'COUGAR',
    product: 'DUALBLADER',
    release: 26882,
    interface: 1,
    usagePage: 1,
    usage: 6
  },
  {
    vendorId: 4815,
    productId: 1078,
    path: '\\\\?\\HID#VID_12CF&PID_0436&MI_00#8&7baf1b8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '',
    manufacturer: 'COUGAR',
    product: 'DUALBLADER',
    release: 26882,
    interface: 0,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 14248,
    productId: 7,
    path: '\\\\?\\HID#VID_37A8&PID_0007&MI_01#8&3e24c4&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '0000000000',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 left half',
    release: 1,
    interface: 1,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '\\\\?\\HID#VID_37A8&PID_0009&IG_03#9&267ee0e9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '1078406542',
    manufacturer: 'Microsoft',
    product: 'Controller (UHK 80 right half)',
    release: 1,
    interface: 4,
    usagePage: 1,
    usage: 5
  },
  {
    vendorId: 14248,
    productId: 7,
    path: '\\\\?\\HID#VID_37A8&PID_0007&MI_03#8&bd58cb9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '0000000000',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 left half',
    release: 1,
    interface: 3,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 7,
    path: '\\\\?\\HID#VID_37A8&PID_0007&MI_02#8&1801b109&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '0000000000',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 left half',
    release: 1,
    interface: 2,
    usagePage: 65280,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 7,
    path: '\\\\?\\HID#VID_37A8&PID_0007&MI_00#8&24156286&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD',
    serialNumber: '0000000000',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 left half',
    release: 1,
    interface: 0,
    usagePage: 1,
    usage: 6
  },
  {
    vendorId: 4815,
    productId: 1078,
    path: '\\\\?\\HID#VID_12CF&PID_0436&MI_01&Col02#8&2b922f7a&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '',
    manufacturer: 'COUGAR',
    product: 'DUALBLADER',
    release: 26882,
    interface: 1,
    usagePage: 12,
    usage: 1
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '\\\\?\\HID#VID_37A8&PID_0009&MI_00#8&686a008&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD',
    serialNumber: '1078406542',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 0,
    usagePage: 1,
    usage: 6
  },
  {
    vendorId: 4815,
    productId: 1078,
    path: '\\\\?\\HID#VID_12CF&PID_0436&MI_01&Col03#8&2b922f7a&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '',
    manufacturer: 'COUGAR',
    product: 'DUALBLADER',
    release: 26882,
    interface: 1,
    usagePage: 8,
    usage: 75
  },
  {
    vendorId: 14248,
    productId: 7,
    path: '\\\\?\\HID#VID_37A8&PID_0007&IG_02#9&4a1beca&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '0000000000',
    manufacturer: 'Microsoft',
    product: 'Controller (UHK 80 left half)',
    release: 1,
    interface: 4,
    usagePage: 1,
    usage: 5
  },
  {
    vendorId: 4815,
    productId: 1078,
    path: '\\\\?\\HID#VID_12CF&PID_0436&MI_01&Col04#8&2b922f7a&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '',
    manufacturer: 'COUGAR',
    product: 'DUALBLADER',
    release: 26882,
    interface: 1,
    usagePage: 1,
    usage: 2
  },
  {
    vendorId: 14248,
    productId: 9,
    path: '\\\\?\\HID#VID_37A8&PID_0009&MI_01#8&22d1c421&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}',
    serialNumber: '1078406542',
    manufacturer: 'Ultimate Gadget Laboratories',
    product: 'UHK 80 right half',
    release: 1,
    interface: 1,
    usagePage: 1,
    usage: 2
  }
]

@mondalaci
Copy link
Member

@ert78gb
Copy link
Member

ert78gb commented Oct 31, 2024

@pcooke9 no worries. We really appreciate your help in this testing phase. My english is horrible. If not clear what I am writing feel free to ask back. Sometimes when my sentences are correct maybe does not contains every information because this information trivial for me and I forget not everybody develop Agent every day.

The root cause is we use new USB commands that your firmware does not contains. We decided to use product type to detect the feature is supported or not. But we forget our testers have UHK80 keyboard with a firmware that does not support this feature.

@rogermeletta
Copy link

rogermeletta commented Oct 31, 2024

Guys,

  1. Please install Agent from https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11617547994
  2. Then flash the firmware from https://github.com/UltimateHackingKeyboard/firmware-uhk80/actions/runs/11612207613

Worked for me, thx!

One thing I encountered though was, that after connecting via USB-C and then trying to plug in the dongle as well, which disconnected the UHK from the Agent and threw an error (as it did in the previous versions, so I expected that), but then the keyboard display changed from 'UHK Dongle' to 'Disconnected' after removing the dongle.

This 'Disconnected' state persisted even after unplugging and replugging the USB-C cable or the Dongle multiple times, and the keyboard was not usable.
IMG_5372

The issue was only resolved after resetting the right half of the keyboard.

The issue is reproducible:

1. Start the Agent
2. Connect UHK via USB-C cable
3. Then the keyboard shows up as usual
4. Also connect the dongle
5. Agent says 'Cannot find UHK' and keyboard says 'UHK Dongle'
6. Disconnect the dongle 
7. Keyboard stuck in 'Disconnected' state

Let me know if I should open a separate issue for that.

@mhantsch
Copy link

  1. Please install Agent from https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11617547994
  2. Then flash the firmware from https://github.com/UltimateHackingKeyboard/firmware-uhk80/actions/runs/11612207613

Will test tomorrow. Really look forward to having latest firmware working on the UHK80.

@pcooke9
Copy link

pcooke9 commented Nov 1, 2024

Guys,

  1. Please install Agent from https://github.com/UltimateHackingKeyboard/agent80/actions/runs/11617547994
  2. Then flash the firmware from https://github.com/UltimateHackingKeyboard/firmware-uhk80/actions/runs/11612207613

New Agent works and firmware flashed successfully.

However, I'm having the same issue with the dongle as @rogermeletta. The dongle shows up on the UHK80 OLED, but doesn't ever actually control the PC. Dongle pairing button has no effect. Unplugging the dongle causes UHK80 to remain disconnected until resetting the right half with the button on the back. Also, the first time I connect the dongle (and after a reset), if I tap a few keys, it briefly disconnects/reconnects in both Windows and on the UHK80 OLED display.

@mhantsch
Copy link

mhantsch commented Nov 1, 2024

OK, now the Agent + Firmware update worked. I'm now on UltimateHackingKeyboard/firmware-uhk80: 11.2.0 #27b0dc5.

One more thing I noticed in the messages displayed during the update. There's a right/left mixup.

When flashing the right side, the messages displayed are:

[UhkOperations] Read UHK 80 right firmware from file
[...]
[UhkOperations] Right firmware successfully flashed

When flashing the left side, the messages are:

[UhkOperations] Read UHK 80 left firmware from file
[...]
[UhkOperations] Right firmware successfully flashed

The last message is incorrect. It should read "Left firmware successfully flashed".

@mhantsch
Copy link

mhantsch commented Nov 1, 2024

One thing I encountered though was, that after connecting via USB-C and then trying to plug in the dongle as well, which disconnected the UHK from the Agent and threw an error (as it did in the previous versions, so I expected that), but then the keyboard display changed from 'UHK Dongle' to 'Disconnected' after removing the dongle.

This 'Disconnected' state persisted even after unplugging and replugging the USB-C cable or the Dongle multiple times, and the keyboard was not usable.

Yeah, same experience here. I plugged in the Dongle (somewhere I had read I need to "pair" the Dongle again). The UHK switched to the Dongle and it worked without repairing, but when I unplugged the Dongle it would not reactivate USB, even if I unplugged/replugged the USB cable. Had to reset the right half.

@kareltucek
Copy link
Contributor

Display shows the triangle.

IMG_20241030_183828.jpg

(This is the same to uhk60 showing ERR, meaning there is something i the error buffer. Usually macro validation errors, but sometimes other stuff too. Starting Agent will show it in the orange error pane.)

@mondalaci mondalaci transferred this issue from UltimateHackingKeyboard/agent80 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants