news    views    podcast    learn    |    about    contribute     republish    

Udev

If you have several devices that are all using USB, it can be difficult to know which one is which. The traditional answer to telling your various USB devices apart is to use udev rules, but there are alternatives for times when udev isn’t working as expected.

by   -   January 21, 2015

udev_blog

By Paul Bovbel

Udev is a device manager for Linux that dynamically creates and removes nodes for hardware devices. In short, it helps your computer find your robot easily. By default, hardware devices attached to your Linux (Ubuntu) PC will belong to the root user. This means that any programs (e.g. ROS nodes) running as an unpriveleged (i.e. not root) user will not be able to access them. On top of that, devices will receive names such as ttyACMx and ttyUSBx arbitrarily based on the order in which they were plugged in. Luckily, you can solve this, and more, with udev rules.



Empowering Farmers Through Root AI
October 19, 2020


Are you planning to crowdfund your robot startup?

Need help spreading the word?

Join the Robohub crowdfunding page and increase the visibility of your campaign