KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Receiver", SYSFS{../phys}=="usb-0000:00:0b.0-5/input0", NAME="input/event9" Most of the stuff below is useless. I: Bus=0019 Vendor=0000 Product=0002 Version=0000 N: Name="Power Button (FF)" P: Phys=ACPI_FPB/button/input0 S: Sysfs=/class/input/input0 H: Handlers=kbd event0 B: EV=3 B: KEY=100000 0 0 0 I: Bus=0019 Vendor=0000 Product=0001 Version=0000 N: Name="Power Button (CM)" P: Phys=PNP0C0C/button/input0 S: Sysfs=/class/input/input1 H: Handlers=kbd event1 B: EV=3 B: KEY=100000 0 0 0 I: Bus=0003 Vendor=050d Product=0815 Version=0110 N: Name="Honey Bee Nostromo SpeedPad2 " P: Phys=usb-0000:00:0b.0-2/input0 S: Sysfs=/class/input/input2 H: Handlers=kbd event2 B: EV=100003 B: KEY=e080ffdf 1cfffff ffffffff fffffffe I: Bus=0003 Vendor=050d Product=0815 Version=0110 N: Name="Honey Bee Nostromo SpeedPad2 " P: Phys=usb-0000:00:0b.0-2/input1 S: Sysfs=/class/input/input3 H: Handlers=mouse0 event3 ts0 B: EV=20007 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=103 B: LED=7 I: Bus=0003 Vendor=046d Product=c51a Version=0111 N: Name="Logitech USB Receiver" P: Phys=usb-0000:00:0b.0-5/input0 S: Sysfs=/class/input/input4 H: Handlers=mouse1 event4 ts1 B: EV=7 B: KEY=ffff0000 0 0 0 0 0 0 0 0 B: REL=143 I: Bus=0003 Vendor=046d Product=c51a Version=0111 N: Name="Logitech USB Receiver" P: Phys=usb-0000:00:0b.0-5/input1 S: Sysfs=/class/input/input5 H: Handlers=kbd event5 B: EV=f B: KEY=7fff 2c3027 bf004440 0 0 1 f80 8807c000 667bfa d9415fed 8e0000 0 0 0 B: REL=40 B: ABS=1 0 I: Bus=0003 Vendor=046d Product=c221 Version=0110 N: Name="Logitech Logitech Gaming Keyboard" P: Phys=usb-0000:00:0b.0-3.1/input0 S: Sysfs=/class/input/input6 H: Handlers=kbd event6 B: EV=120003 B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe B: LED=1f I: Bus=0003 Vendor=046d Product=c221 Version=0110 N: Name="Logitech Logitech Gaming Keyboard" P: Phys=usb-0000:00:0b.0-3.1/input1 S: Sysfs=/class/input/input7 H: Handlers=kbd event7 B: EV=3 B: KEY=78 0 e0000 0 0 0 I: Bus=0003 Vendor=046d Product=c222 Version=0111 N: Name="G15 Keyboard G15 Keyboard" P: Phys=usb-0000:00:0b.0-3.4/input0 S: Sysfs=/class/input/input8 H: Handlers=kbd event8 B: EV=100003 B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 S: Sysfs=/class/input/input9 H: Handlers=kbd event9 B: EV=40001 B: SND=6