From b70ba9cbecc4075ba8285345167d2a19ef50013b Mon Sep 17 00:00:00 2001 From: jlecour Date: Wed, 19 Aug 2020 10:03:35 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20minicom=20dans=20les=20options=20d?= =?UTF-8?q?'acc=C3=A8s=20aux=20APC=20en=20mode=20s=C3=A9rie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMasterswitchAPC.md | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/HowtoMasterswitchAPC.md b/HowtoMasterswitchAPC.md index f88c5172..b1d34bc3 100644 --- a/HowtoMasterswitchAPC.md +++ b/HowtoMasterswitchAPC.md @@ -92,16 +92,38 @@ Ils doivent pour cela être en version 6 minimum. ## Port série -Exemple pour screen : +### screen ~~~ -screen /dev/ttyUSB3 9600 +# screen /dev/ttyUSB0 9600 ~~~ -Exemple pour cu : +### minicom ~~~ -cu -l /dev/cuaU0 -s 9600 +# minicom -b 9600 -D /dev/ttyUSB0 +~~~ + +Il est aussi possible de créer un fichier de configuration et la commande `minicom` avec le nom de la configuration : + +~~~ +# cat /etc/minicom/minirc.apc +pu port /dev/ttyUSB0 +pu baudrate 9600 +pu bits 8 +pu parity N +pu stopbits 1 +pu rtscts No + +# minicom apc +~~~ + +### cu + +Disponible (a priori) uniquement sous OpenBSD. + +~~~ +# cu -l /dev/cuaU0 -s 9600 ~~~ Attention, parfois les caractères sont illisibles (problème matériel ?)