I’m using The Ubuntu Mate 16.0.4.4 LTS on the eMMC found here:
I have connected a UART device to UART2 and UART3 with no ability to receive the data. Running dmesg | grep ttyS*
gives me this
[ 17.577916] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 17.998138] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP [ 18.013714] systemd[1]: brltty.service: Unit entered failed state. [ 18.024571] systemd[1]: brltty.service: Failed with result ‘exit-code’.
when it should be giving something like this to show the UART device being recognized.
[ 37.531286] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 37.531841] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 37.532138] 0000:04:00.3: ttyS1 at I/O 0x1020 (irq = 18) is a 16550A
I’ve also tried just using minicom to poll each ttyS* port, but none respond. For example: sudo minicom -D /dev/ttyS0 -b 9600
Other odd things are, running /usr/local/bin g40.py tells me I have Banana Pi M2 Zero[H2+/H3]
But this is a P2 Zero.
The GPIO test in /usr/local/bin works for turning pins on and off, but I can’t find a way to enable the UART2 or UART3.
Any advice on this? I am hoping there is a config file that can expose or allow the UART ports to be used.