Windows 10 guest: make tablet be seen as USB device

Discussions related to using VirtualBox on Linux hosts.
Post Reply
johnjarry
Posts: 11
Joined: 8. May 2021, 14:32

Windows 10 guest: make tablet be seen as USB device

Post by johnjarry »

My host is Fedora 34 Workstation.

My guest is Windows 10.

I have a tablet (Samsung Galaxy Note).

I would like to use scrcpy to mirror my tablet on the Windows 10 guest.

Is that possible?

I connect my tablet to my Fedora 34 Worstation, but VirtualBox does not recognize it.

When I start my Windows 10 guest, the Devices->USB menu shows no entry. Here is a screenshot:
windows_usb_device.png
windows_usb_device.png (81.87 KiB) Viewed 1793 times
I believe the tablet is seen as an MTP device or something.

Is it possible to make VirtualBox see my tablet as an USB device?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Windows 10 guest: make tablet be seen as USB device

Post by mpack »

johnjarry wrote: Is it possible to make VirtualBox see my tablet as an USB device?
Sure, provided it is a USB slave device, and you have appropriate drivers for the guest OS.
USB Basics and Troubleshooting.

I don't know how you could use that for screen scraping though. That's usually the job of software communicating data over a network. USB might qualify, but only if the software at both ends supports it.

Being a VM has very little to do with the question you asked. You'd be better off finding a "scrcpy" discussion forum.
johnjarry
Posts: 11
Joined: 8. May 2021, 14:32

Re: Windows 10 guest: make tablet be seen as USB device

Post by johnjarry »

Thanks.

scrcpy uses the ADB interface.

Android has dropped support for USB device since version 4.4, they told me.

The tablet is seen as an MTP device. But this is sufficient for scrcpy to work.

So is there a way to have the Windows 10 host see the tablet as an MTP device?

I don't know whether my question makes sense.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Windows 10 guest: make tablet be seen as USB device

Post by scottgus1 »

Please check if your host has the matching-version Extension Pack installed, so USB 2 and 3 devices can be seen.

Then insert a regular USB thumb drive, and see if Virtualbox can see the thumb drive. See the USB Basics tutorial that Mpack posted.

Once normal run-of-the-mill USB devices are appearing in the pop-out you screenshotted, then try inserting the tablet and se if it shows up.
Post Reply