Problems using serial device on Linux VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
alex380
Posts: 21
Joined: 6. Oct 2012, 15:18

Problems using serial device on Linux VM

Post 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?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Problems using serial device on Linux VM

Post by Perryg »

Use host-device instead of pipe and COM1 for the portpath.
alex380
Posts: 21
Joined: 6. Oct 2012, 15:18

Re: Problems using serial device on Linux VM

Post 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
Post Reply