* NAME= silently fails
@ 2007-11-05 13:45 Yan Seiner
0 siblings, 0 replies; only message in thread
From: Yan Seiner @ 2007-11-05 13:45 UTC (permalink / raw)
To: linux-hotplug
I've been pulling my hair out over this seemingly simple issue.
I have a multi-head setup. With debian Etch, I used very simple udev
rules that assigned mice and keyboards to specific workstations.
I've upgraded to debian Lenny, and NAME= silently fails.
Old rule:
|SYSFS{phys}="usb-0000:00:10.0-1/input0", NAME="input/mouse10",
SYMLINK+="input/by-user/MouseJason", OPTIONS+="last_rule"|
SYSFS has apparently been deprecated in favor of ATTRS, so I rewrote the
rule:
ATTRS{phys}="usb-0000:00:02.0-1/input1", NAME="input/event10",
SYMLINK+="input/by-user/KbdYan", OPTIONS+="last_rule"
However the rule is silently ignored.
I've tried various combinations and as soon as I include NAME= then the
rule gets ignored.
If I just use a rule of the form
KERNEL="mouse*|js*", ENV{ID_PATH}="pci-0000:00:02.0-usb-0:2:1.0", \
SYMLINK+="input/by-user/KYanMouse"
it works fine, but if I modify it to include
KERNEL="event*", ENV{ID_PATH}="pci-0000:00:02.0-usb-0:1:1.0", \
SYMLINK+="input/by-user/YanKbd", \
NAME+="input/YanKbd"
then it fails.
Can someone please clue me in? xorg's evdev driver will not accept
symlinks, and I can't get my dual head workstations going....
Thanks,
--Yan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-05 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 13:45 NAME= silently fails Yan Seiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).