Skip to contentSkip to conversation

NAME= silently fails

DISCUSSION Yan Seiner 1 participant 1 message Nov 5, 2007

lore
Share & tools
lore

Yan Seiner

author
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel