1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-20 13:38:11 +00:00
trezor-firmware/tools/read-device-log.sh
2025-06-30 18:44:17 +03:00

4 lines
86 B
Bash
Executable File

#!/bin/sh
DEVICE=${1:-/dev/ttyACM0}
socat -u $DEVICE,rawer - | ts "[%b %d %H:%M:%.S]"