How to access a device with Arduino IDE FlatpakHow to install latest Arduino IDE?How to install the latest Arduino IDE?Arduino IDE not connecting to microcontrollerArduino IDE Crashes When Attempting to Save SketchProblem after installing Arduino IDE 1.8.0ESP8266 Arduino IDE AddonHow to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?

How is the speed of nucleons in the nucleus measured?

How to print variable value in next line using echo command

SHA3-255, one bit less

The answer is the same (tricky puzzle!)

The work of mathematicians outside their professional environment

Did the Soviet army intentionally send troops (e.g. penal battalions) running over minefields?

How to explain that the sums of numerators over sums of denominators isn't the same as the mean of ratios?

Coffee Grounds and Gritty Butter Cream Icing

As a girl, how can I voice male characters effectively?

Was there behind the scene reason for the changes in season three?

Does SQL Server's serializable isolation level lock entire table

Advices to added homemade symbols

What makes a character irredeemable?

Why do personal finance apps focus on outgoings rather than income

Does the DOJ's declining to investigate the Trump-Zelensky call ruin the basis for impeachment?

As an interviewer, how to conduct interviews with candidates you already know will be rejected?

how would i use rm to delete all files without certain wildcard?

Can we calculate the orbit of exoplanets?

Was Smaug sealed inside the Lonely Mountain?

Using 4K Skyrim Textures when running 1920 x 1080 display resolution?

Are starfighters a realistic evolution of space naval warfare?

Can I return my ability to cast Wish by using the Glyph of Warding spell?

Is American Sign Language phonetic?

Recursive code to generate a parametric sweep of input values



How to access a device with Arduino IDE Flatpak


How to install latest Arduino IDE?How to install the latest Arduino IDE?Arduino IDE not connecting to microcontrollerArduino IDE Crashes When Attempting to Save SketchProblem after installing Arduino IDE 1.8.0ESP8266 Arduino IDE AddonHow to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2















I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04).



Attached my Wemos D1 Mini to the USB port, but can't upload a sketch:



An error occurred while uploading the sketch
error: cannot access /dev/ttyUSB0


Seems a bit silly that an IDE for a device in Flatpak can't access a device out of the box.



How do I fix that?




This question is about Flatpak.



What additional action is necessary to get the Flatpak version of Arduino IDE working with a device?



(IMHO Flatpak needs to provide additional info/help in some way,
installing with Ubuntu Make umake seems easier.)











share|improve this question


























  • what does ls -l /dev/ttyUSB0 tell us? you might need to be in the dialout group

    – Joshua Besneatte
    Sep 16 '18 at 16:50






  • 2





    Possible duplicate of How to install latest Arduino IDE? (you need to execute sudo usermod -a -G dialout $USER).

    – N0rbert
    Sep 16 '18 at 17:06












  • @Joshua. I'm already a member of the dialout group members dialout shows my username.

    – Janghou
    Sep 16 '18 at 18:31











  • Thx. I got it working by installing the IDE with Ubuntu Make umake ide arduino and logout/login.

    – Janghou
    Sep 16 '18 at 18:39

















2















I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04).



Attached my Wemos D1 Mini to the USB port, but can't upload a sketch:



An error occurred while uploading the sketch
error: cannot access /dev/ttyUSB0


Seems a bit silly that an IDE for a device in Flatpak can't access a device out of the box.



How do I fix that?




This question is about Flatpak.



What additional action is necessary to get the Flatpak version of Arduino IDE working with a device?



(IMHO Flatpak needs to provide additional info/help in some way,
installing with Ubuntu Make umake seems easier.)











share|improve this question


























  • what does ls -l /dev/ttyUSB0 tell us? you might need to be in the dialout group

    – Joshua Besneatte
    Sep 16 '18 at 16:50






  • 2





    Possible duplicate of How to install latest Arduino IDE? (you need to execute sudo usermod -a -G dialout $USER).

    – N0rbert
    Sep 16 '18 at 17:06












  • @Joshua. I'm already a member of the dialout group members dialout shows my username.

    – Janghou
    Sep 16 '18 at 18:31











  • Thx. I got it working by installing the IDE with Ubuntu Make umake ide arduino and logout/login.

    – Janghou
    Sep 16 '18 at 18:39













2












2








2


1






I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04).



Attached my Wemos D1 Mini to the USB port, but can't upload a sketch:



An error occurred while uploading the sketch
error: cannot access /dev/ttyUSB0


Seems a bit silly that an IDE for a device in Flatpak can't access a device out of the box.



How do I fix that?




This question is about Flatpak.



What additional action is necessary to get the Flatpak version of Arduino IDE working with a device?



(IMHO Flatpak needs to provide additional info/help in some way,
installing with Ubuntu Make umake seems easier.)











share|improve this question
















I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04).



Attached my Wemos D1 Mini to the USB port, but can't upload a sketch:



An error occurred while uploading the sketch
error: cannot access /dev/ttyUSB0


Seems a bit silly that an IDE for a device in Flatpak can't access a device out of the box.



How do I fix that?




This question is about Flatpak.



What additional action is necessary to get the Flatpak version of Arduino IDE working with a device?



(IMHO Flatpak needs to provide additional info/help in some way,
installing with Ubuntu Make umake seems easier.)








18.04 ide arduino flatpak






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 17 '18 at 9:15







Janghou

















asked Sep 16 '18 at 15:59









JanghouJanghou

2,7613 gold badges27 silver badges41 bronze badges




