Setting udev rules in Linux Mint 13

Posted by user1233963 on Super User See other posts from Super User or by user1233963
Published on 2012-09-02T20:45:11Z Indexed on 2012/09/02 21:40 UTC
Read the original article Hit count: 205

Filed under:
|

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

© Super User or respective owner

Related posts about linux-mint

Related posts about udev