VirtualBox

Changeset 35677 in vbox


Ignore:
Timestamp:
Jan 24, 2011 2:33:04 PM (14 years ago)
Author:
vboxsync
Message:

manual: Update serial port section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_BasicConcepts.xml

    r35232 r35677  
    969969    <para>Ever since the original IBM PC, personal computers have been
    970970    equipped with one or two serial ports (also called COM ports by DOS and
    971     Windows). Most importantly, computer mice used to be connected to serial
    972     ports before USB became commonplace. </para>
    973 
    974     <para>While serial ports are no longer as important as they used to be,
     971    Windows). Serial ports were commonly used with modems, and some
     972    computer mice used to be connected to serial ports before USB became
     973    commonplace.
     974    </para>
     975
     976    <para>While serial ports are no longer as ubiquitous as they used to be,
    975977    there are still some important uses left for them. For example, serial
    976978    ports can be used to set up a primitive network over a null-modem cable,
     
    982984
    983985    <para>If a virtual serial port is enabled, the guest operating system sees
    984     a standard 16450-type device. Both receiving and transmitting data is
    985     supported. How this virtual serial port is then connected to the host is
    986     configurable, and the details depend on your host operating system.</para>
     986    a standard 16550A compatible UART device. Both receiving and transmitting
     987    data is supported. How this virtual serial port is then connected to the
     988    host is configurable, and the details depend on your host operating system.
     989    </para>
    987990
    988991    <para>You can use either the graphical user interface or the command-line
     
    993996    <computeroutput>--uartmode</computeroutput> options.</para>
    994997
    995     <para>In either case, you can configure up to two virtual serial ports
    996     simultaneously. For each such device, you will need to
     998    <para>In either case, you can configure up to two virtual serial ports per
     999    virtual machine. For each such device, you will need to
    9971000    determine<orderedlist>
    9981001        <listitem>
     
    10521055                    <listitem>
    10531056                      <para>On a Windows host, data will be sent and received
    1054                       through a named pipe. You can use a helper program
    1055                       called VMware Serial Line Gateway, available for
    1056                       download at <literal> <ulink
     1057                      through a named pipe. The pipe name must be in the format
     1058                      <computeroutput>\\.\pipe\&lt;name&gt;</computeroutput>
     1059                      where <computeroutput>&lt;name&gt;</computeroutput> should
     1060                      identify the virtual machine but may be freely
     1061                      chosen.</para>
     1062                      <para>For forwarding serial traffic, you can use a helper
     1063                      program called VMware Serial Line Gateway, available for
     1064                      download at
     1065                                  <literal> <ulink
    10571066                      url="http://www.l4ka.org/tools/vmwaregateway.php">http://www.l4ka.org/tools/vmwaregateway.php</ulink>
    10581067                      </literal>. This tool provides a fixed server mode named
     
    10641073
    10651074                    <listitem>
    1066                       <para>On a Mac, Linux or OpenSolaris host, a local
    1067                       domain socket is used instead. On Linux there are
    1068                       various tools which can connect to a local domain socket
    1069                       or create one in server mode. The most flexible tool is
     1075                      <para>On a Mac, Linux or Solaris host, a local
     1076                      domain socket is used instead. The socket filename must be
     1077                      chosen such that the user running VirtualBox has
     1078                      sufficient privileges to create and write to it. The
     1079                      <computeroutput>/tmp</computeroutput> directory is often a
     1080                      good candidate.</para>
     1081                      <para>On Linux there are various tools which can connect
     1082                      to a local domain socket or create one in server mode. The
     1083                      most flexible tool is
    10701084                      <computeroutput>socat</computeroutput> and is available
    10711085                      as part of many distributions.</para>
     
    10801094                options, this is referred to as "server" or "client" mode,
    10811095                respectively.</para>
     1096
     1097                <para>For a direct connection between two virtual machines
     1098                (corresponding to a null-modem cable), simply configure one VM
     1099                to create a pipe/socket and another to attach to it.
     1100                </para>
     1101              </listitem>
     1102
     1103              <listitem>
     1104                <para>You can send the virtual serial port output to a file.
     1105                This option is very useful for capturing diagnostic output from
     1106                a guest. Any file may be used for this purpose, as long as the
     1107                user running VirtualBox has sufficient privileges to create and
     1108                write to the file.
     1109                </para>
    10821110              </listitem>
    10831111            </itemizedlist></para>
    10841112        </listitem>
    1085       </orderedlist>Up to two serial ports can be configured simultaneously
    1086     per virtual machine, but you can pick any port numbers out of the above.
    1087     For example, you can configure two serial ports to be able to work with
    1088     COM2 and COM4 in the guest.</para>
     1113      </orderedlist>Up to two serial ports can be configured per virtual
     1114      machine, but you can pick any port numbers out of the above. However,
     1115      serial ports cannot reliably share interrupts; if both ports are to be
     1116      used at the same time, they must use different interrupt levels, for
     1117      example COM1 and COM2, but not COM1 and COM3.
     1118    </para>
    10891119  </sect1>
    10901120
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette