From 693f928124a78d1237a08b57d5681de3206bf159 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 | 6 ++++-- arch/x86/configs/config-wsl | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/configs/config-wsl-arm64 b/arch/arm64/configs/config-wsl-arm64 index 5a5be737b1653..9af169e418a2a 100755 --- a/arch/arm64/configs/config-wsl-arm64 +++ b/arch/arm64/configs/config-wsl-arm64 @@ -2746,7 +2746,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 @@ -2765,6 +2765,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 @@ -2772,6 +2773,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 @@ -2845,7 +2847,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 800eefd4ddee5..5c7544699b12f 100644 --- a/arch/x86/configs/config-wsl +++ b/arch/x86/configs/config-wsl @@ -2653,7 +2653,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 @@ -2679,6 +2679,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 @@ -2751,7 +2752,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 #