[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disable keyboard outside of X Windows too



 Hi.

On Sun, 10 Aug 2014 11:02:13 +0800
積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:

> So how can I do it (and not zap the USB keyboard at the same time)?

This should disable your PS/2 keyboard both in the console or X:

echo -n manual > /sys/bus/serio/devices/serio0/bind_mode
echo -n serio1 > /sys/bus/serio/drivers/atkbd/unbind

To revert this change, you'll need this:

echo -n atkbd > /sys/bus/serio/devices/serio0/drvctl
echo -n auto > /sys/bus/serio/devices/serio0/bind_mode

Reco


Reply to: