[Solved] Problem with USB device

Discussions related to using VirtualBox on Windows hosts.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with USB device

Post by socratis »

DenisF wrote:Got it working.
Good, because I was about to lock the thread with an "Inability to follow instructions"...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
roberto76
Posts: 10
Joined: 24. Aug 2017, 08:37

Re: Problem with USB device

Post by roberto76 »

socratis wrote:Can all of you try the latest 6.x test builds? It contains several fixes regarding the USB front...
In my case nothing changes.
roberto76
Posts: 10
Joined: 24. Aug 2017, 08:37

Re: Problem with USB device

Post by roberto76 »

What do you mean with
DenisF wrote:I have to remove default (not working) driver for my device in host device manager.
?
What have you done?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with USB device

Post by socratis »

roberto76 wrote:
socratis wrote:Can all of you try the latest 6.x test builds? It contains several fixes regarding the USB front...
In my case nothing changes.
I made originally a mistake and I said to try the 6.x test builds. What I really meant however was in a later message of mine:
socratis wrote:Try with the latest 6.0.97, the Development build, not the 6.0.x or the 5.2.x builds, the development one, that's where the USB problems have been addressed.
So @roberto76, can you try the Development build?

Also, when did you start noticing this, at what VirtualBox version? If you downgrade, does the problem go away? It would really help if you could pinpoint the version that this started failing...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
DenisF
Posts: 41
Joined: 16. May 2012, 15:00

Re: Problem with USB device

Post by DenisF »

It's a new instruction not in great TODO from socratis: USB basics and troubleshooting
Terms should not correspond exactly, I'm on a french computer.

When `VBoxManage list usbhost` doesn't report address but Current State is Captured :
- Open your windows device manager
- Search your device
- Right click on it, Uninstall Device
Now you should see a Virtual Box USB device appears and your guest get it.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with USB device

Post by socratis »

DenisF wrote: - Open your windows device manager
I assume you are talking about performing this procedure in the Guest, right?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
DenisF
Posts: 41
Joined: 16. May 2012, 15:00

Re: Problem with USB device

Post by DenisF »

No, has guest receive nothing.

When `VBoxManage list usbhost` doesn't report address but Current State is Captured :
- Open your host windows device manager
- Search your device
- Right click on it, Uninstall Device
Now you should see a Virtual Box USB device appears and your guest get it.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with USB device

Post by socratis »

When I'm asking for clarification, I honestly don't want a Copy/Paste of the previous answer, I want clarification on your previous answer!

Did you do this procedure in the Guest or in the Host?
There should be no need at all to perform the procedure in the Host. The host doesn't care what the device is or is not. The only thing the Host cares is the VendorID and the ProductID. After that, the filter takes over.

I have several devices that are *not* recognized by the host, yet they work fine in the guest(s). That's why I want the clarification, because what you're telling me does NOT compute.

If English is not your forte, post your message in French.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
DenisF
Posts: 41
Joined: 16. May 2012, 15:00

Re: Problem with USB device

Post by DenisF »

The mistake is on host.(Has I wrote)
- Open your host windows device manager
It's like the host default driver don't let VB take place of the device driver.
Look at different `VBoxManage list usbhost` result.

PS: I have to reinstall VB as dev version doesn't work well:
At startup vboxdrv doesn't start:

Code: Select all

>sc query vboxdrv

SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 1077  (0x435)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
Have start is as administrator:

Code: Select all

sc start vboxdrv

SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :
Then VBox can't get USB:

Code: Select all

VBoxManage.exe list usbhost
Host USB Devices:

<none>
And when guest go to screen pause, it is not updated after.
But that is an another thread...
Attachments
Before VM started
Before VM started
BMX_CPU.jpg (3.04 KiB) Viewed 2000 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with USB device

Post by socratis »

DenisF wrote:At startup vboxdrv doesn't start:
That's your biggest problem. If you can't get this working, don't expect anything after that to work. "vboxdrv" is a key component, the interface between the kernel and the user application, and if that fails you have bigger problems than the USB detection.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
DenisF
Posts: 41
Joined: 16. May 2012, 15:00

Re: Problem with USB device

Post by DenisF »

This instruction works with VB 6.0.8.
roberto76
Posts: 10
Joined: 24. Aug 2017, 08:37

Re: Problem with USB device

Post by roberto76 »

socratis wrote:So @roberto76, can you try the Development build?

Also, when did you start noticing this, at what VirtualBox version? If you downgrade, does the problem go away? It would really help if you could pinpoint the version that this started failing...
Hi Socratis,

I've already tried both versions (development and test), but with the same negative result.
Now I've tried with versions 5.2.30 and 5.1.38 but again I can't get my usb devices in guest.
I'm sorry, but I dont' know exactly when the problem appears on my system.

Thanks for your help and your time
DenisF
Posts: 41
Joined: 16. May 2012, 15:00

Re: Problem with USB device

Post by DenisF »

@roberto76: Have you test my method? (remove device in device manager while guest asking to mount usb)
roberto76
Posts: 10
Joined: 24. Aug 2017, 08:37

Re: Problem with USB device

Post by roberto76 »

DenisF wrote:@roberto76: Have you test my method? (remove device in device manager while guest asking to mount usb)
Hi Denis,

I'm working on a Windows 10 host.
When I attach any USB device on my host, it's automatically detected by the OS and it works.
The guest simply cannot see the device and it doesn't ask to mount it.

So I cannot understand what you're suggesting to me. Could you be clearer?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with USB device

Post by socratis »

@roberto76,
What DenisF is suggesting makes no sense whatsoever. The only way that it maybe, possibly, somehow could, is if the device was half-recognized by the host, was half-captured by the host, and by removing the device forced somehow a non-capture by the host.

That is not the case for you. Did you ever have this device working in the guest?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply