Page 1 of 1

Problems using serial device on Linux VM

Posted: 10. Jan 2013, 17:52
by alex380
I am using a Linux VM running Ubuntu on Windows 7 (VM Version 4.1.18). I need to establish a connection between the serial device file /dev/ttyS0 in the Linux Box with the physical device on the back of the computer to create a serial connection. My settings are as follows (trying to translate the German terms into English ones - so maybe they fit not completely):

Port1:
Number: COM1 IRQ: 4 I/O Port: 0x3F8
Portmode: Host-Pipe
Connect: yes
Portpath: \\.\pipe\windows

After starting the VM I am unable to send data to another machine. ERRORS REGARDING THE CABLE OR THE OTHER MACHINE ARE ABSOLUTELY EXCLUDED. The cables, the other machine etc have been tested ok without any problems. The problem must be in the configuring of the VM.

Any ideas what I can try?


Thanks

Alex


P.S. I wonder about this useless, cryptic portpath. When it is not used anywhere, why bothering specifying a stupid name?

Re: Problems using serial device on Linux VM

Posted: 10. Jan 2013, 18:10
by Perryg
Use host-device instead of pipe and COM1 for the portpath.

Re: Problems using serial device on Linux VM

Posted: 10. Jan 2013, 18:16
by alex380
PERFECT, Thanks a lot! I guess the problem arises that I am reading the English documentation and work with the German setup. Now I know how to configure the VM correctly.

Thanks again.
Alex