When you troubleshoot issues with a serial device, there are some quick tests that you can complete to rule out potential problems. You can test to make sure that the following components are working correctly and are not the source of the issue:
- Serial cables
- Serial ports
- Serial devices
To test your setup components, try the following:
- Use the serial cable, serial port, and serial device in another setup to see if the problem is with the components or the setup.
- Use a different serial cable, serial port, and serial device in your setup to see if the problem persists. Ideally, you should test a component that you know works in another setup.
When you test your cables, it is recommended that you do the following:
Installing Windows drivers for a US232R-100-BLK USB to RS-232 serial port converter cable from FTDI (RS Components stock number: 68. USB - RS232 (CH340) Adapter - Windows 10 Driver Installation. Como usar e instalar o cabo usb serial rs 232 no pc e notebook. Melhor Driver Usb Serial RS232 HL 340 ch341 Para Fazer Recovery.
- Test each cable individually.
- Use short cables when you are testing.
When you test the serial ports and serial device, it is recommended that you do the following:
- Press the Windows key + R, type devmgmt.msc, and press Enter to open Device Manager. Check to see if your device is listed under Ports (COM & LPT).
- Make sure that the COM port number is the correct number for the serial device and that the software being used to connect the computer to the serial device uses the correct COM port number.
- If you do not see the COM port number in Device Manager see this FAQ for PCI/PCIe expansion cards: https://www.startech.com/support/faqs/technical-support?topic=expansion-cards#pci-pcie-cannot-boot-os-or-detect-windows
or this FAQ for USB devices: https://www.startech.com/support/faqs/technical-support?topic=expansion-cards#usb-cannot-detect-windows - If the device is listed with an error, follow the instructions on the website to reinstall the drivers.
Note: Some serial devices work only if the COM port number is between a certain range. For example, COM1 to COM4.
- Perform a serial loopback test. See this FAQ on how to perform a RS-232 serial loopback test: http://www.startech.com/faq/serial_loopback_test_rs232_windows
There are two other articles on a serial port adapter for Windows. Below is the instructions for Linux and how to connect your serial adapter while using Linux. This should work for most people using Linux and a serial adapter or usb to rs232 driver which is being discussed.
USB to RS 232 driver Linux
1. Log into Linux under the root account;
2. Plug the USB-Serial adapter into the computer;
3. Give it a minute to discover the USB-Serial adpater;
4. Type in this command dmesg
5. The dmesg command will echo back the most recent few lines of the system message console, and you should see something like this:
- usb 2.0: new full speed USB device using uhci and address 2
- usb 2.0: configuration #1 chosen from 1 choice
6. Unplug the USB-Serial adapter to see a list of USB devices without it being plugged in.
7. Type this command to list the USB devices: lsusb
8. You should see a list of USB devices that looks like this:
- Bus 001 Device 001: ID 0000:0000
- Bus 002 Device 007: ID 03f0:4f11 Hewlett-Packard
- Bus 002 Device 006: ID 05e3:1205 Genesys Logic, Inc. Afilias Optical Mouse H3003
- Bus 002 Device 004: ID 15d9:0a33 Logitec-mouse
9. Then plug the USB into our device Then use the lsusbcommand again and observe the changes
- Bus 001 Device 001: ID 0000:0000
- Bus 002 Device 007: ID 03f0:4f11 Hewlett-Packard
- Bus 002 Device 003: ID 018a:3754 Unknown device
- Bus 002 Device 006: ID 05e3:1205 Genesys Logic, Inc. Afilias Optical Mouse H3003
- Bus 002 Device 004: ID 15d9:0a33 Logitec-mouse
10. Determine the vendor ID and the product ID by inspecting this additional line. In this example they are 018a and 3754. For a Trip•Lite USB-Serial adapter, they are 2303 and 067B. In this example it is a Minicom USB-Serial device. The first numbers identifies the vendor and the second numbers identifies the product.
11. Now use the following command to load the kernel module called usb serial and pass the vendor and product ID values to it. The driver can then associate itself with the correct hardware device on the USB bus.
- sudo modprobe usbserial vendor=018a product=3754
12. Now check whether the new Serial Port device is available
- sudo dmesg | grep ttyUSB
13. You should now see something like this
- usbserial_generic 1-1:1.0: generic converter detected
- usb 1-1: generic converter now attached to ttyUSB0
- usbcore: registered new interface driver usbserial_generic
14. This tells you that the serial device has now been mapped to the /dev/ttyUSBO serial port
15. Now we want to list the devices under the /dev/ path to see if the interface is visible with this command:
- ls /dev/
18. Instruct Ubuntu to load this module automatically by including the following line in the /etc/modules file. Substitute yourownvendor and product ID if they are different.
- usbserial vendor=018a product=3754
That should be about it however if you have not installed the driver then you would have to install it now. If you are installing a Minicom serial device then you would do the following:
- sudo apt-get install minicom
- sudo minicom -s
Press A and then edit to / dev / ttyUSB 0 ( this value, see dmesg | grep ttyUSB )
Press E and then edit to 9600 8N1
Press F and the value will change from Yes to No
Once set up and finish off mode serial port setup.
Save setup as df1 finished off. Settings by Exit from Minicom
Other Issues:
This is for Ubuntu Linux for Red Hat the drivers should be in your OS however TrippLite does have Red Hat drivers on their website if you do not have them on your system.
If you are trying to connect a Zigbee through this serial port you can do the following:
Make a symbolic link between ttyUSB0 and com2 by typing in terminal: (assuming you are using com2)
Rs232 Serial Drivers Download
- ln -s /dev/ttyUSB0 /home/your_home/.wine/dosdevices/com2
Then Add com2 port to X-CTU
VN:F [1.9.22_1171]
VN:F [1.9.22_1171]
USB-Serial Port adapter (RS-232) in Ubuntu Linux, 10.0 out of 10 based on 1 rating Rs232 Serial Port Driver Windows Xp
Related Posts
Usb To Rs232 Serial Driver
- Prolific USB to Serial Driver (1.000)
- Gigaware USB to Serial Driver (1.000)
- Aten USB to Serial Driver (1.000)
- Bafo USB to Serial Driver (1.000)
- Prolific USB to Serial Comm Port Driver (1.000)