You are not logged in.
Hi,
I'm trying to write some udev rules to create symlinks to the keyboard, lid switch, touchpad and nub on my HP Compaq NC8000 laptop. These are the rules I have:
SUBSYSTEMS=="input", ATTRS{name}=="AT Translated Set 2 keyboard", SYMLINK+="input/keyboard", MODE:="660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{name}=="Lid Switch", SYMLINK+="input/lid-switch", MODE:="660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{phys}=="isa0060/serio4/input0", SYMLINK+="input/touchpad", MODE:="660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{phys}=="synaptics-pt/serio0/input0", SYMLINK+="input/nub", MODE:="660", GROUP="input"The keyboard and lid switch work fine, but the touchpad and nub links point to mouse0 and mouse1 respectively. I need them to point to event6 and event7. Is this possible?
I've tried specifically stating all the symlinks as follows:
SUBSYSTEMS=="input", ATTRS{phys}=="isa0060/serio4/input0", SYMLINK+="input/touchpad input/mouse0", MODE:="660", GROUP="input"but this doesn't work either. I've also tried to match different criteria, for example:
ATTRS{phys}=="isa0060/serio4/input0"and
ATTRS{name}=="SynPS/2 Synaptics TouchPad"but this also doesn't work.
any ideas?
thanks
James
Offline