how to restart udev

hey folks,

if you need to refresh your /etc/udev/rules.d/config.rule and for example add some embedded devices, take your editor and do so:

#EnergyMicro J-Link Device
SUBSYSTEM=="usb", ATTRS{idVendor}=="1366", ATTRS{idProduct}=="0101", GROUP="users", MODE="0666"

if you don’t want to restart your service or reboot your machine to enable your changes, here is a really handy command:

udevadm control --reload

happy coding and developing!

http://www.freedesktop.org/software/systemd/man/udevadm.html

Leave a Reply

Your email address will not be published. Required fields are marked *