Enable serial device /dev/serial0
How do I enable the /dev/ttyAMA0, /dev/ttyS0, or /dev/serial0 devices?
I want to be able to use the GPIO 14 (TXD) and GPIO 15 (RXD) pins on a Raspberry Pi 3: https://www.raspberrypi.com/document...-Diagram-2.png |
Quote:
Code:
# Local serial lines: |
Quote:
Don't I need to do something in /boot/config.txt ? |
Quote:
Code:
enable_uart=1 Code:
root@slackware:~# ls -l /dev/ttyAMA* Code:
root@iana:~# ls -l /dev/ttyAMA* SARPi does work as intended (in most cases) but sometimes requires a little more effort, and knowledge/experience of troubleshooting the Raspberry Pi with regards to configuration settings and such. If all you want to do is get Slackware AArch64 up and running as quickly and easily as possible then the official means and methods is by far the best option. SARPi is a community driven effort for playing around and for when there are no other official options available (e.g. for the Raspberry Pi (1) & 2, etc.). [EDIT] You will probably also need to disable BlueTooth in your /boot/config.txt file in order to get a serial line working: Code:
dtoverlay=disable-bt |
Enable serial device /dev/serial0
Yes, disable the Bluetooth uart. If it is enabled the serial console will not work on the rpi3.
To connect use gnu screen: Code:
screen /dev/ttyUSB0 115200 Edit: Typo, lq is hard on a Smart phone! |
I put
Code:
enable_uart=1 Quote:
Code:
root@raspi:~# ls -l /dev/ttyAMA* Code:
root@raspi:~# date Reading hangs: Code:
$ python3 |
Quote:
Code:
screen /dev/ttyAMA0 115200 |
Quote:
Code:
root@mutley:~# slk-hwm-discover Code:
Welcome to Linux 6.6.9-armv8 aarch64 (ttyS1) |
All times are GMT -5. The time now is 12:59 PM. |