Opened 15 years ago
Last modified 13 years ago
#4358 new defect
Break signal on serial port is not delivered to the port in vm
Reported by: | vadimrapp | Owned by: | |
---|---|---|---|
Component: | uart | Version: | VirtualBox 2.2.4 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Windows |
Description
On the host machine, I run an application that listens to COM port and reacts when the port sends Break signal. To the port I connect a device capable of sending Break signal, and the application reacts as programmed.
In Windows v.m. I specify COM port mapped to the real port on the host machine. Then I run the same application in the virtual machine and have the device send break signal. But the application in v.m. does not see it.
Break signal is described at http://support.microsoft.com/kb/119506
its implementation in Visual Basic at http://msdn.microsoft.com/en-us/library/aa259405(VS.60).aspx
I can provide the sample program demonstrating this, if needed.
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
What vadimrapp wanted to say is:
When VirtualBox is configured to map the serial port to the host port and there is a device connected to the computer that pulls the rx line low to signal a break condition (that is: no stop bit after 9 zero bits in a row), then this is not reflected in bit 4 of the uart status register or no irq is generated.
comment:3 by , 15 years ago
Component: | other → uart |
---|
Well, your application on the host is listening to the physical COM port? That will not work. Either your host application has to listen on the pipe or you have to use another computer which is connected to your host and which can talk with your VM over the serial line.
Or did I understood something wrong?