2,7613 gold badges27 silver badges41 bronze badges















  • what does ls -l /dev/ttyUSB0 tell us? you might need to be in the dialout group

    – Joshua Besneatte
    Sep 16 '18 at 16:50






  • 2





    Possible duplicate of How to install latest Arduino IDE? (you need to execute sudo usermod -a -G dialout $USER).

    – N0rbert
    Sep 16 '18 at 17:06












  • @Joshua. I'm already a member of the dialout group members dialout shows my username.

    – Janghou
    Sep 16 '18 at 18:31











  • Thx. I got it working by installing the IDE with Ubuntu Make umake ide arduino and logout/login.

    – Janghou
    Sep 16 '18 at 18:39

















  • what does ls -l /dev/ttyUSB0 tell us? you might need to be in the dialout group

    – Joshua Besneatte
    Sep 16 '18 at 16:50






  • 2





    Possible duplicate of How to install latest Arduino IDE? (you need to execute sudo usermod -a -G dialout $USER).

    – N0rbert
    Sep 16 '18 at 17:06












  • @Joshua. I'm already a member of the dialout group members dialout shows my username.

    – Janghou
    Sep 16 '18 at 18:31











  • Thx. I got it working by installing the IDE with Ubuntu Make umake ide arduino and logout/login.

    – Janghou
    Sep 16 '18 at 18:39
















what does ls -l /dev/ttyUSB0 tell us? you might need to be in the dialout group

– Joshua Besneatte
Sep 16 '18 at 16:50





what does ls -l /dev/ttyUSB0 tell us? you might need to be in the dialout group

– Joshua Besneatte
Sep 16 '18 at 16:50




2




2





Possible duplicate of How to install latest Arduino IDE? (you need to execute sudo usermod -a -G dialout $USER).

– N0rbert
Sep 16 '18 at 17:06






Possible duplicate of How to install latest Arduino IDE? (you need to execute sudo usermod -a -G dialout $USER).

– N0rbert
Sep 16 '18 at 17:06














@Joshua. I'm already a member of the dialout group members dialout shows my username.

– Janghou
Sep 16 '18 at 18:31





@Joshua. I'm already a member of the dialout group members dialout shows my username.

– Janghou
Sep 16 '18 at 18:31













Thx. I got it working by installing the IDE with Ubuntu Make umake ide arduino and logout/login.

– Janghou
Sep 16 '18 at 18:39





Thx. I got it working by installing the IDE with Ubuntu Make umake ide arduino and logout/login.

– Janghou
Sep 16 '18 at 18:39










1 Answer
1






active

oldest

votes


















-1
















The problem is that the app starts with flatpak and that by default blocks devices. See https://stackoverflow.com/questions/41252334/accessing-serial-ports-with-an-application-runs-in-flatpak
by adding --device=all you get it work, but see comments on link.





Most likely that's because Flatpak is blocking access to the serial
device.



Unfortunately at the moment I don't think there is a way to give
access specifically to the serial devices, so you'd need to give
access to all:



flatpak run --device=all com.xamarin.MonoDevelop


What this does is essentially mount the host's /dev inside the
sandbox, so the app has full access to it.







share|improve this answer




























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1075783%2fhow-to-access-a-device-with-arduino-ide-flatpak%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    -1
















    The problem is that the app starts with flatpak and that by default blocks devices. See https://stackoverflow.com/questions/41252334/accessing-serial-ports-with-an-application-runs-in-flatpak
    by adding --device=all you get it work, but see comments on link.





    Most likely that's because Flatpak is blocking access to the serial
    device.



    Unfortunately at the moment I don't think there is a way to give
    access specifically to the serial devices, so you'd need to give
    access to all:



    flatpak run --device=all com.xamarin.MonoDevelop


    What this does is essentially mount the host's /dev inside the
    sandbox, so the app has full access to it.







    share|improve this answer































      -1
















      The problem is that the app starts with flatpak and that by default blocks devices. See https://stackoverflow.com/questions/41252334/accessing-serial-ports-with-an-application-runs-in-flatpak
      by adding --device=all you get it work, but see comments on link.





      Most likely that's because Flatpak is blocking access to the serial
      device.



      Unfortunately at the moment I don't think there is a way to give
      access specifically to the serial devices, so you'd need to give
      access to all:



      flatpak run --device=all com.xamarin.MonoDevelop


      What this does is essentially mount the host's /dev inside the
      sandbox, so the app has full access to it.







      share|improve this answer





























        -1














        -1










        -1









        The problem is that the app starts with flatpak and that by default blocks devices. See https://stackoverflow.com/questions/41252334/accessing-serial-ports-with-an-application-runs-in-flatpak
        by adding --device=all you get it work, but see comments on link.





        Most likely that's because Flatpak is blocking access to the serial
        device.



        Unfortunately at the moment I don't think there is a way to give
        access specifically to the serial devices, so you'd need to give
        access to all:



        flatpak run --device=all com.xamarin.MonoDevelop


        What this does is essentially mount the host's /dev inside the
        sandbox, so the app has full access to it.







        share|improve this answer















        The problem is that the app starts with flatpak and that by default blocks devices. See https://stackoverflow.com/questions/41252334/accessing-serial-ports-with-an-application-runs-in-flatpak
        by adding --device=all you get it work, but see comments on link.





        Most likely that's because Flatpak is blocking access to the serial
        device.



        Unfortunately at the moment I don't think there is a way to give
        access specifically to the serial devices, so you'd need to give
        access to all:



        flatpak run --device=all com.xamarin.MonoDevelop


        What this does is essentially mount the host's /dev inside the
        sandbox, so the app has full access to it.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 17 at 8:30









        karel

        68.4k15 gold badges154 silver badges173 bronze badges




        68.4k15 gold badges154 silver badges173 bronze badges










        answered Apr 16 at 18:56









        Michael BoellingMichael Boelling

        1




        1































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1075783%2fhow-to-access-a-device-with-arduino-ide-flatpak%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü