From c38110201942a6ed982c44e5ae3f600b42c64d02 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Fri, 26 Jun 2015 18:22:08 +0200 Subject: [PATCH 1/2] manual: fix faq item title about determining pyserial URL by serial number --- doc/manual/faq.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/manual/faq.rst b/doc/manual/faq.rst index a53b69689..2e95d2864 100644 --- a/doc/manual/faq.rst +++ b/doc/manual/faq.rst @@ -75,10 +75,11 @@ scheduler API to achieve the same (``scheduler.yield(duration=0)``) or wrap your own generators/coroutines/tasks in regular functions that you then expose as part of the API. -list the serial devices attached to my Linux/Windows system? ------------------------------------------------------------- +determine the pyserial URL to attach to a device by its serial number? +---------------------------------------------------------------------- -You can do it by running:: +You can list your system's serial devices and print their vendor/product +id and serial number by running:: $ python3 -m serial.tools.list_ports -v From 07ceed9512e57e6577c47333ebc61059071c8e9e Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 26 Jun 2015 11:09:08 -0600 Subject: [PATCH 2/2] artiq_flash.sh: back down on verbosity --- artiq/frontend/artiq_flash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.sh b/artiq/frontend/artiq_flash.sh index f2ff61f4f..2ac6163ef 100755 --- a/artiq/frontend/artiq_flash.sh +++ b/artiq/frontend/artiq_flash.sh @@ -3,7 +3,7 @@ # exit on error set -e # print commands -set -v +#set -x ARTIQ_PREFIX=$(python3 -c "import artiq; print(artiq.__path__[0])")