Page 1 of 1

[Invalid] Split USB composite dev. between host and guest

Posted: 14. Jan 2019, 23:08
by PaMeSa
Hello all,

I have a similar, though not identical, problem. I'm replying here in case you think it's related, otherwise I will create a separate thread.

[ModEdit: the subject/problem in hand was quite different from the original thread: Identical USB devices - the "rare and convoluted technique". Topic split.]

I have a USB composite device that provides RNDIS functionality and a few others like CDC-ACM (serial). I would like to capture the RNDIS functionality on the guest OS and leave the other functions on the host OS. USB filtering alone will not do since everything matches, even the port number. The only difference I see on Windows is the interface number, the last two digits of:

USB\VID_v(4)&PID_p(4)&MI_z(2)

In these IDs:

v(4) is the four-digit vendor code that the USB standards committee assigns to the vendor.
p(4) is the four-digit product code that the vendor assigns to the device.
z(2) is the interface number that is extracted from the bInterfaceNumber field of the interface descriptor.

Is this remotely possible under virtualbox?

Thanks in advance!

Re: Split USB composite dev. between host and guest

Posted: 15. Jan 2019, 01:24
by socratis
PaMeSa wrote:Is this remotely possible under virtualbox?
USB devices cannot be shared. And what you're talking about is actually sharing the same device. There's only one USB physical connection with the device, despite its "split personality".

Re: Split USB composite dev. between host and guest

Posted: 17. Jan 2019, 23:11
by PaMeSa
Thanks socratis, I was afraid that might be the case. I will try to find another way around my problem.

Thanks again for the reply.

Re: Split USB composite dev. between host and guest

Posted: 18. Jan 2019, 01:22
by socratis
Sure thing...
Marking as [Invalid], it was the best characterization I could come up with. That or [Impossible]... ;)