Setting an Identifier to USB ports rather than USB devicesUsing ubuntu one with usb modem rather than...

Is it necessary to use pronouns with the verb "essere"?

Is it allowed to activate the ability of multiple planeswalkers in a single turn?

"It doesn't matter" or "it won't matter"?

Were Persian-Median kings illiterate?

Change the color of a single dot in `ddot` symbol

Can you use Vicious Mockery to win an argument or gain favours?

The IT department bottlenecks progress, how should I handle this?

Is there a way to have vectors outlined in a Vector Plot?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Mimic lecturing on blackboard, facing audience

What kind of floor tile is this?

Can I say "fingers" when referring to toes?

How do I tell my boss that I'm quitting soon, especially given that a colleague just left this week

How much of a Devil Fruit must be consumed to gain the power?

How to get directions in deep space?

Multiplicative persistence

How can ping know if my host is down

Why is the Sun approximated as a black body at ~ 5800 K?

What is the difference between lands and mana?

When were female captains banned from Starfleet?

How to preserve electronics (computers, iPads and phones) for hundreds of years

A variation to the phrase "hanging over my shoulders"

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Strong empirical falsification of quantum mechanics based on vacuum energy density?



Setting an Identifier to USB ports rather than USB devices


Using ubuntu one with usb modem rather than routerUSB Ports not Recognizing Devices?USB video capture device worked in 13.10, not working 14.04Trouble with devices and USB portsDistinguishing between two similar usb devicesDevices not working with rear USB portsUSB ports malfunction since Lubuntu 16:04 updateUbuntu wants to install on USB rather than hard driveSetting power/control with udevwriting udev rule for USB device













0















I would like to create dev rules based on USB ports rather than USB devices.



I have two identical cameras where udevadm info --attribute-walk on both devices shows no differences. My use case would be akin to having one camera to be the left eye of a robot and the other the right eye. I need the feeds to be processed separately. Since I can't bind with information from udevadm as identifiers for my udev rules, I thought it might be possible to map it to a USB port from /sys/bus/usb and always have the cameras plugged in to that port.



I am currently having trouble knowing what information to extract out and the format to add into the camera.rules file.



Suggestions to other methods of solving the problem are more than welcome.









share







New contributor




Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I would like to create dev rules based on USB ports rather than USB devices.



    I have two identical cameras where udevadm info --attribute-walk on both devices shows no differences. My use case would be akin to having one camera to be the left eye of a robot and the other the right eye. I need the feeds to be processed separately. Since I can't bind with information from udevadm as identifiers for my udev rules, I thought it might be possible to map it to a USB port from /sys/bus/usb and always have the cameras plugged in to that port.



    I am currently having trouble knowing what information to extract out and the format to add into the camera.rules file.



    Suggestions to other methods of solving the problem are more than welcome.









    share







    New contributor




    Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I would like to create dev rules based on USB ports rather than USB devices.



      I have two identical cameras where udevadm info --attribute-walk on both devices shows no differences. My use case would be akin to having one camera to be the left eye of a robot and the other the right eye. I need the feeds to be processed separately. Since I can't bind with information from udevadm as identifiers for my udev rules, I thought it might be possible to map it to a USB port from /sys/bus/usb and always have the cameras plugged in to that port.



      I am currently having trouble knowing what information to extract out and the format to add into the camera.rules file.



      Suggestions to other methods of solving the problem are more than welcome.









      share







      New contributor




      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I would like to create dev rules based on USB ports rather than USB devices.



      I have two identical cameras where udevadm info --attribute-walk on both devices shows no differences. My use case would be akin to having one camera to be the left eye of a robot and the other the right eye. I need the feeds to be processed separately. Since I can't bind with information from udevadm as identifiers for my udev rules, I thought it might be possible to map it to a USB port from /sys/bus/usb and always have the cameras plugged in to that port.



      I am currently having trouble knowing what information to extract out and the format to add into the camera.rules file.



      Suggestions to other methods of solving the problem are more than welcome.







      16.04 usb systemd udev





      share







      New contributor




      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 mins ago









      Ryan Ryan

      1




      1




      New contributor




      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          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
          });


          }
          });






          Ryan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127718%2fsetting-an-identifier-to-usb-ports-rather-than-usb-devices%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Ryan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Ryan is a new contributor. Be nice, and check out our Code of Conduct.













          Ryan is a new contributor. Be nice, and check out our Code of Conduct.












          Ryan is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1127718%2fsetting-an-identifier-to-usb-ports-rather-than-usb-devices%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...