Mirano Posted July 27, 2020 Share Posted July 27, 2020 Good day, I decided to reinstall my unraid since i was having issues with wireguard. Now that all that i fixed i used to have aroudn 5 vm's (windows7,10 ubuntu, macos, centos). i only started 1 each at a time with my monitor + keyboard and mice passed through. My keyboard works perfectly in unraid's typable ui, yet when i pass it through to my VM the keyboard just stops working. I've tried the following: * Delete any plugin related to usb passthrough VFIO-PCI CFG & Libvirt Hotplug USB. * changed the USB bus of the VM (before the full restart all the busses worked) Note that this is the set i used to install unraid with. Once i connect my roccat keyboard + mice from my other room it works in the VM. Hopefully somoene could help me figure this out hpunraid-diagnostics-20200727-2151.zip Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 I just started up my VM and it did say Logitech unifying receiver installed. but no buttons are working. Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 libusb: error [_open_sysfs_attr] open /sys/bus/usb/devices/1-6/bConfigurationValue failed ret=-1 errno=2 libusb: error [udev_hotplug_event] ignoring udev action bind libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle found these errors in the VM log Also when i hot plug it using the plugin Libvirt Hotplug USB i even see Logitech options software and i hear a connect sound Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 Now al of the sudden it works: Jul 27 22:19:26 HPUnraid kernel: input: Logitech MX Keys as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0032/0003:046D:408A.0033/input/input87 Jul 27 22:19:26 HPUnraid kernel: logitech-hidpp-device 0003:046D:408A.0033: input,hidraw2: USB HID v1.11 Keyboard [Logitech MX Keys] on usb-0000:00:14.0-6:1 Jul 27 22:19:27 HPUnraid kernel: input: Logitech MX Master 2S as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0032/0003:046D:4069.0034/input/input88 Jul 27 22:19:27 HPUnraid kernel: logitech-hidpp-device 0003:046D:4069.0034: input,hidraw3: USB HID v1.11 Keyboard [Logitech MX Master 2S] on usb-0000:00:14.0-6:2 Jul 27 22:19:27 HPUnraid kernel: input: Logitech MX Vertical as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0032/0003:046D:407B.0035/input/input89 Jul 27 22:19:27 HPUnraid kernel: logitech-hidpp-device 0003:046D:407B.0035: input,hidraw4: USB HID v1.11 Keyboard [Logitech MX Vertical] on usb-0000:00:14.0-6:3 Jul 27 22:19:33 HPUnraid acpid: input device has been disconnected, fd 6 Jul 27 22:19:33 HPUnraid acpid: input device has been disconnected, fd 7 Jul 27 22:19:33 HPUnraid acpid: input device has been disconnected, fd 11 Jul 27 22:21:13 HPUnraid kernel: usb 1-8.1: reset full-speed USB device number 12 using xhci_hcd Jul 27 22:21:14 HPUnraid kernel: usb 1-8.3: reset full-speed USB device number 14 using xhci_hcd Jul 27 22:21:14 HPUnraid kernel: usb 1-6: reset full-speed USB device number 17 using xhci_hcd Jul 27 22:21:19 HPUnraid kernel: usb 1-8.1: reset full-speed USB device number 12 using xhci_hcd Jul 27 22:21:19 HPUnraid kernel: usb 1-8.3: reset full-speed USB device number 14 using xhci_hcd Jul 27 22:21:19 HPUnraid kernel: usb 1-6: reset full-speed USB device number 17 using xhci_hcd Jul 27 22:22:15 HPUnraid kernel: usb 1-8: USB disconnect, device number 11 Jul 27 22:22:15 HPUnraid kernel: usb 1-8.1: USB disconnect, device number 12 Jul 27 22:22:15 HPUnraid kernel: usb 1-8.3: USB disconnect, device number 14 Jul 27 22:22:20 HPUnraid kernel: usb 1-8: new full-speed USB device number 18 using xhci_hcd Jul 27 22:22:20 HPUnraid kernel: input: Corsair Corsair M65 RGB Gaming Mouse Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:1B1C:1B12.0036/input/input90 Jul 27 22:22:20 HPUnraid kernel: input: Corsair Corsair M65 RGB Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:1B1C:1B12.0036/input/input91 Jul 27 22:22:20 HPUnraid kernel: input: Corsair Corsair M65 RGB Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:1B1C:1B12.0036/input/input92 Jul 27 22:22:20 HPUnraid kernel: hid-generic 0003:1B1C:1B12.0036: input,hiddev97,hidraw1: USB HID v1.11 Mouse [Corsair Corsair M65 RGB Gaming Mouse] on usb-0000:00:14.0-8/input0 Jul 27 22:22:20 HPUnraid kernel: hid-generic 0003:1B1C:1B12.0037: hiddev98,hidraw2: USB HID v1.11 Device [Corsair Corsair M65 RGB Gaming Mouse] on usb-0000:00:14.0-8/input1 Restarting now to see if this still keeps working Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 looks like the windows 10 VM is now working. Yet creating a new VM just breaks it again.. Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 So on all my VM's it doesnt work except for 1 windows 10 VM. I just can't seem to figure this one out: more photos: Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10 GPU</name> <uuid>3309031e-4b70-62a0-3106-21b6390a7817</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>6291456</memory> <currentMemory unit='KiB'>6291456</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='2'/> <vcpupin vcpu='1' cpuset='6'/> <vcpupin vcpu='2' cpuset='3'/> <vcpupin vcpu='3' cpuset='7'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/3309031e-4b70-62a0-3106-21b6390a7817_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='2' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disks/SSD/VM_Data/Windows 10 GPU/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/A_Windows10_2004_Pro_0.3.iso'/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso'/> <target dev='hdb' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='qemu-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <interface type='bridge'> <mac address='52:54:00:ee:65:e9'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1e7d'/> <product id='0x2cee'/> </source> <address type='usb' bus='0' port='1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1e7d'/> <product id='0x2f76'/> </source> <address type='usb' bus='0' port='2'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc52b'/> </source> <address type='usb' bus='0' port='3'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1b1c'/> <product id='0x1b12'/> </source> <address type='usb' bus='0' port='4'/> </hostdev> <memballoon model='none'/> </devices> </domain> Quote Link to comment
Mirano Posted July 27, 2020 Author Share Posted July 27, 2020 Jul 27 22:37:14 HPUnraid kernel: device vnet0 left promiscuous mode Jul 27 22:37:14 HPUnraid kernel: br0: port 2(vnet0) entered disabled state Jul 27 22:37:14 HPUnraid avahi-daemon[4204]: Withdrawing address record for fe80::fc54:ff:fe9e:db27 on vnet0. Jul 27 22:37:14 HPUnraid kernel: usb 1-8.1: reset full-speed USB device number 24 using xhci_hcd Jul 27 22:37:14 HPUnraid kernel: input: ROCCAT ROCCAT Kova Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1:1.0/0003:1E7D:2CEE.0084/input/input178 Jul 27 22:37:14 HPUnraid kernel: input: ROCCAT ROCCAT Kova Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1:1.0/0003:1E7D:2CEE.0084/input/input179 Jul 27 22:37:14 HPUnraid kernel: input: ROCCAT ROCCAT Kova as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1:1.0/0003:1E7D:2CEE.0084/input/input180 Jul 27 22:37:14 HPUnraid kernel: hid-generic 0003:1E7D:2CEE.0084: input,hiddev97,hidraw3: USB HID v1.11 Mouse [ROCCAT ROCCAT Kova] on usb-0000:00:14.0-8.1/input0 Jul 27 22:37:14 HPUnraid kernel: input: ROCCAT ROCCAT Kova as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1:1.1/0003:1E7D:2CEE.0085/input/input181 Jul 27 22:37:14 HPUnraid kernel: hid-generic 0003:1E7D:2CEE.0085: input,hidraw5: USB HID v1.11 Keyboard [ROCCAT ROCCAT Kova] on usb-0000:00:14.0-8.1/input1 Jul 27 22:37:14 HPUnraid kernel: usb 1-6: reset full-speed USB device number 17 using xhci_hcd Jul 27 22:37:14 HPUnraid kernel: logitech-djreceiver 0003:046D:C52B.0088: hiddev98,hidraw6: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-6/input2 Jul 27 22:37:14 HPUnraid kernel: input: Logitech MX Keys as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0088/0003:046D:408A.0089/input/input182 Jul 27 22:37:14 HPUnraid kernel: logitech-hidpp-device 0003:046D:408A.0089: input,hidraw7: USB HID v1.11 Keyboard [Logitech MX Keys] on usb-0000:00:14.0-6:1 Jul 27 22:37:15 HPUnraid kernel: input: Logitech MX Master 2S as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0088/0003:046D:4069.008A/input/input183 Jul 27 22:37:15 HPUnraid kernel: logitech-hidpp-device 0003:046D:4069.008A: input,hidraw8: USB HID v1.11 Keyboard [Logitech MX Master 2S] on usb-0000:00:14.0-6:2 Jul 27 22:37:15 HPUnraid kernel: input: Logitech MX Vertical as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0088/0003:046D:407B.008B/input/input184 Jul 27 22:37:15 HPUnraid kernel: logitech-hidpp-device 0003:046D:407B.008B: input,hidraw9: USB HID v1.11 Keyboard [Logitech MX Vertical] on usb-0000:00:14.0-6:3 Jul 27 22:37:16 HPUnraid kernel: vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none Jul 27 22:37:17 HPUnraid kernel: usb 1-8: USB disconnect, device number 23 Jul 27 22:37:17 HPUnraid kernel: usb 1-8.1: USB disconnect, device number 24 Jul 27 22:37:17 HPUnraid acpid: input device has been disconnected, fd 17 Jul 27 22:37:17 HPUnraid kernel: usb 1-8.3: USB disconnect, device number 25 Jul 27 22:37:17 HPUnraid acpid: input device has been disconnected, fd 5 Jul 27 22:37:17 HPUnraid acpid: input device has been disconnected, fd 7 Jul 27 22:37:17 HPUnraid acpid: input device has been disconnected, fd 11 Jul 27 22:37:17 HPUnraid acpid: input device has been disconnected, fd 16 Quote Link to comment
Recommended Posts
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.