I currently have two CM4 on Ubuntu 20.04 and I'm trying to get the U2D2 card to work for dynamixels.
I had succeeded without too much problem on the first CM4 in September but impossible to detect the U2D2 on /dev/ttyUSB0 on the other CM4.
The dmesg of the CM4 which works:
[ 186.324077] usb 1-1.4: new high-speed USB device number 3 using dwc2
[ 186.429144] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6014, bcdDevice= 9.00[ 186.429153] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 186.429161] usb 1-1.4: Product: USB <-> Serial Converter
[ 186.429165] usb 1-1.4: Manufacturer: FTDI
[ 186.429170] usb 1-1.4: SerialNumber: FT5NY83B
[ 186.485778] usbcore: registered new interface driver usbserial_generic
[ 186.485810] usbserial: USB Serial support registered for generic
[ 186.494547] usbcore: registered new interface driver ftdi_sio
[ 186.494591] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 186.494684] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 186.494779] usb 1-1.4: Detected FT232H
[ 186.495884] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
The dmesg of the CM4 that doesn't work has nothing regarding the USB. After some modprobe (usbserial, ftdi_sio, usbcore), I have this:
[ 2190.944606] usbcore: registered new interface driver usbserial_generic
[ 2190.944640] usbserial: USB Serial support registered for generic
[ 2243.632600] usbcore: registered new interface driver ftdi_sio
[ 2243.632639] usbserial: USB Serial support registered for FTDI USB Serial Device