I have devices plugged into a few USB ports such as my mouse, keyboard, phone charger, etc. I am going to be using an external device that will be communicating over the USB and the script that was provided with it executes a program with /dev/ttyUSB0 as a parameter.
Code:
[root@c ~]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 007: ID 187c:0511
Bus 001 Device 008: ID 187c:0511
Bus 002 Device 007: ID 0fca:8004 Research In Motion, Ltd.
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 006: ID 046d:c227 Logitech, Inc.
Bus 002 Device 004: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 003: ID 1532:000c Razer USA, Ltd
Bus 002 Device 002: ID 0d9f:0002 Powercom Co., Ltd
Bus 002 Device 005: ID 046d:c226 Logitech, Inc.