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.

Mouse becomes unusable within seconds if not used

Featured Replies

I'm trying to use a new Microsoft Mobile 4000 mouse ID 045e:07b2 with my Windows 10 VM 'Disney'.  It works on boot, but if not used it becomes unusable within seconds.

 

If I don't assign it to a VM and use the USB hotplug plugin, I can again attach it sucessfully but it detaches again within seconds if not used.

 

Any ideas what's wrong?  I have another Microsoft model mouse and keyboard ID 045e:0745 on a diff VM in the same room, but I thought they all operated on diff channels these days?

highlander-diagnostics-20171218-1444.zip

2 hours ago, DZMM said:

I'm trying to use a new Microsoft Mobile 4000 mouse ID 045e:07b2 with my Windows 10 VM 'Disney'.  It works on boot, but if not used it becomes unusable within seconds.

 

If I don't assign it to a VM and use the USB hotplug plugin, I can again attach it sucessfully but it detaches again within seconds if not used.

 

Any ideas what's wrong?  I have another Microsoft model mouse and keyboard ID 045e:0745 on a diff VM in the same room, but I thought they all operated on diff channels these days?

highlander-diagnostics-20171218-1444.zip

Yeah had similar issues with a microsoft bt sculpt mouse, same exact issue. Never got it resolved, just went over to a generic bt mouse.

  • Author

Bummer - I think I'll have to add a new mouse and keyboard to the ridiculously long xmas present list - my daughter's outgrown her Disney princess keyboard and the mouse was naff, but I had the microsoft one lying around.

 

VMs are convienient, but the smallest unexpected problems hit them at weird times e.g. on my main VM I can't get my Logitech webcam to work, so whenever I need to do a call I have to plug it into my wife's laptop :-(

For VMs where you really rely upon USB devices, nothing beats passing through the controller if you're able to.  Solves a ton of problems.

  • Author

I agree.  When I first built my server I passed through two controllers.  But, I lost them when I added a x4 dual nic, which in turn will probably be going when I need to add a sas card next calendar year as I'm out of spare sata slots, and upgrading drives will only get me so far.

 

I think next year I'm going to have to upgrade my mobo.  I found a great deal on eBay last month on a x99-e-ws, but I had to return it as it as bootlooping.

1 minute ago, DZMM said:

I agree.  When I first built my server I passed through two controllers.  But, I lost them when I added a x4 dual nic, which in turn will probably be going when I need to add a sas card next calendar year as I'm out of spare sata slots, and upgrading drives will only get me so far.

 

I think next year I'm going to have to upgrade my mobo.  I found a great deal on eBay last month on a x99-e-ws, but I had to return it as it as bootlooping.

You actually gave me an idea though.  I've rearranged the server room, and am now using a 50' USB extension for a Kodi VM's IR (USB passthrough not an option for this particular VM).  While the extension works no problems, it does occasionally disconnect and then immediately reconnect the device with the result that the IR is no longer available to the VM.

 

Something along the lines of this forgotten script https://forums.lime-technology.com/topic/48707-additional-scripts-for-userscripts-plugin/?page=4&tab=comments#comment-532119 purpose modified to simply reconnect the IR when its gets disconnected.

 

  • Author
1 hour ago, Squid said:

You actually gave me an idea though.  I've rearranged the server room, and am now using a 50' USB extension for a Kodi VM's IR (USB passthrough not an option for this particular VM).  While the extension works no problems, it does occasionally disconnect and then immediately reconnect the device with the result that the IR is no longer available to the VM.

 

Something along the lines of this forgotten script https://forums.lime-technology.com/topic/48707-additional-scripts-for-userscripts-plugin/?page=4&tab=comments#comment-532119 purpose modified to simply reconnect the IR when its gets disconnected.

 

Like it!  I was aware of that script, but I'd never considered using it to connect devices permanently rather than just for hotplugging.

 

I'm getting errors though:

Warning: Invalid argument supplied for foreach() in /tmp/user.scripts/tmpScripts/USB Hot Plug/script on line 60

Warning: Invalid argument supplied for foreach() in /tmp/user.scripts/tmpScripts/USB Hot Plug/script on line 68

Edit: sorted.  My bus is '003' not '03'

 

Awesome - can use my webcam now.  Unfortunately I only have one bus (X99), so I'll have to setup two scripts so when I'm using my webcam the mouse won't work on the other VM - manageable.

 

Thank you so much Squid!!!

Edited by DZMM

2 minutes ago, DZMM said:

Like it!  I was aware of that script, but I'd never considered using it to connect devices permanently rather than just for hotplugging.

 

I'm getting errors though:


Warning: Invalid argument supplied for foreach() in /tmp/user.scripts/tmpScripts/USB Hot Plug/script on line 60

Warning: Invalid argument supplied for foreach() in /tmp/user.scripts/tmpScripts/USB Hot Plug/script on line 68

 

IDK.  Script was done on a whim a long time ago and I forgot all about it.  Probably you didn't set the variables correctly for what you're trying to do.

  • Author

Does the VM have to be running for the script to work?  e.g. could the script start at array start and then when the VM starts, the script starts monitoring the bus?  My VMs takes forever to start at boot because I have a pfsense VM, so I'm hoping that the script might initially throw up errors but settle down once the VM starts

  • Author

I'm wondering - if I purchased a hub for each VM (x3), could I tell each VM to monitor a hub each even though I only have one bus?

 

Here's my current lsusb output:

 

Bus 002 Device 002: ID 8087:8002 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 123: ID 045e:07b2 Microsoft Corp.
Bus 003 Device 003: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 003 Device 079: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 003 Device 008: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 003 Device 083: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 003 Device 029: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 003 Device 081: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 080: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 005: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The Terminus Technology Hub is a cheap hub I got on Amazon.  If I got 2 unique hubs, could I set:

 

$hubName="Terminus Technology Inc. Hub" for VM1, $hubName="Another Manufacturer hub" for VM2 and $hubName="Yet Another Manufacturer hub" for VM3 where each hub would be hot-pluggable for each VM?

  • Author

Thanks - going to give this a go one day

Archived

This topic is now archived and is closed to further replies.

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.