uArmStudio for Linux doesn't see uArm

uArm Swift Pro Serial No.: S/N: UP130018040243

Firmware Version: 3.2.0

Operation System: Linux (fresh installation of Linux Mint 19.1 Cinammon, during installation option ‘install 3rd party software’ checked)

uArm Controlling Method: uArm Studio 1.1.20

Information from uArmStudio → Menu → About uArmStudio:

uArm Studio 1.1.20
uArm Core: 1.0.1
Compatible: SwiftPro 3.1.30
System Info: OS Version: linux x64 4.15.0.45-generic

Information from uArmStudio → Settings → Device:

Device Information (blank)
Device (blank)
Port Number (blank)
Firmware Version (blank)
Serial Number (blank)
Studio Information
Studio Version 1.1.20
Studio Channel prod
OS linux x64 4.15.0-45-generic
uArmCore Version 1.0.1
Studio Language en

Information from uArmStudio → Settings → Troubleshooting:

INSPECTION Suggestion
uArm is not connected. Driver is not installed.

Downloaded report from uArmStudio → Settings → Troubleshooting:

{
“Studio”: {
“APP_NAME”: “uArmStudio”,
“APP_VERSION”: “1.1.20”,
“Channel”: “prod”,
“CATEGORY”: “software”,
“LANG”: “en”,
“OS_INFO”: “linux x64 4.15.0-45-generic”,
“OS_TYPE”: “linux”,
“OS_ARCH”: “x64”,
“MAIN_WINDOW_URL”: “file:///tmp/.mount_uArmStz1u4Se/app/resources/app.asar/dist/index.html”,
“FAQ_URL”: “htt p://issue.ufactory.cc/faq.html”,
“HOME_PAGE_URL”: “http://ufactory.cc”,
“SOCIAL_URL”: {
“forum”: “htt ps://forum.ufactory.cc”,
“github”: “htt ps://github.com/uArm-Developer”,
“facebook”: “ht tps://www.facebook.com/groups/1653721141585397”
},
“APP_COPYRIGHT”: “@2018 UFACTORY”,
“UPDATE_URL”: “h ttp://update.ufactory.cc/releases/updates.json”,
“FIRMWARE_DEFAULT_DIR_PATH”: “/tmp/.mount_uArmStz1u4Se/app/resources/studio/firmwareDefault”,
“UARM_CORE_PATH”: “/tmp/.mount_uArmStz1u4Se/app/resources/studio/uarmcore”,
“UARM_VISION_PAH”: “/tmp/.mount_uArmStz1u4Se/app/resources/studio/uarmvision”,
“UARM_VISION_LISTEN_PORT”: “18322”,
“UARM_VISION_VERSION”: null,
“UARM_CORE_LISTEN_ADDRESS”: “127.0.0.1”,
“UARM_CORE_LISTEN_PORT”: “18321”,
“UARM_CORE_VERSION”: " 1.0.1",
“WEBSOCKET_SERVER_ADDRESS”: “ws://127.0.0.1:18321/ws”,
“CAMERA_LISTEN_URL”: “h ttp://127.0.0.1:18321/video”,
“STUDIO_DIR_PATH”: “/home/tm/uarm/studio”,
“MINIMUM_FIRMWARE_VERSION”: “3.2.0”,
“HOME_DIR_PATH”: “/home/tm/uarm”,
“STUDIO_CONFIG_PATH”: “/home/tm/uarm/studio/config.json”,
“FIRMWARE_DIR_PATH”: “/home/tm/uarm/firmware”,
“AVRDUDE_DIR_PATH”: “/tmp/.mount_uArmStz1u4Se/app/resources/studio/avrdude”,
“LOG_DIR_PATH”: “/home/tm/uarm/studio/log”,
“DRIVER_DIR_PATH”: “/tmp/.mount_uArmStz1u4Se/app/resources/studio/driver”,
“CURA_DIR_PATH”: “~/CuraForuArm”,
“CACHE_DIR_PATH”: “/var/local/uarmStudio”,
“API_HOST_URL”: “h ttp://studio.avosapps.us/”
},
“UArm”: {
“portName”: null,
“firmwareVersion”: null,
“hardwareVersion”: null,
“productName”: null,
“productType”: null,
“portSerialNumber”: null,
“currentX”: null,
“currentY”: null,
“currentZ”: null,
“currentR”: null
},
“Problems”: {
“coreExisted”: true,
“coreRunning”: true,
“coreConnected”: true,
“uarmConnected”: false,
“driverInstalled”: true,
“uarmPortConnected”: true,
“other”: “”
},
“ports”: [
“/dev/ttyACM0”
]
}

