Connect the USB device with the same name to different virtual computers
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Connect the USB device with the same name to different virtual computers
Здравствуйте.. хочется подключить несколько клавиатур и мышей к разным виртуальным компьютера (virtual box), но не получается, т.к некоторые имена продуктов совпадают, можно ли их как - то поменять в системе?
к примеру подключил я 2 мыши.. в usb устройствах их имена:
a4tech usb optical mouse [0100]
a4tech usb optical mouse [0100]
необходимо на одну мышь поменять название, иначе происходит конфликт, не получается одну мышь направить на 1 комп, другую на другой.
------------------------------------------
Hi .. I want to connect multiple keyboards and mice to different virtual machines (virtual box), but does not work, because some of the names of the products are the same, whether they like - the change in the system?
For example, I connected the mouse .. 2 usb devices in their names:
a4tech usb optical mouse [0100]
a4tech usb optical mouse [0100]
you need to change the name of a mouse, or a conflict occurs, it is impossible to direct a mouse on one computer, the other to the other.
к примеру подключил я 2 мыши.. в usb устройствах их имена:
a4tech usb optical mouse [0100]
a4tech usb optical mouse [0100]
необходимо на одну мышь поменять название, иначе происходит конфликт, не получается одну мышь направить на 1 комп, другую на другой.
------------------------------------------
Hi .. I want to connect multiple keyboards and mice to different virtual machines (virtual box), but does not work, because some of the names of the products are the same, whether they like - the change in the system?
For example, I connected the mouse .. 2 usb devices in their names:
a4tech usb optical mouse [0100]
a4tech usb optical mouse [0100]
you need to change the name of a mouse, or a conflict occurs, it is impossible to direct a mouse on one computer, the other to the other.
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Connect the USB device with the same name to different virtual computers
It is true. VirtualBox can only distinguish devices if they allow themselves to be distinguished, for example by having a unique serial number. In that case you can create USB filter settings to assign them to the correct VM.
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Re: Connect the USB device with the same name to different virtual computers
не появилась ли возможность изменить название юсб устройства? У меня две мышки с одинаковыми названиями, они конфликтуют при подключении к разным виртуальным машинам, из-за одинаковых имен (((
если имена разные, всё отлично работает, но если имена одинаковые... Есть ли способы назначить USB устройства с одинаковыми именами, разным виртуальным машинам?
----------------------------
Has the opportunity to change the name of your device appeared? I have two mouses with the same name, they conflict when connecting to different virtual machines, because of the same names (((
If the names are different, everything works fine, but if the names are the same ... Are there ways to assign USB devices with the same names, different virtual machines?
если имена разные, всё отлично работает, но если имена одинаковые... Есть ли способы назначить USB устройства с одинаковыми именами, разным виртуальным машинам?
----------------------------
Has the opportunity to change the name of your device appeared? I have two mouses with the same name, they conflict when connecting to different virtual machines, because of the same names (((
If the names are different, everything works fine, but if the names are the same ... Are there ways to assign USB devices with the same names, different virtual machines?
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Connect the USB device with the same name to different virtual computers
You are asking in the wrong place. VirtualBox does not control how devices declare their identity to the system. If you want to change that then you need to talk to the people who make the devices.
But to directly answer your question: no, VirtualBox does not yet have a feature which allows it to distinguish between indistinguishable devices.
But to directly answer your question: no, VirtualBox does not yet have a feature which allows it to distinguish between indistinguishable devices.
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Re: Connect the USB device with the same name to different virtual computers
I could not connect mice with the same name to different virtual machines ... when I connected the second mouse, I saw an error (screen)
).
I connected two mice with the same name to the red virtual machines in the following way (Maybe there are people to whom this method will help)...
You need to go into the virtual machine settings, the usb device and add this mouse for each of the machines, But for the first virtual machine to install a filter, port, for 1 mouse for me There is 0002, for the second mouse 0004.
In this way, I was able to connect the same mouse to different virtual machines.
Do please identify the USB device not only by name, but also by the ports to which they are connected.
Example:
Bad
).
I connected two mice with the same name to the red virtual machines in the following way (Maybe there are people to whom this method will help)...
You need to go into the virtual machine settings, the usb device and add this mouse for each of the machines, But for the first virtual machine to install a filter, port, for 1 mouse for me There is 0002, for the second mouse 0004.
In this way, I was able to connect the same mouse to different virtual machines.
Do please identify the USB device not only by name, but also by the ports to which they are connected.
Example:
Bad
GoodPixart Imaging, Inc. USB OPTICAL MOUSE [0100]
Pixart Imaging, Inc. USB OPTICAL MOUSE [0100]
Pixart Imaging, Inc. USB OPTICAL MOUSE [0100], Port 0002
Pixart Imaging, Inc. USB OPTICAL MOUSE [0100], Port 0004
-
- Site Moderator
- Posts: 27330
- 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: Connect the USB device with the same name to different virtual computers
First (and before I forget it), you seem to have a HiDPI screen. If you post a screenshot, please make sure to shrink it by at least 50%. Not everybody is so lucky
Second, a port is not always a guarantee. You could have the port in the name, you could have the manufacturer, the product and the serial number. You could. But it doesn't make sense for the 99.99% of the cases, it confuses things. USB filters is a good way to do it, just remember that the ports are not a standard way to distinguish between the devices. Could you post the output of the following command, while having the two mice plugged in?
Second, a port is not always a guarantee. You could have the port in the name, you could have the manufacturer, the product and the serial number. You could. But it doesn't make sense for the 99.99% of the cases, it confuses things. USB filters is a good way to do it, just remember that the ports are not a standard way to distinguish between the devices. Could you post the output of the following command, while having the two mice plugged in?
VBoxManage list usbhost
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.
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.
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Re: Connect the USB device with the same name to different virtual computers
Yes, you are right, but in my case, it was the port that helped me, because the mice are the same and the names, vid, pid, the producer are the same. Serial number was missing (checked through the program usbdeview). If there was no filter the usb port, I would not be able to connect two mice at the same time. ((Second, a port is not always a guarantee.
I do not understand how to do this?Could you post the output of the following command, while having the two mice plugged in?
VBoxManage list usbhost
-
- Site Moderator
- Posts: 27330
- 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: Connect the USB device with the same name to different virtual computers
There might have been something that you could have done, but I won't go into it right now. The thing that you have to remember is that if you change the mouse/USB port, your filter won't work, that's why it's not usually recommended.AlexanderSh88 wrote:If there was no filter the usb port, I would not be able to connect two mice at the same time.
Open a command prompt and navigate to the VirtualBox installation directory and issue that command that I gave you.
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.
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.
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Connect the USB device with the same name to different virtual computers
The USB port is not an identity, it's a (temporary) location. Imagine if the police got a radio instruction to go arrest the person at the corner of street x. How sure can we be that they grab the right guy?
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Re: Connect the USB device with the same name to different virtual computers
Code: Select all
Host USB Devices:
UUID: 9fe6aa71-63bc-44f9-b2ee-dbf7d90a2e61
VendorId: 0x1c4f (1C4F)
ProductId: 0x0002 (0002)
Revision: 1.16 (0116)
Port: 0
USB version/speed: 1/Full
Manufacturer: SIGMACHIP
Product: USB Keyboard
Address: \\?\usb#vid_80ee&pid_cafe#7&1e07b2e8&0&3#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State: Captured
UUID: d33aa814-b33b-422d-a337-df5687cd9488
VendorId: 0x1c4f (1C4F)
ProductId: 0x0002 (0002)
Revision: 1.16 (0116)
Port: 0
USB version/speed: 1/Full
Manufacturer: SiGma Micro
Product: USB Keykoard
Address: \\?\usb#vid_80ee&pid_cafe#7&1e07b2e8&0&2#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State: Captured
UUID: 1379adc9-261f-49e8-bb54-a35cbd504b95
VendorId: 0x09da (09DA)
ProductId: 0x054f (054F)
Revision: 1.2 (0102)
Port: 0
USB version/speed: 1/Full
Manufacturer: A4TECH
Product: USB Device
Address: {36fc9e60-c465-11cf-8056-444553540000}\0059
Current State: Busy
UUID: e5dfbbd9-5b19-42ce-bc48-8bc56d95bba7
VendorId: 0x093a (093A)
ProductId: 0x2516 (2516)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 1/Full
Manufacturer: Pixart Imaging, Inc.
Product: USB OPTICAL MOUSE
Address: \\?\usb#vid_80ee&pid_cafe#7&1e07b2e8&0&4#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State: Captured
UUID: 2016ea6d-83e6-4de0-b210-410fda1bda9a
VendorId: 0x093a (093A)
ProductId: 0x2516 (2516)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 1/Full
Manufacturer: Pixart Imaging, Inc.
Product: USB OPTICAL MOUSE
Address: \\?\usb#vid_80ee&pid_cafe#7&1e07b2e8&0&1#{00873fdf-cafe-80ee-aa5e-00c04fb1720b}
Current State: Captured
UUID: 4e3a259c-e7b6-47d0-92c5-043c2bb1c99f
VendorId: 0x0572 (0572)
ProductId: 0x14c3 (14C3)
Revision: 1.3 (0103)
Port: 0
USB version/speed: 2/High
Manufacturer: Defender
Product: USB Dongle
SerialNumber: 00000000
Address: {36fc9e60-c465-11cf-8056-444553540000}\0022
Current State: Busy
UUID: eb9ff222-08b7-47ae-b02f-1f75011053a4
VendorId: 0x03f0 (03F0)
ProductId: 0xe807 (E807)
Revision: 17.22 (1722)
Port: 0
USB version/speed: 2/High
Manufacturer: Hewlett Packard
Product: HP Webcam HD 4310
Address: {36fc9e60-c465-11cf-8056-444553540000}\0029
Current State: Busy
Last edited by socratis on 25. Jun 2017, 18:48, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Reason: Enclosed the information in [code] tag for better readability
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Re: Connect the USB device with the same name to different virtual computers
OKThe USB port is not an identity, it's a (temporary) location. Imagine if the police got a radio instruction to go arrest the person at the corner of street x. How sure can we be that they grab the right guy?
For example. We connect two identical mouse, they all have the same parameters. How to make these mice manage different virtual machines? I had a error (the picture above), how do I prevent this error from appearing? Without using the USB port filter
-
- Site Moderator
- Posts: 27330
- 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: Connect the USB device with the same name to different virtual computers
So, wait a minute... Using the USB Filter you were able to distinguish the two devices? Because in the "VBoxManage list usbhost" output, they BOTH show that they're in "Port 0". It somehow doesn't make sense...
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.
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.
-
- Posts: 14
- Joined: 27. Mar 2016, 05:33
Re: Connect the USB device with the same name to different virtual computers
If I change the port to another, arbitrary (to which nothing is connected), then the mouse does not connect when the virtual machine is turned on, but if I register the port to which the mice are connected, they connect .. sometimes not immediately, sometimes you need to disconnect them physically from Port and reconnect. I look at the port numbers in the program of the Saints. Probably because I use the extension cable and the hub, the ports are not detected.
-
- Site Moderator
- Posts: 27330
- 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: Connect the USB device with the same name to different virtual computers
That's how you're supposed to connect them when using a USB filter. That's what I believe made things work, plugging and unplugging them.AlexanderSh88 wrote:sometimes you need to disconnect them physically from Port and reconnect
I'm still not convinced that the "Port No" works as intended. Someone is lying, either the filter or the "list usbhosts".
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.
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.