User manual

Appendix - Additional Tool 'utnm'
myUTN User Manual 142
The following commands are supported:
Command Description
c "command string"
or
command "command
string"
Runs a command. The command is specified in greater
detail by the command string. The following command
strings can be used:
activate UTN server
vendor ID product ID
[port number
]
Activates the connection to a USB device. If several
USB devices with the same product ID and vendor ID
are connected to the UTN server, the first available
device will be activated if the port has not been
specified.
deactivate UTN server
vendor ID product
ID [port number]
Deactivates the connection to a USB device. The
command 'eject' will be used when a USB mass storage
device is removed. The command 'plugout' will be used for
all other devices.
plugin UTN server vendor ID product ID
[port number
]
Activates the connection to a USB device. If several
USB devices with the same product ID and vendor ID
are connected to the UTN server, the first available
device will be activated if the port has not been
specified.
plugout
UTN server vendor ID product ID
[port number
]
Deactivates the connection to a USB device.
(Corresponds to the 'plugging out' of the device.)
Note: The command 'deactivate' is to be preferred.
eject UTN server
vendor ID product ID
[port number
]
(for
USB mass storage devices
) Ejects the USB device.
The device connection will only be deactivated if the
communication has been terminated properly.
Note: The command 'deactivate' is to be preferred.
state UTN server
vendor ID product ID
port number
Displays the status of the USB device.
getlist UTN server
Shows an overview of the USB devices (including port,
vendor ID, product ID, manufacturer name, product
name, device class and status) that are connected to
the UTN server.
set autoconnect = true|false
UTN server
vendor ID
product ID port number
Automatically activates the device connection if the
USB device is connected and not in use.