Changeset 35677 in vbox
- Timestamp:
- Jan 24, 2011 2:33:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_BasicConcepts.xml
r35232 r35677 969 969 <para>Ever since the original IBM PC, personal computers have been 970 970 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, 975 977 there are still some important uses left for them. For example, serial 976 978 ports can be used to set up a primitive network over a null-modem cable, … … 982 984 983 985 <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> 987 990 988 991 <para>You can use either the graphical user interface or the command-line … … 993 996 <computeroutput>--uartmode</computeroutput> options.</para> 994 997 995 <para>In either case, you can configure up to two virtual serial ports 996 simultaneously. For each such device, you will need to998 <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 997 1000 determine<orderedlist> 998 1001 <listitem> … … 1052 1055 <listitem> 1053 1056 <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\<name></computeroutput> 1059 where <computeroutput><name></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 1057 1066 url="http://www.l4ka.org/tools/vmwaregateway.php">http://www.l4ka.org/tools/vmwaregateway.php</ulink> 1058 1067 </literal>. This tool provides a fixed server mode named … … 1064 1073 1065 1074 <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 1070 1084 <computeroutput>socat</computeroutput> and is available 1071 1085 as part of many distributions.</para> … … 1080 1094 options, this is referred to as "server" or "client" mode, 1081 1095 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> 1082 1110 </listitem> 1083 1111 </itemizedlist></para> 1084 1112 </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> 1089 1119 </sect1> 1090 1120
Note:
See TracChangeset
for help on using the changeset viewer.