Looking to making USB gamepads available to use in qemu guests
by lawnm0wer from LinuxQuestions.org on (#575HX)
In the past, I've found my solution to using USB ports in my virtual machines: passing through the whole controller to the VM. As such I have dedicated a select USB PCI on my PC for VM access.
Now, the problem is, I want to pass through a gamepad to the VM, but it seems there needs to be some udev configuration or something required in /etc/udev/rules.d/ so I can actually access said devices in the first place:
I can use usb mass storage devices, but only if the udev rules allow for that specific device.
However, putting the gamepad's ids in the same .rules file as the USB storage rules doesn't work.
I'm not someone who is familiar with finagling with udev, especially since it's a particularly scary part of linux systems. At the minimum, I'd like to use one particular gamepad for passthrough gaming.
My system is one of the march or april builds of slackware-current
Thank you for your help!


Now, the problem is, I want to pass through a gamepad to the VM, but it seems there needs to be some udev configuration or something required in /etc/udev/rules.d/ so I can actually access said devices in the first place:
I can use usb mass storage devices, but only if the udev rules allow for that specific device.
However, putting the gamepad's ids in the same .rules file as the USB storage rules doesn't work.
I'm not someone who is familiar with finagling with udev, especially since it's a particularly scary part of linux systems. At the minimum, I'd like to use one particular gamepad for passthrough gaming.
My system is one of the march or april builds of slackware-current
Thank you for your help!