CIA Posted January 14, 2022 Share Posted January 14, 2022 I've turned on hub processing... Noticed Status: Stopped with Enable USB on Dashboard: Disbaled Enable USB Manager Hotplug on VM page: Disbaled Enable HUB Processing: Enabled Enable USBIP: Disabled I was disabling pfBlockerNG pretty close to the time of the 2nd Incedent, clould tell something was going wrong when unraid gui was not in dark mode. But to be honest I was doing a lot of network settings trying to get a few sub-domains through HAProxy as well as moving data around to set up 2 new cache pools. Also remembered another feature request when "Display Settings" -> Page View is set to "Tabbed" could have the "Port and Historical Device Mappings" be in it's own tab to reflect how the rest of unraids GUI works. Quote Link to comment
SimonF Posted January 14, 2022 Author Share Posted January 14, 2022 21 minutes ago, CIA said: Noticed Status: Stopped with Yes that is for the USBIP Daemon that is only valid if USBIP is enabled. I am going to remove that and put the status against the config item. Quote Link to comment
SimonF Posted January 14, 2022 Author Share Posted January 14, 2022 8 hours ago, CIA said: I'd like to see "VM STATE" intagrated with the "VM" column in the same way or some small visual / icon instead of the text, and then maybe the "STATUS" column with the small visual / icon too. Is this what you are thinking. Quote Link to comment
SimonF Posted January 14, 2022 Author Share Posted January 14, 2022 Would people prefer hover over text for Serial numbers or a toggle to hide serial number. Hover example. Quote Link to comment
wgstarks Posted January 14, 2022 Share Posted January 14, 2022 What about just having a small info logo linked to a small popup that could contain whatever relevant information. Something like this- Quote Link to comment
SimonF Posted January 15, 2022 Author Share Posted January 15, 2022 (edited) Current View Revised View with Serial slider and hover over. And with Serial Slider set to hide serial. Edited January 15, 2022 by SimonF 1 Quote Link to comment
CIA Posted January 15, 2022 Share Posted January 15, 2022 On 1/14/2022 at 5:52 AM, SimonF said: Is this what you are thinking. Yup, That's a lot cleaner. Quote Link to comment
CIA Posted January 15, 2022 Share Posted January 15, 2022 On 1/14/2022 at 6:41 AM, SimonF said: Would people prefer hover over text for Serial numbers or a toggle to hide serial number. Hover example. Didn't know you were going to do both, My vote is "toggle" as this will show all for quick reference and the hide for screenshots as I know people like to sratch out the info when helping people. Quote Link to comment
SimonF Posted January 21, 2022 Author Share Posted January 21, 2022 @CIA Can you advise on the hardware changes you were making. If a usb device is change it will update the plugin. State file is /usr/local/emhttp/state/usb.ini. Quote Link to comment
CIA Posted January 21, 2022 Share Posted January 21, 2022 (edited) I was having a cache pool issue, where I was trying to move a share from one pool to another... But when starting mover, mover would move 1 file to the old cache pool and then seem to freeze... So I used the New Config Tool... Above was all that was changed before rebooting, System was stable with USB Manager ( I Don't Shut down my VM very often, AMD reset bug... Habbit ...Even though it's suppose to be fixed in 6.10) Started a VM and with in a minute VM freezes... upon rebooting found VM Manager is set to no... The only way to get VM up stable was to remove USB Manager and reinstall it... I tried just deleting historical devices... Starting VM and re-attaching... VM freezes and I'm forced to reboot system. I confirmed this 4 more time today... the only way is to delete the plugin folders... Reinstall then it's stable... Something about a restart or config change... And USB Manager holding old info... posting this now... VM is up with Mouse Keyboard attached with VM Template... going to install plugin and attach more devices... ...I'll Edit post with result. Warning: parse_ini_file(/boot/config/domain.cfg): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt_helpers.php on line 503 SETTINGPORTCLASSVENDOR:PRODUCT. I'm still running, but not for long... This was the error that a caught when trying to add one of the USB devices... and at the bottom left... where array started is... "starting services..." repeating over and over This never happened before, this is all since the cache pool changed... It may be the one USB device... Edited January 21, 2022 by CIA Quote Link to comment
SimonF Posted January 21, 2022 Author Share Posted January 21, 2022 @CIA can you post diagnostics and i will look at it over the weekend Quote Link to comment
CIA Posted January 22, 2022 Share Posted January 22, 2022 (edited) I needed my system up today... So I was unable to do any more troubleshooting... I'm Stable with Keyboard and Mouse attached from VM Template... And having USB Manager attaching 5 other Devices and 1 Port (Hub). I excluded the one that caused the last lockup. The last lockup was while attaching the Wave-3 to the VM... It shares the same roothub as unraid... Will try adding this device later tonight... I've been stable since last post. As for diagnostics, I took a peek at a few and there's personal info attached to some of the VM templates, Ect... System had already been restarted with USB Manager Removed... Edited January 22, 2022 by CIA Quote Link to comment
SimonF Posted January 22, 2022 Author Share Posted January 22, 2022 (edited) 4 hours ago, CIA said: I needed my system up today... So I was unable to do any more troubleshooting... I'm Stable with Keyboard and Mouse attached from VM Template... And having USB Manager attaching 5 other Devices and 1 Hub. I excluded the one that caused the last lockup. The last lockup was while attaching the Wave-3 to the VM... It shares the same roothub as unraid... Will try adding this device later tonight... I've been stable since last post. As for diagnostics, I took a peek at a few and there's personal info attached to some of the VM templates, Ect... System had already been restarted with USB Manager Removed... Thanks for the info how are you attaching the hub? QEMU doesn't support hubs being passed through so the new nub processing should process each device attached to that hub. But this will only happen if you have hub processing enabled, maybe there is an issue with that processing on your system if you are using. I am looking for syslog mainly from Diags, but as you have rebooted it wont be any use, unless you write the flash or external syslog server. Happy for you to PM me any info you dont want to post. Running config files are in the tmp dir and state file is in /usr/local/....... root@unraid:/tmp/usb_manager/config# ls remote_usbip.cfg usb_manager.cfg vm_mappings.cfg root@unraid:/tmp/usb_manager/config# ls /usr/local/emhttp/state/usb.ini /usr/local/emhttp/state/usb.ini Edited January 22, 2022 by SimonF Quote Link to comment
CIA Posted January 22, 2022 Share Posted January 22, 2022 (edited) I meant port... The port the device is attached to... This device only passes through while the port is passed... and not with the device method... In the image I set both cause I was unsure if it was the issue, and I needed it. And as stated, I deleted the folders, cause it was the only way I knew to get VM back up and running /w the USB Manager again. I'm attempting to get graylogs functioning for unraid and dockers... as I do for pfsense and unifi... Something about the network interface and "Host access to custom networks: " needing to be enabled... Which I'm looking into, I have all dockers set with 2 different vlans and IPs... this should have been enough. I will create a script to backup those files when the issue happens again. Edited January 23, 2022 by CIA Quote Link to comment
letrain Posted March 13, 2022 Share Posted March 13, 2022 not sure if its because of resent updates on the RC branch but the clicking the "Attach" button does nothing. it sees my server, and my devices, but clicking attach does nothing. Quote Link to comment
SimonF Posted March 13, 2022 Author Share Posted March 13, 2022 9 minutes ago, letrain said: not sure if its because of resent updates on the RC branch but the clicking the "Attach" button does nothing. it sees my server, and my devices, but clicking attach does nothing. Thanks for reporting I will look into it. Was working fine on Internal rc3 releases. Quote Link to comment
letrain Posted March 13, 2022 Share Posted March 13, 2022 (edited) 38 minutes ago, SimonF said: Thanks for reporting I will look into it. Was working fine on Internal rc3 releases. i'm on rc3.... i uploaded my diagnostics just in case. i'm not sure whats going on. i thought it might of been dynamix plugin of some kind. i recently installed his file manager and wasn't sure if something with the gui messed up... i've used your usb plugin before. i was trying out virtualhere so i removed all the usb stuff. now i've readded. is there anything else i can send over that could help? it could just be my server setup? i followed the wiki. i added them to usbip-bind@hardware:id.service instead of 1-1.2 this time. not sure if thats the issue. i can see them just clicking attach nothing happens. thanks! edit : just saw fix common problems plugin is throwing an error at me. tower-diagnostics-20220313-1417.zip Edited March 13, 2022 by letrain Quote Link to comment
SimonF Posted March 13, 2022 Author Share Posted March 13, 2022 20 minutes ago, letrain said: just saw fix common problems plugin is throwing an error at me. Thats fine as it is not in CA. 1 Quote Link to comment
SimonF Posted March 13, 2022 Author Share Posted March 13, 2022 56 minutes ago, letrain said: i'm on rc3 Install 2022.03.13 for fix. 1 Quote Link to comment
letrain Posted March 13, 2022 Share Posted March 13, 2022 2 hours ago, SimonF said: Install 2022.03.13 for fix. nice. thank you for all your efforts. i really do think usb-ip is underrated. Quote Link to comment
SimonF Posted March 26, 2022 Author Share Posted March 26, 2022 Hi Looking for some beta testers. I have changed the state file processing to use a new key of BUS and DEV rather than serial number. It is working as expected on my systems. This is to make the system to be able to support devices of the same make/model and serial number within a system. This will only support mapping by ports for those types of devices. You need to remove the current plugin and install from this link. https://raw.githubusercontent.com/SimonFair/USB_Manager/main/usb_managerv2beta.plg You should not see any difference and the status should remain in tack. Quote Link to comment
Holmesware Posted March 28, 2022 Share Posted March 28, 2022 I'll give this a try on Thrusday when I stay after work to do server updates. It may solve an issue with VM's in Unraid not responding to logitech wireless keyboard and mouse when the monitor goes to sleep. The current solution is to move the usb receiver to a different port on the usb hub and they system wakes up and responds. This also happens intermittantly so it's been hard to troubleshoot. Quote Link to comment
casperse Posted April 13, 2022 Share Posted April 13, 2022 (edited) Hi Again UPDATE: This seem to be a problem in the way Unraid detects the Conbee2 stick USB in 6.10 releases This would be really cool if the "USB Manager" could fix this? If the USB manager could resolve the Conbee serial ID and create the correct device path? *************************************** OLD POST *************************************** I just upgraded from 6.9.2 -> 6.10.RC4 And I only using this plugin to passthrough USB to my HAssio VM but it seems it dosent work in 6.10.RC4? But the error I have after reboot is this: kernel: usb 1-1: usbfs: process 17779 (qemu-system-x86) did not claim interface 1 before use Its filling up and have been running since my reboot Again thanks for this great plugin! Thinking about rooling back it work 100% in 6.9.2 Edited April 13, 2022 by casperse Quote Link to comment
ThatTallGuy21 Posted April 17, 2022 Share Posted April 17, 2022 Hello, I'm utilizing the hotplug feature to connect a Conbee II to my Hassio VM. What setting(s) would I need to select to persist the USB connection when restarting home assistant or the VM itself? Right now it's disconnecting automatically on reboots. Side note - Apologies if this is really straightforward. I'm really struggling with the terminology in the plugin and have searched longer than I should admit to accomplish this, nor can I find a guide, help text, or a help video online to explain how to do it. Any help would be greatly appreciated. Thanks Quote Link to comment
SimonF Posted April 17, 2022 Author Share Posted April 17, 2022 (edited) 7 hours ago, ThatTallGuy21 said: Hello, I'm utilizing the hotplug feature to connect a Conbee II to my Hassio VM. What setting(s) would I need to select to persist the USB connection when restarting home assistant or the VM itself? Right now it's disconnecting automatically on reboots. Side note - Apologies if this is really straightforward. I'm really struggling with the terminology in the plugin and have searched longer than I should admit to accomplish this, nor can I find a guide, help text, or a help video online to explain how to do it. Any help would be greatly appreciated. Thanks Are you using the hotplug from my plugin or the libvirt version. If you have installed USB manager you should have USB on the menu bar. Within that page you will see the each usb dev there is an icon for the port or device mapping. Click on the option and set the slider to connect on VM start. Edited April 17, 2022 by SimonF 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.