USB-FTDI-Devices: Wie kann ich die explizit als uftdi/ugen einhaengen?

dettus

Bicycle User
Hallo!
Vielleicht habt ihr eine Idee...

Ich habe hier ein FPGA-Board. Mit zwei FTDI-Devices:

Code:
Bus 001 Device 008: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 009: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC

Mein Problem ist, dass der Kernel beide als UFTDI Devices erkennt.

Code:
uftdi0 at uhub3 port 1 configuration 1 interface 0 "FTDI FT232R USB UART" rev 2.00/6.00 addr 8
ucom0 at uftdi0 portno 1: usb1.7.00001.0
uftdi1 at uhub3 port 2 configuration 1 interface 0 "CCAG GateMate FPGA Evalboard 3.2A" rev 2.00/7.00 addr 9
ucom1 at uftdi1 portno 1: usb1.7.00002.0
uftdi2 at uhub3 port 2 configuration 1 interface 1 "CCAG GateMate FPGA Evalboard 3.2A" rev 2.00/7.00 addr 9
ucom2 at uftdi2 portno 2: usb1.7.00002.1

AusGruenden(tm) funktioniert es fuer mich aber nur, wenn das :6010 device als ugen0 erkannt wird, weswegen ich uftdi im Kernel deaktivieren und neu booten muss:

Code:
# doas config -e -f -o /bsd.nouftdi /bsd
OpenBSD 7.8 (GENERIC) #54: Sun Oct 12 12:45:58 MDT 2025
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
Enter 'help' for information
ukc> disable uftdi*
356 uftdi* disabled
ukc> disable uftdi0
ukc> disable uftdi1
ukc> quit
Saving modified kernel.
# reboot

Probem ist: Dann klappt auch das :6001 device nicht mehr so, wie es sollte.

Kennt jemand einen eleganteren Weg?
 
Zurück
Oben