SOLVED Keyboard not recognized when using KVM switch

  • I have some brand new Dell Optiplex 3070s, (minis) and I’d like to use my KVM
    switch so I can at least do 4 at a time. (I have 200 to do! Yikes) But it will NOT recognize the keyboard through
    the KVM switch, so now I’m unplugging/replugging the keyboard/mouse from PC to PC.

    Is there some kind of “magic” that needs to be setup in FOG to recognize a KVM switch?
    (it could be my kvm switch its an old IOGear 4 port?)

    I did try searching before posting but I didn’t find anything that matched my issue…

    Thanks in advance, excited about FOG!!

  • Senior Developer

    @stu Any news on this? Did you get to test Linux live distros?

  • Senior Developer

    @stu said in Keyboard not recognized when using KVM switch:

    Model. GCS24U
    4 port USB cable kvm switch
    S/N: Z3E2-096B0-0232

    I have searched the web on how to make this work on Linux. Specific model as well as in gerneral and I just cannot seem to find the information on which kernel driver needs to be enabled. May I ask you to download some Live Linux and boot that on the Dell Optiplex 3070s to make sure this KVM works on Linux in general?

  • Moderator

    @stu They are to be executed on the target computer. when you schedule the task in the web ui, there is a checkbox for debug mode. Tick that and then schedule the task. That will tell the target computer to go into debug mode. that will give you a console on the target computer to type things into

  • @george1421

    Sorry George, been squirreled in other projects…are these instructions for the server console or from the client? I’ve looked at the client side and don’t see the debug box?? I’m a little familiar with Linux, but I don’t see a place to drop down to a terminal to get the results for lspci. Could “open terminal” be put into the FOG main deploy menu…

    Anything else I can try? Thanks!!

  • @Sebastian-Roth

    KVM information

    Model. GCS24U
    4 port USB cable kvm switch
    S/N: Z3E2-096B0-0232

  • Moderator

    @stu Once you get the system registered, I’d like you to do something for us.

    1. Schedule a capture/deploy it doesn’t matter, but before you hit the schedule task button tick the debug checkbox. Then schedule the task.
    2. PXE boot the target computer. Plug a traditional keyboard in for this test.
    3. After several screens of text on the target computer that you need to clear by pressing the enter key, you will be dropped to the FOS Linux command prompt in debug mode.
    4. At the command prompt key in lspci and take a clear picture of the numbers it prints.
    5. Plug in the KVM switch (but leave the traditional keyboard connected). Confirm that the KVM is selected towards the target computer.
    6. Run the same lspci command again. Hopefully you have 1 or more new PCI devices listed. Take a picture of the new output (you can probably get both outputs in one screen shot as long as I can read the numbers we will be good.

    The difference between the two commands will be the hardware IDs of the kvm switch. We can then take those IDs and confirm that the linux kernel supports the KVM.

  • Senior Developer

    @stu Ahh, now I see. Well as a quick workaround I would just use the quick registration (no input needed) or manually register the clients on the web UI (if you have the MAC addresses you might even use the CSV import).

    Possibly there is some special (USB) driver we need to compile into the kernel to make this work. Can you please tell us the exact model you have (possibly GCS1104?) so we can check out if there is some driver we can add.

  • I’d like to type in the hostname of the PC, the username, join it to a domain, and I have a snapin that I need also. So these are all prompts, I’m still about as green as it gets on FOG. If there’s an easier way please elaborate. I’d love to get this behind me.


    NOTE I don’t know if this matters, but these are new PCs that are going to be installed soon, they are not in service at this time. All are on my desk…

  • Senior Developer

    @stu Why do you need keyboard and mouse for imaging at all I am wondering? Network and maybe display should be enough! At what stage do you need to type anything?