From 4c8547cfe43384219b7bf1919e5ae27a5189b95b Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 28 Aug 2024 11:53:31 -0700 Subject: [PATCH] cleanup duplicate serial docs old-commit-hash: d7f4fbc1c26a5fb23e2303b4fbf5ddb22fe852d6 --- docs/how-to/connect-to-comma.md | 2 +- .../{serial/connect.sh => scripts/serial.sh} | 0 tools/serial/README.md | 21 ------------------- 3 files changed, 1 insertion(+), 22 deletions(-) rename tools/{serial/connect.sh => scripts/serial.sh} (100%) delete mode 100644 tools/serial/README.md diff --git a/docs/how-to/connect-to-comma.md b/docs/how-to/connect-to-comma.md index d9c0c701c8..67327fbaaf 100644 --- a/docs/how-to/connect-to-comma.md +++ b/docs/how-to/connect-to-comma.md @@ -7,7 +7,7 @@ A comma 3/3X is a normal [Linux](https://github.com/commaai/agnos-builder) compu On both the comma three and 3X, the serial console is accessible from the main OBD-C port. Connect the comma 3/3X to your computer with a normal USB C cable, or use a [comma serial](https://comma.ai/shop/comma-serial) for steady 12V power. -On the comma three, the serial console is exposed through a UART-to-USB chip, and `tools/serial/connect.sh` can be used to connect. +On the comma three, the serial console is exposed through a UART-to-USB chip, and `tools/scripts/serial.sh` can be used to connect. On the comma 3X, the serial console is accessible through the [panda](https://github.com/commaai/panda) using the `panda/tests/som_debug.sh` script. diff --git a/tools/serial/connect.sh b/tools/scripts/serial.sh similarity index 100% rename from tools/serial/connect.sh rename to tools/scripts/serial.sh diff --git a/tools/serial/README.md b/tools/serial/README.md deleted file mode 100644 index 6a2950a1da..0000000000 --- a/tools/serial/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# comma serial - -The comma serial gets you access to a low level serial console on your comma three, while providing a stable 12V to power the device. - -The serial is available on the [comma shop](https://comma.ai/shop/products/comma-serial). - -## setup - -* Connect all three cables to the serial -* Connect the USB A to your computer -* Connect the USB-C to the OBD-C port on your comma three - -## usage - -``` -sudo screen /dev/ttyUSB0 115200 -``` -or use `connect.sh` to run the previous command in a loop. - - -The username and password are both `comma`.