Command Line Utility

Run the command line utility:

$ /opt/ftusbrdp/bin/ftusbrdpctl <command> [options]

To see the list of all supported commands, run:

$ /opt/ftusbrdp/bin/ftusbrdpctl help

To see the list of the devices available:

$ /opt/ftusbrdp/bin/ftusbrdpctl list 
ID	VID  PID  REV          Location      Status	 Device name
0203	05e3:0745:0903              2-1    Unshared	 USB Storage
0502	046d:c018:4301              5-2    Unshared	 USB Optical Mouse

Here the columns are:

ID - unique device identifier;
VID:PID:REV - device hardware identifier (vendor ID, product ID, revision);
Location - USB device topology (can be "unknown" if your system cannot report the device topology);
Device name and status - displays the name of the device and its current status (shared/unshared/connected).

You can share the device by its unique ID (an example below shows how to share USB Optical Mouse from the list above):

$ /opt/ftusbrdp/bin/ftusbrdpctl share 203

NOTE: Sharing by the device ID allows you to share separately one of the devices that have identical VID:PID:REV.

To unshare the device use unshare command with the same syntax as share:

$ /opt/ftusbrdp/bin/ftusbrdpctl unshare 203

To view details about the device:

$ /opt/ftusbrdp/bin/ftusbrdpctl info 203
VID: 0x05e3
PID: 0x0745
Revision: 0x0903
Port: 2-1
Device name: USB Storage
Serial: 000000000903
Device: class: 0, subclass: 0, protocol: 0
Interface 0: class: 8, subclass: 6, protocol: 80