Tag Info

New answers tagged

0

Have you tried reloading udev? It should recognise new rules automatically, but maybe it didn't... sudo udevadm control --reload-rules ; sudo udevadm trigger


1

Remove the line sudo su. It starts a new root shell that never returns and that is why any command after that is not being executed. On top of that granting yourself a permission to do sudo su without password is a serious security risk and should not be done in a real world environment.


0

You can use inequality for exceptions: ACTION=="add", DRIVERS=="usb-storage", ATTRS{idVendor}!="054c", RUN+="/bin/sh -c 'echo 0 >/sys%p/authorized'"


0

%k (variables) are not to be used in matching condition. Use directly same add condition (you have chosen a long path): ATTRS{manufacturer}=="Zebra Technologies", ACTION=="remove", RUN+="/usr/local/bin/reinitZebra.sh"


11

It seems to work for me in Ubuntu 14.04 with 2 flash keys & android phone as storage and usb network adapter & webcam as other type. (I couldn't test placing a usb hub) Check USB port (which is a parent device for the plugged device) $ udevadm info --name=/dev/sdc --attribute-walk looking at parent device ...


0

This problem has been solved in the latest update for udev in trusty, so just run the Software Updater or open a Terminal and enter sudo apt-get update sudo apt-get upgrade


0

Keyboards use event device files. You can find them in /dev/input/event*. To find the exact path you can egrep -i "keyboard.+\/dev" /var/log/Xorg.0.log


1

This worked for me (without rebooting) udevadm control --reload-rules ; udevadm trigger Kudos to the author of this page: http://memoryfail.wordpress.com/2013/04/02/renaming-network-device-names/


0

this results in about 100 popups over course of 15 minutes. i am also looking for a solution. Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty



Top 50 recent answers are included