View Full Version : USB Serial converter
northernexposure
April 25th, 2017, 05:46 AM
I am trying to connect with a Future Technology FT232 Serial-USB Converter. Running lsusb shows the converter. Also running dmesg | grep FTDI it shows the USB Serial Device Converter detected and attached to ttyUSB0. I tried to open /dev/ttyUSB0 with pyserial open in python and tried to connect with tio /dev/ttyUSB0 -b 9600. In the first case, I got no such file or directory /dev/ttyUSB0 and with tio it would not connect. I am using Ubuntu 16.04. I would appreciate any help in getting the USB working.
northernexposure
April 26th, 2017, 05:17 PM
I was able to resolve the problem with the following command: chmod 777 /dev/ttyUSB0, Both tio and pyserial were able to access the USB port.
northernexposure
April 29th, 2017, 07:10 PM
Although I was able to open the USB0 port with the chmod command, if I leave the computer for several hours, when I reenter with my password I get the same message of no such directory or file. Using the chmod command again gives me the same message. The only way I can get the chmod 666 /dev/ttyUSB0 to work is to reboot the system. Can anyone tell me if there is a way to not have to reboot?
HermanAB
April 29th, 2017, 07:44 PM
You have to join the dialout group.
A good serial communication program is cutecom and of course the venerable minicom.
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.