— 19 —
4. Linux (Ubuntu)
The Device works with a system CDC ACM driver. After connection of the Device, type the following
command in the terminal:
dmesg
The output’s tail contains the Device’s properties and port name:
[98.454005] usb 2-2.1: Product: NMEA 2000 USB Gateway
[98.454009] usb 2-2.1: Manufacturer: Yacht Devices Ltd.
[98.454013] usb 2-2.1: SerialNumber: 00090001
[98.461125] cdc_acm 2-2.1:1.0: ttyACM1: USB ACM device
The port name for use in applications is /dev/ttyACM1 (printed in the last line of the output). You can type
the following command in the terminal to check the port name:
ls /dev/ttyA*
Note that after connection, the modem manager can open a Device for a minute and the Device
will not be available for use in other applications at this time. In this case, you can instruct the modem
manager to ignore the Device using the USB identifiers of the product (VID and PID):
echo ATTRS{idVendor}==\"0483\" ATTRS{idProduct}==\"a217\",
ENV{ID_MM_DEVICE_IGNORE}=\"1\" > /etc/udev/rules.d/ydnu.rules
sudo udevadm control –reload