lsinput: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/lsinput - from package: input-utils

You may install the required package with command apt-get install {package}
Error in other languages:
lsinput: bevel nie gevind nie
lsinput: comandă negăsită
lsinput: comando não encontrado
lsinput: commande introuvable
lsinput: command not found
lsinput: käsku ei ole
lsinput: không tìm thấy lệnh
lsinput: komanda nerasta
lsinput: Kommando nicht gefunden.
lsinput: kommandot finns inte
lsinput: komut yok
lsinput: nie znaleziono polecenia
lsinput: níor aimsíodh an t-ordú
lsinput: no se encontró la orden
lsinput: no s'ha trobat l'ordre
lsinput: opdracht niet gevonden
lsinput: parancs nem található
lsinput: perintah tidak ditemukan
lsinput: príkaz nenájdený
lsinput: příkaz nenalezen
lsinput: команда не найдена
lsinput: командата не е открита
lsinput: 命令找不到
lsinput: コマンドが見つかりません