Page 1 of 1

Cannot Open a VM when trying to configure a Serial Port

Posted: 13. Aug 2022, 08:15
by WIZRAD
Hello, I'm getting an error when I try to open any VM with a Serial Port Enabled.


Error:

Failed to open host device 'COM7' (VERR_INVALID_HANDLE).

Result Code:

E_FAIL (0x80004005)

Component: ConsoleWrap

Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


I am running the newest version of VB on Windows 11

it has happened to all Serial Ports / COM Ports on multiple different Linux based VMs both existing and new.

I have Enabled USB Controller checked and no filters, I've tried adding the device as a filter but it still doesnt work

I'm attempting to map Serial Port 1 as COM1 (IRQ: 4 I/O Port: 0x3F8) as Host Device to the Path of COM7 which has a usb device connected.

Re: Cannot Open a VM when trying to configure a Serial Port

Posted: 13. Aug 2022, 11:47
by mpack
Please show a screenshot showing that COM7 exists on the host.

Also, COM ports can't be shared, so please confirm that no other software on the host is using it.

Finally, show a screenshot of your serial port settings in the VM.

Re: Cannot Open a VM when trying to configure a Serial Port

Posted: 15. Aug 2022, 23:26
by WIZRAD
Here is the screenshot. Nothing else should be using trying to use the device, is there a way to confirm this?

Re: Cannot Open a VM when trying to configure a Serial Port

Posted: 15. Aug 2022, 23:35
by scottgus1
I believe there's supposed to be a colon after COM7:

Path/Address: COM7:

Re: Cannot Open a VM when trying to configure a Serial Port

Posted: 16. Aug 2022, 01:36
by WIZRAD
Didnt seem to work

Re: Cannot Open a VM when trying to configure a Serial Port

Posted: 16. Aug 2022, 09:39
by mpack
No, a colon is not necessary - that was an old red herring. Wizrad's settings look fine to me.

I'm going to say that there is something wrong with the host driver for this device. Can't think of anything else it could be.