vial-kb / vial-gui

Vial is an open-source cross-platform (Windows, Linux and Mac) GUI and a QMK fork for configuring your keyboard in real time.
https://get.vial.today
GNU General Public License v2.0
855 stars 146 forks source link

KVM - Vial Native not detecting Keyboard #237

Open fmunozs opened 2 months ago

fmunozs commented 2 months ago

Hello,

I am using Windows 11 and a KVM (AIMOS HDMI KVM Switch Box, 4 in 1 Out UHD 4K@60Hz, USB Switch Selector with 4 USB2.0 Hub) and the VIAL Windows app is not able to detect the keyboard.

Web based configurator https://vial.rocks works okay and if I plug the KB directly to the desktop computer and not through the KVM it also works on the same machine.

fmunozs commented 2 months ago

Did some additional debugging with a local copy of vial-gui, seems like the KVM actually changes the serial of the keyboard (for reasons unknown)

Using KVM: VID=FEED, PID=B155, serial=vial:f64c2b31

Not using the KVM: VID=FEED, PID=B155, serial=vial:f64c2b3c

Since the serial is changed, it is not detected as a VIAL KB.

fmunozs commented 2 months ago

Confirmed by changing the serial on the util.py to "vial:" allows me to use vial-gui through the KVM. Not sure if any one else could be affected by a problem like this though

Tested on Windows and on a Ubuntu machine (also required to update the udev rules).

image

jasonzjc666 commented 2 months ago

Similar issue here - I just upgraded from 0.4.2 to 0.7, and vial (both web and windows native) stopped recognizing my keyboard which is conneted via a USB hub. Everything is back to normal if I connect the keyboard directy to the PC.