ThinLinX Support > ThinLinX Help Desk > Knowledgebase

Search help:

Serial port redirection in RDP mode


TLXOS has kernel drivers for all common USB serial adapters, so your adapter ought to work locally (if you are in any doubt, start a local terminal window using <ctrl><alt>t and use "ls /dev/ttyusb0" to check whether /dev/ttyusb0 exists - it should appear as soon as you plug the adapter in).

TLXOS 4.8.0 / TMS 8.2.0 and later have options for Serial Port redirection in the Application/Mode Tab/Window.  For RDP mode, you must specify both the Linux serial port to be redirected and a Windows COM port to map it to; other modes that support serial redirection may do everything automatically (Horizon) or assign a Windows COM port automatically (HDX).

To redirect a local serial port in an earlier version of TLXOS / TMS, use TMS or the local configuration tool (you can start this using <ctrl><alt>c) to add something like "/serial:COM3,/dev/ttyusb0" to Command Line Args in TMS' Mode window / Tlxconfig's Application tab (change COM3 to whatever you want the serial port to appear as on the Windows server - make sure it doesn't clash with locally present serial ports).

After logging in, you can use "change port /query" to check that redirection has occurred (it's a DOS-level redirection, so the redirected device won't appear in Device Manager).

It is the responsibility of the Windows application to configure the redirected serial port as required (baud rate, data bits, stop bits, flow control etc).

Related articles Default USB redirection policies
How can I redirect a microphone in Horizon mode on the Pi?
CUPS printer redirection (using Citrix Universal Print Driver) isn't working!
TLXOS 4.10.0
USB redirection in HDX mode
Article details
Article ID: 13
Category: Workarounds for Old Versions
Date added: 2019-05-29 01:04:22
Views: 491

« Go back