Output of linux command ‘sudo lsusb’:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 006: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 005: ID 09da:9090 A4Tech Co., Ltd. XL-730K / XL-750BK / XL-755BK Mice
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 008: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Cleaning cache in uArmStudio → Settings → Troubleshooting doesn’t help.

When I restart computer and run Windows 10 then everything works fine.
When I restart computer again and run Linux then there is a problem like above.

How can I solve this?

The uArm Studio is OK, the uArm failed to connect to the linux pc. The linux we recommend is “ubuntu”, how about try it on the ubuntu?

I have installed Ubuntu 18.04.2 LTS (full install on hard disk, during installation option ‘install 3rd party software’ checked), but unfortunately it didn’t help. Still message “uArm is not connected. Driver is not installed.”. Below full information.

uArm Swift Pro Serial No.: S/N: UP130018040243

Firmware Version: 4.3.2

Operation System: Linux (fresh installation of Ubuntu 18.04.2 LTS, during installation option ‘install 3rd party software’ checked)

uArm Controlling Method: uArm Studio 1.1.20

Information from uArmStudio → Menu → About uArmStudio:

uArm Studio 1.1.20
uArm Core: 1.0.1
Compatible: SwiftPro 3.1.30
System Info: OS Version: linux x64 4.18.0-15-generic

Information from uArmStudio → Settings → Device:

Device Information (blank)
Device (blank)
Port Number (blank)
Firmware Version (blank)
Serial Number (blank)
Studio Information
Studio Version 1.1.20
Studio Channel prod
OS linux x64 4.18.0-15-generic
uArmCore Version 1.0.1
Studio Language en

Information from uArmStudio → Settings → Troubleshooting:

INSPECTION Suggestion
uArm is not connected. Driver is not installed.

Downloaded report from uArmStudio → Settings → Troubleshooting:

