From 45700887ba85aa6d21bb8f042619ab3a83d9351a Mon Sep 17 00:00:00 2001
From: Peter Cock
Date: Thu, 7 Aug 2025 22:26:17 +0100
Subject: [PATCH] Suggest using cu for USB log viewing on macOS (#3027)
* Suggest using cu for USB log viewing on macOS
It may not be as friendly, but cu should be available while tio could be hard to install.
* Polish wording
Co-authored-by: Nicolas Munnich <98408764+nmunnich@users.noreply.github.com>
* Suggest "man cu" for how to use this tool
---------
Co-authored-by: Nicolas Munnich <98408764+nmunnich@users.noreply.github.com>
---
docs/docs/development/usb-logging.mdx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/docs/development/usb-logging.mdx b/docs/docs/development/usb-logging.mdx
index 98948b6d2..ad4bb2e47 100644
--- a/docs/docs/development/usb-logging.mdx
+++ b/docs/docs/development/usb-logging.mdx
@@ -86,7 +86,13 @@ You can connect to the device with [tio](https://tio.github.io/) (can be install
sudo tio /dev/tty.usbmodem14401
```
-You should see tio printing `Disconnected` or `Connected` when you disconnect or reconnect the USB cable.
+Alternatively, `cu` should be preinstalled (see `man cu` for usage instructions):
+
+```sh
+sudo cu -l /dev/tty.usbmodem14401
+```
+
+You should see the console printing `Disconnected` or `Connected` when you disconnect or reconnect the USB cable.