How to configure/use sangaboard?

Here’s the dmesg output when I unplug/plug:

[   31.550936] usb 1-1.2: USB disconnect, device number 4
[   37.737094] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[   37.884314] usb 1-1.2: New USB device found, idVendor=f055, idProduct=5ab0, bcdDevice= 1.00
[   37.884324] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   37.884329] usb 1-1.2: Product: Sangaboard v0.3
[   37.884333] usb 1-1.2: Manufacturer: Unknown
[   37.885144] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

So it looks like it’s showing up ok to the OS. Same with checking /dev/tty* ttyACM0 appears when the sangaboard is plugged in.

I also tried updating ofm “sudo ofm upgrade” and restarting as well as rebooting both with the sangaboard plugged in and waiting to plug it in later and then restarting.

I’m also using the latest code off git for the sangaboard - it reports as version v0.5.1

after restarting ofm with the sanga plugged in ‘ofm status’ returns:
pi@microscope:~ $ ofm status
● openflexure-microscope-server.service - Flask instance to serve the OpenFlexure Microscope API
Loaded: loaded (/etc/systemd/system/openflexure-microscope-server.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-08-07 07:58:28 MST; 13s ago
Main PID: 912 (python)
Tasks: 10 (limit: 1772)
Memory: 27.5M
CGroup: /system.slice/openflexure-microscope-server.service
└─912 /var/openflexure/application/openflexure-microscope-server/.venv/bin/python -m openflexure_microscope.api.app

Aug 07 07:58:33 microscope python[912]:    Use a production WSGI server instead.
Aug 07 07:58:33 microscope python[912]:  * Debug mode: on
Aug 07 07:58:33 microscope python[912]: INFO:werkzeug: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
Aug 07 07:58:33 microscope python[912]: [2020-08-07 07:58:33,122] [MainThread] [INFO]  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
Aug 07 07:58:41 microscope python[912]: INFO:werkzeug:192.168.1.14 - - [07/Aug/2020 07:58:41] "HEAD /api/v2/streams/snapshot?1596812321115 HTTP/1.1" 200 -
Aug 07 07:58:41 microscope python[912]: [2020-08-07 07:58:41,239] [Thread-2] [INFO] 192.168.1.14 - - [07/Aug/2020 07:58:41] "HEAD /api/v2/streams/snapshot?1596812
Aug 07 07:58:41 microscope python[912]: INFO:werkzeug:192.168.1.14 - - [07/Aug/2020 07:58:41] "HEAD /api/v2/streams/snapshot?1596812321171 HTTP/1.1" 200 -
Aug 07 07:58:41 microscope python[912]: [2020-08-07 07:58:41,279] [Thread-3] [INFO] 192.168.1.14 - - [07/Aug/2020 07:58:41] "HEAD /api/v2/streams/snapshot?1596812
Aug 07 07:58:41 microscope python[912]: INFO:werkzeug:192.168.1.14 - - [07/Aug/2020 07:58:41] "GET /api/v2/streams/snapshot?1596812321171 HTTP/1.1" 200 -
Aug 07 07:58:41 microscope python[912]: [2020-08-07 07:58:41,322] [Thread-4] [INFO] 192.168.1.14 - - [07/Aug/2020 07:58:41] "GET /api/v2/streams/snapshot?15968123
p

It seems like the board works since I can see the motors move when I issue serial commands…and the OS seems to recognize it. Just ofm doesn’t.

I tried the test suggested here: Simple controller using Arduino Nano isn't recognized by Openflexure

And I get what appears to be a syntax error in the python library:
pi@microscope:~ $ python sangatest.py
Traceback (most recent call last):
File “sangatest.py”, line 1, in
from sangaboard import Sangaboard
File “/home/pi/.local/lib/python2.7/site-packages/sangaboard/init.py”, line 1, in
from .sangaboard import Sangaboard
File “/home/pi/.local/lib/python2.7/site-packages/sangaboard/sangaboard.py”, line 54
“baudrate”: 115_200,
^
SyntaxError: invalid syntax

(Note - the carat is actually pointing at the 115_200 not “baudrate” and when I open that file in an editor with color coding the 115_200 get one color of highlighting for the 115 and another for the _200. But I’m not familiar enough with python to know why this could be an error…it looks correct to me.)

Is there somewhere I should be looking for errors or logs from ofm to show why it’s not picking up on the sanga being connected?