Judah Rand d33d428dbf
feat: add uinput driver extension
Adds an extension to enable the `uinput` kernel module which makes it
possible to emulate input devices from userspace.

Signed-off-by: Judah Rand <17158624+judahrand@users.noreply.github.com>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-30 17:23:04 +05:30

666 B
Raw Permalink Blame History

uinput extension

Installation

See Installing Extensions.

Usage

Enable the uinput module in Talos machine config.

machine:
  kernel:
    modules:
      - name: uinput

Verifiying

You can verify the modules are enabled by the /proc/modules where it should show the module is live.

For example:

 talosctl -n 192.168.42.15  read /proc/modules
uinput 24576 - - Live 0xffffffffc0414000

In addition, the /dev/uinput device should be present.

For example:

 talosctl -n 192.168.42.15 ls /dev/uinput'
NODE            NAME
192.168.42.15   uinput