I’m having some issues with Ubuntu.
When I plug in the Alchitry, the Loader sees it BUT ubuntu can’t see the serial port.
If I look at dmesg I see this;
[ 45.565465] usb 1-3: new high-speed USB device number 5 using xhci_hcd
[ 45.695817] usb 1-3: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00
[ 45.695833] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 45.695840] usb 1-3: Product: Alchitry Au
[ 45.695844] usb 1-3: Manufacturer: Alchitry
[ 45.695848] usb 1-3: SerialNumber: FT3KRFFN
[ 45.750800] usbcore: registered new interface driver usbserial_generic
[ 45.750809] usbserial: USB Serial support registered for generic
[ 45.752915] usbcore: registered new interface driver ftdi_sio
[ 45.752946] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 45.752972] ftdi_sio 1-3:1.0: FTDI USB Serial Device converter detected
[ 45.753002] usb 1-3: Detected FT2232H
[ 45.753122] usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 45.753151] ftdi_sio 1-3:1.1: FTDI USB Serial Device converter detected
[ 45.753175] usb 1-3: Detected FT2232H
[ 45.753282] usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 45.754148] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 45.754163] ftdi_sio 1-3:1.0: device disconnected
[ 45.754226] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 45.754240] ftdi_sio 1-3:1.1: device disconnected
If I move the 99-alchitry.rules file out of /etc/udev/rules.d/
I can then see the serial port, BUT alchitry loader does not see the alchitry board.
didn’t work with a reboot, same issue.
With the 99-alchitry.rules in /etc/udev/rules.d/ I cannot see the Alchitry serial port but CAN upload.
if I remove the 99-alchitry.rules from /etc/udev/rules.d I CAN see the Alchitry serial port but CANNOT upload.
[ 81.169232] usb 1-3: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00
[ 81.169236] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 81.169237] usb 1-3: Product: Alchitry Au
[ 81.169238] usb 1-3: Manufacturer: Alchitry
[ 81.169239] usb 1-3: SerialNumber: FT3KRFFN
[ 144.854204] usb 1-3: USB disconnect, device number 5
[ 146.556189] usb 1-3: new high-speed USB device number 6 using xhci_hcd
[ 146.688204] usb 1-3: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00
[ 146.688208] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 146.688209] usb 1-3: Product: Alchitry Au
[ 146.688210] usb 1-3: Manufacturer: Alchitry
[ 146.688210] usb 1-3: SerialNumber: FT3KRFFN
I just tested it on my Raspberry Pi and it works with Pi OS (Debian-based) and Labs 1.2.7.
I downloaded Alchitry Labs 1.2.7 but it does not work out-of-box on Pi.
I had to replace swt.jar with an AARCH64 version, then add libusb4java-1.3.0-linux-aarch64.jar.
Once I got it working, I plugged my Au and witnessed ftdi_sio loaded like it did for you, providing the two tty.
I ran the loader and I could erase and program without issue.
I don’t have an ubuntu setup at hand, I could try to fire up a VM tomorrow, but for now I just tried Labs v2 on Raspberry
I had to build it from source but it works out-of-box and the built-in loader found my Au right away.
Of course it’s not very usefull with an Au since Vivado won’t run on a Pi (I managed to install it fully using the excellent box64, but I could not get it to run properly, at least not the GUI), but it could be usable with a Cu and the open-source toolchain.
So I tried it on Ubuntu and there I have your issue, so it looks like it’s Ubuntu specific but I can’t tell why so far…
Maybe some package are not fully up-to-date or something like this.
I was on this track too since it looks like it’s a conflict between ftdi_sio and D2XX (another native API of FTDI used by Labs and Loader).
I still wonder why this is an issue only on ubuntu though…
EDIT : It may be bound to kernel / driver version, Raspbian uses newer kernel (6.12) that Ubuntu 24 (6.8)
This new rule does not unload ftdi_sio but instead instruct it to ignore the Au (more accurately any FTDI 2232 device).