Skip to content

Commit

Permalink
configs: enable CONFIF_USB_HIDDEV and CONFIG_HIDRAW
Browse files Browse the repository at this point in the history
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: microsoft/WSL#8302
link: microsoft/WSL#10581
Signed-off-by: Kelsey Steele <[email protected]>
  • Loading branch information
kelsey-steele authored and sileshn committed Mar 27, 2024
1 parent e8e4dce commit f754935
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions arch/arm64/configs/config-wsl-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -2765,13 +2765,15 @@ 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
# CONFIG_HID_EMS_FF is not set
# 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
Expand Down Expand Up @@ -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

#
Expand Down
5 changes: 3 additions & 2 deletions arch/x86/configs/config-wsl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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

#
Expand Down

0 comments on commit f754935

Please sign in to comment.