USB manager

Why is it important to manage the serial ports?

Linux does use standard port names. They are named by the connection time.

If you can guarantee that every time all USB adapter are connected and that there is no chance of malfunction on one device and you never put another device to the system, then you don't need the USB manager.

Otherwise the names ttyUSBx are changing (for example the AIS is on the autopilot port, the N2K Can-Bus is on the GPS port …). The multiplexer isn't able to do his job any more.

Here the USB-ports can be setup manually.

Picture 1: already configured USB ports

select add to open a window of not configured serial ports.

Picture 2: adding a FTDI port

random name: the numbered port name which is given by Linux

vendor product and serial: numbers and strings of the device

port: the USB port position

Picture 3: USB port names of the raspberry pi

If you add a new serial port you can select remember by device or remember by port.

Remember by port can be used every time. See picture 3 it shows the USB port names of the raspberry pi.

But normally you want the system to get the right name independent of the port it is connected to.

You can do this if there is not a second device with identical information. In picture 1 you see for example an 4 port FTDI hub. It has a vendor and a product number and a serial string. But you have 4 times identical data. So you can't use remember by device. There are cheaper adapter which haven't got a serial number. If you have more than 1 of them you also can't use remember by device.

Naming

The Linux names ttyUSB0, ttyUSB4 don't have any information what is connected to the port so it's better to use a meaningful name.

The USB manager uses ttyOP_xxxx.

Where xxxx belongs to personal decision. But we recommend to use

ttyOP_N2K: for actisense ngt-1

ttyOP_AP: for autopilot

ttyOP_GP: for GPS

ttyOP_II: for seatalk

ttyOP_FIRM: for arduino with firmata

ttyOP_MPXx: is used for multiplexers but it could be better to rename it to a meaningful name like AIS or PLOTTER.

There are other devices which doesn't send anything they're only listening for sentences add a meaningful name to them.

To change a port name double click the line.

results matching ""

    No results matching ""