Windows 10 VM Keyboard keeps disconnecting help please


JPDom1

Recommended Posts

Hi,

 

I looked on the forum and cannot get a relating article on this.

I have a Windows 10 Gaming VM on unRAID that works perfectly apart from my keyboard will disconnect randomly.

Scenario is,

 

Boot up VM everything works 5 minutes to 60 minutes later windows plays the device disconnect sound and my keyboard is gone(no response). Nothing i do by means or plugging it out and in resolved this only a reboot of the VM not unRAID.

Currently i have it plugged into my front panel and it has been OK but would like to know the cause.

 

Keyboard is SteelSeries Apex M800 which requires 2x USB ports to power and it also has 2 usb ports for devices and i am thinking this is the problem? unRAID does not recognize these extra ports on the keyboard (Build in hub) for example when i plug a USB watch or phone into it unRAID does not pick them up.

 

Below is my system log when it disconnects,

Jan 20 20:53:14 BigGreen kernel: hid-generic 0003:1038:1600.000F: hiddev96,hidraw0: USB HID v1.11 Device [SteelSeries SteelSeries Apex M800 Keyboard] on usb-0000:00:14.0-10.3.1/input0
Jan 20 20:53:14 BigGreen kernel: input: SteelSeries SteelSeries Apex M800 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.3/3-10.3.1/3-10.3.1:1.1/0003:1038:1600.0010/input/input15
Jan 20 20:53:14 BigGreen kernel: hid-generic 0003:1038:1600.0010: input,hidraw1: USB HID v1.11 Keyboard [SteelSeries SteelSeries Apex M800 Keyboard] on usb-0000:00:14.0-10.3.1/input1
Jan 20 20:53:14 BigGreen kernel: input: SteelSeries SteelSeries Apex M800 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.3/3-10.3.1/3-10.3.1:1.2/0003:1038:1600.0011/input/input16
Jan 20 20:53:15 BigGreen kernel: hid-generic 0003:1038:1600.0011: input,hidraw2: USB HID v1.11 Mouse [SteelSeries SteelSeries Apex M800 Keyboard] on usb-0000:00:14.0-10.3.1/input2
Jan 20 20:53:15 BigGreen kernel: input: SteelSeries SteelSeries Apex M800 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.3/3-10.3.1/3-10.3.1:1.3/0003:1038:1600.0012/input/input17
Jan 20 20:53:15 BigGreen kernel: hid-generic 0003:1038:1600.0012: input,hidraw3: USB HID v1.11 Keyboard [SteelSeries SteelSeries Apex M800 Keyboard] on usb-0000:00:14.0-10.3.1/input3
Jan 20 20:53:17 BigGreen kernel: usb 3-10.1.1: reset full-speed USB device number 7 using xhci_hcd
Jan 20 20:53:17 BigGreen kernel: usb 3-10.1.1: reset full-speed USB device number 7 using xhci_hcd

Below is my VM XML

 

<domain type='kvm'>
  <name>JP&apos;s Gaming PC</name>
  <uuid>18fd7f4b-80f9-9908-2f8d-797b106d2312</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>7</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='7'/>
    <vcpupin vcpu='2' cpuset='8'/>
    <vcpupin vcpu='3' cpuset='3'/>
    <vcpupin vcpu='4' cpuset='9'/>
    <vcpupin vcpu='5' cpuset='5'/>
    <vcpupin vcpu='6' cpuset='11'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.9'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/18fd7f4b-80f9-9908-2f8d-797b106d2312_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='7' threads='1'/>
  </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/user/domains/JP&apos;s Gaming PC/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/Windows 10 - Bloatware Free Edition v5.9.iso'/>
      <target dev='hda' bus='ide'/>
      <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.126-2.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:97:93:1e'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </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='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <rom file='mnt/user/domains/1080tidump.dump'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
      </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='0x00' slot='0x1b' function='0x0'/>
      </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='0xc07e'/>
      </source>
      <address type='usb' bus='0' port='1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0b05'/>
        <product id='0x17cb'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0d8c'/>
        <product id='0x0005'/>
      </source>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1038'/>
        <product id='0x1600'/>
      </source>
      <address type='usb' bus='0' port='4'/>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Below is my System Spec:

 

Motherboard : MSI Tomahawk X99

CPU : 6850K

RAM 16GB DDR4 Corsair LPX 3600MHZ

GPU : EVGA 1080TI FTW3

those are the only relevant items to this query.

Link to comment
Jan 25 19:44:44 BigGreen kernel: usb 3-3-port3: Cannot enable. Maybe the USB cable is bad?
Jan 25 19:44:44 BigGreen kernel: usb 3-3.1: reset full-speed USB device number 23 using xhci_hcd
Jan 25 19:44:44 BigGreen kernel: usb 3-3.3: new high-speed USB device number 27 using xhci_hcd
Jan 25 19:44:45 BigGreen kernel: usb 3-3.1: reset full-speed USB device number 23 using xhci_hcd
Jan 25 19:44:45 BigGreen kernel: usb 3-3.1: reset full-speed USB device number 23 using xhci_hcd
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: Cannot enable. Maybe the USB cable is bad?
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot disable (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: Cannot enable. Maybe the USB cable is bad?
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot disable (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: Cannot enable. Maybe the USB cable is bad?
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot disable (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot reset (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: Cannot enable. Maybe the USB cable is bad?
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot disable (err = -71)
Jan 25 19:44:54 BigGreen kernel: usb 3-3-port1: cannot disable (err = -71)
Jan 25 19:44:54 BigGreen kernel: hub 3-3:1.0: hub_ext_port_status failed (err = -71)
Jan 25 19:44:54 BigGreen acpid: input device has been disconnected, fd 5
Jan 25 19:44:54 BigGreen acpid: input device has been disconnected, fd 6
Jan 25 19:44:54 BigGreen acpid: input device has been disconnected, fd 7
Jan 25 19:45:00 BigGreen kernel: usb 3-3.1: USB disconnect, device number 23
Jan 25 19:45:00 BigGreen kernel: usb 3-3.3: USB disconnect, device number 27
Jan 25 19:45:00 BigGreen kernel: usb 3-3.4: USB disconnect, device number 25
Jan 25 19:45:00 BigGreen kernel: usb 3-3: reset high-speed USB device number 22 using xhci_hcd
Jan 25 19:45:00 BigGreen kernel: usb 3-3: device descriptor read/64, error -71
Jan 25 19:45:01 BigGreen kernel: usb 3-3: device descriptor read/64, error -71
Jan 25 19:45:01 BigGreen kernel: usb 3-3: USB disconnect, device number 22

Above is another example with error codes this time it was my keyboard and mouse that disconnected please help

Link to comment

Bump & Update,

 

What i have done,

 

-removed the Steelseries drivers

-passed through one of my MB's USB3 controllers

-changed the Power settings to performance.

-Upgraded unRAID to 6.4

-Flashed MB BIOS to latest version. (MSI X99 Tomahawk)

-Installed Creators update.

 

Still disconnects but now i can unplug it and plug it back in to carry on through the passed through USB Controller.

My mouse also freezes every 2 minutes or so and then carry's on as normal.

Keyboard will disconnect for 2/3 seconds then carry on sometimes when i am typing it will spam the last button presses while it is in the "disconnected" state.

 

Not sure if unRAID is the fault? Windows? Motherboard? (As MB is new)

 

HELP?

Link to comment
  • 2 years later...

Hi, No never found a solution I do not use unRAID like that anymore I have gone back to having 2 systems and also no longer have that keyboard.

I think unRAID is better with VM/s and passthrough in general but I would still not do it again as it takes up to much time troubleshooting

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.