Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Failed to connect (Error: Port is not open)

    Scheduled Pinned Locked Moved GPy
    4 Posts 3 Posters 439 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      Nebr
      last edited by

      Re: Stuck at "Failed to connect (Error: Port is not open)" between Atom and GPy/Pysense on Fedora computer

      I have the same problem as the referenced thread.
      Ubuntu 18.04.3 LTS
      Atom v1.38.2
      pymakr v1.4.14

      I also can get the above combination of Atom and pymakr versions to work on a Windows machine, but I need to get it working in Linux.

      Any help would be appreciated.

      N O robert-hhR 3 Replies Last reply Reply Quote 0
      • N Offline
        Nebr @Nebr
        last edited by

        @Nebr Update:

        Every thing seems to be working at this point.

        Under the pymakr Settings>Global settings if you page down to the bottom there is a "Cannot connect to Pycom device on Linux" section (shame on me for not finding this sooner). Running the command sudo usermod -a -G dialout $USER as directed seems to have solved the issue.

        1 Reply Last reply Reply Quote 0
        • O Offline
          oligauc @Nebr
          last edited by oligauc

          @Nebr That is a permission issues on your port. To verify you can try sudo chmod 777 /dev/ttyACM0 and then try to connect

          1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @Nebr
            last edited by

            @Nebr You could try to add yourself to the dialout group:

            sudo adduser <your name> dialout

            And then logout/login, or to be safe, reboot.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom