FTDI USB Serial port no longer connecting

Hello Guys,

Last week I installed Alchitry-Labs to try it out. Now I am unable to access any USB serial port that uses an FTDI chip. Below is the dmesg output from when I plug in the USB cable. It sees the device but then immediately disconnects.

What is going on? Has anyone else had this problem?

[ 105.733031] usb 1-5.4: new high-speed USB device number 8 using xhci_hcd
[ 105.814434] usb 1-5.4: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00
[ 105.814449] usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 105.814456] usb 1-5.4: Product: Digilent USB Device
[ 105.814461] usb 1-5.4: Manufacturer: Digilent
[ 105.814466] usb 1-5.4: SerialNumber: 210319A2D09E
[ 105.833669] usbcore: registered new interface driver usbserial_generic
[ 105.833677] usbserial: USB Serial support registered for generic
[ 105.835369] usbcore: registered new interface driver ftdi_sio
[ 105.835379] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 105.835411] ftdi_sio 1-5.4:1.0: FTDI USB Serial Device converter detected
[ 105.835429] usb 1-5.4: Detected FT2232H
[ 105.835522] usb 1-5.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 105.835541] ftdi_sio 1-5.4:1.1: FTDI USB Serial Device converter detected
[ 105.835553] usb 1-5.4: Detected FT2232H
[ 105.835643] usb 1-5.4: FTDI USB Serial Device converter now attached to ttyUSB1
[ 105.836559] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 105.836571] ftdi_sio 1-5.4:1.1: device disconnected
[ 105.836632] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 105.836645] ftdi_sio 1-5.4:1.0: device disconnected

OK,

I’m going again. I just uninstalled Alchitry-Labs and /dev/ttyUSBx are back. Here is the command.

sudo apt remove alchitry-labs

This is being caused by a bad udev rule installed by Alchitry Labs. The rule assumes you’re using D2XX as the driver which isn’t recommended typically anymore. You can remove the file (/etc/udev/rules.d/99-alchitry.rules) or just remove the portion RUN+="/bin/sh -c 'echo $kernel > /sys/bus/usb/drivers/ftdi_sio/unbind'",

I’m editing the file so this will be removed in the next release.