Skip to main content

Timeline for Udev Rule Isn't Used

Current License: CC BY-SA 3.0

16 events
when toggle format what by license comment
Sep 6, 2013 at 18:33 vote accept Luke Plewa
Sep 6, 2013 at 18:13 answer added Luke Plewa timeline score: 0
Sep 6, 2013 at 16:37 history edited Luke Plewa CC BY-SA 3.0
added 277 characters in body
Sep 5, 2013 at 23:29 history edited Luke Plewa CC BY-SA 3.0
[Edit removed during grace period]
Sep 5, 2013 at 23:20 history edited Luke Plewa CC BY-SA 3.0
added 726 characters in body
Sep 4, 2013 at 22:58 comment added Luke Plewa @terdon ACTION=="add", SUBSYSTEM=="net", ATTRS{idVendor}=="10a9", RUN+="echo foo > /tmp/foo" doesn't run.
Sep 4, 2013 at 21:54 comment added Luke Plewa Ah, I didn't know you could have too few arguments.
Sep 4, 2013 at 19:53 comment added terdon Your second rule has no specific device. Try adding ATTRS{idVendor}=="10a9" to your rule and just give echo foo > /tmp/foo or something as the command to run.
Sep 4, 2013 at 19:32 comment added Luke Plewa @terdon ls Doesn't run either.
Sep 4, 2013 at 19:27 comment added Luke Plewa @terdon When I pwd I get /home/root.
Sep 4, 2013 at 19:26 comment added user13742 Possible answer here: udev-rule-is-not-being-used.
Sep 4, 2013 at 19:15 comment added goldilocks "Version 1 uses environment variables which I'm not sure whether or not the rule has access to." -- I believe that is correct, you don't get any ENV stuff for "add" events. Your echo's are not going to show up anywhere, but you can use the logger command to pipe stuff to syslog.
Sep 4, 2013 at 18:53 history edited jasonwryan CC BY-SA 3.0
Typo in title
Sep 4, 2013 at 18:43 review First posts
Sep 4, 2013 at 18:53
Sep 4, 2013 at 18:42 comment added terdon Does it run if you use something even simpler like ls? Also, do you actually have a /home/root directory? Root's $HOME is usually /root.
Sep 4, 2013 at 18:25 history asked Luke Plewa CC BY-SA 3.0