On 3/17/22 3:18 PM, Allan Streib wrote:
I have used the two-port version of this with Linux and it "just worked,"
wondering if anyone has used this (or something similar) successfully with OpenBSD? I am
looking to manage a few switches via their console/RS232 interfaces.
https://www.startech.com/en-us/cards-adapters/icusb2324i
Haven't used /that/ one, but have used a couple, and yes, "Just Worked"
for me as well. I have USB to eight port serial in remote
production. The one I have have been around for many years, so unlikely
you would be able to get something that is completely identical.
Here's how one of them shows up in dmesg:
...
uhub2 at uhub0 port 4 configuration 1 interface 0 "NEC product 0x0050" rev
2.00/1.00 addr 2
uftdi0 at uhub2 port 1 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 3
ucom0 at uftdi0 portno 1
uftdi1 at uhub2 port 2 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 4
ucom1 at uftdi1 portno 1
uftdi2 at uhub2 port 3 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 5
ucom2 at uftdi2 portno 1
uftdi3 at uhub2 port 4 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 6
ucom3 at uftdi3 portno 1
uftdi4 at uhub2 port 5 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 7
ucom4 at uftdi4 portno 1
uftdi5 at uhub2 port 6 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 8
ucom5 at uftdi5 portno 1
uhub3 at uhub2 port 7 configuration 1 interface 0 "NEC hub" rev 2.00/1.00 addr 9
uftdi6 at uhub3 port 1 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 10
ucom6 at uftdi6 portno 1
uftdi7 at uhub3 port 2 configuration 1 interface 0 "FTDI FT232R USB UART" rev
2.00/6.00 addr 11
ucom7 at uftdi7 portno 1
...
One cool thing: the device enumeration is rock solid -- once you
know what device is on what port, it seems to stay that way.
One down side: once in a while, the thing locks up, where OpenBSD
can't open the serial port (iirc, all of them wedge at the same time,
but I'm not going to swear to that). I'm not sure who's at fault
(OpenBSD or the device), but a reboot does fix it, Which is good,
since I and the systems I manage with it are separated by an
international border and 400km :)
So ... I'd not suggest attaching it to an "important" system, but
rather dedicate an easily rebooted terminal server machine.
Nick.