at step 4 I think you mean: sudo /lib/udev/keymap -i input/event5 (not the same command as step 3)