I am having difficulty keeping the USB Relay Controller connected on a Red Hat 6 workstation. This workstation has USB2 and USB3 Controllers. The USB Relay Controller is using the xhci_hcd driver. This is linux USB3 driver. The USB Relay Controller is seen, get connected and immediately disconnects.
I have tried the USB Relay Controller on an older PC running Red Hat 6. On the older PC, the uhci_hcd (USB1) driver is used. I have no connection issues.
Is the USB Relay Controller an USB1 device?
About all I can do is point you to FTDI web site for drivers, they do support Linux. We use the FT232RL chip in most of our designs, which is known for stability. I believe it is compatible with USB 1 and 2 specifications.
Also, please test with NOTHING connected to the relays and see if this affects stability.
Thank-you for the quick response… The Virtual FTDI Virtual Port drive is embedded in Linux… Both uhci_hcd (USB1 Driver) and xhci_hcd (USB3 Driver) sees the FTDI Device… Here is a dmesg dump between the 2 drivers.
usb 3-13.1: new full speed USB device number 27 using xhci_hcd
usb 3-13.1: New USB device found, idVendor=0403, idProduct=6001
usb 3-13.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-13.1: Product: FT232R USB UART
usb 3-13.1: Manufacturer: FTDI
usb 3-13.1: SerialNumber: AL00EW0H
usb 3-13.1: configuration #1 chosen from 1 choice
ftdi_sio 3-13.1:1.0: FTDI USB Serial Device converter detected
usb 3-13.1: Detected FT232RL
usb 3-13.1: Number of endpoints 2
usb 3-13.1: Endpoint 1 MaxPacketSize 64
usb 3-13.1: Endpoint 2 MaxPacketSize 64
usb 3-13.1: Setting MaxPacketSize 64
usb 3-13.1: FTDI USB Serial Device converter now attached to ttyUSB0
ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
ftdi_sio 3-13.1:1.0: device disconnected
usb 5-2: new full speed USB device number 3 using uhci_hcd
usb 5-2: New USB device found, idVendor=0403, idProduct=6001
usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-2: Product: FT232R USB UART
usb 5-2: Manufacturer: FTDI
usb 5-2: SerialNumber: AL00EW0H
usb 5-2: configuration #1 chosen from 1 choice
ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected
usb 5-2: Detected FT232RL
usb 5-2: Number of endpoints 2
usb 5-2: Endpoint 1 MaxPacketSize 64
usb 5-2: Endpoint 2 MaxPacketSize 64
usb 5-2: Setting MaxPacketSize 64
usb 5-2: FTDI USB Serial Device converter now attached to ttyUSB0
I should add that we are using the USB Controller without any devices attached.
Sorry, but I am not sure we can be of much help on this one. You might consider contacting FTDI about this, this is just a little outside the scope of services we can provide.
You mentioned that you are having difficulties in keeping it connected, how long does it does it work before it disconnects ?
Sometime this happens when the linux cant find the correct package.
By looking at your log file looks like the linux is recognizing the USB-Srerial converter and installing the driver.
You can also try to use it a different baud rate and see if that helps any.