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.

Libvirt Hot Plugin USB - USB Hot Plugin for VMs

Featured Replies

  • Author
On 2/1/2022 at 4:47 PM, dlandon said:

I'll have a look.

Php has a lot of trouble with an apostrophy in a string.  It requires a lot of special handling.  This is an edge case and your best solution is to not use an apostrophy.  The programming needed to handle this edge case is not worth the investment in time since you have a simple solution.

  • Replies 134
  • Views 46k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I'm not going to be forking this plugin.  Because it is no longer available within Apps, the messaging the FCP is now changed, with it now being advised to switch to USB Manager.  Similar functionalit

  • For those that are interested, I have found an article here that describes how to set up usb hot plug. https://www.labsrc.com/unraid-automatic-usb-hotplugging-libvirt/#comments   I have

  • I'll have a look.

Posted Images

Hmm, ok. My idea for a solution was to sanatize the String automatically, but I didn't find the right spot for that... 

 

Luckily I could rename my VM without any problem. I did that once with another VM and I had to rebuild it from scratch. 

But it did work and I'll be careful with my names :)

 

Thanks for your time anyway! The plugin is very helpful! 

  • 3 months later...

@dlandon I get with the new version a Error:

grafik.thumb.png.6cb3ab69f29287c20559d7cb2710f6a8.png

 

how can i downgrade ?

Edited by Thorsten

30 minutes ago, Thorsten said:

@dlandon I get with the new version a Error:

grafik.thumb.png.6cb3ab69f29287c20559d7cb2710f6a8.png

 

how can i downgrade ?

Thanks the last version works now.....

 

Its not working properly in latest 6.10.2 release. Flashdrive is not showed in usb devices list to hotplug.

hotplug 2.jpg

hotplug.jpg

1 minute ago, Quejo said:

Its not working properly in latest 6.10.2 release. Flashdrive is not showed in usb devices list to hotplug.

hotplug 2.jpg

hotplug.jpg

what does lsusb show?

1 hour ago, SimonF said:

what does lsusb show?

 

lsusb.jpg

discs.jpg

@QuejoBoth the Sandisk devices have the same vendor:product ID and as one is the flash boot drive it will not show in VM Manager or the Libvirt Hot Plugin.

Edited by SimonF

44 minutes ago, SimonF said:

@QuejoBoth the Sandisk devices have the same vendor:product ID and as one is the flash boot drive it will not show in VM Manager or the Libvirt Hot Plugin.

y?

is there any work around in this case?

Edited by Quejo

Just now, Quejo said:

y?

Mapping is done via vendor and product, have a look at USB Manager plugin as it can support it.

7 hours ago, SimonF said:

Mapping is done via vendor and product, have a look at USB Manager plugin as it can support it.

since using usb manager theres no reason to use this plugin right?

Edited by Quejo

13 hours ago, Quejo said:

since using usb manager theres no reason to use this plugin right?

Yes Both do a similar function and can coexist 

  • 3 weeks later...

Hi this is a very nice plugin!

I attached an screenshot form the error when you have two devices with the same ids.

In Windows everything is working. In Mac OS nothing. Somebody know how to use this plugin with macinabox / Monterey?

And at least is there a simple way to automate the switch from multiple devices from one vm to an other vm?

AAD0D6EC-EBD5-4B22-99B7-79ADC07E743C_4_5005_c.jpeg.0a498063dac8ed379ab73186041606d5.jpeg

Edited by dadark

23 hours ago, dadark said:

Hi this is a very nice plugin!

I attached an screenshot form the error when you have two devices with the same ids.

In Windows everything is working. In Mac OS nothing. Somebody know how to use this plugin with macinabox / Monterey?

And at least is there a simple way to automate the switch from multiple devices from one vm to an other vm?

AAD0D6EC-EBD5-4B22-99B7-79ADC07E743C_4_5005_c.jpeg.0a498063dac8ed379ab73186041606d5.jpeg

My usb_manager plugin may help as supports muliple same devices and has a hotplugin vers also.

  • 2 months later...

Someone use Libvirt Hotplug USB for bigsur ? Didn't work for me 

  • Author
6 hours ago, Exlife said:

Someone use Libvirt Hotplug USB for bigsur ? Didn't work for me 

What doesn't work?

On 8/23/2022 at 6:48 PM, dlandon said:

What doesn't work?

Libvirt Hotplug USB plugin in bigsur. In other MacOS all good. But in Bigsur i can only detach. Atach don't working. Libvirt write me "successfully". But keyboard and mouse don't working

  • Author
2 hours ago, Exlife said:

Libvirt Hotplug USB plugin in bigsur. In other MacOS all good. But in Bigsur i can only detach. Atach don't working. Libvirt write me "successfully". But keyboard and mouse don't working

Go to the Libvirt Hotplug USB page and click on the device to be attached and attach it.  Then click on the 'USB Devices' to show the list of devices and get a screen shot of that whole page and post it here.

I even tried the plug-in from SimonF which is also a nice plug-in and more complex. But I think the problem is in macOS. 

On 8/24/2022 at 11:36 PM, dlandon said:

Go to the Libvirt Hotplug USB page and click on the device to be attached and attach it.  Then click on the 'USB Devices' to show the list of devices and get a screen shot of that whole page and post it here.

I can't find button  'USB Devices'

Spoiler

11111111.thumb.jpg.7d9250188bf19e818370e825fa6a5f3a.jpg

 

You about it ?

Spoiler

2222222.thumb.jpg.1f6a23cc971248a599a7f0db845f6dbb.jpg

 

Edited by Exlife

On 6/17/2022 at 4:24 PM, SimonF said:

My usb_manager plugin may help as supports muliple same devices and has a hotplugin vers also.

It too don't working for me and my frands ( 2 boy)

  • Author
1 hour ago, Exlife said:

I can't find button  'USB Devices'

Screenshot 2022-08-26 054430.png

I wanted to see the list of devices.

 

The problem is that it says it attaches, but doesn't?  And no error is shown in the 'Results'?

5 minutes ago, dlandon said:

Screenshot 2022-08-26 054430.png

I wanted to see the list of devices.

 

The problem is that it says it attaches, but doesn't?  And no error is shown in the 'Results'?

Yes. It screen shot

Spoiler

33333.thumb.jpg.7e930a4080e1dd2d4ab7fde9357005a8.jpg

 

In Results successfully. But In BigSur don't  working mouse or  keyboard

On High Sierra and Mojave all good working

  • Author
3 minutes ago, Exlife said:

In Results successfully. But In BigSur don't  working mouse or  keyboard

On High Sierra and Mojave all good working

Sounds like an incompatibility with libvirt and BigSur.  Stop your VM, edit the VM xml and select that device at the bottom where the USB devices can be selected, then restart the VM.  See if it attaches then.

 

Screenshot 2022-08-26 060232.png

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

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.