# modified version of persistent-input rules. a few hacks to link sony input keys on laptops to single name. ACTION!="add|change", GOTO="sony_input_end" SUBSYSTEM!="input", GOTO="sony_input_end" KERNEL=="input[0-9]*", GOTO="sony_input_end" ATTRS{name}=="Sony Vaio Keys", ENV{ID_CLASS}="kbd" ATTRS{name}=="Sony Vaio Jogdial", ENV{ID_CLASS}="mouse" # i want only sony-laptop mapped like this. sonypi is obsolete, but is handled # well by path_id and does not need this hack KERNELS=="SNY[56]001*", ENV{ID_SERIAL}="sony_laptop" KERNELS=="SNY[56]001*", ENV{ID_BUS}="acpi" LABEL="sony_input_end"