Hi all!
You might be wondering why someone would add a serial port in this day in age... but I need it to monitor some other (older) devices.
My PCIe adapter is correctly recognised in FreeBSD 12.0-RELEASE, but it does not seem to be functional. The device /dev/cuau2 is present.
Relevant output in dmesg:
Output of
I've currently got a loopback cable connected to it, and running either
Additionally, I have tested my cable using a USB-to-serial adapter on the same machine, and this works as expected. I have also tested the PCIe adapter and cable on a different machine running Ubuntu, and it also works correctly there. Hence, I believe I must be missing something in the FreeBSD environment that's causing this.
Any help/suggestions would be greatly appreciated - thanks in advance!
You might be wondering why someone would add a serial port in this day in age... but I need it to monitor some other (older) devices.
My PCIe adapter is correctly recognised in FreeBSD 12.0-RELEASE, but it does not seem to be functional. The device /dev/cuau2 is present.
Relevant output in dmesg:
Code:
uart2: <Sunix SER5xxxx Serial Port> port 0xe800-0xe81f,0xe400-0xe41f irq 16 at device 0.0 on pci2
Output of
sysctl -a | grep 'uart.2'
:
Code:
dev.uart.2.pps_mode: 2
dev.uart.2.%parent: pci2
dev.uart.2.%pnpinfo: vendor=0x1fd4 device=0x1999 subvendor=0x1fd4 subdevice=0x0001 class=0x070004
dev.uart.2.%location: slot=0 function=0 dbsf=pci0:2:0:0
dev.uart.2.%driver: uart
dev.uart.2.%desc: Sunix SER5xxxx Serial Port
I've currently got a loopback cable connected to it, and running either
cu -l /dev/cuau2
or picocom /dev/cuau2
does not produce any loopback output. The normal escape commands do not work within cu
(~) or picocom
(C-x) and I have to forcibly kill the processes, so I'm lead to believe that FreeBSD isn't able to open/configure the port?Additionally, I have tested my cable using a USB-to-serial adapter on the same machine, and this works as expected. I have also tested the PCIe adapter and cable on a different machine running Ubuntu, and it also works correctly there. Hence, I believe I must be missing something in the FreeBSD environment that's causing this.
Any help/suggestions would be greatly appreciated - thanks in advance!