I'm having trouble getting a serial port to work in FreeBSD 13.1-RELEASE-p3 GENERIC. I've tried three different configurations.
1) I borrowed a USB-to-RS232 adapter from my employer and it works. It has no brand name or model number printed on it, but FreeBSD detects it just fine:
It appears as /dev/cuaU0.
2) I bought a Keyspan USB-to-RS232 adapter since (historically) they were known for quality. It is a Keyspan model USA-19HS. FreeBSD sees the USB device but apparently doesn't know what to do with it:
When I plug it in, no cua* devices appear in /dev. I tried setting
3) I also tried a PCI-e 2-port card. It gives the appearance that it should work, but so far it doesn't. It's a Vantec model UGT-PCE20SR:
It gives me /dev/cuau2 and /dev/cuau3. I get nothing out of either port.
I am testing the port by connecting it to my RS232 device (a ham radio modem) and attempting to talk to it using minicom. I've only been able to get it to work in configuration #1 using the no-name USB-to-RS232 adapter. Unfortunately, that doesn't belong to me and I need to return it.
I've been to the serial comms section of the handbook but it hasn't helped.
Configuration #3 looks like it's close to working since it actually recognizes the card and creates the ports. I don't know why I can't get them to send or receive anything, though.
Any thoughts on what I could try?
Alternatively, does anyone know a brand and model of PCI-e serial port card that is known to work with FreeBSD?
1) I borrowed a USB-to-RS232 adapter from my employer and it works. It has no brand name or model number printed on it, but FreeBSD detects it just fine:
ugen3.2: <FTDI UC232R> at usbus3
uftdi0 on uhub1
uftdi0: <UC232R> on usbus3
It appears as /dev/cuaU0.
2) I bought a Keyspan USB-to-RS232 adapter since (historically) they were known for quality. It is a Keyspan model USA-19HS. FreeBSD sees the USB device but apparently doesn't know what to do with it:
ugen3.2: <Keyspan, a division of InnoSys Inc. Keyspan USA-19H> at usbus3
When I plug it in, no cua* devices appear in /dev. I tried setting
hw.usb.template
to 3 and re-inserting the device, but still no luck.3) I also tried a PCI-e 2-port card. It gives the appearance that it should work, but so far it doesn't. It's a Vantec model UGT-PCE20SR:
pcib4: <ACPI PCI-PCI bridge> at device 2.0 on pci2
pci4: <ACPI PCI bus> on pcib4
puc0: <Exar XR17V352> mem 0xfca00000-0xfca03fff irq 30 at device 0.0 on pci4
uart2: <16x50 with 256 byte FIFO> at port 1 on puc0
uart3: <16x50 with 256 byte FIFO> at port 2 on puc0
It gives me /dev/cuau2 and /dev/cuau3. I get nothing out of either port.
I am testing the port by connecting it to my RS232 device (a ham radio modem) and attempting to talk to it using minicom. I've only been able to get it to work in configuration #1 using the no-name USB-to-RS232 adapter. Unfortunately, that doesn't belong to me and I need to return it.
I've been to the serial comms section of the handbook but it hasn't helped.
Configuration #3 looks like it's close to working since it actually recognizes the card and creates the ports. I don't know why I can't get them to send or receive anything, though.
Any thoughts on what I could try?
Alternatively, does anyone know a brand and model of PCI-e serial port card that is known to work with FreeBSD?