Import of tohkbd_daemon v0.24 sources