Arndroid Posted May 7, 2016 Share Posted May 7, 2016 My original issue was with my Das Keyboard Professional, it didn't have a vendor name. And so didn't show up under VM USB Devices, and XML editing the USB ID into it didn't work either. Upon a long Google, I found what I was looking for, a way to add the vendor name so UnRAID would accept the device: http://ubuntuforums.org/showthread.php?t=2234649 This will work on any USB device which didn't have the luxury of reciving a vendor name. The UnRAID solution with this information: Go to your Web UI > Tools > System Devices > USB Devices. In there, find your USB device (by plugging it in and out see which nameless device changes). Take note of the ID, example: ID 24f0:0140. Now, I SSH'd into Unraid, but do as you like. Our "usb.ids" file is located in "/usr/share/" (Actually a link to hwdata/usb.ids) We need to edit this file, I prefer to use nano, vi is wierd: "sudo nano /usr/share/usb.ids" In this file, let's hold on to the template, by adding your device so it's spacing is like the other devices in there: 24f0 Das Keyboard (Our Device) 0140 Das Keyboard (Our Device) 2632 TwinMOS (Existing Device) 3209 7-in-1 Card Reader (Existing Device) Now, I didn't even need to restart UnRAID or my VM, using the plugin "Libvirt Hotplug USB" plugin already saw it, and after Attaching it, it worked! Cheers, Arndroid P.S. There is also a USB Hub in the Das Keyboard, and while it does show up as a seperate ID device, without vendor name, it didn't show up on the USB Devices list. But it seems like it doesn't need any assigning, it works just fine like this. (Granted, if the USB devices have a vendor name attached to their ID's ) Shameless plug, the great plugin called "Unassigned Devices" has an option for auto-mounting USB storage devices, which it then mounts as a Share, so you can access it directly when plugging one into the Hub. Link to comment
saarg Posted May 8, 2016 Share Posted May 8, 2016 Just so you know. The edit you did in the USB.ids file will be lost after a reboot. You will need to copy it to your flash drive and then copy it back to the correct location at boot. You can do this in the go file. Link to comment
[email protected] Posted August 2, 2016 Share Posted August 2, 2016 So, thank you for writing this up. I got a new keyboard and it was not working until I found this. Now for the second post here, how to makes sure that I don't redo this every reboot? I'm sorry but I don't understand what you mean by use the "go". Sorry for my ignorance. Link to comment
John_M Posted August 2, 2016 Share Posted August 2, 2016 unRAID runs from RAM so everything except the contents of /boot (where the flash device is mounted) and /mnt is volatile. Late in the boot sequence the /boot/config/go file is executed so actions that you want to survive a reboot can be called from there. Link to comment
[email protected] Posted August 3, 2016 Share Posted August 3, 2016 How do I do this? How to I us "go" to make sure that I dont have ssh into my server just to be able to us my keyboard in my windows vm? Link to comment
keantan Posted May 8, 2019 Share Posted May 8, 2019 Hi guys, I'm trying to do the same with UNRAID and my Das Keyboard. I've updated the usb.ids file and set it up in /boot with the go file copying it to /usr/share. I've also installed the 'Libvirt Hotplug USB'. However, the keyboard still doesn't work at log in for my Arch VM. I need to log in using another keyboard, and then disconnect and reconnect the keyboard to the VM in UNRAID in order to get it to recognise. Any ideas how to solve this issue? Please let me know if you need any further debug info from me. Thanks! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.