Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CONFIG_USB_HIDDEV kernel flag by in the official kernel #8302

Closed
davidshen84 opened this issue Apr 17, 2022 · 7 comments
Closed

Enable CONFIG_USB_HIDDEV kernel flag by in the official kernel #8302

davidshen84 opened this issue Apr 17, 2022 · 7 comments
Labels

Comments

@davidshen84
Copy link

Is your feature request related to a problem? Please describe.

The usbipd-win project, which is the official recommended way to connect USB devices from WSL to host devices, enables users to use their Yubico Key in the WSL environment. However, some Yubico features require the CONFIG_USB_HIDDEV to be enabled. E.g., the pamu2fcfg tool cannot read from the Yubico key without this feature.

Describe the solution you'd like
Enable the CONFIG_USB_HIDDEV flag in the kernel by default.

Describe alternatives you've considered
not using WSL

Additional context

@Neurrone
Copy link

Neurrone commented Jun 4, 2022

I would love to see this implemented as well.

@LazieKat
Copy link

LazieKat commented Aug 4, 2022

YES PLEASE!

I am trying to connect an Intel Realsense camera to WSL2, it shows in lsusb but dmesg says hid-generic 0003:8086:0B5C.0005: device has no listeners, quitting

Reading online I found that enabling CONFIG_USB_HIDDEV should solve such an issue. I'm not so familiar with the Linux kernel but I wish there was a way to modify that without rebuilding the kernel.

@foxtrot75
Copy link

CONFIG_HIDRAW
CONFIG_USB_HIDDEV

Please

@XonqNopp
Copy link

XonqNopp commented Feb 7, 2024

Any update for this annoying issue?

cc recent contributors: @craigloewen-msft @OneBlue @CatalinFetoiu

@davidshen84
Copy link
Author

I have enabled these options and built my own WSL kernel, and it works very well, at least for my Yubikey.

I wonder if there's anything I can do to test the impact of this change.

allenpais pushed a commit to microsoft/CBL-Mariner-Linux-Kernel that referenced this issue Mar 2, 2024
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]>
kelsey-steele added a commit to microsoft/WSL2-Linux-Kernel that referenced this issue Mar 14, 2024
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]>
@kelsey-steele
Copy link

CONFIG_HIDRAW and CONFIG_USB_HIDDEV are now enabled in the latest WSL2 kernel release linux-msft-wsl-5.15.150.1

Please keep in mind the kernel is released to the WSL2-linux-kernel repo first and will be included in an upcoming WSL release.

sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Mar 16, 2024
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]>
@luistango04
Copy link

I am grateful thank you!

I spend many days trying t get work around for my peripheral cameras to work on Linux WSL because of this. I am testing it now with a realsense camera. building this from source.

sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Mar 27, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 3, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 3, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 10, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 14, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 18, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 28, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue Apr 30, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue May 3, 2024
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]>
sileshn pushed a commit to sileshn/WSL2-Linux-Kernel that referenced this issue May 18, 2024
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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 24, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 24, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 24, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 25, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 26, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 26, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Oct 28, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Nov 11, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Nov 11, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Nov 13, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Nov 18, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Nov 21, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
1582130940 pushed a commit to 1582130940/android_kernel_xiaomi_sdm660 that referenced this issue Nov 21, 2024
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants