detect system type in mind_echo.py