Skip to content

Open uinput error

Paweł Kotiuk edited this page Jul 25, 2026 · 7 revisions

Fix problems with access to unpiut file

In some cases you can get error:

Could not open uinput device file
Please check that you have permission to write to the device

This is usually caused by lack of udev rule for AntiMicroX.

There may be 3 reasons of this:

  • Device settings are not applied yet. (I recommend restarting PC after installation)
  • You are using version older than 3.1.7 - in this case just update AntiMicroX to the latest version.
  • You installed Flatpak or AppImage version - in case of these packages udev rule can't be added by package and you have to do it by yourself (instruction below).

Adding missing udev rule

You just have do download missing file describing uinput rule

sudo mkdir -p /etc/udev/rules.d
cd /etc/udev/rules.d
sudo wget https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/other/60-antimicrox-uinput.rules
sudo udevadm control --reload-rules && sudo udevadm trigger

Now everything should work fine (you can also reboot to be sure).

(Re-)load kernel module uinput

Another possibility is, that the kernel module is not loaded. You can load the module by running this command (as root):

modprobe uinput

See also this comment here.

Clone this wiki locally