From 11875ba6b6b9e13b4b876035daec5dd6eeb6e6c0 Mon Sep 17 00:00:00 2001 From: Kelsey Steele Date: Mon, 26 Feb 2024 17:09:37 -0800 Subject: [PATCH] configs: enable CONFIF_USB_HIDDEV and CONFIG_HIDRAW Enable CONFIG_USB_HIDDEV and CONFIG_HIDRAW to provide HID device support that are not strictly user interface devices. These devices include security keys. link: https://github.com/microsoft/WSL/issues/8302 link: https://github.com/microsoft/WSL/issues/10581 Signed-off-by: Kelsey Steele --- arch/arm64/configs/config-wsl-arm64 | 8 +++++--- arch/x86/configs/config-wsl | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/configs/config-wsl-arm64 b/arch/arm64/configs/config-wsl-arm64 index 40101ef5bbec8..860bb80bcea2b 100644 --- a/arch/arm64/configs/config-wsl-arm64 +++ b/arch/arm64/configs/config-wsl-arm64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 5.15.137.1 Kernel Configuration +# Linux/arm64 5.15.146.1 Kernel Configuration # CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" CONFIG_CC_IS_GCC=y @@ -2683,7 +2683,7 @@ CONFIG_DUMMY_CONSOLE_ROWS=25 # CONFIG_HID=y # CONFIG_HID_BATTERY_STRENGTH is not set -# CONFIG_HIDRAW is not set +CONFIG_HIDRAW=y # CONFIG_UHID is not set CONFIG_HID_GENERIC=y @@ -2703,6 +2703,7 @@ CONFIG_HID_GENERIC=y # CONFIG_HID_COUGAR is not set # CONFIG_HID_MACALLY is not set # CONFIG_HID_CMEDIA is not set +# CONFIG_HID_CP2112 is not set # CONFIG_HID_CREATIVE_SB0540 is not set # CONFIG_HID_CYPRESS is not set # CONFIG_HID_DRAGONRISE is not set @@ -2710,6 +2711,7 @@ CONFIG_HID_GENERIC=y # CONFIG_HID_ELECOM is not set # CONFIG_HID_ELO is not set # CONFIG_HID_EZKEY is not set +# CONFIG_HID_FT260 is not set # CONFIG_HID_GEMBIRD is not set # CONFIG_HID_GFRM is not set # CONFIG_HID_GLORIOUS is not set @@ -2776,7 +2778,7 @@ CONFIG_HID_GENERIC=y # CONFIG_USB_HID=y # CONFIG_HID_PID is not set -# CONFIG_USB_HIDDEV is not set +CONFIG_USB_HIDDEV=y # end of USB HID support # diff --git a/arch/x86/configs/config-wsl b/arch/x86/configs/config-wsl index 51935f9f248e1..80cba64c77e20 100644 --- a/arch/x86/configs/config-wsl +++ b/arch/x86/configs/config-wsl @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.137.1 Kernel Configuration +# Linux/x86 5.15.146.1 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 11.4.0-2ubuntu1~20.04) 11.4.0" CONFIG_CC_IS_GCC=y @@ -2568,7 +2568,7 @@ CONFIG_DUMMY_CONSOLE_ROWS=25 # CONFIG_HID=y # CONFIG_HID_BATTERY_STRENGTH is not set -# CONFIG_HIDRAW is not set +CONFIG_HIDRAW=y # CONFIG_UHID is not set CONFIG_HID_GENERIC=y @@ -2595,6 +2595,7 @@ CONFIG_HID_GENERIC=y # CONFIG_HID_ELECOM is not set # CONFIG_HID_ELO is not set # CONFIG_HID_EZKEY is not set +# CONFIG_HID_FT260 is not set # CONFIG_HID_GEMBIRD is not set # CONFIG_HID_GFRM is not set # CONFIG_HID_GLORIOUS is not set @@ -2660,7 +2661,7 @@ CONFIG_HID_GENERIC=y # CONFIG_USB_HID=y # CONFIG_HID_PID is not set -# CONFIG_USB_HIDDEV is not set +CONFIG_USB_HIDDEV=y # end of USB HID support #