Skip to content

multiKVM hotkey support #125

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

Open
quadcom opened this issue Jan 31, 2025 · 16 comments
Open

multiKVM hotkey support #125

quadcom opened this issue Jan 31, 2025 · 16 comments

Comments

@quadcom
Copy link

quadcom commented Jan 31, 2025

I received my JKVM today and plugged it in.

I picked up a 4-port HDMI KVM to use with this and made sure it had hotkey support. It appears the JKVM is having some issues passing those keystrokes for the other KVM to pick up.

https://www.amazon.ca/gp/product/B0CBK4ZTHM/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

I have noticed that it is not difficult to trigger a stuck key cascade, I discoverd that trying to get the hotkeys to function.

The hotkey combo is "asterisk + 1-4", which will switch through ports 1 to 4 on the multi-KVM. Alternatively, "cntl + cntl + {left/right arrow}" will cycle through the four ports. Neither of those hotkeys appears to be processed correctly. Instead, the "* + 2" combo will enter an asterisk char and trigger the cascade until another key is pressed and there is no report back when trying the cntrl + cntrl option.

Anyway this can be reviewed? I'll help as best I can.

@williamjohnstone
Copy link

williamjohnstone commented Feb 2, 2025

Hi, this is due to the way keystrokes are handled by the software, I'm working on a PR to implement support for multiple keyboard layouts (#116), the more I'm working on it the more I think I am going to have to overhaul how this works to get everything functioning correctly.

This PR should hopefully solve your issue as well.

I hope to have a working implementation soon.

@DjSni
Copy link

DjSni commented Feb 2, 2025

Hi, I have the same KVM, I can do it with Ctrl + Ctrl + 1-4, maybe you should try it.

@quadcom
Copy link
Author

quadcom commented Feb 2, 2025

Hi, I have the same KVM, I can do it with Ctrl + Ctrl + 1-4, maybe you should try it.

I've tried that too. Couldn't get it working. I also checked the hardware switch on the KVM that enables the hotkey support. I tried both the num pad and the top row number keys. Nothing got through.

There could be something with the fact I was currently looking at the Unraid CLI at the time and not a desktop UI.

@DjSni
Copy link

DjSni commented Feb 2, 2025

Interesting, I have 3 consoles open. Unraid, Proxmox and a Pi without GUI. I can easily switch after pressing ctrl twice and following by a number.

In the beginning I also had problems with not getting a singal, I had to completely rewrite the JetKVM once.

@timothystewart6
Copy link
Contributor

timothystewart6 commented Feb 26, 2025

I have also tested this, even with this PR #116 and it doesn't seem to work. By chance are you using Windows or Mac? I am using a Mac with latest Chrome.

@phewitt-uw
Copy link

Have you got the jetkvm connected to the keyboard usb port on the kvm so it will intercept the hotkeys?

I made an initial mistake of connecting my jetkvm to the front usb hub which doesnt detect the keystrokes.

Ctrl - ctrl - 1-4 works for me

@williamjohnstone
Copy link

@timothystewart6 I'm not sure what you mean, #30 is an issue not a PR. Which PR have you tested it with?

@timothystewart6
Copy link
Contributor

@williamjohnstone sorry, that's what I get for using the suggested link. Updated. It's your PR.

@timothystewart6
Copy link
Contributor

timothystewart6 commented Feb 26, 2025

Have you got the jetkvm connected to the keyboard usb port on the kvm so it will intercept the hotkeys?

I made an initial mistake of connecting my jetkvm to the front usb hub which doesnt detect the keystrokes.

Ctrl - ctrl - 1-4 works for me

Yes, it's plugged directly into the one with the keyboard icon. I tested other ports too. I have a feeling this might be mac vs. Windows. Are you using Windows? Side note, I have even tried the virtual keyboard and have verified that the hot switch switch is on.

@phewitt-uw
Copy link

Have you got the jetkvm connected to the keyboard usb port on the kvm so it will intercept the hotkeys?

I made an initial mistake of connecting my jetkvm to the front usb hub which doesnt detect the keystrokes.

Ctrl - ctrl - 1-4 works for me

Yes, it's plugged directly into the one with the keyboard icon. I tested other ports too. I have a feeling this might be mac vs. Windows. Are you using Windows? Side note, I have even tried the virtual keyboard and have verified that the hot switch switch is on.

I use both, mac and windows, using chrome browser

@quadcom
Copy link
Author

quadcom commented Feb 26, 2025

I'm Windows/Firefox.

One thing I will confirm however it's the KVM has two USB ports, one for mouse, one for keyboard. The JKVM only users the one usb for both peripherals. I don't recall which port on the KVM I have the JKVM plugged into.

@williamjohnstone
Copy link

@timothystewart6 I have some time to try and debug now if you're free? I tried messaging you on discord but you're not accepting messages currently.

@timothystewart6
Copy link
Contributor

timothystewart6 commented Feb 26, 2025

Hopped on a call with @williamjohnstone and tested everything.

TLDR; Everything works and it was most likely my cable (3rd party USB C to USB A cable, not the one that ships 🤦)

  • Properly captures Hotkeys (ctrl + ctrl 1-4 and long with ctrl + ctrl arrow keys)
  • Also tested meta keys.
    • Using a mac and sending a commmand key sends the Windows Key
    • Works in both fullscreen and non fullscreen
    • Also works with key combos Windows + R opens run

Thank you!

@TheFiZi
Copy link

TheFiZi commented Mar 23, 2025

I just setup the same physical KVM in my homelab and ran into the same problem initially.

Turns out the markings on the USB ports of the KVM matter. One is marked mouse and one is marked keyboard. I plugged the JetKVM into the mouse port (derp) and the keyboard shortcuts would not work.

I moved the JetKVM over to the keyboard port on the physical KVM and everything works as expected.

I'm using Anker USB3 cables.

@HaanVu
Copy link

HaanVu commented Apr 21, 2025

@TheFiZi Were you able to get the mouse working in Absolute mode? I have the eczoo switch however in absolute mode my mouse goes crazy, I can switch between input just fine

@TheFiZi
Copy link

TheFiZi commented Apr 21, 2025

@TheFiZi Were you able to get the mouse working in Absolute mode? I have the eczoo switch however in absolute mode my mouse goes crazy, I can switch between input just fine

It worked once and then never again. I've been using relative mode.

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

7 participants