udev symlink doesn't point to /dev file The 2019 Stack Overflow Developer Survey Results Are InProblem with executing udev rules for olimex's avr-usb-jtagCan not get udev to execute cutom rulesSYMLINK in udev ruleCreate a symlink in /dev using /etc/udev/ruleshow to make usb printer work on ubuntu 16.04?Wifi extremely slow on ubuntu 16.04, tried almost everything and still not working properlyUdev create symlink without defalut mounting pointhow to check udev rules for 18.04 and android deviceQemu libusb always fails with “Operation not permitted”USB-Serial adaptor doesn't create /dev/ttyUSB path to address device

Geography at the pixel level

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

What do I do when my TA workload is more than expected?

How to translate "being like"?

Correct punctuation for showing a character's confusion

Likelihood that a superbug or lethal virus could come from a landfill

What is preventing me from simply constructing a hash that's lower than the current target?

Pokemon Turn Based battle (Python)

How to obtain a position of last non-zero element

Why “相同意思的词” is called “同义词” instead of "同意词"?

A female thief is not sold to make restitution -- so what happens instead?

If my opponent casts Ultimate Price on my Phantasmal Bear, can I save it by casting Snap or Curfew?

How much of the clove should I use when using big garlic heads?

How to charge AirPods to keep battery healthy?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Deal with toxic manager when you can't quit

Is it safe to harvest rainwater that fell on solar panels?

Falsification in Math vs Science

I am an eight letter word. What am I?

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

writing variables above the numbers in tikz picture

Ubuntu Server install with full GUI

Dropping list elements from nested list after evaluation



udev symlink doesn't point to /dev file



The 2019 Stack Overflow Developer Survey Results Are InProblem with executing udev rules for olimex's avr-usb-jtagCan not get udev to execute cutom rulesSYMLINK in udev ruleCreate a symlink in /dev using /etc/udev/ruleshow to make usb printer work on ubuntu 16.04?Wifi extremely slow on ubuntu 16.04, tried almost everything and still not working properlyUdev create symlink without defalut mounting pointhow to check udev rules for 18.04 and android deviceQemu libusb always fails with “Operation not permitted”USB-Serial adaptor doesn't create /dev/ttyUSB path to address device



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








0















I am trying to create a udev rule to make a symlink to a usb modem when I plug it in. I expected the link to point to /dev/ttyACM0, however when running ls -l I get the output:



lrwxrwxrwx 1 root root 15 Feb 11 11:28 cellmodem0 -> bus/usb/001/007


Here is the rule I have made:



SUBSYSTEM=="usb", ATTRSidVendor=="1bc7", ATTRSidProduct=="0021", SYMLINK="cellmodem0", MODE="0666"


How do I make this point directly to ttyACM0?










share|improve this question




























    0















    I am trying to create a udev rule to make a symlink to a usb modem when I plug it in. I expected the link to point to /dev/ttyACM0, however when running ls -l I get the output:



    lrwxrwxrwx 1 root root 15 Feb 11 11:28 cellmodem0 -> bus/usb/001/007


    Here is the rule I have made:



    SUBSYSTEM=="usb", ATTRSidVendor=="1bc7", ATTRSidProduct=="0021", SYMLINK="cellmodem0", MODE="0666"


    How do I make this point directly to ttyACM0?










    share|improve this question
























      0












      0








      0








      I am trying to create a udev rule to make a symlink to a usb modem when I plug it in. I expected the link to point to /dev/ttyACM0, however when running ls -l I get the output:



      lrwxrwxrwx 1 root root 15 Feb 11 11:28 cellmodem0 -> bus/usb/001/007


      Here is the rule I have made:



      SUBSYSTEM=="usb", ATTRSidVendor=="1bc7", ATTRSidProduct=="0021", SYMLINK="cellmodem0", MODE="0666"


      How do I make this point directly to ttyACM0?










      share|improve this question














      I am trying to create a udev rule to make a symlink to a usb modem when I plug it in. I expected the link to point to /dev/ttyACM0, however when running ls -l I get the output:



      lrwxrwxrwx 1 root root 15 Feb 11 11:28 cellmodem0 -> bus/usb/001/007


      Here is the rule I have made:



      SUBSYSTEM=="usb", ATTRSidVendor=="1bc7", ATTRSidProduct=="0021", SYMLINK="cellmodem0", MODE="0666"


      How do I make this point directly to ttyACM0?







      16.04 tty udev symbolic-link modem






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      AustinAustin

      12




      12




















          1 Answer
          1






          active

          oldest

          votes


















          0














          I fixed it, SUBSYSTEM should equal "tty". This way it will map it to the tty file.



          However, it is pointing to ttyACM3 instead of ACM0 because this devices makes multiple tty nodes, I will ask this question and link that answer here when it is answered.






          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/3.0/"u003ecc by-sa 3.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%2f1132466%2fudev-symlink-doesnt-point-to-dev-file%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









            0














            I fixed it, SUBSYSTEM should equal "tty". This way it will map it to the tty file.



            However, it is pointing to ttyACM3 instead of ACM0 because this devices makes multiple tty nodes, I will ask this question and link that answer here when it is answered.






            share|improve this answer



























              0














              I fixed it, SUBSYSTEM should equal "tty". This way it will map it to the tty file.



              However, it is pointing to ttyACM3 instead of ACM0 because this devices makes multiple tty nodes, I will ask this question and link that answer here when it is answered.






              share|improve this answer

























                0












                0








                0







                I fixed it, SUBSYSTEM should equal "tty". This way it will map it to the tty file.



                However, it is pointing to ttyACM3 instead of ACM0 because this devices makes multiple tty nodes, I will ask this question and link that answer here when it is answered.






                share|improve this answer













                I fixed it, SUBSYSTEM should equal "tty". This way it will map it to the tty file.



                However, it is pointing to ttyACM3 instead of ACM0 because this devices makes multiple tty nodes, I will ask this question and link that answer here when it is answered.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                AustinAustin

                12




                12



























                    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%2f1132466%2fudev-symlink-doesnt-point-to-dev-file%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?