[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev and some usb mouses.



Egor Tur wrote:

[...]

I try for example in /etc/udev/local.rules (symlink from /etc/udev/rules.d/@z10_local.rules):
BUS=="input", SYSFS{phys}=="usb-0000:00:1d.0-2/input0", SYSFS{name}=="Genius NetScroll + Traveler", KERNEL=="mouse?", NAME="input/%k", MODE="0660", SYMLINK+="input/mouse_head0"
BUS=="input", SYSFS{phys}=="usb-0000:00:1d.1-1/input0", SYSFS{name}=="Genius NetScroll + Traveler", > > KERNEL=="mouse?", NAME="input/%k", MODE="0660", SYMLINK+="input/mouse_head1"
But nothing created in /dev/input/mouse_headX.


Just to make sure: Did you run "udevsynthesize" after you added the
rules?


I do `udevsynthesize', but this not help me. Symlynk not created.

OK, then I would try the following:

1) Simplify your rules, using fewer keys, for example only
KERNEL=="mouse?", SYSFS{phys}=="usb-0000:00:1d.0-2/input0", SYMLINK+="input/mouse_head0"

2) Change your symlink in /etc/udev/rules.d from "@z10_local.rules" to
"10_local.rules".

3) Run udevsynthesize again; if it still fails use "udevtest" to see in
what order the rules are processed for your mice.

Regards,
           Florian



Reply to: