Skip to content

redhat/configs: enable UINPUT on aarch64

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2119170

Upstream Status: RHEL only

Tested: sanity only with make dist-configs

Ark MR: cki-project/kernel-ark!2002 (merged)

uinput.ko is required for spicevd-agent to work properly.

UINPUT is properly set for all architectures, but its dependency INPUT_MISC is not.

Remove the override on aarch64 and add a couple of new configs that are not set to have make dist-configs working. Also disable all of dependent new input configs that were previously disabled

Results in the old vs new config:

--- /tmp/kernel-5.14.0-aarch64.config	2022-08-30 09:23:27.073701219 +0200
+++ ./centos-stream-9/redhat/configs/kernel-5.14.0-aarch64.config	2022-08-30 09:26:16.712738388 +0200
@@ -3136,7 +3136,37 @@
 # CONFIG_INPUT_JOYSTICK is not set
 # CONFIG_INPUT_TABLET is not set
 # CONFIG_INPUT_TOUCHSCREEN is not set
-# CONFIG_INPUT_MISC is not set
+CONFIG_INPUT_MISC=y
+# CONFIG_INPUT_AD714X is not set
+# CONFIG_INPUT_ATMEL_CAPTOUCH is not set
+# CONFIG_INPUT_BMA150 is not set
+# CONFIG_INPUT_E3X0_BUTTON is not set
+# CONFIG_INPUT_MMA8450 is not set
+# CONFIG_INPUT_GPIO_BEEPER is not set
+# CONFIG_INPUT_GPIO_DECODER is not set
+# CONFIG_INPUT_GPIO_VIBRA is not set
+# CONFIG_INPUT_ATI_REMOTE2 is not set
+# CONFIG_INPUT_KEYSPAN_REMOTE is not set
+# CONFIG_INPUT_KXTJ9 is not set
+# CONFIG_INPUT_POWERMATE is not set
+# CONFIG_INPUT_YEALINK is not set
+# CONFIG_INPUT_CM109 is not set
+# CONFIG_INPUT_REGULATOR_HAPTIC is not set
+CONFIG_INPUT_UINPUT=m
+# CONFIG_INPUT_PCF8574 is not set
+# CONFIG_INPUT_PWM_BEEPER is not set
+# CONFIG_INPUT_PWM_VIBRA is not set
+# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
+# CONFIG_INPUT_DA7280_HAPTICS is not set
+# CONFIG_INPUT_ADXL34X is not set
+# CONFIG_INPUT_IMS_PCU is not set
+# CONFIG_INPUT_IQS269A is not set
+# CONFIG_INPUT_IQS626A is not set
+# CONFIG_INPUT_CMA3000 is not set
+# CONFIG_INPUT_DRV260X_HAPTICS is not set
+# CONFIG_INPUT_DRV2665_HAPTICS is not set
+# CONFIG_INPUT_DRV2667_HAPTICS is not set
+# CONFIG_INPUT_HISI_POWERKEY is not set
 CONFIG_RMI4_CORE=m
 CONFIG_RMI4_I2C=m
 CONFIG_RMI4_SPI=m

Signed-off-by: Benjamin Tissoires benjamin.tissoires@redhat.com

Edited by Benjamin Tissoires

Merge request reports