cmd
cmd = 0 resets leds.
cmd = 1 sets scroll lock (led only, does not affect terminal operation)
cmd = 2 sets num lock (led only, does not affect terminal operation)
cmd = 3 sets caps lock (led only, does not affect terminal operation)