The Windows connector provides serial device mapping, which
enables users to access external serial devices connected to a Sun
Ray Client or an Oracle Virtual Desktop Client running on a
Windows client computer. When initiating the Windows connecter,
you need to configure the device mapping through the -r
comport:
option of the uttsc command.
Here is an example of mapping a serial device mounted on
$UTDEVROOT/dev/term/a
to the device name
SER_A
.
uttsc -r comport:SER_A=$UTDEVROOT/dev/term/a ip_addr
For details on how to determine where serial devices are mounted for a desktop client, see Section 15.4, “Accessing Serial Devices and USB Printers”.
USB-to-serial adapters are not accessible through the generated device nodes. You must use USB redirection in a Windows session to access a serial device connected through a USB-to-serial adapter.
Once the serial device is mapped, there are various ways to verify
that the serial device is available as mapped, such as
SER_A
in the previous example. See
Table 17.11, “Windows Commands to Verify Available Serial Devices”
for the list of some recommended commands and the notes that
follow.
Table 17.11 Windows Commands to Verify Available Serial Devices
Windows Version | chgport /q | net use | mode | PuTTY |
---|---|---|---|---|
Windows XP | Yes, see notes | No | No | Yes |
Windows Server 2003 R2 | Yes | No | No | Yes |
Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012 | Yes | No | Yes | Yes |
Here are some notes for Table 17.11, “Windows Commands to Verify Available Serial Devices”.
chgport /q - This command is not part of
Windows XP. However, you can copy both the
change.exe
and
chgport.exe
executable files from a
Windows Server 2003 R2 system to a Windows XP system and use them. Under
Windows XP, the chgport \q command will
display the device if you map it using the following command,
where COMn:
is an unused COM port
and mapped_name
is the name of the
mapped device:
net use \\COMn:
\\tsclient\mapped_name
net use and mode - You should run both of these commands from the Windows command prompt.
PuTTY - This command is available free at
http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html.
Do not type a colon (:
) when entering a
serial port in PuTTY, even if the mapped name contains a
colon.