No internet connection
  1. Home
  2. General

TinyPilot Voyager and KVM

By C M @chuckm
    2021-09-22 00:17:08.572Z

    I read on reddit and on this page (https://github.com/tiny-pilot/tinypilot/wiki/KVM-compatibility) that the AIMOS 4 port HDMI KVM would work with the TinyPilot.
    I purchased the one from Amazon using the wiki link (https://www.amazon.com/dp/B0817YFJKW/).
    The device that arrived looks just like the photo and says AIMOS on top and on the bottom: model AM-KVM401.
    I didn't put a powered HDMI splitter as listed in the YouTube video. I first focused on the USB and tried with both HDMI connected and not connected to TinyPilot or KVM.
    -When I plug the USB from the data port of the TinyPilot directly to the target PC, both keyboard and mouse from TinyPilot web UI work.
    -When I plug the USB from the data port of the TinyPilot to the KMV "keyboard" USB port and KVM USB to the target PC, nothing works - no keyboard or mouse.
    -If I plug a real USB keyboard to the KMV "keyboard" USB port and KVM USB to the target PC, then keyboard work on target PC AND I can use hotkey to change KVM input.
    -When I plug the USB from the data port of the TinyPilot to the KMV "hub" USB port and KVM USB to the target PC. then TinyPilot Web UI keyboard and mouse are passed to target PC, BUT I cannot use the hotkey to change KVM input.
    I need a solution that allows me to change KVM input with hotkey via TinyPilot WebUI and pass keyboard (at least) from TinyPilot Web UI to Target PC.
    I'm guessing that the KVM doesn't like the USB signals from the TinyPilot on the KVM "keyboard" port because the TinyPilot is emulating a USB hub. Correct? Is there a way to make the TinyPilot just emulate a keyboard?

    Thank you.

    • 13 replies
    1. C
      C M @chuckm
        2021-09-22 05:37:10.382Z

        I updated the Tiny pilot software. When using the TinyPilot browser Ui to send keyboard commands, with the TinyPilot connected to the "keyboard" USB port of the KVM, the browser UI shows the keyboard commands in red with hover text saying the command failed (HID failure?) - and the target PC doesn't detect any keyboard or mouse inputs.
        I tried changing USB cables between the TinyPilot and the KVM.
        Using the hub USB port on the KVM works (but I can't change KVM input), so I assume either the KVM is defective in some way or incompatible with Tiny Pilot in some way.

        1. In reply tochuckm:

          Hi Chuck,

          Thanks for reporting this!

          This seems to be the same issue that another user hit last month. It may be related to changes we made to the USB device emulation to enable virtual storage. I'll send you a link to a previous build that was in use at the time I tested AIMOS compatibility.

          I'm guessing that the KVM doesn't like the USB signals from the TinyPilot on the KVM "keyboard" port because the TinyPilot is emulating a USB hub. Correct? Is there a way to make the TinyPilot just emulate a keyboard?

          Unfortunately not. TinyPilot can currently only emulate a USB hub with different devices attached to it, but it can't emulate a direct device connection.

          1. E
            In reply tochuckm:
            Eddie @edgoldbeck
              2021-10-08 19:43:45.083Z

              Hi Friends. I see on this page here where it talks about KVM compatibility that with an old version the AImos works. Do we know if there's plans for future builds to also support the TinyPilot to Traditional KVM? I assume we don't want to maintain two parallel versions, but for folks with a lot of machines having one tinypilot per device might not be feasible.

              1. CC M @chuckm
                  2021-10-08 23:38:44.481Z2021-10-11 18:59:39.456Z

                  Hi Eddie,
                  I updated the wiki (https://github.com/tiny-pilot/tinypilot/wiki/KVM-compatibility). I'm using a TesMart KVM with KVM switching via IP and it's working great for my needs. It also has EDID emulation, so the PCs don't see the display unplugged and replugged when the KVM switches inputs. I'm on the same network as the KVM switch, so it works for me.

                  1. In reply toedgoldbeck:
                    Michael Lynch @michael2021-10-11 18:54:59.481Z2021-10-11 19:05:27.873Z

                    I think adding virtual storage was what broke compatibility with the AIMOS KVMs. On the next release, we're planning to have an option to allow you to disable virtual storage, which I think will make it possible to use new versions of the TinyPilot Pro software with the AIMOS KVMs.

                    Edit: AIMOS, not TESMart

                    1. CC M @chuckm
                        2021-10-11 19:02:12.247Z

                        Michael, I think you mean virtual storage broke compatibility with the AIMOS KVM. The AIMOS can switch with a keyboard sequence, but the virtual storage supports prevents the AIMOS from detecting a keyboard from the TinyPilot on the "keyboard" KVM port. The TESMart KVM supports IP and RS232 switching, which are independent of the TinyPilot USB stack.

                        1. Oh, you're right. Fixed it, thanks!

                        2. In reply tomichael:
                          EEddie @edgoldbeck
                            2021-10-11 19:03:10.201Z

                            Awesome. Thank you Michael!

                        3. G
                          In reply tochuckm:
                          Guy Robertson @guybor
                            2021-10-19 18:11:46.595Z

                            @michael
                            can you email me an older build also....or how close are you to getting the new build out......I'm still having issues with my setup with a KVM switch.

                            Thank you

                            1. Sure, just sent you an email.

                            2. Progress
                            3. E
                              Eddie @edgoldbeck
                                2021-10-18 18:13:47.484Z

                                Morning folks. So I got the Aimos KVM and it recognizes the monitor, keyboard, mouse, etc, BUT, I can't use the hotkey switching. Is this the thing we're expecting not to work? How do I "downgrade" to the old tiny pilot software?

                                1. Michael Lynch @michael2021-10-19 16:10:12.104Zreplies toedgoldbeck:

                                  There's no automated way to get old builds, but I just emailed you a link.

                                  In the next update, we're adding a cleaner way to disable USB virtual storage, which I think is what's causing AIMOS KVMs to fail on recognizing hotkey switching.

                                  1. E
                                    Eddie @edgoldbeck
                                      2021-10-21 13:01:15.513Zreplies tomichael:

                                      Appreciate the update Michael. Looking forward to that change so I can skip the swivel chair over to the kvm button haha.