Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

KVM with Unraid GUI

Featured Replies

Very new to this so forgive me for my ignorance.

I'm trying to figure out how to get the keyboard and mouse to work with unraid through my TESmart HKS0402A2U KVM. At this point I have no VMs and the reason I need to do this is I'll eventually be upgrading my network and will be installing a NIC so if in the event that I cannot connect for whatever reason I'd like to be able to manage Unraid via the GUI.

The internal USB switch in the KVM I've identified in the underlined image in Unraid as Generic:Mass_Storage_Device which I see in other systems connected to the KVM.

Graphics passes through without any issue.
I'm currently only managing it through browser right now because it was frustrating having two keyboards and two mice on my desk but need to have the option to use the GUI.
HKS0402A2U-Anschluesse.thumb.png.6605b2a4850ed45c3187c6808c44bd03.png

 

Screenshot 2024-12-28 at 04-42-29 HTPCNAS_USBDevices.png

  • Community Expert
9 hours ago, ZaPHoN said:

Very new to this so forgive me for my ignorance.

I'm trying to figure out how to get the keyboard and mouse to work with unraid through my TESmart HKS0402A2U KVM. At this point I have no VMs and the reason I need to do this is I'll eventually be upgrading my network and will be installing a NIC so if in the event that I cannot connect for whatever reason I'd like to be able to manage Unraid via the GUI.

The internal USB switch in the KVM I've identified in the underlined image in Unraid as Generic:Mass_Storage_Device which I see in other systems connected to the KVM.

Graphics passes through without any issue.
I'm currently only managing it through browser right now because it was frustrating having two keyboards and two mice on my desk but need to have the option to use the GUI.
HKS0402A2U-Anschluesse.thumb.png.6605b2a4850ed45c3187c6808c44bd03.png

 

Screenshot 2024-12-28 at 04-42-29 HTPCNAS_USBDevices.png

Was the keyboard and mouse selected to be on server? Does lsusb -t show any additional data

 

You can run lsusb to get bus/dev id then lsusb -vvs bus:Dev for the device on 1-7

  • Author

Can you expand on what you mean "Was the keyboard and mouse selected to be on server".

I think this could be one of my issues https://pwr-solaar.github.io/Solaar/ because my keyboard is a Logitech MX Keys keyboard.
"Solaar is a Linux manager for many Logitech keyboards, mice, and trackpads that connect wirelessly to a USB Unifying, Bolt, Lightspeed, or Nano receiver; connect directly via a USB cable; or connect via Bluetooth. Solaar does not work with peripherals from other companies."

However, my mouse won't work unless it's plugged in directly to the Unraid NAS. Any devices I plug into the KVM won't pass through for some reason but those same devices will work if plugged directly into the Unraid NAS.

The Tesmark KVM are Linux compatible.

I can't seem to get lsusb -vvs bus:Dev to work properly. 
 

Here are the results for lsusb -t while I have the KVM plugged into the Unraid NAS.

root@HTPCNAS:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=vhci_hcd/8p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=vhci_hcd/8p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 4: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    |__ Port 5: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 5: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 6: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 7: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 7: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 480M
    |__ Port 10: Dev 5, If 0, Class=Human Interface Device, Driver=, 1.5M
    |__ Port 10: Dev 5, If 1, Class=Human Interface Device, Driver=, 1.5M

Edited by ZaPHoN

  • Community Expert
14 minutes ago, ZaPHoN said:

Can you expand on what you mean "Was the keyboard and mouse selected to be on server".

The correct setting is on the KVM.

 

15 minutes ago, ZaPHoN said:

can't seem to get lsusb -vvs bus:Dev to work properly. 

You need to replace bus:Dev with the values from lsusb where the KVM is connected. It does seem that some of the connections have multiple interfaces from the tree.

  • Author

Yes the correct channel was selected on the KVM. I made sure it was in the correct channel prior to booting into Unraid as well to make sure the drivers would transfer from the KVM but it didn't work

If I use this as an example for lsusb -vvs bus:Dev what am I doing wrong?
"/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M"

I used this in terminal:
lsusb -vvs Bus 03.Port 1:Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M

Returns (obviously incorrect) I'm not familiar with using commands. Sorry.

Usage: lsusb [options]...
List USB devices
  -v, --verbose
      Increase verbosity (show descriptors)
  -s [[bus]:][devnum]
      Show only devices with specified device and/or
      bus numbers (in decimal)
  -d vendor:[product]
      Show only devices with the specified vendor and
      product ID numbers (in hexadecimal)
  -D device
      Selects which device lsusb will examine
  -t, --tree
      Dump the physical USB device hierarchy as a tree
  -V, --version
      Show version of program
  -h, --help
      Show usage and help
 

Edited by ZaPHoN

  • Community Expert

lsusb 

 

Then use the bus and Dev in the next command.

 

root@computenode:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 1462:7d25 Micro Star International MYSTIC LIGHT 
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 0a05:7211 Unknown Manufacturer hub
Bus 001 Device 006: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 007: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 008: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 009: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 010: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 011: ID 0a05:7211 Unknown Manufacturer hub
Bus 001 Device 012: ID 2516:01b5 Cooler Master Co., Ltd. Intel ARC RGB Controller
Bus 001 Device 013: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 014: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 016: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 017: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 003: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 004: ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@computenode:~# lsusb -vvs 001:012

This ^ would be for the Cooler master device

 

  • Author

I tried using lsusb with the kvm usb plugged in and without the usb being plugged in after a reboot and it seems the results for lsusb don't change.

This is what I get before and after plugging in the KVM USB. The only thing that seems to work in Unraid with the Tesmart KVM is the HDMI video. 

lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 001 Device 003: ID 0b05:1939 ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 002: ID 13d3:3571 IMC Networks Bluetooth Radio
Bus 001 Device 005: ID 15c2:0038 SoundGraph Inc. GD01 MX LCD Display/IR Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.