Serial Console on PinePhone
Jump to navigation
Jump to search
Using UART
Source: [1]
The PinePhone has a serial port in the headphone connector, it's activated by the 6th contact on the dipswitch. If the switch is on then the headphone connector is in audio mode, if it's off then it's in UART mode. This uart serial connection can also be used for communication with other devices from the PinePhone.
The uart is 115200n8
The pinout for the serial connector on the tablet side is:
- Tip: RX
- Ring: TX
- Sleeve: GND
The serial connection is 3.3V
Connecting to the console
sudo screen /dev/ttyUSB0 115200
Here are a few tips on improving the experience when in this console:
- Fixing terminal capabilities: run
TERM=screenorTERM=xterm - Fixing vim: add
set term=xterminto your .vimrc