{
“Studio”: {
“APP_NAME”: “uArmStudio”,
“APP_VERSION”: “1.1.20”,
“Channel”: “prod”,
“CATEGORY”: “software”,
“LANG”: “en”,
“OS_INFO”: “linux x64 4.18.0-15-generic”,
“OS_TYPE”: “linux”,
“OS_ARCH”: “x64”,
“MAIN_WINDOW_URL”: “file:///tmp/.mount_uArmStmHm8MW/app/resources/app.asar/dist/index.html”,
“FAQ_URL”: “ht tp://issue.ufactory.cc/faq.html”,
“HOME_PAGE_URL”: “h ttp://ufactory.cc”,
“SOCIAL_URL”: {
“forum”: “htt ps://forum.ufactory.cc”,
“github”: “htt ps://github.com/uArm-Developer”,
“facebook”: “ht tps://www.facebook.com/groups/1653721141585397”
},
“APP_COPYRIGHT”: “@2018 UFACTORY”,
“UPDATE_URL”: “ht tp://update.ufactory.cc/releases/updates.json”,
“FIRMWARE_DEFAULT_DIR_PATH”: “/tmp/.mount_uArmStmHm8MW/app/resources/studio/firmwareDefault”,
“UARM_CORE_PATH”: “/tmp/.mount_uArmStmHm8MW/app/resources/studio/uarmcore”,
“UARM_VISION_PAH”: “/tmp/.mount_uArmStmHm8MW/app/resources/studio/uarmvision”,
“UARM_VISION_LISTEN_PORT”: “18322”,
“UARM_VISION_VERSION”: null,
“UARM_CORE_LISTEN_ADDRESS”: “127.0.0.1”,
“UARM_CORE_LISTEN_PORT”: “18321”,
“UARM_CORE_VERSION”: " 1.0.1",
“WEBSOCKET_SERVER_ADDRESS”: “ws://127.0.0.1:18321/ws”,
“CAMERA_LISTEN_URL”: “h ttp://127.0.0.1:18321/video”,
“STUDIO_DIR_PATH”: “/home/tm/uarm/studio”,
“MINIMUM_FIRMWARE_VERSION”: “3.2.0”,
“HOME_DIR_PATH”: “/home/tm/uarm”,
“STUDIO_CONFIG_PATH”: “/home/tm/uarm/studio/config.json”,
“FIRMWARE_DIR_PATH”: “/home/tm/uarm/firmware”,
“AVRDUDE_DIR_PATH”: “/tmp/.mount_uArmStmHm8MW/app/resources/studio/avrdude”,
“LOG_DIR_PATH”: “/home/tm/uarm/studio/log”,
“DRIVER_DIR_PATH”: “/tmp/.mount_uArmStmHm8MW/app/resources/studio/driver”,
“CURA_DIR_PATH”: “~/CuraForuArm”,
“CACHE_DIR_PATH”: “/var/local/uarmStudio”,
“API_HOST_URL”: “ht tp://studio.avosapps.us/”
},
“UArm”: {
“portName”: null,
“firmwareVersion”: null,
“hardwareVersion”: null,
“productName”: null,
“productType”: null,
“portSerialNumber”: null,
“currentX”: null,
“currentY”: null,
“currentZ”: null,
“currentR”: null
},
“Problems”: {
“coreExisted”: true,
“coreRunning”: true,
“coreConnected”: true,
“uarmConnected”: false,
“driverInstalled”: true,
“uarmPortConnected”: true,
“other”: “”
},
“ports”: [
“/dev/ttyACM0”
]
}

Output of linux command ‘sudo lsusb’:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 003: ID 09da:9090 A4Tech Co., Ltd. XL-730K / XL-750BK / XL-755BK Mice
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Cleaning cache in uArmStudio → Settings → Troubleshooting doesn’t help.

Again, like before, when I restart computer and run Windows 10 then everything works fine.

I have changed firmware version back to 3.2.0 - doesn’t help :frowning:

I have installed fresh Ubuntu 16.04 LTS - still doesn’t work, situation still the same :frowning:

I have tried to plug uArm to different USB ports, tried to turn off/on uArm, close/open uArm Studio - still nothing helped.

OK, I have solved the problem.

Quick solution:

Add user to “dialout” group by executing command in terminal:

sudo gpasswd --add USERNAME dialout

in my case command looks like: sudo gpasswd --add tm dialout

The changes takes affect after LOGGING OUT and logging in again.

Solution with explanation:

The tty devices in Linux belong to the “dialout” group and user created during system installation is not a member of this group by default. You can check if user belongs to “dialout” group by using command in terminal:

groups USERNAME

if user is not member of this group you can add him by executing command:

sudo gpasswd --add USERNAME dialout

After adding user you can check if user belongs to the group “dialout” by executing again command:

groups USERNAME

If you see changes, then everything should work fine. Just logout and login again. Now uArm Studio should connect with uArm with no problem.

Tested on fresh installation on hard disk:

  • Ubuntu 16.04 LTS (full installation)
  • Linux Mint 19.1 Cinnamon.
    During installation option ‘install 3rd party software’: checked.
1 Like

Thank you for this answer Tomos! I am running Ubuntu 18.04 LTS and encountered the same problem. Adding my username to the dialout group also fixed it. This should be in the documentation!

Thanks for your feedback, we will post an update.