Page 1 of 1
Unable to use USB
Posted: 13. Jun 2020, 15:57
by MarcVBC
Hello,
I have installed the VB extension but still unable to use any USB stick. The VB extension match the VB version. My user has ben added to the vboxusers group:
marc@marc-Swift-SF314-52:~$ groups marc
marc : marc adm cdrom sudo dip plugdev lpadmin lxd sambashare vboxusers
I have reboot many times. I have tried all I could. USB controller remains grey. See pictures. (I am running Kubuntu 20.04)
I have no clue what is wrong.
Can anyone find the problem?
Marc.
Re: Unable to use USB
Posted: 14. Jun 2020, 00:37
by scottgus1
Behind your USB-settings screenshot the guest list shows the guests as save-stated. Changing the grayed-out radio buttons to change to USB 2 or 3 involves changing guest 'hardware'. A save-stated guest is essentially hibernated, and changing hardware while hibernated will result in failure of the hibernated state. Virtualbox does not allow changing guest 'hardware' while the guest is save-stated.
Though the above should get you to be able to change your guest's USB #, you are running the Ubuntu fork of Virtualbox (Last screenshot, "6.1.6_Ubuntu") Only official Virtualbox from
http://www.virtualbox.org is supported on these forums. If you have further trouble, you can install official Virtualbox or ask Ubuntu.
Re: Unable to use USB
Posted: 14. Jun 2020, 14:33
by MarcVBC
Hello,
I just restarted the guest OS and the USB controller still remains grey.
At first I used the official virtualbox extension but the problem was that the VM was not abe to start at all. This is why I switched to the Ubuntu fork. the error was:
''Échec de l'ouverture de session pour la machine virtuelle Win7MB. Invalid entry in the device registration structure. (VERR_PDM_INVALID_DEVICE_REGISTRATION). Code d'erreur : NS_ERROR_FAILURE (0x80004005) Composant : ConsoleWrap Interface : IConsole {872da645-4a9b-1727-bee2-5585105b9eed}''
Any other idea?
Marc.
Re: Unable to use USB
Posted: 14. Jun 2020, 15:03
by scottgus1
MarcVBC wrote:I just restarted the guest OS and the USB controller still remains grey.
Ok, but Virtualbox will not let hardware be changed while the guest is running either. Changing these settings is like pulling a PCI card out of the computer and putting in another one. Doing so while the computer is running is A Bad Idea.
What happens when:
MarcVBC wrote:I just shut down the guest using the guest OS's shut-down command button....
Running the Ubuntu fork is fine, only we may not know how to support it here. The error message you posted from when you ran official Virtualbox is very unusual, no web-search results return for VERR_PDM_INVALID_DEVICE_REGISTRATION. One result for "Invalid entry in the device registration structure" suggests that Virtualbox may have been installed in an unusual location and custom path variables set to it which confused the next installation. No idea if such applies to your case.
Re: Unable to use USB
Posted: 14. Jun 2020, 16:02
by MarcVBC
Hello,
I tried this without results:
-Turn off guest OS
-Restart host
-Turn on guest
My VM is located on my windows partition to save space on my linux partition. My computer is dual boot. Do you this this is the problem? What should I do?
Path to VM:
/media/marc/Acer1/Win7MB/
This is where all the files relating to the VM are located.
Thanks,
Marc.
Re: Unable to use USB
Posted: 16. Jun 2020, 00:34
by scottgus1
MarcVBC wrote:I tried this without results:
-Turn off guest OS
-Restart host
<---- right at this point you should have been able to change the USB controller setting
-Turn on guest
MarcVBC wrote:My VM is located on my windows partition
If your Linux OS can read the Windows partition's file system without any special trouble, then this shouldn't be an issue. But one can never be sure...
The thought I expressed on the error regarding the path to Virtualbox was regarding Virtualbox itself, not the path to your guest. A Virtualbox guest isn't Virtualbox, it's the guest. Virtualbox runs the guests, like Word or LibreOffice open doc files. The doc file isn't Word, Word opens the doc file.
Try making a new guest on your Linux partition. While the guest is 'powered off', see if you can change the USB controller. Now while the Win7VMB guest is 'powered off', try to change the controller.
Re: Unable to use USB
Posted: 19. Jun 2020, 10:03
by RaoulTeeuwen
Just to chip in: i had a Win10 VM running on VB on Kubuntu. No problem running it. Since i did not have access to the laptop camera within the VM, i installed the guest pack > now when i start the WIn10 VM i get "Invalid entry in the device registration structure. (VERR_PDM_INVALID_DEVICE_REGISTRATION).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
"
and the Win10 VM does not start/is not usable.
Re: Unable to use USB
Posted: 19. Jun 2020, 14:11
by scottgus1
RaoulTeeuwen, I don't see how your problem bears any resemblance to OP's.
Do not hijack other threads, create your own. Choose your title carefully.
Re: Unable to use USB
Posted: 21. Jun 2020, 09:54
by RaoulTeeuwen
Seeing the exact same error and reading "The error message you posted from when you ran official Virtualbox is very unusual, no web-search results return for VERR_PDM_INVALID_DEVICE_REGISTRATION" i thought it might be related and valuabe to report. Have created a new post.
Re: Unable to use USB
Posted: 21. Jun 2020, 15:35
by scottgus1
I see that now, Raoul, thanks! OP had reported that error, which had been alleviated by further efforts. Glad you got some advice on your other post.