Setting udev rules in Linux Mint 13
- by user1233963
What I'm trying to do is set up a udev rule for my HP headphones (usb) with the aid of several tutorials out there.
Created a file ( 90-local.rules ) in /etc/udev/rules.d and added the following:
ACTION="add",SUBSYSTEM="usb", ATTR{vendor}=="Hewlett-Packard", RUN+="sh /home/alex/Scripts/usb.sh"
The problem is nothing happens when I connect the headphones! What am I doing wrong?
note: I did restart udev and the script works also, so it's not that